Lines Matching refs:reclen
38 size_t reclen = FUSE_DIRENT_SIZE(dirent); in fuse_add_dirent_to_cache() local
60 if (offset + reclen > PAGE_SIZE) { in fuse_add_dirent_to_cache()
86 memcpy(addr + offset, dirent, reclen); in fuse_add_dirent_to_cache()
88 fi->rdc.size = (index << PAGE_SHIFT) + offset + reclen; in fuse_add_dirent_to_cache()
133 size_t reclen = FUSE_DIRENT_SIZE(dirent); in parse_dirfile() local
136 if (reclen > nbytes) in parse_dirfile()
144 buf += reclen; in parse_dirfile()
145 nbytes -= reclen; in parse_dirfile()
293 size_t reclen; in parse_dirplusfile() local
300 reclen = FUSE_DIRENTPLUS_SIZE(direntplus); in parse_dirplusfile()
304 if (reclen > nbytes) in parse_dirplusfile()
321 buf += reclen; in parse_dirplusfile()
322 nbytes -= reclen; in parse_dirplusfile()
404 size_t reclen; in fuse_parse_cache() local
409 reclen = FUSE_DIRENT_SIZE(dirent); /* derefs ->namelen */ in fuse_parse_cache()
413 if (WARN_ON(reclen > nbytes)) in fuse_parse_cache()
426 ff->readdir.cache_off += reclen; in fuse_parse_cache()
428 offset += reclen; in fuse_parse_cache()