/openbmc/linux/fs/jffs2/ |
H A D | xattr.c | 611 up_write(&c->xattr_sem); in jffs2_xattr_delete_inode() 631 up_write(&c->xattr_sem); in jffs2_xattr_free_inode() 685 up_write(&c->xattr_sem); in check_xattr_ref_inode() 982 down_read(&c->xattr_sem); in jffs2_listxattr() 1028 up_read(&c->xattr_sem); in jffs2_listxattr() 1090 up_read(&c->xattr_sem); in do_jffs2_getxattr() 1181 up_write(&c->xattr_sem); in do_jffs2_setxattr() 1209 up_write(&c->xattr_sem); in do_jffs2_setxattr() 1258 up_write(&c->xattr_sem); in jffs2_garbage_collect_xattr_datum() 1292 up_write(&c->xattr_sem); in jffs2_garbage_collect_xattr_ref() [all …]
|
H A D | jffs2_fs_sb.h | 155 struct rw_semaphore xattr_sem; member
|
H A D | README.Locking | 151 c->xattr_sem 160 Once xattr_sem released, there would be no assurance for the existence 169 Lock xattr_sem last, after the alloc_sem.
|
/openbmc/linux/fs/ubifs/ |
H A D | xattr.c | 286 down_write(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_set() 321 up_write(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_set() 344 down_read(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_get() 377 up_read(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_get() 409 down_read(&host_ui->xattr_sem); in ubifs_listxattr() 446 up_read(&host_ui->xattr_sem); in ubifs_listxattr() 457 up_read(&host_ui->xattr_sem); in ubifs_listxattr() 517 down_write(&ubifs_inode(host)->xattr_sem); in ubifs_purge_xattrs() 559 up_write(&ubifs_inode(host)->xattr_sem); in ubifs_purge_xattrs() 569 up_write(&ubifs_inode(host)->xattr_sem); in ubifs_purge_xattrs() [all …]
|
H A D | ubifs.h | 422 struct rw_semaphore xattr_sem; member
|
H A D | super.c | 278 init_rwsem(&ui->xattr_sem); in ubifs_alloc_inode()
|
/openbmc/linux/fs/orangefs/ |
H A D | xattr.c | 125 down_read(&orangefs_inode->xattr_sem); in orangefs_inode_getxattr() 240 up_read(&orangefs_inode->xattr_sem); in orangefs_inode_getxattr() 257 down_write(&orangefs_inode->xattr_sem); in orangefs_inode_removexattr() 304 up_write(&orangefs_inode->xattr_sem); in orangefs_inode_removexattr() 349 down_write(&orangefs_inode->xattr_sem); in orangefs_inode_setxattr() 395 up_write(&orangefs_inode->xattr_sem); in orangefs_inode_setxattr() 424 down_read(&orangefs_inode->xattr_sem); in orangefs_listxattr() 524 up_read(&orangefs_inode->xattr_sem); in orangefs_listxattr()
|
H A D | orangefs-kernel.h | 192 struct rw_semaphore xattr_sem; member
|
H A D | super.c | 103 init_rwsem(&orangefs_inode->xattr_sem); in orangefs_inode_cache_ctor()
|
/openbmc/linux/fs/ext4/ |
H A D | inline.c | 122 down_read(&EXT4_I(inode)->xattr_sem); in ext4_get_max_inline_size() 124 up_read(&EXT4_I(inode)->xattr_sem); in ext4_get_max_inline_size() 521 up_read(&EXT4_I(inode)->xattr_sem); in ext4_readpage_inline() 536 up_read(&EXT4_I(inode)->xattr_sem); in ext4_readpage_inline() 733 up_read(&EXT4_I(inode)->xattr_sem); in ext4_try_to_write_inline_data() 876 up_read(&EXT4_I(inode)->xattr_sem); in ext4_da_convert_inline_data_to_extent() 957 up_read(&EXT4_I(inode)->xattr_sem); in ext4_da_write_inline_data_begin() 962 up_read(&EXT4_I(inode)->xattr_sem); in ext4_da_write_inline_data_begin() 1367 up_read(&EXT4_I(inode)->xattr_sem); in ext4_inlinedir_to_tree() 1722 up_read(&EXT4_I(dir)->xattr_sem); in ext4_find_inline_entry() [all …]
|
H A D | xattr.h | 155 down_write(&EXT4_I(inode)->xattr_sem); in ext4_write_lock_xattr() 162 if (down_write_trylock(&EXT4_I(inode)->xattr_sem) == 0) in ext4_write_trylock_xattr() 173 up_write(&EXT4_I(inode)->xattr_sem); in ext4_write_unlock_xattr()
|
H A D | xattr.c | 710 down_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_get() 716 up_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_get() 825 down_read(&EXT4_I(d_inode(dentry))->xattr_sem); in ext4_listxattr() 838 up_read(&EXT4_I(d_inode(dentry))->xattr_sem); in ext4_listxattr() 874 lockdep_assert_held_read(&EXT4_I(inode)->xattr_sem); in ext4_get_inode_usage() 2506 down_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_set_credits() 2518 up_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_set_credits()
|
H A D | ioctl.c | 769 down_read(&EXT4_I(inode)->xattr_sem); in ext4_ioctl_setproject() 771 up_read(&EXT4_I(inode)->xattr_sem); in ext4_ioctl_setproject()
|
H A D | extents.c | 5035 down_read(&EXT4_I(inode)->xattr_sem); in ext4_get_es_cache() 5037 up_read(&EXT4_I(inode)->xattr_sem); in ext4_get_es_cache()
|
H A D | inode.c | 5378 down_read(&EXT4_I(inode)->xattr_sem); in ext4_setattr() 5380 up_read(&EXT4_I(inode)->xattr_sem); in ext4_setattr()
|
H A D | ext4.h | 1018 struct rw_semaphore xattr_sem; member
|
H A D | super.c | 1487 init_rwsem(&ei->xattr_sem); in init_once()
|
/openbmc/linux/fs/ext2/ |
H A D | xattr.c | 215 down_read(&EXT2_I(inode)->xattr_sem); in ext2_xattr_get() 272 up_read(&EXT2_I(inode)->xattr_sem); in ext2_xattr_get() 301 down_read(&EXT2_I(inode)->xattr_sem); in ext2_xattr_list() 361 up_read(&EXT2_I(inode)->xattr_sem); in ext2_xattr_list() 442 down_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_set() 648 up_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_set() 829 if (WARN_ON_ONCE(!down_write_trylock(&EXT2_I(inode)->xattr_sem))) in ext2_xattr_delete_inode() 860 up_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_delete_inode()
|
H A D | ext2.h | 663 struct rw_semaphore xattr_sem; member
|
H A D | super.c | 206 init_rwsem(&ei->xattr_sem); in init_once()
|
/openbmc/linux/fs/jfs/ |
H A D | xattr.c | 673 down_write(&JFS_IP(inode)->xattr_sem); in __jfs_setxattr() 793 up_write(&JFS_IP(inode)->xattr_sem); in __jfs_setxattr() 809 down_read(&JFS_IP(inode)->xattr_sem); in __jfs_getxattr() 852 up_read(&JFS_IP(inode)->xattr_sem); in __jfs_getxattr() 877 down_read(&JFS_IP(inode)->xattr_sem); in jfs_listxattr() 923 up_read(&JFS_IP(inode)->xattr_sem); in jfs_listxattr()
|
H A D | jfs_incore.h | 65 struct rw_semaphore xattr_sem; member
|
H A D | super.c | 921 init_rwsem(&jfs_ip->xattr_sem); in init_once()
|
/openbmc/linux/fs/nilfs2/ |
H A D | nilfs.h | 57 struct rw_semaphore xattr_sem; member
|
H A D | super.c | 1384 init_rwsem(&ii->xattr_sem); in nilfs_inode_init_once()
|