Lines Matching refs:buflen
86 static struct p9_rdir *v9fs_alloc_rdir_buf(struct file *filp, int buflen) in v9fs_alloc_rdir_buf() argument
90 fid->rdir = kzalloc(sizeof(struct p9_rdir) + buflen, GFP_KERNEL); in v9fs_alloc_rdir_buf()
107 int buflen; in v9fs_dir_readdir() local
114 buflen = fid->clnt->msize - P9_IOHDRSZ; in v9fs_dir_readdir()
116 rdir = v9fs_alloc_rdir_buf(file, buflen); in v9fs_dir_readdir()
120 kvec.iov_len = buflen; in v9fs_dir_readdir()
126 iov_iter_kvec(&to, READ | ITER_KVEC, &kvec, 1, buflen); in v9fs_dir_readdir()
167 int buflen; in v9fs_dir_readdir_dotl() local
174 buflen = fid->clnt->msize - P9_READDIRHDRSZ; in v9fs_dir_readdir_dotl()
176 rdir = v9fs_alloc_rdir_buf(file, buflen); in v9fs_dir_readdir_dotl()
182 err = p9_client_readdir(fid, rdir->buf, buflen, in v9fs_dir_readdir_dotl()