Lines Matching refs:namelen
273 size_t namelen; in afs_xattr_get_cell() local
275 namelen = cell->name_len; in afs_xattr_get_cell()
277 return namelen; in afs_xattr_get_cell()
278 if (namelen > size) in afs_xattr_get_cell()
280 memcpy(buffer, cell->name, namelen); in afs_xattr_get_cell()
281 return namelen; in afs_xattr_get_cell()
338 size_t namelen; in afs_xattr_get_volume() local
340 namelen = strlen(volname); in afs_xattr_get_volume()
342 return namelen; in afs_xattr_get_volume()
343 if (namelen > size) in afs_xattr_get_volume()
345 memcpy(buffer, volname, namelen); in afs_xattr_get_volume()
346 return namelen; in afs_xattr_get_volume()