Lines Matching refs:namelen
275 size_t namelen; in afs_xattr_get_cell() local
277 namelen = cell->name_len; in afs_xattr_get_cell()
279 return namelen; in afs_xattr_get_cell()
280 if (namelen > size) in afs_xattr_get_cell()
282 memcpy(buffer, cell->name, namelen); in afs_xattr_get_cell()
283 return namelen; in afs_xattr_get_cell()
340 size_t namelen; in afs_xattr_get_volume() local
342 namelen = strlen(volname); in afs_xattr_get_volume()
344 return namelen; in afs_xattr_get_volume()
345 if (namelen > size) in afs_xattr_get_volume()
347 memcpy(buffer, volname, namelen); in afs_xattr_get_volume()
348 return namelen; in afs_xattr_get_volume()