#include <linux/config.h>
#include <linux/linkage.h>
#include <far_pointers.h>
#include <linux/sched.h>
#include <ssdef.h>
#include <cpbdef.h>
#include <ipldef.h>
#include <statedef.h>
#include <internals.h>
#include <prvdef.h>
#include <sch_routines.h>
#include <exe_routines.h>
#include <capdef.h>
#include <starlet.h>
Go to the source code of this file.
Functions | |
asmlinkage int | exe_process_affinity (unsigned int *pidadr, void *prcnam, struct _generic_64 *select_mask, struct _generic_64 *modify_mask, struct _generic_64 *prev_mask, struct _generic_64 *flags,...) |
system service for explicit affinity mask - see 7.0 2.5.2 | |
asmlinkage int | exe_set_implicit_affinity (unsigned int *pidadr, void *prcnam, struct _generic_64 *state, int cpu_id, struct _generic_64 *prev_mask) |
system service for implicit affinity mask - see 7.0 2.5.4 | |
asmlinkage int | exe_process_affinity_wrap (struct struct_args *s) |
Definition in file sys_affinity.c.
asmlinkage int exe_process_affinity | ( | unsigned int * | pidadr, | |
void * | prcnam, | |||
struct _generic_64 * | select_mask, | |||
struct _generic_64 * | modify_mask, | |||
struct _generic_64 * | prev_mask, | |||
struct _generic_64 * | flags, | |||
... | ||||
) |
system service for explicit affinity mask - see 7.0 2.5.2
lots of flags and checks unimplemented
call set_affinity
Definition at line 32 of file sys_affinity.c.
References _pcb, ctl_gl_pcb, exe_nampid(), IPL__ASTDEL, sch_clear_affinity(), sch_set_affinity(), SPIN_SCHED, SS__NOPRIV, and SS__NORMAL.
Referenced by exe_process_affinity_wrap().
asmlinkage int exe_process_affinity_wrap | ( | struct struct_args * | s | ) |
Definition at line 107 of file sys_affinity.c.
References exe_process_affinity(), struct_args::s1, struct_args::s2, struct_args::s3, struct_args::s4, struct_args::s5, and struct_args::s6.
asmlinkage int exe_set_implicit_affinity | ( | unsigned int * | pidadr, | |
void * | prcnam, | |||
struct _generic_64 * | state, | |||
int | cpu_id, | |||
struct _generic_64 * | prev_mask | |||
) |
system service for implicit affinity mask - see 7.0 2.5.4
lots of flags and checks unimplemented
maybe do acquire affinity
maybe do release affinity
Definition at line 69 of file sys_affinity.c.
References _pcb, CAP_M_IMPLICIT_AFFINITY_CLEAR, CAP_M_IMPLICIT_AFFINITY_SET, CAP_M_IMPLICIT_DEFAULT_ONLY, ctl_gl_pcb, exe_nampid(), IPL__ASTDEL, PRV_M_ALTPRI, sch_acquire_affinity(), sch_gl_default_process_cap, sch_release_affinity(), SPIN_SCHED, SS__NOPRIV, and SS__NORMAL.