Home
last modified time | relevance | path

Searched refs:chan_t (Results 1 – 4 of 4) sorted by relevance

/external/arm-trusted-firmware/lib/debugfs/
Ddev.h27 typedef struct chan chan_t; typedef
29 typedef int devgen_t(chan_t *, const dirtab_t *, int, int, dir_t *);
61 int (*stat)(chan_t *c, const char *file, dir_t *dir);
62 int (*walk)(chan_t *c, const char *name);
63 int (*read)(chan_t *c, void *buf, int n);
64 int (*write)(chan_t *c, void *buf, int n);
65 int (*seek)(chan_t *c, long off, int whence);
66 chan_t *(*clone)(chan_t *c, chan_t *nc);
67 chan_t *(*attach)(int id, int dev);
68 chan_t *(*mount)(chan_t *c, const char *spec);
[all …]
Ddev.c17 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()
[all …]
Ddevfip.c22 chan_t *c;
96 static int get_entry(chan_t *c, struct fip_entry *entry) in get_entry()
119 static int fipgen(chan_t *c, const dirtab_t *tab, int ntab, int n, dir_t *dir) in fipgen()
123 chan_t nc; in fipgen()
174 static int fipwalk(chan_t *c, const char *name) in fipwalk()
179 static int fipstat(chan_t *c, const char *file, dir_t *dir) in fipstat()
188 static int fipread(chan_t *c, void *buf, int n) in fipread()
191 chan_t cs; in fipread()
244 static chan_t *fipmount(chan_t *c, const char *spec) in fipmount()
247 chan_t *cspec; in fipmount()
Ddevroot.c30 static int rootgen(chan_t *channel, const dirtab_t *tab, int ntab, in rootgen()
53 static int rootwalk(chan_t *channel, const char *name) in rootwalk()
61 static int rootread(chan_t *channel, void *buf, int size) in rootread()
82 static int rootstat(chan_t *channel, const char *file, dir_t *dir) in rootstat()