Searched refs:prefix_len (Results 1 – 8 of 8) sorted by relevance
/fs/xfs/ |
D | xfs_xattr.c | 99 int prefix_len, in __xfs_xattr_put_listent() argument 112 arraytop = context->count + prefix_len + namelen + 1; in __xfs_xattr_put_listent() 119 strncpy(offset, prefix, prefix_len); in __xfs_xattr_put_listent() 120 offset += prefix_len; in __xfs_xattr_put_listent() 126 context->count += prefix_len + namelen + 1; in __xfs_xattr_put_listent() 139 int prefix_len; in xfs_xattr_put_listent() local 172 prefix_len = XATTR_TRUSTED_PREFIX_LEN; in xfs_xattr_put_listent() 175 prefix_len = XATTR_SECURITY_PREFIX_LEN; in xfs_xattr_put_listent() 178 prefix_len = XATTR_USER_PREFIX_LEN; in xfs_xattr_put_listent() 181 __xfs_xattr_put_listent(context, prefix, prefix_len, name, in xfs_xattr_put_listent()
|
/fs/erofs/ |
D | xattr.c | 543 unsigned int prefix_len; in xattr_entrylist() local 553 prefix_len = strlen(prefix); in xattr_entrylist() 556 it->buffer_ofs += prefix_len + entry->e_name_len + 1; in xattr_entrylist() 560 if (it->buffer_ofs + prefix_len in xattr_entrylist() 564 memcpy(it->buffer + it->buffer_ofs, prefix, prefix_len); in xattr_entrylist() 565 it->buffer_ofs += prefix_len; in xattr_entrylist()
|
/fs/f2fs/ |
D | xattr.c | 581 size_t prefix_len; in f2fs_listxattr() local 597 prefix_len = strlen(prefix); in f2fs_listxattr() 598 size = prefix_len + entry->e_name_len + 1; in f2fs_listxattr() 604 memcpy(buffer, prefix, prefix_len); in f2fs_listxattr() 605 buffer += prefix_len; in f2fs_listxattr()
|
/fs/ext2/ |
D | xattr.c | 341 size_t prefix_len = strlen(prefix); in ext2_xattr_list() local 342 size_t size = prefix_len + entry->e_name_len + 1; in ext2_xattr_list() 349 memcpy(buffer, prefix, prefix_len); in ext2_xattr_list() 350 buffer += prefix_len; in ext2_xattr_list()
|
/fs/jffs2/ |
D | xattr.c | 976 ssize_t prefix_len, len, rc; in jffs2_listxattr() local 1010 prefix_len = strlen(prefix); in jffs2_listxattr() 1011 rc = prefix_len + xd->name_len + 1; in jffs2_listxattr() 1018 memcpy(buffer, prefix, prefix_len); in jffs2_listxattr() 1019 buffer += prefix_len; in jffs2_listxattr()
|
/fs/ |
D | xattr.c | 898 size_t prefix_len = strlen(xattr_prefix(handler)); in xattr_full_name() local 900 return name - prefix_len; in xattr_full_name()
|
/fs/ext4/ |
D | xattr.c | 682 size_t prefix_len = strlen(prefix); in ext4_xattr_list_entries() local 683 size_t size = prefix_len + entry->e_name_len + 1; in ext4_xattr_list_entries() 688 memcpy(buffer, prefix, prefix_len); in ext4_xattr_list_entries() 689 buffer += prefix_len; in ext4_xattr_list_entries()
|
/fs/ocfs2/ |
D | xattr.c | 888 int prefix_len; in ocfs2_xattr_list_entry() local 912 prefix_len = strlen(prefix); in ocfs2_xattr_list_entry() 913 total_len = prefix_len + name_len + 1; in ocfs2_xattr_list_entry() 923 memcpy(p, prefix, prefix_len); in ocfs2_xattr_list_entry() 924 memcpy(p + prefix_len, name, name_len); in ocfs2_xattr_list_entry() 925 p[prefix_len + name_len] = '\0'; in ocfs2_xattr_list_entry()
|