Home
last modified time | relevance | path

Searched refs:name_size (Results 1 – 10 of 10) sorted by relevance

/fs/squashfs/
Dxattr.c61 int name_size; in squashfs_listxattr() local
68 name_size = le16_to_cpu(entry.size); in squashfs_listxattr()
75 if (prefix_size + name_size + 1 > rest) { in squashfs_listxattr()
83 &offset, name_size); in squashfs_listxattr()
87 buffer[name_size] = '\0'; in squashfs_listxattr()
88 buffer += name_size + 1; in squashfs_listxattr()
90 rest -= prefix_size + name_size + 1; in squashfs_listxattr()
94 &offset, name_size); in squashfs_listxattr()
138 int type, prefix, name_size; in squashfs_xattr_get() local
145 name_size = le16_to_cpu(entry.size); in squashfs_xattr_get()
[all …]
/fs/ecryptfs/
Dcrypto.c1559 const char *name, size_t name_size) in ecryptfs_copy_filename() argument
1563 (*copied_name) = kmalloc((name_size + 1), GFP_KERNEL); in ecryptfs_copy_filename()
1568 memcpy((void *)(*copied_name), (void *)name, name_size); in ecryptfs_copy_filename()
1569 (*copied_name)[(name_size)] = '\0'; /* Only for convenience in ecryptfs_copy_filename()
1573 (*copied_name_size) = name_size; in ecryptfs_copy_filename()
1939 const char *name, size_t name_size) in ecryptfs_encrypt_and_encode_filename() argument
1959 filename->filename_size = name_size; in ecryptfs_encrypt_and_encode_filename()
2023 name, name_size); in ecryptfs_encrypt_and_encode_filename()
2044 const char *name, size_t name_size) in ecryptfs_decode_and_decrypt_filename() argument
2055 && (name_size > ECRYPTFS_FNEK_ENCRYPTED_FILENAME_PREFIX_SIZE) in ecryptfs_decode_and_decrypt_filename()
[all …]
Dfile.c76 size_t name_size; in ecryptfs_filldir() local
81 rc = ecryptfs_decode_and_decrypt_filename(&name, &name_size, in ecryptfs_filldir()
91 rc = !dir_emit(buf->caller, name, name_size, ino, d_type); in ecryptfs_filldir()
Decryptfs_kernel.h576 const char *name, size_t name_size);
582 const char *name, size_t name_size);
/fs/ceph/
Dxattr.c49 size_t name_size; /* strlen(name) + 1 (for '\0') */ member
234 .name_size = sizeof (CEPH_XATTR_NAME(_type, _name)), \
243 .name_size = sizeof (CEPH_XATTR_NAME2(_type, _name, _field)), \
253 .name_size = sizeof("ceph.dir.layout"),
281 .name_size = sizeof("ceph.file.layout"),
326 size += vxattr->name_size; in vxattrs_name_size()
664 static int __get_required_blob_size(struct ceph_inode_info *ci, int name_size, in __get_required_blob_size() argument
678 if (name_size) in __get_required_blob_size()
679 size += 4 + 4 + name_size + val_size; in __get_required_blob_size()
/fs/efivarfs/
Dsuper.c112 unsigned long name_size, void *data) in efivarfs_callback() argument
128 memcpy(entry->var.VariableName, name16, name_size); in efivarfs_callback()
/fs/ntfs/
Ddir.c210 int name_size = sizeof(ntfs_name); in ntfs_lookup_inode_by_name() local
227 name_size += len * sizeof(ntfschar); in ntfs_lookup_inode_by_name()
228 name = kmalloc(name_size, GFP_NOFS); in ntfs_lookup_inode_by_name()
470 int name_size = sizeof(ntfs_name); in ntfs_lookup_inode_by_name() local
489 name_size += len * sizeof(ntfschar); in ntfs_lookup_inode_by_name()
490 name = kmalloc(name_size, GFP_NOFS); in ntfs_lookup_inode_by_name()
/fs/befs/
Dbefs_fs_types.h169 fs16 name_size; member
/fs/jfs/
Dxattr.c108 static inline int name_size(struct jfs_ea *ea) in name_size() function
892 size += name_size(ea) + 1; in jfs_listxattr()
/fs/ocfs2/
Dxattr.c1533 int name_size = OCFS2_XATTR_SIZE(loc->xl_entry->xe_name_len); in ocfs2_xa_fill_value_buf() local
1538 (name_size + OCFS2_XATTR_ROOT_SIZE)); in ocfs2_xa_fill_value_buf()
1544 name_size); in ocfs2_xa_fill_value_buf()
2053 int name_size = OCFS2_XATTR_SIZE(loc->xl_entry->xe_name_len); in ocfs2_xa_install_value_root() local
2058 memcpy(nameval_buf + name_size, &def_xv, OCFS2_XATTR_ROOT_SIZE); in ocfs2_xa_install_value_root()
2071 int name_size = OCFS2_XATTR_SIZE(xi->xi_name_len); in ocfs2_xa_reuse_entry() local
2078 name_size); in ocfs2_xa_reuse_entry()
2083 memset(nameval_buf + name_size, 0, in ocfs2_xa_reuse_entry()
2084 namevalue_size_xe(loc->xl_entry) - name_size); in ocfs2_xa_reuse_entry()
2094 memset(nameval_buf + name_size, 0, in ocfs2_xa_reuse_entry()
[all …]