Searched refs:old_xattr (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/fs/kernfs/ |
D | inode.c | 308 struct simple_xattr *old_xattr; in kernfs_xattr_set() local 313 old_xattr = simple_xattr_set(&attrs->xattrs, name, value, size, flags); in kernfs_xattr_set() 314 if (IS_ERR(old_xattr)) in kernfs_xattr_set() 315 return PTR_ERR(old_xattr); in kernfs_xattr_set() 317 simple_xattr_free(old_xattr); in kernfs_xattr_set() 350 struct simple_xattr *old_xattr; in kernfs_vfs_user_xattr_add() local 363 old_xattr = simple_xattr_set(xattrs, full_name, value, size, flags); in kernfs_vfs_user_xattr_add() 364 if (!old_xattr) in kernfs_vfs_user_xattr_add() 367 if (IS_ERR(old_xattr)) { in kernfs_vfs_user_xattr_add() 368 ret = PTR_ERR(old_xattr); in kernfs_vfs_user_xattr_add() [all …]
|
/linux-6.12.1/fs/ |
D | xattr.c | 1214 struct simple_xattr *old_xattr = NULL, *new_xattr = NULL; in simple_xattr_set() local 1241 old_xattr = rb_entry(*rbp, struct simple_xattr, rb_node); in simple_xattr_set() 1242 if (old_xattr) in simple_xattr_set() 1246 if (old_xattr) { in simple_xattr_set() 1254 rb_replace_node(&old_xattr->rb_node, in simple_xattr_set() 1257 rb_erase(&old_xattr->rb_node, &xattrs->rb_root); in simple_xattr_set() 1283 return old_xattr; in simple_xattr_set()
|
/linux-6.12.1/mm/ |
D | shmem.c | 4008 struct simple_xattr *old_xattr; in shmem_xattr_handler_set() local 4024 old_xattr = simple_xattr_set(&info->xattrs, name, value, size, flags); in shmem_xattr_handler_set() 4025 if (!IS_ERR(old_xattr)) { in shmem_xattr_handler_set() 4027 if (old_xattr && sbinfo->max_inodes) in shmem_xattr_handler_set() 4028 ispace = simple_xattr_space(old_xattr->name, in shmem_xattr_handler_set() 4029 old_xattr->size); in shmem_xattr_handler_set() 4030 simple_xattr_free(old_xattr); in shmem_xattr_handler_set() 4031 old_xattr = NULL; in shmem_xattr_handler_set() 4040 return PTR_ERR(old_xattr); in shmem_xattr_handler_set()
|