/linux/fs/squashfs/ |
A D | xattr.c | 48 int name_size; in squashfs_listxattr() local 55 name_size = le16_to_cpu(entry.size); in squashfs_listxattr() 70 &offset, name_size); in squashfs_listxattr() 74 buffer[name_size] = '\0'; in squashfs_listxattr() 75 buffer += name_size + 1; in squashfs_listxattr() 77 rest -= prefix_size + name_size + 1; in squashfs_listxattr() 81 &offset, name_size); in squashfs_listxattr() 125 int type, prefix, name_size; in squashfs_xattr_get() local 132 name_size = le16_to_cpu(entry.size); in squashfs_xattr_get() 138 &offset, name_size); in squashfs_xattr_get() [all …]
|
/linux/tools/testing/selftests/kvm/ |
A D | kvm_binary_stats_test.c | 41 size_desc = sizeof(*stats_desc) + header->name_size; in stats_test() 44 id = malloc(header->name_size); in stats_test() 46 ret = read(stats_fd, id, header->name_size); in stats_test() 47 TEST_ASSERT(ret == header->name_size, "Read id string"); in stats_test() 50 TEST_ASSERT(!strncmp(id, "kvm", 3) && strlen(id) < header->name_size, in stats_test() 107 TEST_ASSERT(strlen(pdesc->name) < header->name_size, in stats_test()
|
/linux/fs/ecryptfs/ |
A D | crypto.c | 1514 const char *name, size_t name_size) in ecryptfs_copy_filename() argument 1528 (*copied_name_size) = name_size; in ecryptfs_copy_filename() 1892 const char *name, size_t name_size) in ecryptfs_encrypt_and_encode_filename() argument 1909 filename->filename_size = name_size; in ecryptfs_encrypt_and_encode_filename() 1970 name, name_size); in ecryptfs_encrypt_and_encode_filename() 1978 if (name_size == 1 && name[0] == '.') in is_dot_dotdot() 2012 if (is_dot_dotdot(name, name_size)) { in ecryptfs_decode_and_decrypt_filename() 2015 name, name_size); in ecryptfs_decode_and_decrypt_filename() 2029 name, name_size); in ecryptfs_decode_and_decrypt_filename() 2036 name, name_size); in ecryptfs_decode_and_decrypt_filename() [all …]
|
A D | file.c | 62 size_t name_size; in ecryptfs_filldir() local 67 rc = ecryptfs_decode_and_decrypt_filename(&name, &name_size, in ecryptfs_filldir() 88 rc = !dir_emit(buf->caller, name, name_size, ino, d_type); in ecryptfs_filldir()
|
A D | ecryptfs_kernel.h | 553 const char *name, size_t name_size); 559 const char *name, size_t name_size);
|
/linux/fs/ceph/ |
A D | xattr.c | 389 .name_size = sizeof("ceph.dir.layout"), 410 .name_size = sizeof("ceph.dir.pin"), 417 .name_size = sizeof("ceph.quota"), 426 .name_size = sizeof("ceph.snap.btime"), 433 .name_size = sizeof("ceph.caps"), 458 .name_size = sizeof("ceph.snap.btime"), 465 .name_size = sizeof("ceph.caps"), 483 .name_size = sizeof("ceph.client_id"), 490 .name_size = sizeof("ceph.auth_mds"), 847 if (name_size) in __get_required_blob_size() [all …]
|
/linux/drivers/firmware/efi/ |
A D | efi-pstore.c | 364 unsigned long name_size, void *data) in efi_pstore_callback() argument 373 memcpy(entry->var.VariableName, name, name_size); in efi_pstore_callback() 384 unsigned long name_size, void *data) in efi_pstore_update_entry() argument 391 memcpy(entry->var.VariableName, name, name_size); in efi_pstore_update_entry()
|
A D | runtime-wrappers.c | 315 static efi_status_t virt_efi_get_next_variable(unsigned long *name_size, in virt_efi_get_next_variable() argument 323 status = efi_queue_work(EFI_GET_NEXT_VARIABLE, name_size, name, vendor, in virt_efi_get_next_variable()
|
A D | efi.c | 220 unsigned long name_size, void *data) in efivar_ssdt_iter() argument 225 int limit = min_t(unsigned long, EFIVAR_SSDT_NAME_MAX, name_size); in efivar_ssdt_iter() 235 memcpy(entry->var.VariableName, name, name_size); in efivar_ssdt_iter()
|
A D | efivars.c | 593 unsigned long name_size, void *data) in efivars_sysfs_callback() argument 601 memcpy(entry->var.VariableName, name, name_size); in efivars_sysfs_callback()
|
/linux/drivers/xen/ |
A D | efi.c | 142 static efi_status_t xen_efi_get_next_variable(unsigned long *name_size, in xen_efi_get_next_variable() argument 148 efi_data(op).u.get_next_variable_name.size = *name_size; in xen_efi_get_next_variable() 158 *name_size = efi_data(op).u.get_next_variable_name.size; in xen_efi_get_next_variable()
|
/linux/drivers/firmware/efi/test/ |
A D | efi_test.c | 407 unsigned long name_size, prev_name_size = 0, *ns = NULL; in efi_runtime_get_nextvariablename() local 421 if (get_user(name_size, getnextvariablename.variable_name_size)) in efi_runtime_get_nextvariablename() 423 ns = &name_size; in efi_runtime_get_nextvariablename() 424 prev_name_size = name_size; in efi_runtime_get_nextvariablename()
|
/linux/fs/efivarfs/ |
A D | super.c | 107 unsigned long name_size, void *data) in efivarfs_callback() argument 123 memcpy(entry->var.VariableName, name16, name_size); in efivarfs_callback()
|
/linux/drivers/firmware/google/ |
A D | gsmi.c | 374 static efi_status_t gsmi_get_next_variable(unsigned long *name_size, in gsmi_get_next_variable() argument 387 if (*name_size != GSMI_BUF_SIZE) in gsmi_get_next_variable() 400 memcpy(gsmi_dev.name_buf->start, name, *name_size); in gsmi_get_next_variable() 419 *name_size = ucs2_strnlen(name, GSMI_BUF_SIZE / 2) * 2; in gsmi_get_next_variable()
|
/linux/arch/riscv/kvm/ |
A D | vm.c | 22 .name_size = KVM_STATS_NAME_SIZE,
|
/linux/fs/ntfs/ |
A D | dir.c | 197 int name_size = sizeof(ntfs_name); in ntfs_lookup_inode_by_name() local 214 name_size += len * sizeof(ntfschar); in ntfs_lookup_inode_by_name() 215 name = kmalloc(name_size, GFP_NOFS); in ntfs_lookup_inode_by_name() 457 int name_size = sizeof(ntfs_name); in ntfs_lookup_inode_by_name() local 476 name_size += len * sizeof(ntfschar); in ntfs_lookup_inode_by_name() 477 name = kmalloc(name_size, GFP_NOFS); in ntfs_lookup_inode_by_name()
|
/linux/arch/x86/platform/efi/ |
A D | efi_64.c | 669 efi_thunk_get_next_variable(unsigned long *name_size, in efi_thunk_get_next_variable() argument 683 phys_name_size = virt_to_phys_or_null(name_size); in efi_thunk_get_next_variable() 685 phys_name = virt_to_phys_or_null_size(name, *name_size); in efi_thunk_get_next_variable()
|
/linux/fs/befs/ |
A D | befs_fs_types.h | 170 fs16 name_size; member
|
/linux/drivers/char/ |
A D | virtio_console.c | 1568 size_t name_size; in handle_control_message() local 1665 name_size = buf->len - buf->offset - sizeof(*cpkt) + 1; in handle_control_message() 1667 port->name = kmalloc(name_size, GFP_KERNEL); in handle_control_message() 1674 name_size - 1); in handle_control_message() 1675 port->name[name_size - 1] = 0; in handle_control_message()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | atom.c | 1309 int name_size; in atom_get_vbios_name() local 1343 name_size = strnlen(c_ptr, STRLEN_LONG - 1); in atom_get_vbios_name() 1344 memcpy(ctx->name, c_ptr, name_size); in atom_get_vbios_name() 1345 back = ctx->name + name_size; in atom_get_vbios_name()
|
/linux/fs/jfs/ |
A D | xattr.c | 95 static inline int name_size(struct jfs_ea *ea) in name_size() function 881 size += name_size(ea) + 1; in jfs_listxattr()
|
/linux/arch/arm64/kvm/ |
A D | guest.c | 36 .name_size = KVM_STATS_NAME_SIZE, 56 .name_size = KVM_STATS_NAME_SIZE,
|
/linux/fs/ocfs2/ |
A D | xattr.c | 1527 int name_size = OCFS2_XATTR_SIZE(loc->xl_entry->xe_name_len); in ocfs2_xa_fill_value_buf() local 1532 (name_size + OCFS2_XATTR_ROOT_SIZE)); in ocfs2_xa_fill_value_buf() 1538 name_size); in ocfs2_xa_fill_value_buf() 2047 int name_size = OCFS2_XATTR_SIZE(loc->xl_entry->xe_name_len); in ocfs2_xa_install_value_root() local 2065 int name_size = OCFS2_XATTR_SIZE(xi->xi_name_len); in ocfs2_xa_reuse_entry() local 2072 name_size); in ocfs2_xa_reuse_entry() 2077 memset(nameval_buf + name_size, 0, in ocfs2_xa_reuse_entry() 2078 namevalue_size_xe(loc->xl_entry) - name_size); in ocfs2_xa_reuse_entry() 2088 memset(nameval_buf + name_size, 0, in ocfs2_xa_reuse_entry() 2090 name_size); in ocfs2_xa_reuse_entry() [all …]
|
/linux/arch/powerpc/kvm/ |
A D | book3s.c | 48 .name_size = KVM_STATS_NAME_SIZE, 90 .name_size = KVM_STATS_NAME_SIZE,
|
/linux/fs/ntfs3/ |
A D | frecord.c | 1391 u32 name_size = ALIGN(name_len * sizeof(short), 8); in ni_insert_nonresident() local 1393 u32 run_off = name_off + name_size; in ni_insert_nonresident() 1461 u32 name_size = ALIGN(name_len * sizeof(short), 8); in ni_insert_resident() local 1462 u32 asize = SIZEOF_RESIDENT + name_size + ALIGN(data_size, 8); in ni_insert_resident() 1474 attr->res.data_off = cpu_to_le16(SIZEOF_RESIDENT + name_size); in ni_insert_resident()
|