/linux-6.6.21/drivers/misc/vmw_vmci/ |
D | vmci_datagram.c | 157 static int dg_dispatch_as_host(u32 context_id, struct vmci_datagram *dg) in dg_dispatch_as_host() argument 163 dg_size = VMCI_DG_SIZE(dg); in dg_dispatch_as_host() 166 if (dg->dst.context == VMCI_HYPERVISOR_CONTEXT_ID) in dg_dispatch_as_host() 170 if (dg->src.context != context_id) { in dg_dispatch_as_host() 172 context_id, dg->src.context, dg->src.resource); in dg_dispatch_as_host() 177 retval = vmci_datagram_get_priv_flags(context_id, dg->src, in dg_dispatch_as_host() 181 dg->src.context, dg->src.resource); in dg_dispatch_as_host() 186 if (dg->dst.context == VMCI_HOST_CONTEXT_ID) { in dg_dispatch_as_host() 191 if (dg->src.context == VMCI_HYPERVISOR_CONTEXT_ID && in dg_dispatch_as_host() 192 dg->dst.resource == VMCI_EVENT_HANDLER) { in dg_dispatch_as_host() [all …]
|
D | vmci_guest.c | 148 struct vmci_datagram *dg) in vmci_write_data() argument 156 if (VMCI_DG_SIZE(dg) > VMCI_MAX_DG_SIZE) in vmci_write_data() 165 memcpy(dg_out_buffer, dg, VMCI_DG_SIZE(dg)); in vmci_write_data() 167 buffer_header->size = VMCI_DG_SIZE(dg); in vmci_write_data() 181 dg, VMCI_DG_SIZE(dg)); in vmci_write_data() 192 int vmci_send_datagram(struct vmci_datagram *dg) in vmci_send_datagram() argument 198 if (dg == NULL) in vmci_send_datagram() 213 vmci_write_data(vmci_dev_g, dg); in vmci_send_datagram() 308 struct vmci_datagram *dg; in vmci_dispatch_dgs() local 329 dg = (struct vmci_datagram *)dg_in_buffer; in vmci_dispatch_dgs() [all …]
|
D | vmci_host.c | 366 struct vmci_datagram *dg = NULL; in vmci_host_do_send_datagram() local 383 if (send_info.len < sizeof(*dg)) { in vmci_host_do_send_datagram() 389 dg = memdup_user((void __user *)(uintptr_t)send_info.addr, in vmci_host_do_send_datagram() 391 if (IS_ERR(dg)) { in vmci_host_do_send_datagram() 394 return PTR_ERR(dg); in vmci_host_do_send_datagram() 397 if (VMCI_DG_SIZE(dg) != send_info.len) { in vmci_host_do_send_datagram() 399 kfree(dg); in vmci_host_do_send_datagram() 404 dg->dst.context, dg->dst.resource, in vmci_host_do_send_datagram() 405 dg->src.context, dg->src.resource, in vmci_host_do_send_datagram() 406 (unsigned long long)dg->payload_size); in vmci_host_do_send_datagram() [all …]
|
D | vmci_datagram.h | 29 struct vmci_datagram *dg; /* Pending datagram. */ member 40 int vmci_datagram_dispatch(u32 context_id, struct vmci_datagram *dg, 42 int vmci_datagram_invoke_guest_handler(struct vmci_datagram *dg);
|
D | vmci_context.c | 296 int vmci_ctx_enqueue_datagram(u32 cid, struct vmci_datagram *dg) in vmci_ctx_enqueue_datagram() argument 303 vmci_dg_size = VMCI_DG_SIZE(dg); in vmci_ctx_enqueue_datagram() 323 dq_entry->dg = dg; in vmci_ctx_enqueue_datagram() 325 dg_src = dg->src; in vmci_ctx_enqueue_datagram() 465 WARN_ON(dq_entry->dg_size != VMCI_DG_SIZE(dq_entry->dg)); in ctx_free_ctx() 467 kfree(dq_entry->dg); in ctx_free_ctx() 510 struct vmci_datagram **dg) in vmci_ctx_dequeue_datagram() argument 565 *dg = dq_entry->dg; in vmci_ctx_dequeue_datagram() 566 dq_entry->dg = NULL; in vmci_ctx_dequeue_datagram()
|
D | vmci_context.h | 132 int vmci_ctx_enqueue_datagram(u32 cid, struct vmci_datagram *dg); 134 size_t *max_size, struct vmci_datagram **dg);
|
D | vmci_driver.h | 38 int vmci_send_datagram(struct vmci_datagram *dg);
|
/linux-6.6.21/arch/arm64/crypto/ |
D | ghash-ce-glue.c | 52 asmlinkage void pmull_ghash_update_p64(int blocks, u64 dg[], const char *src, 55 asmlinkage void pmull_ghash_update_p8(int blocks, u64 dg[], const char *src, 59 u64 const h[][2], u64 dg[], u8 ctr[], 62 u64 const h[][2], u64 dg[], u8 ctr[], 74 static void ghash_do_update(int blocks, u64 dg[], const char *src, in ghash_do_update() argument 77 be128 dst = { cpu_to_be64(dg[1]), cpu_to_be64(dg[0]) }; in ghash_do_update() 94 dg[0] = be64_to_cpu(dst.b); in ghash_do_update() 95 dg[1] = be64_to_cpu(dst.a); in ghash_do_update() 99 void ghash_do_simd_update(int blocks, u64 dg[], const char *src, in ghash_do_simd_update() argument 101 void (*simd_update)(int blocks, u64 dg[], in ghash_do_simd_update() [all …]
|
D | aes-glue.c | 113 int blocks, u8 dg[], int enc_before, 134 u8 dg[AES_BLOCK_SIZE]; member 871 memset(ctx->dg, 0, AES_BLOCK_SIZE); in mac_init() 878 u8 dg[], int enc_before, int enc_after) in mac_do_update() argument 888 dg, enc_before, enc_after); in mac_do_update() 896 aes_encrypt(ctx, dg, dg); in mac_do_update() 899 crypto_xor(dg, in, AES_BLOCK_SIZE); in mac_do_update() 903 aes_encrypt(ctx, dg, dg); in mac_do_update() 923 mac_do_update(&tctx->key, p, blocks, ctx->dg, in mac_update() 938 crypto_xor(ctx->dg + ctx->len, p, l); in mac_update() [all …]
|
/linux-6.6.21/net/vmw_vsock/ |
D | vmci_transport.c | 32 static int vmci_transport_recv_dgram_cb(void *data, struct vmci_datagram *dg); 33 static int vmci_transport_recv_stream_cb(void *data, struct vmci_datagram *dg); 125 pkt->dg.src = vmci_make_handle(VMADDR_CID_ANY, in vmci_transport_packet_init() 127 pkt->dg.dst = vmci_make_handle(dst->svm_cid, in vmci_transport_packet_init() 129 pkt->dg.payload_size = sizeof(*pkt) - sizeof(pkt->dg); in vmci_transport_packet_init() 180 vsock_addr_init(local, pkt->dg.dst.context, pkt->dst_port); in vmci_transport_packet_get_addresses() 181 vsock_addr_init(remote, pkt->dg.src.context, pkt->src_port); in vmci_transport_packet_get_addresses() 200 err = vmci_datagram_send(&pkt->dg); in __vmci_transport_send_control_pkt() 332 vsock_addr_init(&dst, pkt->dg.src.context, in vmci_transport_send_reset() 487 vsock_addr_init(&src, pkt->dg.src.context, pkt->src_port); in vmci_transport_get_pending() [all …]
|
D | vmci_transport.h | 61 struct vmci_datagram dg; member
|
/linux-6.6.21/drivers/net/wwan/iosm/ |
D | iosm_ipc_mux_codec.c | 549 struct mux_adth_dg *dg, struct sk_buff *skb, in mux_dl_process_dg() argument 555 for (i = 0; i < nr_of_dg; i++, dg++) { in mux_dl_process_dg() 556 if (le32_to_cpu(dg->datagram_index) in mux_dl_process_dg() 561 if (le32_to_cpu(dg->datagram_index) >= in mux_dl_process_dg() 566 le32_to_cpu(dg->datagram_index) + in mux_dl_process_dg() 568 dg_len = le16_to_cpu(dg->datagram_length); in mux_dl_process_dg() 572 dg->service_class, skb, in mux_dl_process_dg() 587 struct mux_adth_dg *dg; in mux_dl_adb_decode() local 650 dg = adth->dg; in mux_dl_adb_decode() 651 if (mux_dl_process_dg(ipc_mux, adbh, dg, skb, if_id, in mux_dl_adb_decode() [all …]
|
D | iosm_ipc_mux_codec.h | 164 struct mux_adth_dg dg[]; member
|
D | iosm_ipc_mux.h | 284 dg[IPC_MEM_MUX_IP_SESSION_ENTRIES][IPC_MEM_MAX_UL_DG_ENTRIES]; member
|
/linux-6.6.21/sound/pci/oxygen/ |
D | xonar_dg_mixer.c | 24 struct dg *data = chip->model_data; in output_select_apply() 63 struct dg *data = chip->model_data; in output_select_get() 75 struct dg *data = chip->model_data; in output_select_put() 108 struct dg *data = chip->model_data; in hp_stereo_volume_get() 124 struct dg *data = chip->model_data; in hp_stereo_volume_put() 154 struct dg *data = chip->model_data; in hp_mute_get() 167 struct dg *data = chip->model_data; in hp_mute_put() 187 struct dg *data = chip->model_data; in input_volume_apply() 212 struct dg *data = chip->model_data; in input_vol_get() 226 struct dg *data = chip->model_data; in input_vol_put() [all …]
|
D | xonar_dg.c | 59 struct dg *data = chip->model_data; in cs4245_write_spi() 76 struct dg *data = chip->model_data; in cs4245_read_spi() 102 struct dg *data = chip->model_data; in cs4245_shadow_control() 118 struct dg *data = chip->model_data; in cs4245_init() 150 struct dg *data = chip->model_data; in dg_init() 184 struct dg *data = chip->model_data; in set_cs4245_dac_params() 209 struct dg *data = chip->model_data; in set_cs4245_adc_params() 245 struct dg *data = chip->model_data; in adjust_dg_dac_routing() 277 struct dg *data = chip->model_data; in dump_cs4245_registers()
|
D | xonar_dg.h | 27 struct dg { struct
|
/linux-6.6.21/arch/arm/crypto/ |
D | ghash-ce-glue.c | 62 asmlinkage void pmull_ghash_update_p64(int blocks, u64 dg[], const char *src, 65 asmlinkage void pmull_ghash_update_p8(int blocks, u64 dg[], const char *src, 78 static void ghash_do_update(int blocks, u64 dg[], const char *src, in ghash_do_update() argument 84 pmull_ghash_update_p64(blocks, dg, src, key->h, head); in ghash_do_update() 86 pmull_ghash_update_p8(blocks, dg, src, key->h, head); in ghash_do_update() 89 be128 dst = { cpu_to_be64(dg[1]), cpu_to_be64(dg[0]) }; in ghash_do_update() 106 dg[0] = be64_to_cpu(dst.b); in ghash_do_update() 107 dg[1] = be64_to_cpu(dst.a); in ghash_do_update() 365 void pmull_gcm_encrypt(int blocks, u64 dg[], const char *src, 369 void pmull_gcm_enc_final(int blocks, u64 dg[], char *tag, [all …]
|
/linux-6.6.21/crypto/ |
D | ccm.c | 789 u8 *dg = (u8 *)ctx + crypto_shash_descsize(pdesc->tfm) - bs; in crypto_cbcmac_digest_init() local 792 memset(dg, 0, bs); in crypto_cbcmac_digest_init() 805 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_update() local 810 crypto_xor(dg + ctx->len, p, l); in crypto_cbcmac_digest_update() 816 crypto_cipher_encrypt_one(tfm, dg, dg); in crypto_cbcmac_digest_update() 831 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_final() local 834 crypto_cipher_encrypt_one(tfm, dg, dg); in crypto_cbcmac_digest_final() 836 memcpy(out, dg, bs); in crypto_cbcmac_digest_final()
|
/linux-6.6.21/arch/s390/include/asm/ |
D | nmi.h | 48 u64 dg : 1; /* 07 degradation */ member
|
/linux-6.6.21/drivers/crypto/cavium/zip/ |
D | zip_deflate.c | 82 zip_cmd->s.dg = 0; in prepare_zip_command()
|
D | zip_inflate.c | 103 zip_cmd->s.dg = 0; in prepare_inflate_zcmd()
|
D | zip_regs.h | 193 u64 dg : 1; member 197 u64 dg : 1;
|
/linux-6.6.21/Documentation/fb/ |
D | cmap_xfbdev.rst | 46 dg = (long) pent->co.local.green - prgb->green;
|
/linux-6.6.21/arch/s390/kvm/ |
D | interrupt.c | 2875 if (mci.dg) in kvm_s390_reinject_machine_check()
|