/kernel/linux/linux-5.10/fs/jffs2/ |
D | xattr.c | 605 down_write(&c->xattr_sem); in jffs2_xattr_delete_inode() 611 up_write(&c->xattr_sem); in jffs2_xattr_delete_inode() 620 down_write(&c->xattr_sem); in jffs2_xattr_free_inode() 631 up_write(&c->xattr_sem); in jffs2_xattr_free_inode() 645 down_write(&c->xattr_sem); in check_xattr_ref_inode() 685 up_write(&c->xattr_sem); in check_xattr_ref_inode() 718 init_rwsem(&c->xattr_sem); in jffs2_init_xattr_subsystem() 978 down_read(&c->xattr_sem); in jffs2_listxattr() 988 up_read(&c->xattr_sem); in jffs2_listxattr() 989 down_write(&c->xattr_sem); in jffs2_listxattr() [all …]
|
D | jffs2_fs_sb.h | 155 struct rw_semaphore xattr_sem; member
|
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.
|
/kernel/linux/linux-5.10/fs/ubifs/ |
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 …]
|
D | ubifs.h | 413 struct rw_semaphore xattr_sem; member
|
D | super.c | 278 init_rwsem(&ui->xattr_sem); in ubifs_alloc_inode()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | inline.c | 110 down_read(&EXT4_I(inode)->xattr_sem); in ext4_get_max_inline_size() 112 up_read(&EXT4_I(inode)->xattr_sem); in ext4_get_max_inline_size() 505 down_read(&EXT4_I(inode)->xattr_sem); in ext4_readpage_inline() 507 up_read(&EXT4_I(inode)->xattr_sem); in ext4_readpage_inline() 522 up_read(&EXT4_I(inode)->xattr_sem); in ext4_readpage_inline() 701 down_read(&EXT4_I(inode)->xattr_sem); in ext4_try_to_write_inline_data() 721 up_read(&EXT4_I(inode)->xattr_sem); in ext4_try_to_write_inline_data() 859 down_read(&EXT4_I(inode)->xattr_sem); in ext4_da_convert_inline_data_to_extent() 876 up_read(&EXT4_I(inode)->xattr_sem); in ext4_da_convert_inline_data_to_extent() 889 up_read(&EXT4_I(inode)->xattr_sem); in ext4_da_convert_inline_data_to_extent() [all …]
|
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()
|
D | xattr.c | 665 down_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_get() 671 up_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_get() 781 down_read(&EXT4_I(d_inode(dentry))->xattr_sem); in ext4_listxattr() 794 up_read(&EXT4_I(d_inode(dentry))->xattr_sem); in ext4_listxattr() 829 lockdep_assert_held_read(&EXT4_I(inode)->xattr_sem); in ext4_get_inode_usage() 2460 down_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_set_credits() 2472 up_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_set_credits()
|
D | ioctl.c | 533 down_read(&EXT4_I(inode)->xattr_sem); in ext4_ioctl_setproject() 535 up_read(&EXT4_I(inode)->xattr_sem); in ext4_ioctl_setproject()
|
D | extents.c | 4994 down_read(&EXT4_I(inode)->xattr_sem); in ext4_get_es_cache() 4996 up_read(&EXT4_I(inode)->xattr_sem); in ext4_get_es_cache()
|
D | inode.c | 5432 down_read(&EXT4_I(inode)->xattr_sem); in ext4_setattr() 5434 up_read(&EXT4_I(inode)->xattr_sem); in ext4_setattr()
|
D | ext4.h | 1020 struct rw_semaphore xattr_sem; member
|
/kernel/linux/linux-5.10/fs/orangefs/ |
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()
|
D | orangefs-kernel.h | 190 struct rw_semaphore xattr_sem; member
|
D | super.c | 102 init_rwsem(&orangefs_inode->xattr_sem); in orangefs_inode_cache_ctor()
|
/kernel/linux/linux-5.10/fs/ext2/ |
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() 362 up_read(&EXT2_I(inode)->xattr_sem); in ext2_xattr_list() 443 down_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_set() 649 up_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_set() 805 if (WARN_ON_ONCE(!down_write_trylock(&EXT2_I(inode)->xattr_sem))) in ext2_xattr_delete_inode() 859 up_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_delete_inode()
|
D | ext2.h | 669 struct rw_semaphore xattr_sem; member
|
D | super.c | 206 init_rwsem(&ei->xattr_sem); in init_once()
|
/kernel/linux/linux-5.10/fs/jfs/ |
D | xattr.c | 669 down_write(&JFS_IP(inode)->xattr_sem); in __jfs_setxattr() 789 up_write(&JFS_IP(inode)->xattr_sem); in __jfs_setxattr() 805 down_read(&JFS_IP(inode)->xattr_sem); in __jfs_getxattr() 840 up_read(&JFS_IP(inode)->xattr_sem); in __jfs_getxattr() 865 down_read(&JFS_IP(inode)->xattr_sem); in jfs_listxattr() 904 up_read(&JFS_IP(inode)->xattr_sem); in jfs_listxattr()
|
D | jfs_incore.h | 65 struct rw_semaphore xattr_sem; member
|
D | super.c | 929 init_rwsem(&jfs_ip->xattr_sem); in init_once()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | nilfs.h | 57 struct rw_semaphore xattr_sem; member
|
D | super.c | 1377 init_rwsem(&ii->xattr_sem); in nilfs_inode_init_once()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 8760 - /* must be called under down_write(xattr_sem) */ 8775 - /* must be called under down_write(xattr_sem) */ 8805 - /* must be called under down_write(xattr_sem) */ 8877 - /* must be called under down_write(xattr_sem) */ 8936 - /* must be called under down_write(xattr_sem); 8957 - /* must be called under down_write(xattr_sem) */ 9011 - /* must be called under down_write(xattr_sem) */ 9077 - /* must be called under down_write(xattr_sem) */ 9179 - /* must be called under down_write(xattr_sem) */ 9224 - /* must be called under down_write(xattr_sem) */ [all …]
|