Lines Matching refs:namelen
46 size_t namelen; in afs_xattr_get_cell() local
48 namelen = cell->name_len; in afs_xattr_get_cell()
50 return namelen; in afs_xattr_get_cell()
51 if (namelen > size) in afs_xattr_get_cell()
53 memcpy(buffer, cell->name, namelen); in afs_xattr_get_cell()
54 return namelen; in afs_xattr_get_cell()
100 size_t namelen; in afs_xattr_get_volume() local
102 namelen = strlen(volname); in afs_xattr_get_volume()
104 return namelen; in afs_xattr_get_volume()
105 if (namelen > size) in afs_xattr_get_volume()
107 memcpy(buffer, volname, namelen); in afs_xattr_get_volume()
108 return namelen; in afs_xattr_get_volume()