Home
last modified time | relevance | path

Searched refs:name_index (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/fs/ext2/
Dacl.c146 int name_index; in ext2_get_acl() local
156 name_index = EXT2_XATTR_INDEX_POSIX_ACL_ACCESS; in ext2_get_acl()
159 name_index = EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext2_get_acl()
164 retval = ext2_xattr_get(inode, name_index, "", NULL, 0); in ext2_get_acl()
169 retval = ext2_xattr_get(inode, name_index, "", value, retval); in ext2_get_acl()
185 int name_index; in __ext2_set_acl() local
192 name_index = EXT2_XATTR_INDEX_POSIX_ACL_ACCESS; in __ext2_set_acl()
196 name_index = EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT; in __ext2_set_acl()
210 error = ext2_xattr_set(inode, name_index, "", value, size, 0); in __ext2_set_acl()
Dxattr.c124 static inline const char *ext2_xattr_prefix(int name_index, in ext2_xattr_prefix() argument
129 if (name_index > 0 && name_index < ARRAY_SIZE(ext2_xattr_handler_map)) in ext2_xattr_prefix()
130 handler = ext2_xattr_handler_map[name_index]; in ext2_xattr_prefix()
171 ext2_xattr_cmp_entry(int name_index, size_t name_len, const char *name, in ext2_xattr_cmp_entry() argument
176 cmp = name_index - entry->e_name_index; in ext2_xattr_cmp_entry()
196 ext2_xattr_get(struct inode *inode, int name_index, const char *name, in ext2_xattr_get() argument
207 name_index, name, buffer, (long)buffer_size); in ext2_xattr_get()
243 not_found = ext2_xattr_cmp_entry(name_index, name_len, name, in ext2_xattr_get()
406 ext2_xattr_set(struct inode *inode, int name_index, const char *name, in ext2_xattr_set() argument
430 name_index, name, value, (long)value_len); in ext2_xattr_set()
[all …]
Dxattr.h80 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
/linux-6.6.21/fs/ext4/
Dacl.c147 int name_index; in ext4_get_acl() local
157 name_index = EXT4_XATTR_INDEX_POSIX_ACL_ACCESS; in ext4_get_acl()
160 name_index = EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT; in ext4_get_acl()
165 retval = ext4_xattr_get(inode, name_index, "", NULL, 0); in ext4_get_acl()
170 retval = ext4_xattr_get(inode, name_index, "", value, retval); in ext4_get_acl()
192 int name_index; in __ext4_set_acl() local
199 name_index = EXT4_XATTR_INDEX_POSIX_ACL_ACCESS; in __ext4_set_acl()
203 name_index = EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT; in __ext4_set_acl()
217 error = ext4_xattr_set_handle(handle, inode, name_index, "", in __ext4_set_acl()
Dxattr.c176 static inline const char *ext4_xattr_prefix(int name_index, in ext4_xattr_prefix() argument
181 if (name_index > 0 && name_index < ARRAY_SIZE(ext4_xattr_handler_map)) in ext4_xattr_prefix()
182 handler = ext4_xattr_handler_map[name_index]; in ext4_xattr_prefix()
324 void *end, int name_index, const char *name, int sorted) in xattr_find_entry() argument
339 cmp = name_index - entry->e_name_index; in xattr_find_entry()
574 ext4_xattr_block_get(struct inode *inode, int name_index, const char *name, in ext4_xattr_block_get() argument
585 name_index, name, buffer, (long)buffer_size); in ext4_xattr_block_get()
602 error = xattr_find_entry(inode, &entry, end, name_index, name, 1); in ext4_xattr_block_get()
634 ext4_xattr_ibody_get(struct inode *inode, int name_index, const char *name, in ext4_xattr_ibody_get() argument
657 error = xattr_find_entry(inode, &entry, end, name_index, name, 0); in ext4_xattr_ibody_get()
[all …]
Dxattr.h115 int name_index; member
200 extern int ext4_xattr_ibody_get(struct inode *inode, int name_index,
Dinline.c145 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_find_inline_data_nolock()
271 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_create_inline_data()
336 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_update_inline_data()
361 error = ext4_xattr_ibody_get(inode, i.name_index, i.name, in ext4_update_inline_data()
426 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_destroy_inline_data_nolock()
1906 .name_index = EXT4_XATTR_INDEX_SYSTEM, in ext4_inline_data_truncate()
1959 err = ext4_xattr_ibody_get(inode, i.name_index, in ext4_inline_data_truncate()
/linux-6.6.21/fs/ocfs2/
Dacl.c116 int name_index; in ocfs2_get_acl_nolock() local
123 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_ACCESS; in ocfs2_get_acl_nolock()
126 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ocfs2_get_acl_nolock()
132 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock()
137 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock()
222 int name_index; in ocfs2_set_acl() local
232 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_ACCESS; in ocfs2_set_acl()
235 name_index = OCFS2_XATTR_INDEX_POSIX_ACL_DEFAULT; in ocfs2_set_acl()
250 ret = ocfs2_xattr_set_handle(handle, inode, di_bh, name_index, in ocfs2_set_acl()
254 ret = ocfs2_xattr_set(inode, name_index, "", value, size, 0); in ocfs2_set_acl()
Dxattr.c244 int name_index,
249 int name_index,
527 static inline const char *ocfs2_xattr_prefix(int name_index) in ocfs2_xattr_prefix() argument
531 if (name_index > 0 && name_index < OCFS2_XATTR_MAX) in ocfs2_xattr_prefix()
532 handler = ocfs2_xattr_handler_map[name_index]; in ocfs2_xattr_prefix()
1065 static int ocfs2_xattr_find_entry(int name_index, in ocfs2_xattr_find_entry() argument
1079 cmp = name_index - ocfs2_xattr_get_type(entry); in ocfs2_xattr_find_entry()
1148 int name_index, in ocfs2_xattr_ibody_get() argument
1169 ret = ocfs2_xattr_find_entry(name_index, name, xs); in ocfs2_xattr_ibody_get()
1198 int name_index, in ocfs2_xattr_block_get() argument
[all …]
Docfs2_trace.h1761 TP_PROTO(unsigned long long ino, const char *name, int name_index,
1764 TP_ARGS(ino, name, name_index, hash, location, xe_index),
1768 __field(int, name_index)
1776 __entry->name_index = name_index;
1782 __entry->name_index, __entry->hash, __entry->location,
1788 TP_PROTO(unsigned long long ino, const char *name, int name_index, \
1791 TP_ARGS(ino, name, name_index, hash, bucket, xe_index))
/linux-6.6.21/fs/f2fs/
Dacl.c171 int name_index = F2FS_XATTR_INDEX_POSIX_ACL_DEFAULT; in __f2fs_get_acl() local
177 name_index = F2FS_XATTR_INDEX_POSIX_ACL_ACCESS; in __f2fs_get_acl()
179 retval = f2fs_getxattr(inode, name_index, "", NULL, 0, dpage); in __f2fs_get_acl()
184 retval = f2fs_getxattr(inode, name_index, "", value, in __f2fs_get_acl()
233 int name_index; in __f2fs_set_acl() local
241 name_index = F2FS_XATTR_INDEX_POSIX_ACL_ACCESS; in __f2fs_set_acl()
252 name_index = F2FS_XATTR_INDEX_POSIX_ACL_DEFAULT; in __f2fs_set_acl()
269 error = f2fs_setxattr(inode, name_index, "", value, size, ipage, 0); in __f2fs_set_acl()
/linux-6.6.21/fs/squashfs/
Dxattr.c105 static int squashfs_xattr_get(struct inode *inode, int name_index, in squashfs_xattr_get() argument
136 if (prefix == name_index && name_size == name_len) in squashfs_xattr_get()
145 if (prefix == name_index && name_size == name_len && in squashfs_xattr_get()
/linux-6.6.21/drivers/gpu/drm/sun4i/
Dsun8i_tcon_top.c101 u8 bit, int name_index) in sun8i_tcon_top_register_gate() argument
113 "clock-output-names", name_index, in sun8i_tcon_top_register_gate()