Lines Matching refs:chan_t

17 	chan_t	*new;
18 chan_t *old;
24 static chan_t fdset[NR_CHANS];
30 static chan_t slash_channel;
35 static chan_t *create_new_channel(unsigned char index) in create_new_channel()
37 chan_t *channel = NULL; in create_new_channel()
55 static chan_t *fd_to_channel(int fd) in fd_to_channel()
68 static int channel_to_fd(chan_t *channel) in channel_to_fd()
142 static void channel_clear(chan_t *channel) in channel_clear()
154 void channel_close(chan_t *channel) in channel_close()
167 int buf_to_channel(chan_t *channel, void *dst, void *src, int nbytes, long len) in buf_to_channel()
195 static chan_t *mount_point_to_channel(int index, qid_t qid) in mount_point_to_channel()
197 chan_t *channel; in mount_point_to_channel()
217 chan_t *attach(int id, int dev) in attach()
233 chan_t *devattach(int id, int dev) in devattach()
235 chan_t *channel; in devattach()
259 chan_t *path_to_channel(const char *path, int mode) in path_to_channel()
263 chan_t *mnt, *channel; in path_to_channel()
334 chan_t *clone(chan_t *c, chan_t *nc) in clone()
348 chan_t *devclone(chan_t *channel, chan_t *new_channel) in devclone()
376 int devwalk(chan_t *channel, const char *name, const dirtab_t *tab, in devwalk()
412 int dirread(chan_t *channel, dir_t *dir, const dirtab_t *tab, in dirread()
433 void make_dir_entry(chan_t *channel, dir_t *dir, in make_dir_entry()
458 int devgen(chan_t *channel, const dirtab_t *tab, int ntab, int n, dir_t *dir) in devgen()
478 chan_t *channel; in open()
498 chan_t *channel; in close()
515 int devstat(chan_t *dirc, const char *file, dir_t *dir, in devstat()
519 chan_t *c, *mnt; in devstat()
566 chan_t *channel; in stat()
610 chan_t *channel; in read()
635 chan_t *channel; in write()
659 chan_t *channel; in seek()
677 chan_t *deverrmount(chan_t *channel, const char *spec) in deverrmount()
686 int deverrwrite(chan_t *channel, void *buf, int n) in deverrwrite()
695 int deverrseek(chan_t *channel, long off, int whence) in deverrseek()
704 int devseek(chan_t *channel, long off, int whence) in devseek()
725 static int add_mount_point(chan_t *channel, const char *new) in add_mount_point()
728 chan_t *cn; in add_mount_point()
771 chan_t *channel; in bind()
793 chan_t *channel, *mount_point_chan; in mount()
830 chan_t *channel, *cloned_channel; in debugfs_init()