proto.h File Reference

#include "timers.h"

Include dependency graph for proto.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define okendpt(e, p)   isokendpt_f(__FILE__, __LINE__, (e), (p), 1)
#define isokendpt(e, p)   isokendpt_f(__FILE__, __LINE__, (e), (p), 0)

Functions

 _PROTOTYPE (zone_t alloc_zone,(Dev_t dev, zone_t z))
 _PROTOTYPE (void flushall,(Dev_t dev))
 _PROTOTYPE (void free_zone,(Dev_t dev, zone_t numb))
 _PROTOTYPE (struct buf *get_block,(Dev_t dev, block_t block, int only_search))
 _PROTOTYPE (void invalidate,(Dev_t device))
 _PROTOTYPE (void put_block,(struct buf *bp, int block_type))
 _PROTOTYPE (void rw_scattered,(Dev_t dev, struct buf **bufq, int bufqsize, int rw_flag))
 _PROTOTYPE (int dev_open,(Dev_t dev, int proc, int flags))
 _PROTOTYPE (int dev_io,(int op, Dev_t dev, int proc, void *buf, off_t pos, int bytes, int flags))
 _PROTOTYPE (int gen_opcl,(int op, Dev_t dev, int proc, int flags))
 _PROTOTYPE (int gen_io,(int task_nr, message *mess_ptr))
 _PROTOTYPE (int no_dev_io,(int, message *))
 _PROTOTYPE (int do_ioctl,(void))
 _PROTOTYPE (void dev_status,(message *))
 _PROTOTYPE (void dev_up,(int major))
 _PROTOTYPE (void build_dmap,(void))
 _PROTOTYPE (int map_driver,(int major, int proc_nr, int dev_style))
 _PROTOTYPE (int dmap_driver_match,(int proc, int major))
 _PROTOTYPE (void dmap_unmap_by_endpt,(int proc_nr))
 _PROTOTYPE (struct filp *find_filp,(struct inode *rip, mode_t bits))
 _PROTOTYPE (int get_fd,(int start, mode_t bits, int *k, struct filp **fpt))
 _PROTOTYPE (struct filp *get_filp,(int fild))
 _PROTOTYPE (int inval_filp,(struct filp *))
 _PROTOTYPE (struct inode *alloc_inode,(dev_t dev, mode_t bits))
 _PROTOTYPE (void dup_inode,(struct inode *ip))
 _PROTOTYPE (struct inode *get_inode,(Dev_t dev, int numb))
 _PROTOTYPE (void put_inode,(struct inode *rip))
 _PROTOTYPE (void rw_inode,(struct inode *rip, int rw_flag))
 _PROTOTYPE (int truncate_inode,(struct inode *rip, off_t len))
 _PROTOTYPE (int freesp_inode,(struct inode *rip, off_t st, off_t end))
 _PROTOTYPE (int lock_op,(struct filp *f, int req))
 _PROTOTYPE (void reply,(int whom, int result))
 _PROTOTYPE (int unmount,(Dev_t dev))
 _PROTOTYPE (struct inode *advance,(struct inode **dirp, char string[NAME_MAX]))
 _PROTOTYPE (int search_dir,(struct inode *ldir_ptr, char string[NAME_MAX], ino_t *numb, int flag))
 _PROTOTYPE (struct inode *eat_path,(char *path))
 _PROTOTYPE (struct inode *last_dir,(char *path, char string[NAME_MAX]))
 _PROTOTYPE (struct inode *parse_path,(char *path, char string[NAME_MAX], int action))
 _PROTOTYPE (int pipe_check,(struct inode *rip, int rw_flag, int oflags, int bytes, off_t position, int *canwrite, int notouch))
 _PROTOTYPE (void release,(struct inode *ip, int call_nr, int count))
 _PROTOTYPE (void revive,(int proc_nr, int bytes))
 _PROTOTYPE (void suspend,(int task))
 _PROTOTYPE (int select_request_pipe,(struct filp *f, int *ops, int bl))
 _PROTOTYPE (int select_cancel_pipe,(struct filp *f))
 _PROTOTYPE (void unsuspend_by_endpt,(int))
 _PROTOTYPE (int forbidden,(struct inode *rip, mode_t access_desired))
 _PROTOTYPE (int read_only,(struct inode *ip))
 _PROTOTYPE (struct buf *rahead,(struct inode *rip, block_t baseblock, off_t position, unsigned bytes_ahead))
 _PROTOTYPE (block_t read_map,(struct inode *rip, off_t pos))
 _PROTOTYPE (int read_write,(int rw_flag))
 _PROTOTYPE (zone_t rd_indir,(struct buf *bp, int index))
 _PROTOTYPE (bit_t alloc_bit,(struct super_block *sp, int map, bit_t origin))
 _PROTOTYPE (void free_bit,(struct super_block *sp, int map, bit_t bit_returned))
 _PROTOTYPE (struct super_block *get_super,(Dev_t dev))
 _PROTOTYPE (int mounted,(struct inode *rip))
 _PROTOTYPE (int read_super,(struct super_block *sp))
 _PROTOTYPE (int get_block_size,(dev_t dev))
 _PROTOTYPE (time_t clock_time,(void))
 _PROTOTYPE (unsigned conv2,(int norm, int w))
 _PROTOTYPE (long conv4,(int norm, long x))
 _PROTOTYPE (int fetch_name,(char *path, int len, int flag))
 _PROTOTYPE (int isokendpt_f,(char *f, int l, int e, int *p, int ft))
 _PROTOTYPE (void panic,(char *who, char *mess, int num))
 _PROTOTYPE (void clear_zone,(struct inode *rip, off_t pos, int flag))
 _PROTOTYPE (struct buf *new_block,(struct inode *rip, off_t position))
 _PROTOTYPE (void zero_block,(struct buf *bp))
 _PROTOTYPE (int write_map,(struct inode *, off_t, zone_t, int))
 _PROTOTYPE (int select_callback,(struct filp *, int ops))
 _PROTOTYPE (void select_forget,(int fproc))
 _PROTOTYPE (void select_timeout_check,(timer_t *))
 _PROTOTYPE (void select_unsuspend_by_endpt,(int proc))
 _PROTOTYPE (int select_notified,(int major, int minor, int ops))
 _PROTOTYPE (void fs_set_timer,(timer_t *tp, int delta, tmr_func_t watchdog, int arg))
 _PROTOTYPE (void fs_expire_timers,(clock_t now))
 _PROTOTYPE (void fs_cancel_timer,(timer_t *tp))


