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()
289 static int parse_dirplusfile(char *buf, size_t nbytes, struct file *file, in parse_dirplusfile() argument
299 while (nbytes >= FUSE_NAME_OFFSET_DIRENTPLUS) { in parse_dirplusfile()
306 if (reclen > nbytes) in parse_dirplusfile()
324 nbytes -= reclen; in parse_dirplusfile()
402 unsigned int nbytes = size - offset; in fuse_parse_cache() local
405 if (nbytes < FUSE_NAME_OFFSET || !dirent->namelen) in fuse_parse_cache()
412 if (WARN_ON(reclen > nbytes)) in fuse_parse_cache()