Home
last modified time | relevance | path

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

/fs/9p/
Dvfs_dir.c98 if (!fid->rdir) in v9fs_alloc_rdir_buf()
99 fid->rdir = kzalloc(sizeof(struct p9_rdir) + buflen, GFP_KERNEL); in v9fs_alloc_rdir_buf()
100 return fid->rdir; in v9fs_alloc_rdir_buf()
119 struct p9_rdir *rdir; in v9fs_dir_readdir() local
126 rdir = v9fs_alloc_rdir_buf(filp, buflen); in v9fs_dir_readdir()
127 if (!rdir) in v9fs_dir_readdir()
131 if (rdir->tail == rdir->head) { in v9fs_dir_readdir()
132 err = v9fs_file_readn(filp, rdir->buf, NULL, in v9fs_dir_readdir()
137 rdir->head = 0; in v9fs_dir_readdir()
138 rdir->tail = err; in v9fs_dir_readdir()
[all …]