Define Documentation

#define isokendpt e,
p   )     isokendpt_f(__FILE__, __LINE__, (e), (p), 0)
 

Definition at line 191 of file proto.h.

#define okendpt e,
p   )     isokendpt_f(__FILE__, __LINE__, (e), (p), 1)
 

Definition at line 190 of file proto.h.


Function Documentation

_PROTOTYPE void  fs_cancel_timer,
(timer_t *tp
 

_PROTOTYPE void  fs_expire_timers,
(clock_t now
 

_PROTOTYPE void  fs_set_timer,
(timer_t *tp, int delta, tmr_func_t watchdog, int arg
 

_PROTOTYPE int  select_notified,
(int major, int minor, int ops
 

_PROTOTYPE void  select_unsuspend_by_endpt,
(int proc
 

_PROTOTYPE void  select_timeout_check,
(timer_t *) 
 

_PROTOTYPE void  select_forget,
(int fproc
 

_PROTOTYPE int  select_callback,
(struct filp *, int ops
 

_PROTOTYPE int  write_map,
(struct inode *, off_t, zone_t, int) 
 

_PROTOTYPE void  zero_block,
(struct buf *bp
 

_PROTOTYPE struct buf new_block,
(struct inode *rip, off_t position
 

_PROTOTYPE void  clear_zone,
(struct inode *rip, off_t pos, int flag
 

_PROTOTYPE void  panic,
(char *who, char *mess, int num) 
 

_PROTOTYPE int  isokendpt_f,
(char *f, int l, int e, int *p, int ft) 
 

_PROTOTYPE int  fetch_name,
(char *path, int len, int flag
 

_PROTOTYPE long  conv4,
(int norm, long x
 

_PROTOTYPE unsigned  conv2,
(int norm, int w) 
 

_PROTOTYPE time_t  clock_time,
(void) 
 

_PROTOTYPE int  get_block_size,
(dev_t dev
 

_PROTOTYPE int  read_super,
(struct super_block *sp
 

_PROTOTYPE int  mounted,
(struct inode *rip) 
 

_PROTOTYPE struct super_block get_super,
(Dev_t dev
 

_PROTOTYPE void  free_bit,
(struct super_block *sp, int map, bit_t bit_returned) 
 

_PROTOTYPE bit_t  alloc_bit,
(struct super_block *sp, int map, bit_t origin
 

_PROTOTYPE zone_t  rd_indir,
(struct buf *bp, int index) 
 

_PROTOTYPE int  read_write,
(int rw_flag) 
 

_PROTOTYPE block_t  read_map,
(struct inode *rip, off_t pos
 

_PROTOTYPE struct buf rahead,
(struct inode *rip, block_t baseblock, off_t position, unsigned bytes_ahead) 
 

_PROTOTYPE int  read_only,
(struct inode *ip) 
 

_PROTOTYPE int  forbidden,
(struct inode *rip, mode_t access_desired) 
 

_PROTOTYPE void  unsuspend_by_endpt,
(int) 
 

_PROTOTYPE int  select_cancel_pipe,
(struct filp *f
 

_PROTOTYPE int  select_request_pipe,
(struct filp *f, int *ops, int bl
 

_PROTOTYPE void  suspend,
(int task) 
 

_PROTOTYPE void  revive,
(int proc_nr, int bytes
 

_PROTOTYPE void  release,
(struct inode *ip, int call_nr, int count) 
 

_PROTOTYPE int  pipe_check,
(struct inode *rip, int rw_flag, int oflags, int bytes, off_t position, int *canwrite, int notouch) 
 

_PROTOTYPE struct inode parse_path,
(char *path, char string[NAME_MAX], int action
 

_PROTOTYPE struct inode last_dir,
(char *path, char string[NAME_MAX]) 
 

_PROTOTYPE struct inode eat_path,
(char *path) 
 

_PROTOTYPE int  search_dir,
(struct inode *ldir_ptr, char string[NAME_MAX], ino_t *numb, int flag
 

_PROTOTYPE struct inode advance,
(struct inode **dirp, char string[NAME_MAX]) 
 

_PROTOTYPE int  unmount,
(Dev_t dev
 

_PROTOTYPE void  reply,
(int whom, int result
 

_PROTOTYPE int  lock_op,
(struct filp *f, int req) 
 

_PROTOTYPE int  freesp_inode,
(struct inode *rip, off_t st, off_t end) 
 

_PROTOTYPE int  truncate_inode,
(struct inode *rip, off_t len) 
 

_PROTOTYPE void  rw_inode,
(struct inode *rip, int rw_flag) 
 

_PROTOTYPE void  put_inode,
(struct inode *rip) 
 

_PROTOTYPE struct inode get_inode,
(Dev_t dev, int numb) 
 

_PROTOTYPE void  dup_inode,
(struct inode *ip) 
 

_PROTOTYPE struct inode alloc_inode,
(dev_t dev, mode_t bits) 
 

_PROTOTYPE int  inval_filp,
(struct filp *) 
 

_PROTOTYPE struct filp get_filp,
(int fild) 
 

_PROTOTYPE int  get_fd,
(int start, mode_t bits, int *k, struct filp **fpt) 
 

_PROTOTYPE struct filp find_filp,
(struct inode *rip, mode_t bits) 
 

_PROTOTYPE void  dmap_unmap_by_endpt,
(int proc_nr
 

_PROTOTYPE int  dmap_driver_match,
(int proc, int major) 
 

_PROTOTYPE int  map_driver,
(int major, int proc_nr, int dev_style
 

_PROTOTYPE void  build_dmap,
(void) 
 

_PROTOTYPE void  dev_up,
(int major) 
 

_PROTOTYPE void  dev_status,
(message *) 
 

_PROTOTYPE int  do_ioctl,
(void) 
 

_PROTOTYPE int  no_dev_io,
(int, message *) 
 

_PROTOTYPE int  gen_io,
(int task_nr, message *mess_ptr) 
 

_PROTOTYPE int  gen_opcl,
(int op, Dev_t dev, int proc, int flags
 

_PROTOTYPE int  dev_io,
(int op, Dev_t dev, int proc, void *buf, off_t pos, int bytes, int flags
 

_PROTOTYPE int  dev_open,
(Dev_t dev, int proc, int flags
 

_PROTOTYPE void  rw_scattered,
(Dev_t dev, struct buf **bufq, int bufqsize, int rw_flag) 
 

_PROTOTYPE void  put_block,
(struct buf *bp, int block_type) 
 

_PROTOTYPE void  invalidate,
(Dev_t device
 

_PROTOTYPE struct buf get_block,
(Dev_t dev, block_t block, int only_search) 
 

_PROTOTYPE void  free_zone,
(Dev_t dev, zone_t numb) 
 

_PROTOTYPE void  flushall,
(Dev_t dev
 

_PROTOTYPE zone_t  alloc_zone,
(Dev_t dev, zone_t z
 


Generated on Fri Apr 14 22:59:46 2006 for minix by  doxygen 1.4.6