Lines Matching refs:namelen
125 int namelen; in cramfs_resolve() local
135 namelen = CRAMFS_GET_NAMELEN (inode) << 2; in cramfs_resolve()
139 inodeoffset + sizeof (struct cramfs_inode) + namelen; in cramfs_resolve()
142 if (!namelen) in cramfs_resolve()
144 if (name[namelen - 1]) in cramfs_resolve()
146 namelen--; in cramfs_resolve()
149 if (!strncmp(filename, name, namelen) && in cramfs_resolve()
150 (namelen == strlen(filename))) { in cramfs_resolve()
177 namelen, namelen, name); in cramfs_resolve()
194 namelen, namelen, name, in cramfs_resolve()
261 int namelen, nextoff; in cramfs_list_inode() local
268 namelen = CRAMFS_GET_NAMELEN (inode) << 2; in cramfs_list_inode()
270 nextoff = namelen; in cramfs_list_inode()
273 if (!namelen) in cramfs_list_inode()
274 return namelen; in cramfs_list_inode()
275 if (name[namelen - 1]) in cramfs_list_inode()
277 namelen--; in cramfs_list_inode()
281 CRAMFS_24 (inode->size), namelen, namelen, name); in cramfs_list_inode()