Lines Matching refs:nameoff
11 unsigned int nameoff, unsigned int maxsize) in erofs_fill_dentries() argument
13 const struct erofs_dirent *end = dentry_blk + nameoff; in erofs_fill_dentries()
22 nameoff = le16_to_cpu(de->nameoff); in erofs_fill_dentries()
23 de_name = (char *)dentry_blk + nameoff; in erofs_fill_dentries()
27 de_namelen = strnlen(de_name, maxsize - nameoff); in erofs_fill_dentries()
29 de_namelen = le16_to_cpu(de[1].nameoff) - nameoff; in erofs_fill_dentries()
32 if (nameoff + de_namelen > maxsize || in erofs_fill_dentries()
64 unsigned int nameoff, maxsize; in erofs_readdir() local
74 nameoff = le16_to_cpu(de->nameoff); in erofs_readdir()
75 if (nameoff < sizeof(struct erofs_dirent) || nameoff >= bsz) { in erofs_readdir()
77 nameoff, EROFS_I(dir)->nid); in erofs_readdir()
90 if (ofs >= nameoff) in erofs_readdir()
95 nameoff, maxsize); in erofs_readdir()