/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 | 342 int datasize; in dasd_fba_build_cp_discard() local 355 datasize = sizeof(struct DE_fba_data) + in dasd_fba_build_cp_discard() 358 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev); in dasd_fba_build_cp_discard() 448 int count, cidaw, cplength, datasize; in dasd_fba_build_cp_regular() local 481 datasize = sizeof(struct DE_fba_data) + sizeof(struct LO_fba_data) + in dasd_fba_build_cp_regular() 489 datasize += (count - 1)*sizeof(struct LO_fba_data); in dasd_fba_build_cp_regular() 492 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev); in dasd_fba_build_cp_regular()
|
D | dasd_eckd.c | 1800 int cplength, datasize; in dasd_eckd_analysis_ccw() local 1804 datasize = sizeof(struct DE_eckd_data) + 2*sizeof(struct LO_eckd_data); in dasd_eckd_analysis_ccw() 1805 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, datasize, device); in dasd_eckd_analysis_ccw() 2150 int cplength, datasize; in dasd_eckd_build_check() local 2170 datasize = sizeof(struct PFX_eckd_data); in dasd_eckd_build_check() 2173 datasize = sizeof(struct DE_eckd_data) + in dasd_eckd_build_check() 2178 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, datasize, in dasd_eckd_build_check() 2239 int cplength, datasize; in dasd_eckd_build_format() local 2283 datasize = sizeof(struct PFX_eckd_data) + in dasd_eckd_build_format() 2287 datasize = sizeof(struct DE_eckd_data) + in dasd_eckd_build_format() [all …]
|
D | dasd_diag.c | 509 unsigned int count, datasize; in dasd_diag_build_cp() local 537 datasize = sizeof(struct dasd_diag_req) + in dasd_diag_build_cp() 539 cqr = dasd_smalloc_request(DASD_DIAG_MAGIC, 0, datasize, memdev); in dasd_diag_build_cp()
|
D | dasd_3990_erp.c | 2364 int cplength, datasize; in dasd_3990_erp_add_erp() local 2371 datasize = 64 + sizeof(struct tcw) + sizeof(struct tsb); in dasd_3990_erp_add_erp() 2374 datasize = 0; in dasd_3990_erp_add_erp() 2379 cplength, datasize, device); in dasd_3990_erp_add_erp()
|
/drivers/firmware/efi/test/ |
D | efi_test.c | 153 unsigned long datasize = 0, prev_datasize, *dz; in efi_runtime_get_variable() local 167 get_user(datasize, getvariable.data_size)) in efi_runtime_get_variable() 183 dz = getvariable.data_size ? &datasize : NULL; in efi_runtime_get_variable() 186 data = kmalloc(datasize, GFP_KERNEL); in efi_runtime_get_variable() 193 prev_datasize = datasize; in efi_runtime_get_variable() 204 if (dz && put_user(datasize, getvariable.data_size)) { in efi_runtime_get_variable() 213 if (prev_datasize < datasize) { in efi_runtime_get_variable() 219 if (copy_to_user(getvariable.data, data, datasize)) { in efi_runtime_get_variable() 230 if (dz && put_user(datasize, getvariable.data_size)) in efi_runtime_get_variable()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | request_manager.c | 548 u32 datasize, u32 reqtype) in octeon_send_command() argument 563 INCR_INSTRQUEUE_PKT_COUNT(oct, iq_no, bytes_sent, datasize); in octeon_send_command() 622 if (sc->datasize) in octeon_prepare_soft_command() 623 ih3->dlengsz = sc->datasize; in octeon_prepare_soft_command() 657 if (sc->datasize) { in octeon_prepare_soft_command() 658 ih2->dlengsz = sc->datasize; in octeon_prepare_soft_command() 784 u32 datasize, in octeon_alloc_soft_command() argument 794 WARN_ON((offset + datasize + rdatasize + ctxsize) > in octeon_alloc_soft_command() 831 if (datasize) { in octeon_alloc_soft_command() 834 sc->datasize = datasize; in octeon_alloc_soft_command() [all …]
|
D | octeon_nic.c | 90 ndata->buf, ndata->datasize, in octnet_send_nic_data_pkt() 124 u32 uddsize = 0, datasize = 0; in octnic_alloc_ctrl_pkt_sc() local 128 datasize = OCTNET_CMD_SIZE + uddsize; in octnic_alloc_ctrl_pkt_sc() 132 octeon_alloc_soft_command(oct, datasize, rdatasize, in octnic_alloc_ctrl_pkt_sc()
|
D | octeon_nic.h | 86 u32 datasize; member 110 u32 datasize; member 158 ih2->dlengsz = setup->s.u.datasize; in octnet_prepare_pci_cmd_o2() 203 ih3->dlengsz = setup->s.u.datasize; in octnet_prepare_pci_cmd_o3()
|
D | octeon_iq.h | 273 u32 datasize; member 315 u32 datasize, u32 rdatasize, 358 u32 datasize, u32 reqtype);
|
/drivers/firmware/efi/libstub/ |
D | tpm.c | 46 unsigned long datasize = 0; in efi_enable_reset_attack_mitigation() local 49 NULL, &datasize, NULL); in efi_enable_reset_attack_mitigation()
|
/drivers/mmc/host/ |
D | vub300.c | 321 u32 datasize; member 1114 (vub300->datasize >> 8) & 0xFF; in send_command() 1116 (vub300->datasize >> 0) & 0xFF; in send_command() 1121 (vub300->datasize >> 24) & 0xFF; in send_command() 1123 (vub300->datasize >> 16) & 0xFF; in send_command() 1125 (vub300->datasize >> 8) & 0xFF; in send_command() 1127 (vub300->datasize >> 0) & 0xFF; in send_command() 1128 if (vub300->datasize < vub300->fbs[fn]) { in send_command() 1140 (vub300->datasize >> 24) & 0xFF; in send_command() 1142 (vub300->datasize >> 16) & 0xFF; in send_command() [all …]
|
D | mxcmmc.c | 142 unsigned int datasize; member 305 unsigned int datasize = nob * blksz; in mxcmci_setup_data() local 315 host->datasize = datasize; in mxcmci_setup_data() 488 data->bytes_xfered = host->datasize; in mxcmci_finish_data() 615 host->datasize = 0; in mxcmci_transfer_data() 622 host->datasize += sg->length; in mxcmci_transfer_data() 629 host->datasize += sg->length; in mxcmci_transfer_data()
|
/drivers/i2c/ |
D | i2c-dev.c | 336 int datasize, res; in i2cdev_ioctl_smbus() local 384 datasize = sizeof(data_arg.data->byte); in i2cdev_ioctl_smbus() 387 datasize = sizeof(data_arg.data->word); in i2cdev_ioctl_smbus() 389 datasize = sizeof(data_arg.data->block); in i2cdev_ioctl_smbus() 395 if (copy_from_user(&temp, data_arg.data, datasize)) in i2cdev_ioctl_smbus() 410 if (copy_to_user(data_arg.data, &temp, datasize)) in i2cdev_ioctl_smbus()
|
/drivers/media/rc/ |
D | fintek-cir.c | 253 int datasize = 0; in fintek_cmdsize() local 258 datasize = 1; in fintek_cmdsize() 262 datasize = 2; in fintek_cmdsize() 269 datasize = 2; in fintek_cmdsize() 274 datasize = 1; in fintek_cmdsize() 279 return datasize; in fintek_cmdsize()
|
D | mceusb.c | 497 int datasize = 0; in mceusb_cmd_datasize() local 502 datasize = 1; in mceusb_cmd_datasize() 507 datasize = 5; in mceusb_cmd_datasize() 510 datasize = 4; in mceusb_cmd_datasize() 513 datasize = 2; in mceusb_cmd_datasize() 519 datasize = 1; in mceusb_cmd_datasize() 529 datasize = 2; in mceusb_cmd_datasize() 534 datasize = 1; in mceusb_cmd_datasize() 538 return datasize; in mceusb_cmd_datasize()
|
/drivers/media/radio/ |
D | radio-miropcm20.c | 151 static int rds_cmd(struct snd_miro_aci *aci, u8 cmd, u8 databuffer[], u8 datasize) in rds_cmd() argument 162 if (datasize == 0) in rds_cmd() 170 memset(databuffer, 0, datasize); in rds_cmd() 172 for (i = 0; i < 8 * datasize; i++) { in rds_cmd()
|
/drivers/usb/serial/ |
D | whiteheat.c | 162 __u8 *data, __u8 datasize); 564 __u8 *data, __u8 datasize) in firm_send_command() argument 579 if (command_port->bulk_out_size < datasize + 1) in firm_send_command() 587 memcpy(&transfer_buffer[1], data, datasize); in firm_send_command() 588 command_port->write_urb->transfer_buffer_length = datasize + 1; in firm_send_command()
|
/drivers/crypto/ |
D | bfin_crc.h | 19 unsigned long datasize; member
|
/drivers/s390/char/ |
D | tape_core.c | 722 tape_alloc_request(int cplength, int datasize) in tape_alloc_request() argument 726 BUG_ON(datasize > PAGE_SIZE || (cplength*sizeof(struct ccw1)) > PAGE_SIZE); in tape_alloc_request() 728 DBF_LH(6, "tape_alloc_request(%d, %d)\n", cplength, datasize); in tape_alloc_request() 746 if (datasize > 0) { in tape_alloc_request() 747 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 | 329 unsigned long datasize = sizeof(var->Data); in efivar_show_raw() local 336 ret = efivar_entry_get(entry, &var->Attributes, &datasize, var->Data); in efivar_show_raw() 337 var->DataSize = datasize; in efivar_show_raw()
|
/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 437 void *data, u32 datasize, u8 flags) in form_cm_frame() argument 446 packetsize += optionsize + datasize; in form_cm_frame() 504 cm_node->tcp_cntxt.loc_seq_num += datasize; in form_cm_frame() 521 if (datasize) in form_cm_frame() 522 memcpy(buf, data, datasize); in form_cm_frame() 1786 int datasize = skb->len; in handle_rcv_mpa() local 1792 ret = parse_mpa(cm_node, dataloc, &res_type, datasize); in handle_rcv_mpa() 2027 int datasize = 0; in handle_ack_pkt() local 2039 datasize = skb->len; in handle_ack_pkt() 2049 if (datasize) { in handle_ack_pkt() [all …]
|
/drivers/scsi/aacraid/ |
D | commsup.c | 2309 u32 datasize) in aac_send_wellness_command() argument 2323 dma_buf = dma_alloc_coherent(&dev->pdev->dev, datasize, &addr, in aac_send_wellness_command() 2343 srbcmd->count = cpu_to_le32(datasize); in aac_send_wellness_command() 2348 memcpy(dma_buf, (char *)wellness_str, datasize); in aac_send_wellness_command() 2354 sg64->sg[0].count = cpu_to_le32(datasize); in aac_send_wellness_command() 2359 dma_free_coherent(&dev->pdev->dev, datasize, dma_buf, addr); in aac_send_wellness_command() 2386 u32 datasize = sizeof(wellness_str); in aac_send_safw_hostttime() local 2405 ret = aac_send_wellness_command(dev, wellness_str, datasize); in aac_send_safw_hostttime()
|
D | aachba.c | 1678 u16 fibsize, datasize; in aac_issue_bmic_identify() local 1688 datasize = sizeof(struct aac_ciss_identify_pd); in aac_issue_bmic_identify() 1690 identify_resp = dma_alloc_coherent(&dev->pdev->dev, datasize, &addr, in aac_issue_bmic_identify() 1709 srbcmd->count = cpu_to_le32(datasize); in aac_issue_bmic_identify() 1720 sg64->sg[0].count = cpu_to_le32(datasize); in aac_issue_bmic_identify() 1732 dma_free_coherent(&dev->pdev->dev, datasize, identify_resp, addr); in aac_issue_bmic_identify() 1812 int fibsize, datasize; in aac_report_phys_luns() local 1823 datasize = sizeof(struct aac_ciss_phys_luns_resp) in aac_report_phys_luns() 1826 phys_luns = dma_alloc_coherent(&dev->pdev->dev, datasize, &addr, in aac_report_phys_luns() 1849 srbcmd->count = cpu_to_le32(datasize); in aac_report_phys_luns() [all …]
|