#include <starlet.h>
#include <iodef.h>
#include <ssdef.h>
#include <irpdef.h>
#include <ucbdef.h>
#include <ccbdef.h>
#include <system_data_cells.h>
#include <linux/vmalloc.h>
#include <linux/linkage.h>
#include <exe_routines.h>
#include <ioc_routines.h>
#include <sch_routines.h>
Go to the source code of this file.
Functions | |
asmlinkage int | exe_dassgn (unsigned short int chan) |
deassign channel |
Definition in file sysdassgn.c.
asmlinkage int exe_dassgn | ( | unsigned short int | chan | ) |
deassign channel
chan | i/o channel |
verify i/o channel
call exe_canceln, but not implemented, do $cancel instead
call verify_chan again, in case of asts - MISSING
check ccb_l_wind and close the file - MISSING
check ccb_w_ioc to see if outstanding i/o - MISSING
lock i/o db
clear ccb amod
disassociate eventual mailbox - MISSING
dec ucb ref count
checks and stuff to do if refc == 0 - MISSING
eventually do ioc_last_chan - MISSING
i/o db unlock
Definition at line 29 of file sysdassgn.c.
References _ccb::ccb_b_amod, _ccb::ccb_l_ucb, exe_cancel(), ioc_verify_chan(), sch_iolockw(), sch_iounlock(), and SS__NORMAL.