Home
last modified time | relevance | path

Searched refs:xattr_sem (Results 1 – 25 of 25) sorted by relevance

/linux-6.6.21/fs/jffs2/
Dxattr.c605 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()
982 down_read(&c->xattr_sem); in jffs2_listxattr()
992 up_read(&c->xattr_sem); in jffs2_listxattr()
993 down_write(&c->xattr_sem); in jffs2_listxattr()
[all …]
Djffs2_fs_sb.h155 struct rw_semaphore xattr_sem; member
DREADME.Locking151 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.
/linux-6.6.21/fs/ubifs/
Dxattr.c286 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 …]
Dubifs.h422 struct rw_semaphore xattr_sem; member
Dsuper.c278 init_rwsem(&ui->xattr_sem); in ubifs_alloc_inode()
/linux-6.6.21/fs/ext4/
Dinline.c122 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()
519 down_read(&EXT4_I(inode)->xattr_sem); in ext4_readpage_inline()
521 up_read(&EXT4_I(inode)->xattr_sem); in ext4_readpage_inline()
536 up_read(&EXT4_I(inode)->xattr_sem); in ext4_readpage_inline()
713 down_read(&EXT4_I(inode)->xattr_sem); in ext4_try_to_write_inline_data()
733 up_read(&EXT4_I(inode)->xattr_sem); in ext4_try_to_write_inline_data()
846 down_read(&EXT4_I(inode)->xattr_sem); in ext4_da_convert_inline_data_to_extent()
863 up_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()
[all …]
Dxattr.h155 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()
Dxattr.c710 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()
2509 down_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_set_credits()
2521 up_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_set_credits()
Dioctl.c769 down_read(&EXT4_I(inode)->xattr_sem); in ext4_ioctl_setproject()
771 up_read(&EXT4_I(inode)->xattr_sem); in ext4_ioctl_setproject()
Dextents.c5013 down_read(&EXT4_I(inode)->xattr_sem); in ext4_get_es_cache()
5015 up_read(&EXT4_I(inode)->xattr_sem); in ext4_get_es_cache()
Dinode.c5352 down_read(&EXT4_I(inode)->xattr_sem); in ext4_setattr()
5354 up_read(&EXT4_I(inode)->xattr_sem); in ext4_setattr()
Dext4.h1018 struct rw_semaphore xattr_sem; member
Dsuper.c1486 init_rwsem(&ei->xattr_sem); in init_once()
/linux-6.6.21/fs/orangefs/
Dxattr.c125 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()
Dorangefs-kernel.h192 struct rw_semaphore xattr_sem; member
Dsuper.c103 init_rwsem(&orangefs_inode->xattr_sem); in orangefs_inode_cache_ctor()
/linux-6.6.21/fs/ext2/
Dxattr.c215 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()
Dext2.h663 struct rw_semaphore xattr_sem; member
Dsuper.c206 init_rwsem(&ei->xattr_sem); in init_once()
/linux-6.6.21/fs/jfs/
Dxattr.c669 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()
Djfs_incore.h65 struct rw_semaphore xattr_sem; member
Dsuper.c921 init_rwsem(&jfs_ip->xattr_sem); in init_once()
/linux-6.6.21/fs/nilfs2/
Dnilfs.h57 struct rw_semaphore xattr_sem; member
Dsuper.c1384 init_rwsem(&ii->xattr_sem); in nilfs_inode_init_once()