Lines Matching refs:nbytes
126 static int parse_dirfile(char *buf, size_t nbytes, struct file *file, in parse_dirfile() argument
129 while (nbytes >= FUSE_NAME_OFFSET) { in parse_dirfile()
134 if (reclen > nbytes) in parse_dirfile()
143 nbytes -= reclen; in parse_dirfile()
286 static int parse_dirplusfile(char *buf, size_t nbytes, struct file *file, in parse_dirplusfile() argument
295 while (nbytes >= FUSE_NAME_OFFSET_DIRENTPLUS) { in parse_dirplusfile()
302 if (reclen > nbytes) in parse_dirplusfile()
320 nbytes -= reclen; in parse_dirplusfile()
401 unsigned int nbytes = size - offset; in fuse_parse_cache() local
404 if (nbytes < FUSE_NAME_OFFSET || !dirent->namelen) in fuse_parse_cache()
411 if (WARN_ON(reclen > nbytes)) in fuse_parse_cache()