Lines Matching refs:head
55 int head; member
123 if (rdir->tail == rdir->head) { in v9fs_dir_readdir()
134 rdir->head = 0; in v9fs_dir_readdir()
137 while (rdir->head < rdir->tail) { in v9fs_dir_readdir()
138 err = p9stat_read(fid->clnt, rdir->buf + rdir->head, in v9fs_dir_readdir()
139 rdir->tail - rdir->head, &st); in v9fs_dir_readdir()
151 rdir->head += err; in v9fs_dir_readdir()
181 if (rdir->tail == rdir->head) { in v9fs_dir_readdir_dotl()
187 rdir->head = 0; in v9fs_dir_readdir_dotl()
191 while (rdir->head < rdir->tail) { in v9fs_dir_readdir_dotl()
193 err = p9dirent_read(fid->clnt, rdir->buf + rdir->head, in v9fs_dir_readdir_dotl()
194 rdir->tail - rdir->head, in v9fs_dir_readdir_dotl()
208 rdir->head += err; in v9fs_dir_readdir_dotl()