/linux-6.6.21/tools/testing/crypto/chacha20-s390/ |
D | test-cipher.c | 39 static unsigned int data_size __read_mostly = 256; 72 chacha_crypt_arch(chacha_state, cipher, plain, data_size, 20); in test_lib_chacha() 79 (data_size > 64 ? 64 : data_size), 1); in test_lib_chacha() 87 chacha_crypt_arch(chacha_state, revert, cipher, data_size, 20); in test_lib_chacha() 93 (data_size > 64 ? 64 : data_size), 1); in test_lib_chacha() 173 sg_init_one(&sk.sginp, plain, data_size); in test_skcipher() 174 sg_init_one(&sk.sgout, cipher, data_size); in test_skcipher() 176 data_size, iv); in test_skcipher() 192 (data_size > 64 ? 64 : data_size), 1); in test_skcipher() 197 sg_init_one(&sk.sginp, cipher, data_size); in test_skcipher() [all …]
|
/linux-6.6.21/drivers/md/ |
D | dm-log-userspace-transfer.c | 50 size_t *data_size; member 68 msg->len = sizeof(struct dm_ulog_request) + tfr->data_size; in dm_ulog_sendto_server() 110 *(pkg->data_size) = 0; in fill_pkg() 111 } else if (tfr->data_size > *(pkg->data_size)) { in fill_pkg() 113 tfr->request_type, tfr->data_size, *(pkg->data_size)); in fill_pkg() 115 *(pkg->data_size) = 0; in fill_pkg() 119 memcpy(pkg->data, tfr->data, tfr->data_size); in fill_pkg() 120 *(pkg->data_size) = tfr->data_size; in fill_pkg() 171 char *data, size_t data_size, in dm_consult_userspace() argument 186 if (data_size > (DM_ULOG_PREALLOCED_SIZE - overhead_size)) { in dm_consult_userspace() [all …]
|
/linux-6.6.21/drivers/misc/ibmasm/ |
D | event.c | 43 void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size) in ibmasm_receive_event() argument 49 data_size = min(data_size, IBMASM_EVENT_MAX_SIZE); in ibmasm_receive_event() 54 memcpy_fromio(event->data, data, data_size); in ibmasm_receive_event() 55 event->data_size = data_size; in ibmasm_receive_event() 101 memcpy(reader->data, event->data, event->data_size); in ibmasm_get_next_event() 102 reader->data_size = event->data_size; in ibmasm_get_next_event() 107 return event->data_size; in ibmasm_get_next_event()
|
D | i2o.h | 42 static inline unsigned short outgoing_message_size(unsigned int data_size) in outgoing_message_size() argument 47 if (data_size > I2O_COMMAND_SIZE) in outgoing_message_size() 48 data_size = I2O_COMMAND_SIZE; in outgoing_message_size() 50 size = sizeof(struct i2o_header) + data_size; in outgoing_message_size()
|
/linux-6.6.21/sound/soc/sof/ |
D | ipc4.c | 214 if (data_size_valid && msg->data_size) in sof_ipc4_log_header() 217 msg->data_size); in sof_ipc4_log_header() 222 if (data_size_valid && msg->data_size) in sof_ipc4_log_header() 225 msg->data_size); in sof_ipc4_log_header() 242 if (data_size_valid && msg->data_size) in sof_ipc4_log_header() 244 msg->primary, msg->extension, msg->data_size); in sof_ipc4_log_header() 317 ipc4_reply_data->data_size = msg->reply_size; in ipc4_wait_tx_done() 394 sof_ipc4_dump_payload(sdev, msg->data_ptr, msg->data_size); in sof_ipc4_tx_msg() 464 tx.data_size = chunk_size; in sof_ipc4_set_get_data() 472 rx.data_size = chunk_size; in sof_ipc4_set_get_data() [all …]
|
D | sof-client-ipc-msg-injector.c | 94 remaining += ipc4_msg->data_size; in sof_msg_inject_ipc4_dfs_read() 111 if (remaining > ipc4_msg->data_size) in sof_msg_inject_ipc4_dfs_read() 112 remaining = ipc4_msg->data_size; in sof_msg_inject_ipc4_dfs_read() 184 size_t data_size; in sof_msg_inject_ipc4_dfs_write() local 198 data_size = count - sizeof(ipc4_msg->header_u64); in sof_msg_inject_ipc4_dfs_write() 199 if (data_size > priv->max_msg_size) in sof_msg_inject_ipc4_dfs_write() 204 buffer + sizeof(ipc4_msg->header_u64), data_size)) in sof_msg_inject_ipc4_dfs_write() 207 ipc4_msg->data_size = data_size; in sof_msg_inject_ipc4_dfs_write() 212 ipc4_msg->data_size = priv->max_msg_size; in sof_msg_inject_ipc4_dfs_write()
|
/linux-6.6.21/arch/x86/kernel/ |
D | umip.c | 206 unsigned char *data, int *data_size, bool x86_64) in emulate_umip_insn() argument 208 if (!data || !data_size || !insn) in emulate_umip_insn() 239 *data_size = UMIP_GDT_IDT_BASE_SIZE_64BIT; in emulate_umip_insn() 241 *data_size = UMIP_GDT_IDT_BASE_SIZE_32BIT; in emulate_umip_insn() 243 memcpy(data + 2, &dummy_base_addr, *data_size); in emulate_umip_insn() 245 *data_size += UMIP_GDT_IDT_LIMIT_SIZE; in emulate_umip_insn() 278 *data_size = insn->opnd_bytes; in emulate_umip_insn() 280 *data_size = 2; in emulate_umip_insn() 282 memcpy(data, &dummy_value, *data_size); in emulate_umip_insn()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | mapping.c | 22 size_t data_size; member 51 hash_key = jhash(data, ctx->data_size, 0); in mapping_add() 53 if (!memcmp(data, mi->data, ctx->data_size)) in mapping_add() 57 mi = kzalloc(sizeof(*mi) + ctx->data_size, GFP_KERNEL); in mapping_add() 61 memcpy(mi->data, data, ctx->data_size); in mapping_add() 143 memcpy(data, mi->data, ctx->data_size); in mapping_find() 195 mapping_create(size_t data_size, u32 max_id, bool delayed_removal) in mapping_create() argument 204 ctx->data_size = data_size; in mapping_create() 223 mapping_create_for_id(u64 id, u8 type, size_t data_size, u32 max_id, bool delayed_removal) in mapping_create_for_id() argument 236 ctx = mapping_create(data_size, max_id, delayed_removal); in mapping_create_for_id()
|
/linux-6.6.21/drivers/remoteproc/ |
D | remoteproc_coredump.c | 240 size_t data_size; in rproc_coredump() local 257 data_size = elf_size_of_hdr(class); in rproc_coredump() 264 data_size += elf_size_of_phdr(class); in rproc_coredump() 266 data_size += segment->size; in rproc_coredump() 271 data = vmalloc(data_size); in rproc_coredump() 313 dev_coredumpv(&rproc->dev, data, data_size, GFP_KERNEL); in rproc_coredump() 322 dev_coredumpm(&rproc->dev, NULL, &dump_state, data_size, GFP_KERNEL, in rproc_coredump() 350 size_t data_size; in rproc_coredump_using_sections() local 375 data_size = elf_size_of_hdr(class) + 2 * elf_size_of_shdr(class); in rproc_coredump_using_sections() 382 data_size += elf_size_of_shdr(class); in rproc_coredump_using_sections() [all …]
|
/linux-6.6.21/fs/ntfs3/ |
D | attrib.c | 252 rsize = le32_to_cpu(attr->res.data_size); in attr_make_nonresident() 322 attr->nres.data_size = cpu_to_le64(rsize); in attr_make_nonresident() 323 attr->nres.valid_size = attr->nres.data_size; in attr_make_nonresident() 362 u32 rsize = le32_to_cpu(attr->res.data_size); in attr_set_size_res() 384 attr->res.data_size = cpu_to_le32(new_size); in attr_set_size_res() 453 old_size = le64_to_cpu(attr_b->nres.data_size); in attr_set_size() 463 attr_b->nres.data_size = cpu_to_le64(new_size); in attr_set_size() 509 attr_b->nres.data_size = cpu_to_le64(new_size); in attr_set_size() 604 attr_b->nres.data_size = cpu_to_le64(new_size); in attr_set_size() 612 attr_b->nres.data_size = attr_b->nres.alloc_size; in attr_set_size() [all …]
|
/linux-6.6.21/fs/btrfs/ |
D | dir-item.c | 26 u32 data_size, in insert_with_overflow() argument 35 ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size); in insert_with_overflow() 41 btrfs_extend_item(trans, path, data_size); in insert_with_overflow() 47 ASSERT(data_size <= btrfs_item_size(leaf, path->slots[0])); in insert_with_overflow() 48 ptr += btrfs_item_size(leaf, path->slots[0]) - data_size; in insert_with_overflow() 68 u32 data_size; in btrfs_insert_xattr_item() local 77 data_size = sizeof(*dir_item) + name_len + data_len; in btrfs_insert_xattr_item() 78 dir_item = insert_with_overflow(trans, root, path, &key, data_size, in btrfs_insert_xattr_item() 122 u32 data_size; in btrfs_insert_dir_item() local 134 data_size = sizeof(*dir_item) + name->len; in btrfs_insert_dir_item() [all …]
|
/linux-6.6.21/drivers/crypto/xilinx/ |
D | zynqmp-aes-gcm.c | 85 unsigned int data_size; in zynqmp_aes_aead_cipher() local 109 data_size = req->cryptlen; in zynqmp_aes_aead_cipher() 111 memcpy(kbuf + data_size, req->iv, GCM_AES_IV_SIZE); in zynqmp_aes_aead_cipher() 115 hwreq->iv = hwreq->src + data_size; in zynqmp_aes_aead_cipher() 120 hwreq->size = data_size; in zynqmp_aes_aead_cipher() 122 hwreq->size = data_size - ZYNQMP_AES_AUTH_SIZE; in zynqmp_aes_aead_cipher() 125 memcpy(kbuf + data_size + GCM_AES_IV_SIZE, in zynqmp_aes_aead_cipher() 128 hwreq->key = hwreq->src + data_size + GCM_AES_IV_SIZE; in zynqmp_aes_aead_cipher() 156 data_size = data_size + ZYNQMP_AES_AUTH_SIZE; in zynqmp_aes_aead_cipher() 158 data_size = data_size - ZYNQMP_AES_AUTH_SIZE; in zynqmp_aes_aead_cipher() [all …]
|
/linux-6.6.21/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-crc16.c | 73 u16 mcp251xfd_crc16_compute(const void *data, size_t data_size) in mcp251xfd_crc16_compute() argument 77 return mcp251xfd_crc16(crc, data, data_size); in mcp251xfd_crc16_compute() 81 const void *data, size_t data_size) in mcp251xfd_crc16_compute2() argument 86 crc = mcp251xfd_crc16(crc, data, data_size); in mcp251xfd_crc16_compute2()
|
/linux-6.6.21/drivers/firmware/efi/ |
D | mokvar-table.c | 161 if (mokvar_entry->data_size != 0) in efi_mokvar_table_init() 174 cur_offset = map_size_needed + mokvar_entry->data_size; in efi_mokvar_table_init() 224 size_cur = sizeof(*mokvar_cur) + mokvar_cur->data_size; in efi_mokvar_entry_next() 277 if (off >= mokvar_entry->data_size) in efi_mokvar_sysfs_read() 279 if (count > mokvar_entry->data_size - off) in efi_mokvar_sysfs_read() 280 count = mokvar_entry->data_size - off; in efi_mokvar_sysfs_read() 345 mokvar_sysfs->bin_attr.size = mokvar_entry->data_size; in efi_mokvar_sysfs_init()
|
D | runtime-wrappers.c | 70 unsigned long *data_size; member 84 unsigned long data_size; member 251 args->GET_VARIABLE.data_size, in efi_call_rts() 265 args->SET_VARIABLE.data_size, in efi_call_rts() 396 unsigned long *data_size, in virt_efi_get_variable() argument 403 status = efi_queue_work(GET_VARIABLE, name, vendor, attr, data_size, in virt_efi_get_variable() 425 unsigned long data_size, in virt_efi_set_variable() argument 432 status = efi_queue_work(SET_VARIABLE, name, vendor, attr, data_size, in virt_efi_set_variable() 440 unsigned long data_size, void *data) in virt_efi_set_variable_nb() argument 448 attr, data_size, data); in virt_efi_set_variable_nb() [all …]
|
D | vars.c | 202 u32 attr, unsigned long data_size, in efivar_set_variable_locked() argument 208 if (data_size > 0) { in efivar_set_variable_locked() 210 data_size + ucs2_strsize(name, 1024)); in efivar_set_variable_locked() 223 return setvar(name, vendor, attr, data_size, data); in efivar_set_variable_locked() 235 u32 attr, unsigned long data_size, void *data) in efivar_set_variable() argument 242 status = efivar_set_variable_locked(name, vendor, attr, data_size, in efivar_set_variable()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvfw/ |
D | flcn.h | 14 u32 data_size; member 34 u32 data_size; member 54 u32 data_size; member 73 u32 data_size; member 90 u32 data_size; member
|
/linux-6.6.21/drivers/platform/chrome/wilco_ec/ |
D | mailbox.c | 98 rq->data_size = msg->request_size; in wilco_ec_prepare() 165 if (rs->data_size != EC_MAILBOX_DATA_SIZE) { in wilco_ec_transfer() 167 rs->data_size, EC_MAILBOX_DATA_SIZE); in wilco_ec_transfer() 171 if (rs->data_size < msg->response_size) { in wilco_ec_transfer() 173 rs->data_size, msg->response_size); in wilco_ec_transfer() 179 return rs->data_size; in wilco_ec_transfer()
|
/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | qla_nx2.h | 306 uint32_t data_size; member 328 uint32_t data_size; member 349 uint32_t data_size; member 390 uint32_t data_size; member 406 uint32_t data_size; member 428 uint32_t data_size; member 442 uint32_t data_size; member 459 uint32_t data_size; member 471 uint32_t data_size; member 487 uint8_t data_size; member [all …]
|
/linux-6.6.21/kernel/bpf/ |
D | lpm_trie.c | 37 size_t data_size; member 180 if (trie->data_size >= 8) { in longest_prefix_match() 193 while (trie->data_size >= i + 4) { in longest_prefix_match() 205 if (trie->data_size >= i + 2) { in longest_prefix_match() 217 if (trie->data_size >= i + 1) { in longest_prefix_match() 279 return found->data + trie->data_size; in trie_lookup_elem() 286 size_t size = sizeof(struct lpm_trie_node) + trie->data_size; in lpm_trie_node_alloc() 299 memcpy(node->data + trie->data_size, value, in lpm_trie_node_alloc() 344 memcpy(new_node->data, key->data, trie->data_size); in trie_update_elem() 408 memcpy(im_node->data, node->data, trie->data_size); in trie_update_elem() [all …]
|
/linux-6.6.21/drivers/hwtracing/coresight/ |
D | ultrasoc-smb.c | 41 sdb->data_size = sdb->buf_size; in smb_update_data_size() 46 sdb->data_size = CIRC_CNT(buf_wrptr, sdb->buf_rdptr, in smb_update_data_size() 64 sdb->data_size -= nbytes; in smb_update_read_ptr() 135 if (!sdb->data_size) in smb_read() 138 to_copy = min(sdb->data_size, len); in smb_read() 151 if (!sdb->data_size) in smb_read() 367 while (sdb->data_size) { in smb_sync_perf_buffer() 370 to_copy = min(sdb->data_size, pg_space); in smb_sync_perf_buffer() 398 unsigned long data_size = 0; in smb_update_buffer() local 418 if (sdb->data_size > handle->size) { in smb_update_buffer() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | plpks-secvar.c | 76 u64 *data_size) in plpks_get_variable() argument 95 var.datalen = *data_size; in plpks_get_variable() 102 *data_size = var.datalen; in plpks_get_variable() 116 u64 data_size) in plpks_set_variable() argument 124 if (data_size <= sizeof(flags)) in plpks_set_variable() 141 var.datalen = data_size - sizeof(flags); in plpks_set_variable()
|
/linux-6.6.21/drivers/crypto/bcm/ |
D | spu.c | 463 unsigned int data_size) in spum_gcm_ccm_pad_len() argument 470 pad_len = ((data_size + m1) & ~m1) - data_size; in spum_gcm_ccm_pad_len() 591 unsigned int data_size) in spum_create_request() argument 605 unsigned int cipher_len = hash_parms->prebuf_len + data_size + in spum_create_request() 616 data_size, in spum_create_request() 658 flow_log(" data_size:%u\n", data_size); in spum_create_request() 768 data_size -= hash_parms->digestsize; in spum_create_request() 769 offset_iv = aead_parms->assoc_size + data_size; in spum_create_request() 926 unsigned int data_size) in spum_cipher_req_finish() argument 953 flow_log(" data_size: %u\n", data_size); in spum_cipher_req_finish() [all …]
|
D | spu.h | 208 u32 data_size, in spu_real_db_size() argument 213 return assoc_size + aead_iv_buf_len + prebuf_len + data_size + in spu_real_db_size() 232 unsigned int data_size); 247 unsigned int data_size); 255 unsigned int data_size); 275 u32 spum_wordalign_padlen(u32 data_size);
|
/linux-6.6.21/drivers/staging/media/atomisp/i2c/ |
D | atomisp-libmsrlisthelper.c | 45 u16 data_size; member 109 header->data_size > endptr8) in parse_and_apply() 116 if (header->data_size && (header->flags & 1)) { in parse_and_apply() 121 dataset, header->data_size); in parse_and_apply() 124 header->data_size); in parse_and_apply()
|