Home
last modified time | relevance | path

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

123

/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/xfs/
Dxfs_xattr.c158 .prefix = XATTR_USER_PREFIX,
165 .prefix = XATTR_TRUSTED_PREFIX,
172 .prefix = XATTR_SECURITY_PREFIX,
192 char *prefix, in __xfs_xattr_put_listent() argument
213 strncpy(offset, prefix, prefix_len); in __xfs_xattr_put_listent()
232 char *prefix; in xfs_xattr_put_listent() local
265 prefix = XATTR_TRUSTED_PREFIX; in xfs_xattr_put_listent()
268 prefix = XATTR_SECURITY_PREFIX; in xfs_xattr_put_listent()
271 prefix = XATTR_USER_PREFIX; in xfs_xattr_put_listent()
275 __xfs_xattr_put_listent(context, prefix, prefix_len, name, in xfs_xattr_put_listent()
/fs/
Dfs_context.c267 fc->log.prefix = fs_type->name; in alloc_fs_context()
406 void logfc(struct fc_log *log, const char *prefix, char level, const char *fmt, ...) in logfc() argument
415 printk(KERN_WARNING "%s%s%pV\n", prefix ? prefix : "", in logfc()
416 prefix ? ": " : "", &vaf); in logfc()
419 printk(KERN_ERR "%s%s%pV\n", prefix ? prefix : "", in logfc()
420 prefix ? ": " : "", &vaf); in logfc()
423 printk(KERN_NOTICE "%s%s%pV\n", prefix ? prefix : "", in logfc()
424 prefix ? ": " : "", &vaf); in logfc()
431 prefix ? prefix : "", in logfc()
432 prefix ? ": " : "", &vaf); in logfc()
/fs/crypto/
Dhkdf.c123 u8 prefix[9]; in fscrypt_hkdf_expand() local
135 memcpy(prefix, "fscrypt\0", 8); in fscrypt_hkdf_expand()
136 prefix[8] = context; in fscrypt_hkdf_expand()
150 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_KERNEL, "%s%*phN", prefix, in find_and_lock_process_key()
/fs/erofs/
Dxattr.c442 .prefix = XATTR_USER_PREFIX,
449 .prefix = XATTR_TRUSTED_PREFIX,
457 .prefix = XATTR_SECURITY_PREFIX,
490 const char *prefix; in xattr_entrylist() local
498 prefix = xattr_prefix(h); in xattr_entrylist()
499 prefix_len = strlen(prefix); in xattr_entrylist()
510 memcpy(it->buffer + it->buffer_ofs, prefix, prefix_len); in xattr_entrylist()
618 int prefix, rc; in erofs_get_acl() local
626 prefix = EROFS_XATTR_INDEX_POSIX_ACL_ACCESS; in erofs_get_acl()
629 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/ocfs2/cluster/
Dmasklog.c57 const char *prefix = ""; in __mlog_printk() local
65 prefix = "ERROR: "; in __mlog_printk()
79 raw_smp_processor_id(), func, line, prefix, &vaf); in __mlog_printk()
/fs/9p/
Dxattr.c164 .prefix = XATTR_USER_PREFIX,
170 .prefix = XATTR_TRUSTED_PREFIX,
177 .prefix = XATTR_SECURITY_PREFIX,
/fs/hfsplus/
Dxattr.h27 const char *prefix, size_t prefixlen);
34 const char *prefix, size_t prefixlen);
Dxattr.c423 const char *prefix, size_t prefixlen) in hfsplus_setxattr() argument
432 strcpy(xattr_name, prefix); in hfsplus_setxattr()
577 const char *prefix, size_t prefixlen) in hfsplus_getxattr() argument
587 strcpy(xattr_name, prefix); in hfsplus_getxattr()
882 .prefix = XATTR_MAC_OSX_PREFIX,
Dxattr_trusted.c35 .prefix = XATTR_TRUSTED_PREFIX,
Dxattr_user.c35 .prefix = XATTR_USER_PREFIX,
/fs/f2fs/
Dxattr.c163 .prefix = XATTR_USER_PREFIX,
171 .prefix = XATTR_TRUSTED_PREFIX,
186 .prefix = XATTR_SECURITY_PREFIX,
580 const char *prefix; in f2fs_listxattr() local
597 prefix = xattr_prefix(handler); in f2fs_listxattr()
598 prefix_len = strlen(prefix); in f2fs_listxattr()
605 memcpy(buffer, prefix, prefix_len); in f2fs_listxattr()
/fs/btrfs/
Dxattr.c418 .prefix = XATTR_SECURITY_PREFIX,
424 .prefix = XATTR_TRUSTED_PREFIX,
430 .prefix = XATTR_USER_PREFIX,
436 .prefix = XATTR_BTRFS_PREFIX,
/fs/gfs2/
Dxattr.c358 char *prefix; in ea_list_i() local
368 prefix = "user."; in ea_list_i()
372 prefix = "system."; in ea_list_i()
376 prefix = "security."; in ea_list_i()
380 prefix = "trusted."; in ea_list_i()
392 memcpy(er->er_data + ei->ei_size, prefix, l); in ea_list_i()
1466 .prefix = XATTR_USER_PREFIX,
1473 .prefix = XATTR_SECURITY_PREFIX,
1486 .prefix = XATTR_TRUSTED_PREFIX,
/fs/kernfs/
Dinode.c424 .prefix = XATTR_TRUSTED_PREFIX,
430 .prefix = XATTR_SECURITY_PREFIX,
436 .prefix = XATTR_USER_PREFIX,
/fs/smb/client/
Ddir.c75 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS; in build_path_from_dentry() local
78 prefix); in build_path_from_dentry()
83 bool prefix) in build_path_from_dentry_optional_prefix() argument
95 if (prefix) in build_path_from_dentry_optional_prefix()
/fs/jffs2/
Dxattr_user.c38 .prefix = XATTR_USER_PREFIX,
Dxattr_trusted.c43 .prefix = XATTR_TRUSTED_PREFIX,
/fs/ext4/
Dxattr_trusted.c43 .prefix = XATTR_TRUSTED_PREFIX,
Dxattr_user.c46 .prefix = XATTR_USER_PREFIX,
/fs/ext2/
Dxattr_trusted.c39 .prefix = XATTR_TRUSTED_PREFIX,
Dxattr_user.c46 .prefix = XATTR_USER_PREFIX,
/fs/reiserfs/
Dxattr_user.c39 .prefix = XATTR_USER_PREFIX,

123