/fs/9p/ |
D | xattr_user.c | 28 size_t prefix_len = XATTR_USER_PREFIX_LEN; in v9fs_xattr_user_get() local 37 full_name = kmalloc(prefix_len + name_len + 1 , GFP_KERNEL); in v9fs_xattr_user_get() 40 memcpy(full_name, XATTR_USER_PREFIX, prefix_len); in v9fs_xattr_user_get() 41 memcpy(full_name+prefix_len, name, name_len); in v9fs_xattr_user_get() 42 full_name[prefix_len + name_len] = '\0'; in v9fs_xattr_user_get() 55 size_t prefix_len = XATTR_USER_PREFIX_LEN; in v9fs_xattr_user_set() local 64 full_name = kmalloc(prefix_len + name_len + 1 , GFP_KERNEL); in v9fs_xattr_user_set() 67 memcpy(full_name, XATTR_USER_PREFIX, prefix_len); in v9fs_xattr_user_set() 68 memcpy(full_name + prefix_len, name, name_len); in v9fs_xattr_user_set() 69 full_name[prefix_len + name_len] = '\0'; in v9fs_xattr_user_set()
|
/fs/ext2/ |
D | xattr_trusted.c | 15 const int prefix_len = XATTR_TRUSTED_PREFIX_LEN; in ext2_xattr_trusted_list() local 16 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_trusted_list() 22 memcpy(list, XATTR_TRUSTED_PREFIX, prefix_len); in ext2_xattr_trusted_list() 23 memcpy(list+prefix_len, name, name_len); in ext2_xattr_trusted_list() 24 list[prefix_len + name_len] = '\0'; in ext2_xattr_trusted_list()
|
D | xattr_user.c | 17 const size_t prefix_len = XATTR_USER_PREFIX_LEN; in ext2_xattr_user_list() local 18 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_user_list() 24 memcpy(list, XATTR_USER_PREFIX, prefix_len); in ext2_xattr_user_list() 25 memcpy(list+prefix_len, name, name_len); in ext2_xattr_user_list() 26 list[prefix_len + name_len] = '\0'; in ext2_xattr_user_list()
|
D | xattr_security.c | 14 const int prefix_len = XATTR_SECURITY_PREFIX_LEN; in ext2_xattr_security_list() local 15 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_security_list() 18 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ext2_xattr_security_list() 19 memcpy(list+prefix_len, name, name_len); in ext2_xattr_security_list() 20 list[prefix_len + name_len] = '\0'; in ext2_xattr_security_list()
|
/fs/ext4/ |
D | xattr_trusted.c | 19 const size_t prefix_len = XATTR_TRUSTED_PREFIX_LEN; in ext4_xattr_trusted_list() local 20 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_trusted_list() 26 memcpy(list, XATTR_TRUSTED_PREFIX, prefix_len); in ext4_xattr_trusted_list() 27 memcpy(list+prefix_len, name, name_len); in ext4_xattr_trusted_list() 28 list[prefix_len + name_len] = '\0'; in ext4_xattr_trusted_list()
|
D | xattr_user.c | 18 const size_t prefix_len = XATTR_USER_PREFIX_LEN; in ext4_xattr_user_list() local 19 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_user_list() 25 memcpy(list, XATTR_USER_PREFIX, prefix_len); in ext4_xattr_user_list() 26 memcpy(list+prefix_len, name, name_len); in ext4_xattr_user_list() 27 list[prefix_len + name_len] = '\0'; in ext4_xattr_user_list()
|
D | xattr_security.c | 18 const size_t prefix_len = sizeof(XATTR_SECURITY_PREFIX)-1; in ext4_xattr_security_list() local 19 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_security_list() 23 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ext4_xattr_security_list() 24 memcpy(list+prefix_len, name, name_len); in ext4_xattr_security_list() 25 list[prefix_len + name_len] = '\0'; in ext4_xattr_security_list()
|
/fs/ext3/ |
D | xattr_trusted.c | 15 const size_t prefix_len = XATTR_TRUSTED_PREFIX_LEN; in ext3_xattr_trusted_list() local 16 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_trusted_list() 22 memcpy(list, XATTR_TRUSTED_PREFIX, prefix_len); in ext3_xattr_trusted_list() 23 memcpy(list+prefix_len, name, name_len); in ext3_xattr_trusted_list() 24 list[prefix_len + name_len] = '\0'; in ext3_xattr_trusted_list()
|
D | xattr_user.c | 15 const size_t prefix_len = XATTR_USER_PREFIX_LEN; in ext3_xattr_user_list() local 16 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_user_list() 22 memcpy(list, XATTR_USER_PREFIX, prefix_len); in ext3_xattr_user_list() 23 memcpy(list+prefix_len, name, name_len); in ext3_xattr_user_list() 24 list[prefix_len + name_len] = '\0'; in ext3_xattr_user_list()
|
D | xattr_security.c | 14 const size_t prefix_len = XATTR_SECURITY_PREFIX_LEN; in ext3_xattr_security_list() local 15 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_security_list() 19 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ext3_xattr_security_list() 20 memcpy(list+prefix_len, name, name_len); in ext3_xattr_security_list() 21 list[prefix_len + name_len] = '\0'; in ext3_xattr_security_list()
|
/fs/xfs/ |
D | xfs_xattr.c | 136 unsigned int prefix_len = xfs_xattr_prefix_len(flags); in xfs_xattr_put_listent() local 149 arraytop = context->count + prefix_len + namelen + 1; in xfs_xattr_put_listent() 155 strncpy(offset, xfs_xattr_prefix(flags), prefix_len); in xfs_xattr_put_listent() 156 offset += prefix_len; in xfs_xattr_put_listent() 160 context->count += prefix_len + namelen + 1; in xfs_xattr_put_listent()
|
/fs/f2fs/ |
D | xattr.c | 30 int total_len, prefix_len = 0; in f2fs_xattr_generic_list() local 38 prefix_len = XATTR_USER_PREFIX_LEN; in f2fs_xattr_generic_list() 44 prefix_len = XATTR_TRUSTED_PREFIX_LEN; in f2fs_xattr_generic_list() 50 total_len = prefix_len + name_len + 1; in f2fs_xattr_generic_list() 52 memcpy(list, prefix, prefix_len); in f2fs_xattr_generic_list() 53 memcpy(list+prefix_len, name, name_len); in f2fs_xattr_generic_list() 54 list[prefix_len + name_len] = '\0'; in f2fs_xattr_generic_list()
|
/fs/ocfs2/ |
D | xattr.c | 892 int prefix_len = strlen(prefix); in ocfs2_xattr_list_entry() local 893 int total_len = prefix_len + name_len + 1; in ocfs2_xattr_list_entry() 904 memcpy(p, prefix, prefix_len); in ocfs2_xattr_list_entry() 905 memcpy(p + prefix_len, name, name_len); in ocfs2_xattr_list_entry() 906 p[prefix_len + name_len] = '\0'; in ocfs2_xattr_list_entry() 7219 const size_t prefix_len = XATTR_SECURITY_PREFIX_LEN; in ocfs2_xattr_security_list() local 7220 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_security_list() 7223 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ocfs2_xattr_security_list() 7224 memcpy(list + prefix_len, name, name_len); in ocfs2_xattr_security_list() 7225 list[prefix_len + name_len] = '\0'; in ocfs2_xattr_security_list() [all …]
|