/drivers/s390/block/ |
D | dasd_erp.c | 27 dasd_alloc_erp_request(char *magic, int cplength, int datasize, in dasd_alloc_erp_request() argument 36 BUG_ON( magic == NULL || datasize > PAGE_SIZE || in dasd_alloc_erp_request() 42 if (datasize > 0) in dasd_alloc_erp_request() 43 size += datasize; in dasd_alloc_erp_request() 61 if (datasize > 0) { in dasd_alloc_erp_request() 63 memset(cqr->data, 0, datasize); in dasd_alloc_erp_request()
|
D | dasd_fba.c | 335 int datasize; in dasd_fba_build_cp_discard() local 348 datasize = sizeof(struct DE_fba_data) + in dasd_fba_build_cp_discard() 351 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_discard() 442 int count, cidaw, cplength, datasize; in dasd_fba_build_cp_regular() local 475 datasize = sizeof(struct DE_fba_data) + sizeof(struct LO_fba_data) + in dasd_fba_build_cp_regular() 483 datasize += (count - 1)*sizeof(struct LO_fba_data); in dasd_fba_build_cp_regular() 486 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_regular()
|
D | dasd_eckd.c | 2214 int cplength, datasize; in dasd_eckd_analysis_ccw() local 2218 datasize = sizeof(struct DE_eckd_data) + 2*sizeof(struct LO_eckd_data); in dasd_eckd_analysis_ccw() 2219 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, datasize, device, in dasd_eckd_analysis_ccw() 2568 int cplength, datasize; in dasd_eckd_build_check() local 2588 datasize = sizeof(struct PFX_eckd_data); in dasd_eckd_build_check() 2591 datasize = sizeof(struct DE_eckd_data) + in dasd_eckd_build_check() 2596 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev); in dasd_eckd_build_check() 2654 int cplength, datasize; in dasd_eckd_build_format() local 2698 datasize = sizeof(struct PFX_eckd_data) + in dasd_eckd_build_format() 2702 datasize = sizeof(struct DE_eckd_data) + in dasd_eckd_build_format() [all …]
|
/drivers/firmware/efi/test/ |
D | efi_test.c | 143 unsigned long datasize = 0, prev_datasize, *dz; in efi_runtime_get_variable() local 157 get_user(datasize, getvariable.data_size)) in efi_runtime_get_variable() 173 dz = getvariable.data_size ? &datasize : NULL; in efi_runtime_get_variable() 176 data = kmalloc(datasize, GFP_KERNEL); in efi_runtime_get_variable() 183 prev_datasize = datasize; in efi_runtime_get_variable() 194 if (dz && put_user(datasize, getvariable.data_size)) { in efi_runtime_get_variable() 203 if (prev_datasize < datasize) { in efi_runtime_get_variable() 209 if (copy_to_user(getvariable.data, data, datasize)) { in efi_runtime_get_variable() 220 if (dz && put_user(datasize, getvariable.data_size)) in efi_runtime_get_variable()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_nic.c | 90 ndata->buf, ndata->datasize, in octnet_send_nic_data_pkt() 101 u32 uddsize = 0, datasize = 0; in octnic_alloc_ctrl_pkt_sc() local 105 datasize = OCTNET_CMD_SIZE + uddsize; in octnic_alloc_ctrl_pkt_sc() 109 octeon_alloc_soft_command(oct, datasize, rdatasize, 0); in octnic_alloc_ctrl_pkt_sc()
|
D | request_manager.c | 542 u32 datasize, u32 reqtype) in octeon_send_command() argument 559 INCR_INSTRQUEUE_PKT_COUNT(oct, iq_no, bytes_sent, datasize); in octeon_send_command() 621 if (sc->datasize) in octeon_prepare_soft_command() 622 ih3->dlengsz = sc->datasize; in octeon_prepare_soft_command() 656 if (sc->datasize) { in octeon_prepare_soft_command() 657 ih2->dlengsz = sc->datasize; in octeon_prepare_soft_command() 856 u32 datasize, in octeon_alloc_soft_command() argument 869 WARN_ON((offset + datasize + rdatasize + ctxsize) > in octeon_alloc_soft_command() 906 if (datasize) { in octeon_alloc_soft_command() 909 sc->datasize = datasize; in octeon_alloc_soft_command() [all …]
|
D | octeon_nic.h | 79 u32 datasize; member 103 u32 datasize; member 151 ih2->dlengsz = setup->s.u.datasize; in octnet_prepare_pci_cmd_o2() 196 ih3->dlengsz = setup->s.u.datasize; in octnet_prepare_pci_cmd_o3()
|
D | octeon_iq.h | 283 u32 datasize; member 333 u32 datasize, u32 rdatasize, 379 u32 datasize, u32 reqtype);
|
D | lio_vf_rep.c | 357 sc->datasize, DMA_TO_DEVICE); in lio_vf_rep_packet_sent_callback() 415 sc->datasize = skb->len; in lio_vf_rep_pkt_xmit() 430 sc->datasize, DMA_TO_DEVICE); in lio_vf_rep_pkt_xmit()
|
/drivers/mmc/host/ |
D | vub300.c | 318 u32 datasize; member 1112 (vub300->datasize >> 8) & 0xFF; in send_command() 1114 (vub300->datasize >> 0) & 0xFF; in send_command() 1119 (vub300->datasize >> 24) & 0xFF; in send_command() 1121 (vub300->datasize >> 16) & 0xFF; in send_command() 1123 (vub300->datasize >> 8) & 0xFF; in send_command() 1125 (vub300->datasize >> 0) & 0xFF; in send_command() 1126 if (vub300->datasize < vub300->fbs[fn]) { in send_command() 1138 (vub300->datasize >> 24) & 0xFF; in send_command() 1140 (vub300->datasize >> 16) & 0xFF; in send_command() [all …]
|
D | mxcmmc.c | 137 unsigned int datasize; member 284 unsigned int datasize = nob * blksz; in mxcmci_setup_data() local 294 host->datasize = datasize; in mxcmci_setup_data() 467 data->bytes_xfered = host->datasize; in mxcmci_finish_data() 594 host->datasize = 0; in mxcmci_transfer_data() 601 host->datasize += sg->length; in mxcmci_transfer_data() 608 host->datasize += sg->length; in mxcmci_transfer_data()
|
/drivers/media/rc/ |
D | fintek-cir.c | 237 int datasize = 0; in fintek_cmdsize() local 242 datasize = 1; in fintek_cmdsize() 246 datasize = 2; in fintek_cmdsize() 253 datasize = 2; in fintek_cmdsize() 258 datasize = 1; in fintek_cmdsize() 263 return datasize; in fintek_cmdsize()
|
D | mceusb.c | 551 int datasize = 0; in mceusb_cmd_datasize() local 556 datasize = 1; in mceusb_cmd_datasize() 561 datasize = 5; in mceusb_cmd_datasize() 564 datasize = 4; in mceusb_cmd_datasize() 567 datasize = 4; in mceusb_cmd_datasize() 573 datasize = 1; in mceusb_cmd_datasize() 584 datasize = 2; in mceusb_cmd_datasize() 589 datasize = 1; in mceusb_cmd_datasize() 593 return datasize; in mceusb_cmd_datasize()
|
/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gpu_state.c | 454 size_t datasize; in a6xx_get_dbgahb_cluster() local 479 datasize = regcount * A6XX_NUM_CONTEXTS * sizeof(u32); in a6xx_get_dbgahb_cluster() 481 if (WARN_ON(datasize > A6XX_CD_DATA_SIZE)) in a6xx_get_dbgahb_cluster() 489 datasize); in a6xx_get_dbgahb_cluster() 522 size_t datasize; in a6xx_get_cluster() local 550 datasize = regcount * A6XX_NUM_CONTEXTS * sizeof(u32); in a6xx_get_cluster() 552 if (WARN_ON(datasize > A6XX_CD_DATA_SIZE)) in a6xx_get_cluster() 560 datasize); in a6xx_get_cluster() 590 size_t datasize = block->size * A6XX_NUM_SHADER_BANKS * sizeof(u32); in a6xx_get_shader_block() local 593 if (WARN_ON(datasize > A6XX_CD_DATA_SIZE)) in a6xx_get_shader_block() [all …]
|
/drivers/i2c/ |
D | i2c-dev.c | 316 int datasize, res; in i2cdev_ioctl_smbus() local 360 datasize = sizeof(data->byte); in i2cdev_ioctl_smbus() 363 datasize = sizeof(data->word); in i2cdev_ioctl_smbus() 365 datasize = sizeof(data->block); in i2cdev_ioctl_smbus() 371 if (copy_from_user(&temp, data, datasize)) in i2cdev_ioctl_smbus() 386 if (copy_to_user(data, &temp, datasize)) in i2cdev_ioctl_smbus()
|
/drivers/firmware/tegra/ |
D | bpmp-debugfs.c | 585 const size_t datasize = m->size; in debugfs_show() local 603 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_show() 613 err = mrq_debugfs_read(bpmp, namephys, len, dataphys, datasize, in debugfs_show() 619 dma_free_coherent(bpmp->dev, datasize, datavirt, dataphys); in debugfs_show() 636 const size_t datasize = count; in debugfs_store() local 654 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_store() 673 dma_free_coherent(bpmp->dev, datasize, datavirt, dataphys); in debugfs_store()
|
/drivers/firmware/efi/libstub/ |
D | tpm.c | 34 unsigned long datasize = 0; in efi_enable_reset_attack_mitigation() local 37 NULL, &datasize, NULL); in efi_enable_reset_attack_mitigation()
|
/drivers/media/radio/ |
D | radio-miropcm20.c | 152 static int rds_cmd(struct snd_miro_aci *aci, u8 cmd, u8 databuffer[], u8 datasize) in rds_cmd() argument 163 if (datasize == 0) in rds_cmd() 171 memset(databuffer, 0, datasize); in rds_cmd() 173 for (i = 0; i < 8 * datasize; i++) { in rds_cmd()
|
/drivers/usb/serial/ |
D | whiteheat.c | 158 __u8 *data, __u8 datasize); 533 __u8 *data, __u8 datasize) in firm_send_command() argument 548 if (command_port->bulk_out_size < datasize + 1) in firm_send_command() 556 memcpy(&transfer_buffer[1], data, datasize); in firm_send_command() 557 command_port->write_urb->transfer_buffer_length = datasize + 1; in firm_send_command()
|
/drivers/s390/char/ |
D | tape_core.c | 674 tape_alloc_request(int cplength, int datasize) in tape_alloc_request() argument 678 BUG_ON(datasize > PAGE_SIZE || (cplength*sizeof(struct ccw1)) > PAGE_SIZE); in tape_alloc_request() 680 DBF_LH(6, "tape_alloc_request(%d, %d)\n", cplength, datasize); in tape_alloc_request() 698 if (datasize > 0) { in tape_alloc_request() 699 request->cpdata = kzalloc(datasize, GFP_KERNEL | GFP_DMA); in tape_alloc_request()
|
/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 535 u16 datasize, 554 u16 datasize, 1416 u16 datasize, in drxdap_fasi_read_block() argument 1435 ((datasize != 0) && (data == NULL)) || ((datasize & 1) == 1)) { in drxdap_fasi_read_block() 1447 u16 todo = (datasize < DRXDAP_MAX_RCHUNKSIZE ? in drxdap_fasi_read_block() 1448 datasize : DRXDAP_MAX_RCHUNKSIZE); in drxdap_fasi_read_block() 1494 datasize -= todo; in drxdap_fasi_read_block() 1495 } while (datasize && rc == 0); in drxdap_fasi_read_block() 1593 u16 datasize, in drxdap_fasi_write_block() argument 1613 ((datasize != 0) && (data == NULL)) || ((datasize & 1) == 1)) in drxdap_fasi_write_block() [all …]
|
/drivers/firmware/efi/ |
D | efivars.c | 263 unsigned long datasize = sizeof(var->Data); in efivar_show_raw() local 270 ret = efivar_entry_get(entry, &var->Attributes, &datasize, var->Data); in efivar_show_raw() 271 var->DataSize = datasize; in efivar_show_raw()
|
/drivers/net/ethernet/microsoft/mana/ |
D | mana_en.c | 1021 da = dma_map_page(dev, new_page, 0, rxq->datasize, in mana_process_rx_cqe() 1033 dma_unmap_page(dev, rxbuf_oob->buf_dma_addr, rxq->datasize, in mana_process_rx_cqe() 1315 dma_unmap_page(dev, rx_oob->buf_dma_addr, rxq->datasize, in mana_destroy_rxq() 1341 WARN_ON(rxq->datasize == 0 || rxq->datasize > PAGE_SIZE); in mana_alloc_rx_wqe() 1354 da = dma_map_page(dev, page, 0, rxq->datasize, DMA_FROM_DEVICE); in mana_alloc_rx_wqe() 1366 rx_oob->sgl[0].size = rxq->datasize; in mana_alloc_rx_wqe() 1426 rxq->datasize = ALIGN(MAX_FRAME_SIZE, 64); in mana_create_rxq()
|
/drivers/scsi/aacraid/ |
D | commsup.c | 2283 u32 datasize) in aac_send_wellness_command() argument 2297 dma_buf = dma_alloc_coherent(&dev->pdev->dev, datasize, &addr, in aac_send_wellness_command() 2317 srbcmd->count = cpu_to_le32(datasize); in aac_send_wellness_command() 2322 memcpy(dma_buf, (char *)wellness_str, datasize); in aac_send_wellness_command() 2328 sg64->sg[0].count = cpu_to_le32(datasize); in aac_send_wellness_command() 2333 dma_free_coherent(&dev->pdev->dev, datasize, dma_buf, addr); in aac_send_wellness_command() 2360 u32 datasize = sizeof(wellness_str); in aac_send_safw_hostttime() local 2379 ret = aac_send_wellness_command(dev, wellness_str, datasize); in aac_send_safw_hostttime()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 451 unsigned int datasize = xdp->data_end - xdp->data; in ice_construct_skb_zc() local 461 memcpy(__skb_put(skb, datasize), xdp->data, datasize); in ice_construct_skb_zc()
|