Lines Matching refs:namelen
290 size_t namelen; in afs_xattr_get_cell() local
292 namelen = cell->name_len; in afs_xattr_get_cell()
294 return namelen; in afs_xattr_get_cell()
295 if (namelen > size) in afs_xattr_get_cell()
297 memcpy(buffer, cell->name, namelen); in afs_xattr_get_cell()
298 return namelen; in afs_xattr_get_cell()
355 size_t namelen; in afs_xattr_get_volume() local
357 namelen = strlen(volname); in afs_xattr_get_volume()
359 return namelen; in afs_xattr_get_volume()
360 if (namelen > size) in afs_xattr_get_volume()
362 memcpy(buffer, volname, namelen); in afs_xattr_get_volume()
363 return namelen; in afs_xattr_get_volume()