sys/src/sysgetjpi.c File Reference

system get job and process information More...

#include <linux/linkage.h>
#include <linux/sched.h>
#include <starlet.h>
#include <jpidef.h>
#include <ssdef.h>
#include <misc.h>
#include <phddef.h>
#include <pridef.h>
#include <exe_routines.h>
#include <sch_routines.h>

Go to the source code of this file.

Functions

asmlinkage int exe_getjpi (unsigned int efn, unsigned int *pidadr, void *prcnam, void *itmlst, struct _iosb *iosb, void(*astadr)(), unsigned long long astprm)
 system service get job or process info - see 5.2 13.2.3
asmlinkage int exe_getjpiw (unsigned int efn, unsigned int *pidadr, void *prcnam, void *itmlst, struct _iosb *iosb, void(*astadr)(), unsigned long long astprm)
asmlinkage int exe_getjpi_wrap (struct struct_getjpi *s)
asmlinkage int exe_getjpiw_wrap (struct struct_getjpi *s)


Detailed Description

system get job and process information

Author:
Roar Thronęs

Definition in file sysgetjpi.c.


Function Documentation

asmlinkage int exe_getjpi ( unsigned int  efn,
unsigned int *  pidadr,
void *  prcnam,
void *  itmlst,
struct _iosb iosb,
void(*)()  astadr,
unsigned long long  astprm 
)

system service get job or process info - see 5.2 13.2.3

make multiuser version

test list item entries

use pidadr - MISSING

clear event flag

find next pcb

invoke nampid - MISSING

if other node, cwps - MISSING

iosb writecheck - MISSING

if ast, check ast quota and charge - MISSING

writetest for buffer descriptors - MISSING

gather some usual informastion - TODO still more remains

post event flag

eventual ast queue - MISSING

eventual iosb write

handle target process, kast etc - MISSING

handle target process, status, state - MISSING

Definition at line 30 of file sysgetjpi.c.

References _pcb, item_list_3::bufaddr, ctl_gl_pcb, exe_clref(), exe_pscan_next_id(), _iosb::iosb_w_status, item_list_3::item_code, JPI__BIOCNT, JPI__BIOLM, JPI__BUFIO, JPI__CPUTIM, JPI__DIOCNT, JPI__DIOLM, JPI__DIRIO, JPI__GPGCNT, JPI__MASTER_PID, JPI__PAGEFLTS, JPI__PID, JPI__PPGCNT, JPI__PRCNAM, JPI__PRI, JPI__STATE, JPI__WSAUTH, JPI__WSAUTHEXT, JPI__WSEXTENT, JPI__WSQUOTA, JPI__WSSIZE, sch_postef(), SS__NOMOREPROC, and SS__NORMAL.

Referenced by exe_getjpi_wrap(), and exe_getjpiw().

asmlinkage int exe_getjpi_wrap ( struct struct_getjpi s  ) 

asmlinkage int exe_getjpiw ( unsigned int  efn,
unsigned int *  pidadr,
void *  prcnam,
void *  itmlst,
struct _iosb iosb,
void(*)()  astadr,
unsigned long long  astprm 
)

Definition at line 151 of file sysgetjpi.c.

References exe_getjpi(), and exe_synch().

Referenced by exe_getjpiw_wrap().

asmlinkage int exe_getjpiw_wrap ( struct struct_getjpi s  ) 


Generated on Fri Oct 9 10:26:02 2009 for FreeVMS by  doxygen 1.5.5