/linux-4.19.296/fs/ext2/ |
D | acl.c | 146 int name_index; in ext2_get_acl() local 153 name_index = EXT2_XATTR_INDEX_POSIX_ACL_ACCESS; in ext2_get_acl() 156 name_index = EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext2_get_acl() 161 retval = ext2_xattr_get(inode, name_index, "", NULL, 0); in ext2_get_acl() 166 retval = ext2_xattr_get(inode, name_index, "", value, retval); in ext2_get_acl() 182 int name_index; in __ext2_set_acl() local 189 name_index = EXT2_XATTR_INDEX_POSIX_ACL_ACCESS; in __ext2_set_acl() 193 name_index = EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT; in __ext2_set_acl() 207 error = ext2_xattr_set(inode, name_index, "", value, size, 0); in __ext2_set_acl()
|
D | xattr.h | 80 ext2_xattr_get(struct inode *inode, int name_index, in ext2_xattr_get() argument 87 ext2_xattr_set(struct inode *inode, int name_index, const char *name, in ext2_xattr_set() argument
|
D | xattr.c | 129 ext2_xattr_handler(int name_index) in ext2_xattr_handler() argument 133 if (name_index > 0 && name_index < ARRAY_SIZE(ext2_xattr_handler_map)) in ext2_xattr_handler() 134 handler = ext2_xattr_handler_map[name_index]; in ext2_xattr_handler() 149 ext2_xattr_get(struct inode *inode, int name_index, const char *name, in ext2_xattr_get() argument 160 name_index, name, buffer, (long)buffer_size); in ext2_xattr_get() 196 if (name_index == entry->e_name_index && in ext2_xattr_get() 364 ext2_xattr_set(struct inode *inode, int name_index, const char *name, in ext2_xattr_set() argument 388 name_index, name, value, (long)value_len); in ext2_xattr_set() 428 not_found = name_index - here->e_name_index; in ext2_xattr_set() 541 here->e_name_index = name_index; in ext2_xattr_set()
|
/linux-4.19.296/fs/ext4/ |
D | acl.c | 147 int name_index; in ext4_get_acl() local 154 name_index = EXT4_XATTR_INDEX_POSIX_ACL_ACCESS; in ext4_get_acl() 157 name_index = EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext4_get_acl() 162 retval = ext4_xattr_get(inode, name_index, "", NULL, 0); in ext4_get_acl() 167 retval = ext4_xattr_get(inode, name_index, "", value, retval); in ext4_get_acl() 189 int name_index; in __ext4_set_acl() local 196 name_index = EXT4_XATTR_INDEX_POSIX_ACL_ACCESS; in __ext4_set_acl() 200 name_index = EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT; in __ext4_set_acl() 214 error = ext4_xattr_set_handle(handle, inode, name_index, "", in __ext4_set_acl()
|
D | xattr.c | 177 ext4_xattr_handler(int name_index) in ext4_xattr_handler() argument 181 if (name_index > 0 && name_index < ARRAY_SIZE(ext4_xattr_handler_map)) in ext4_xattr_handler() 182 handler = ext4_xattr_handler_map[name_index]; in ext4_xattr_handler() 286 void *end, int name_index, const char *name, int sorted) in xattr_find_entry() argument 301 cmp = name_index - entry->e_name_index; in xattr_find_entry() 542 ext4_xattr_block_get(struct inode *inode, int name_index, const char *name, in ext4_xattr_block_get() argument 553 name_index, name, buffer, (long)buffer_size); in ext4_xattr_block_get() 570 error = xattr_find_entry(inode, &entry, end, name_index, name, 1); in ext4_xattr_block_get() 602 ext4_xattr_ibody_get(struct inode *inode, int name_index, const char *name, in ext4_xattr_ibody_get() argument 625 error = xattr_find_entry(inode, &entry, end, name_index, name, 0); in ext4_xattr_ibody_get() [all …]
|
D | xattr.h | 115 int name_index; member 199 extern int ext4_xattr_ibody_get(struct inode *inode, int name_index,
|
D | inline.c | 143 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_find_inline_data_nolock() 270 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_create_inline_data() 334 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_update_inline_data() 359 error = ext4_xattr_ibody_get(inode, i.name_index, i.name, in ext4_update_inline_data() 423 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_destroy_inline_data_nolock() 1938 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_inline_data_truncate() 1982 err = ext4_xattr_ibody_get(inode, i.name_index, in ext4_inline_data_truncate()
|
/linux-4.19.296/fs/ocfs2/ |
D | acl.c | 126 int name_index; in ocfs2_get_acl_nolock() local 133 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_ACCESS; in ocfs2_get_acl_nolock() 136 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ocfs2_get_acl_nolock() 142 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock() 147 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock() 232 int name_index; in ocfs2_set_acl() local 242 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_ACCESS; in ocfs2_set_acl() 245 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ocfs2_set_acl() 260 ret = ocfs2_xattr_set_handle(handle, inode, di_bh, name_index, in ocfs2_set_acl() 264 ret = ocfs2_xattr_set(inode, name_index, "", value, size, 0); in ocfs2_set_acl()
|
D | xattr.c | 258 int name_index, 263 int name_index, 541 static inline const char *ocfs2_xattr_prefix(int name_index) in ocfs2_xattr_prefix() argument 545 if (name_index > 0 && name_index < OCFS2_XATTR_MAX) in ocfs2_xattr_prefix() 546 handler = ocfs2_xattr_handler_map[name_index]; in ocfs2_xattr_prefix() 1079 static int ocfs2_xattr_find_entry(int name_index, in ocfs2_xattr_find_entry() argument 1093 cmp = name_index - ocfs2_xattr_get_type(entry); in ocfs2_xattr_find_entry() 1162 int name_index, in ocfs2_xattr_ibody_get() argument 1183 ret = ocfs2_xattr_find_entry(name_index, name, xs); in ocfs2_xattr_ibody_get() 1212 int name_index, in ocfs2_xattr_block_get() argument [all …]
|
D | ocfs2_trace.h | 1758 TP_PROTO(unsigned long long ino, const char *name, int name_index, 1761 TP_ARGS(ino, name, name_index, hash, location, xe_index), 1765 __field(int, name_index) 1773 __entry->name_index = name_index; 1779 __entry->name_index, __entry->hash, __entry->location, 1785 TP_PROTO(unsigned long long ino, const char *name, int name_index, \ 1788 TP_ARGS(ino, name, name_index, hash, bucket, xe_index))
|
/linux-4.19.296/fs/f2fs/ |
D | acl.c | 170 int name_index = F2FS_XATTR_INDEX_POSIX_ACL_DEFAULT; in __f2fs_get_acl() local 176 name_index = F2FS_XATTR_INDEX_POSIX_ACL_ACCESS; in __f2fs_get_acl() 178 retval = f2fs_getxattr(inode, name_index, "", NULL, 0, dpage); in __f2fs_get_acl() 183 retval = f2fs_getxattr(inode, name_index, "", value, in __f2fs_get_acl() 206 int name_index; in __f2fs_set_acl() local 214 name_index = F2FS_XATTR_INDEX_POSIX_ACL_ACCESS; in __f2fs_set_acl() 224 name_index = F2FS_XATTR_INDEX_POSIX_ACL_DEFAULT; in __f2fs_set_acl() 241 error = f2fs_setxattr(inode, name_index, "", value, size, ipage, 0); in __f2fs_set_acl()
|
/linux-4.19.296/fs/squashfs/ |
D | xattr.c | 118 static int squashfs_xattr_get(struct inode *inode, int name_index, in squashfs_xattr_get() argument 149 if (prefix == name_index && name_size == name_len) in squashfs_xattr_get() 158 if (prefix == name_index && name_size == name_len && in squashfs_xattr_get()
|