1 /* EXTERN should be extern except for the table file */
2 #ifdef _TABLE
3 #undef EXTERN
4 #define EXTERN
5 #endif
6
7 /* File System global variables */
8 EXTERN struct fproc *fp; /* pointer to caller's fproc struct */
9 EXTERN int super_user; /* 1 if caller is super_user, else 0 */
10 EXTERN int dont_reply; /* normally 0; set to 1 to inhibit reply */
11 EXTERN int susp_count; /* number of procs suspended on pipe */
12 EXTERN int nr_locks; /* number of locks currently in place */
13 EXTERN int reviving; /* number of pipe processes to be revived */
14 EXTERN off_t rdahedpos; /* position to read ahead */
15 EXTERN struct inode *rdahed_inode; /* pointer to inode to read ahead */
16
17 /* The parameters of the call are kept here. */
18 EXTERN message m; /* the input message itself */
19 EXTERN message m1; /* the output message used for reply */
20 EXTERN int who; /* caller's proc number */
21 EXTERN int fs_call; /* system call number */
22 EXTERN char user_path[PATH_MAX];/* storage for user path name */
23
24 /* The following variables are used for returning results to the caller. */
25 EXTERN int err_code; /* temporary storage for error number */
26 EXTERN int rdwt_err; /* status of last disk i/o request */
27
28 /* Data which need initialization. */
29 extern _PROTOTYPE (int (*call_vector[]), (void) ); /* sys call table */
30 extern int max_major; /* maximum major device (+ 1) */
31 extern char dot1[2]; /* dot1 (&dot1[0]) and dot2 (&dot2[0]) have a special */
32 extern char dot2[3]; /* meaning to search_dir: no access permission check. */
33
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.