Home
last modified time | relevance | path

Searched refs:prefix_len (Results 1 – 8 of 8) sorted by relevance

/fs/xfs/
Dxfs_xattr.c123 int prefix_len, in __xfs_xattr_put_listent() argument
136 arraytop = context->count + prefix_len + namelen + 1; in __xfs_xattr_put_listent()
143 strncpy(offset, prefix, prefix_len); in __xfs_xattr_put_listent()
144 offset += prefix_len; in __xfs_xattr_put_listent()
150 context->count += prefix_len + namelen + 1; in __xfs_xattr_put_listent()
163 int prefix_len; in xfs_xattr_put_listent() local
196 prefix_len = XATTR_TRUSTED_PREFIX_LEN; in xfs_xattr_put_listent()
199 prefix_len = XATTR_SECURITY_PREFIX_LEN; in xfs_xattr_put_listent()
202 prefix_len = XATTR_USER_PREFIX_LEN; in xfs_xattr_put_listent()
205 __xfs_xattr_put_listent(context, prefix, prefix_len, name, in xfs_xattr_put_listent()
/fs/erofs/
Dxattr.c537 unsigned int prefix_len; in xattr_entrylist() local
547 prefix_len = strlen(prefix); in xattr_entrylist()
550 it->buffer_ofs += prefix_len + entry->e_name_len + 1; in xattr_entrylist()
554 if (it->buffer_ofs + prefix_len in xattr_entrylist()
558 memcpy(it->buffer + it->buffer_ofs, prefix, prefix_len); in xattr_entrylist()
559 it->buffer_ofs += prefix_len; in xattr_entrylist()
/fs/f2fs/
Dxattr.c560 size_t prefix_len; in f2fs_listxattr() local
576 prefix_len = strlen(prefix); in f2fs_listxattr()
577 size = prefix_len + entry->e_name_len + 1; in f2fs_listxattr()
583 memcpy(buffer, prefix, prefix_len); in f2fs_listxattr()
584 buffer += prefix_len; in f2fs_listxattr()
/fs/ext2/
Dxattr.c340 size_t prefix_len = strlen(prefix); in ext2_xattr_list() local
341 size_t size = prefix_len + entry->e_name_len + 1; in ext2_xattr_list()
348 memcpy(buffer, prefix, prefix_len); in ext2_xattr_list()
349 buffer += prefix_len; in ext2_xattr_list()
/fs/jffs2/
Dxattr.c971 ssize_t prefix_len, len, rc; in jffs2_listxattr() local
1005 prefix_len = strlen(prefix); in jffs2_listxattr()
1006 rc = prefix_len + xd->name_len + 1; in jffs2_listxattr()
1013 memcpy(buffer, prefix, prefix_len); in jffs2_listxattr()
1014 buffer += prefix_len; in jffs2_listxattr()
/fs/
Dxattr.c801 size_t prefix_len = strlen(xattr_prefix(handler)); in xattr_full_name() local
803 return name - prefix_len; in xattr_full_name()
/fs/ext4/
Dxattr.c670 size_t prefix_len = strlen(prefix); in ext4_xattr_list_entries() local
671 size_t size = prefix_len + entry->e_name_len + 1; in ext4_xattr_list_entries()
676 memcpy(buffer, prefix, prefix_len); in ext4_xattr_list_entries()
677 buffer += prefix_len; in ext4_xattr_list_entries()
/fs/ocfs2/
Dxattr.c888 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()