Home
last modified time | relevance | path

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

123

/fs/xfs/
Dxfs_xattr.c88 .prefix = XATTR_USER_PREFIX,
95 .prefix = XATTR_TRUSTED_PREFIX,
102 .prefix = XATTR_SECURITY_PREFIX,
122 char *prefix, in __xfs_xattr_put_listent() argument
143 strncpy(offset, prefix, prefix_len); in __xfs_xattr_put_listent()
162 char *prefix; in xfs_xattr_put_listent() local
195 prefix = XATTR_TRUSTED_PREFIX; in xfs_xattr_put_listent()
198 prefix = XATTR_SECURITY_PREFIX; in xfs_xattr_put_listent()
201 prefix = XATTR_USER_PREFIX; in xfs_xattr_put_listent()
205 __xfs_xattr_put_listent(context, prefix, prefix_len, name, in xfs_xattr_put_listent()
/fs/squashfs/
Dxattr.c58 const char *prefix = handler->prefix ?: handler->name; in squashfs_listxattr() local
59 size_t prefix_size = strlen(prefix); in squashfs_listxattr()
66 memcpy(buffer, prefix, prefix_size); in squashfs_listxattr()
125 int type, prefix, name_size; in squashfs_xattr_get() local
134 prefix = type & SQUASHFS_XATTR_PREFIX_MASK; in squashfs_xattr_get()
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()
217 .prefix = XATTR_USER_PREFIX,
231 .prefix = XATTR_TRUSTED_PREFIX,
241 .prefix = XATTR_SECURITY_PREFIX,
/fs/crypto/
Dhkdf.c120 u8 prefix[9]; in fscrypt_hkdf_expand() local
132 memcpy(prefix, "fscrypt\0", 8); in fscrypt_hkdf_expand()
133 prefix[8] = context; in fscrypt_hkdf_expand()
147 err = crypto_shash_update(desc, prefix, sizeof(prefix)); in fscrypt_hkdf_expand()
Dkeysetup_v1.c92 find_and_lock_process_key(const char *prefix, in find_and_lock_process_key() argument
102 description = kasprintf(GFP_NOFS, "%s%*phN", prefix, in find_and_lock_process_key()
/fs/erofs/
Dxattr.c496 .prefix = XATTR_USER_PREFIX,
503 .prefix = XATTR_TRUSTED_PREFIX,
511 .prefix = XATTR_SECURITY_PREFIX,
544 const char *prefix; in xattr_entrylist() local
552 prefix = xattr_prefix(h); in xattr_entrylist()
553 prefix_len = strlen(prefix); in xattr_entrylist()
564 memcpy(it->buffer + it->buffer_ofs, prefix, prefix_len); in xattr_entrylist()
681 int prefix, rc; in erofs_get_acl() local
686 prefix = EROFS_XATTR_INDEX_POSIX_ACL_ACCESS; in erofs_get_acl()
689 prefix = EROFS_XATTR_INDEX_POSIX_ACL_DEFAULT; in erofs_get_acl()
[all …]
/fs/affs/
Dsuper.c191 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) in parse_options() argument
239 kfree(*prefix); in parse_options()
240 *prefix = match_strdup(&args[0]); in parse_options()
241 if (!*prefix) in parse_options()
565 char *prefix = NULL; in affs_remount() local
574 &blocksize, &prefix, volume, in affs_remount()
576 kfree(prefix); in affs_remount()
588 if (prefix) { in affs_remount()
590 sbi->s_prefix = prefix; in affs_remount()
/fs/9p/
Dxattr.c161 .prefix = XATTR_USER_PREFIX,
167 .prefix = XATTR_TRUSTED_PREFIX,
174 .prefix = XATTR_SECURITY_PREFIX,
/fs/ocfs2/cluster/
Dmasklog.c59 const char *prefix = ""; in __mlog_printk() local
67 prefix = "ERROR: "; in __mlog_printk()
81 raw_smp_processor_id(), func, line, prefix, &vaf); in __mlog_printk()
/fs/hfsplus/
Dxattr.h27 const char *prefix, size_t prefixlen);
34 const char *prefix, size_t prefixlen);
Dxattr.c424 const char *prefix, size_t prefixlen) in hfsplus_setxattr() argument
433 strcpy(xattr_name, prefix); in hfsplus_setxattr()
578 const char *prefix, size_t prefixlen) in hfsplus_getxattr() argument
588 strcpy(xattr_name, prefix); in hfsplus_getxattr()
883 .prefix = XATTR_MAC_OSX_PREFIX,
Dxattr_user.c35 .prefix = XATTR_USER_PREFIX,
Dxattr_trusted.c35 .prefix = XATTR_TRUSTED_PREFIX,
/fs/cachefiles/
Dnamei.c28 const char *prefix) in __cachefiles_printk_object() argument
34 pr_err("%sobject: OBJ%x\n", prefix, object->fscache.debug_id); in __cachefiles_printk_object()
36 prefix, object->fscache.state->name, in __cachefiles_printk_object()
40 prefix, object->fscache.n_ops, object->fscache.n_in_progress, in __cachefiles_printk_object()
43 prefix, object->fscache.parent); in __cachefiles_printk_object()
49 prefix, in __cachefiles_printk_object()
54 pr_err("%skey=[%u] '", prefix, cookie->key_len); in __cachefiles_printk_object()
61 pr_err("%scookie=NULL\n", prefix); in __cachefiles_printk_object()
/fs/f2fs/
Dxattr.c160 .prefix = XATTR_USER_PREFIX,
168 .prefix = XATTR_TRUSTED_PREFIX,
183 .prefix = XATTR_SECURITY_PREFIX,
579 const char *prefix; in f2fs_listxattr() local
595 prefix = xattr_prefix(handler); in f2fs_listxattr()
596 prefix_len = strlen(prefix); in f2fs_listxattr()
603 memcpy(buffer, prefix, prefix_len); in f2fs_listxattr()
/fs/btrfs/
Dxattr.c430 .prefix = XATTR_SECURITY_PREFIX,
436 .prefix = XATTR_TRUSTED_PREFIX,
442 .prefix = XATTR_USER_PREFIX,
448 .prefix = XATTR_BTRFS_PREFIX,
/fs/fscache/
Dcookie.c30 static void fscache_print_cookie(struct fscache_cookie *cookie, char prefix) in fscache_print_cookie() argument
37 prefix, cookie, cookie->parent, cookie->flags, in fscache_print_cookie()
41 prefix, cookie->def, cookie->netfs_data); in fscache_print_cookie()
46 prefix, hlist_entry(object, struct fscache_object, cookie_link)); in fscache_print_cookie()
48 pr_err("%c-key=[%u] '", prefix, cookie->key_len); in fscache_print_cookie()
/fs/cifs/
Ddir.c85 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS; in build_path_from_dentry() local
88 prefix); in build_path_from_dentry()
92 build_path_from_dentry_optional_prefix(struct dentry *direntry, bool prefix) in build_path_from_dentry_optional_prefix() argument
105 if (prefix) in build_path_from_dentry_optional_prefix()
/fs/gfs2/
Dxattr.c350 char *prefix; in ea_list_i() local
358 prefix = "user."; in ea_list_i()
362 prefix = "system."; in ea_list_i()
366 prefix = "security."; in ea_list_i()
378 memcpy(er->er_data + ei->ei_size, prefix, l); in ea_list_i()
1450 .prefix = XATTR_USER_PREFIX,
1457 .prefix = XATTR_SECURITY_PREFIX,
/fs/jffs2/
Dxattr_user.c38 .prefix = XATTR_USER_PREFIX,
Dxattr_trusted.c43 .prefix = XATTR_TRUSTED_PREFIX,
/fs/ext2/
Dxattr_trusted.c38 .prefix = XATTR_TRUSTED_PREFIX,
Dxattr_user.c45 .prefix = XATTR_USER_PREFIX,
/fs/ext4/
Dxattr_trusted.c42 .prefix = XATTR_TRUSTED_PREFIX,
/fs/reiserfs/
Dxattr_user.c39 .prefix = XATTR_USER_PREFIX,
Dxattr_trusted.c42 .prefix = XATTR_TRUSTED_PREFIX,

123