/drivers/md/ |
D | dm-log-userspace-transfer.c | 49 size_t *data_size; member 67 msg->len = sizeof(struct dm_ulog_request) + tfr->data_size; in dm_ulog_sendto_server() 109 *(pkg->data_size) = 0; in fill_pkg() 110 } else if (tfr->data_size > *(pkg->data_size)) { in fill_pkg() 113 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 185 if (data_size > (DM_ULOG_PREALLOCED_SIZE - overhead_size)) { in dm_consult_userspace() [all …]
|
D | dm-ioctl.c | 449 param->data_size = 0; in remove_all() 509 param->data_size = param->data_start + needed; in list_devices() 590 param->data_size = param->data_start + needed; in list_versions() 916 param->data_size = 0; in dev_set_geometry() 1115 param->data_size = used; in retrieve_status() 1366 param->data_size = param->data_start + needed; in retrieve_deps() 1506 param->data_size = param->data_start + strlen(result) + 1; in target_message() 1622 if (param_kernel->data_size < minimum_data_size) in copy_params() 1631 dmi->data_size = minimum_data_size; in copy_params() 1640 if (param_kernel->data_size <= KMALLOC_MAX_SIZE) { in copy_params() [all …]
|
/drivers/misc/ibmasm/ |
D | event.c | 57 void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size) in ibmasm_receive_event() argument 63 data_size = min(data_size, IBMASM_EVENT_MAX_SIZE); in ibmasm_receive_event() 68 memcpy_fromio(event->data, data, data_size); in ibmasm_receive_event() 69 event->data_size = data_size; in ibmasm_receive_event() 115 memcpy(reader->data, event->data, event->data_size); in ibmasm_get_next_event() 116 reader->data_size = event->data_size; in ibmasm_get_next_event() 121 return event->data_size; in ibmasm_get_next_event()
|
D | i2o.h | 56 static inline unsigned short outgoing_message_size(unsigned int data_size) in outgoing_message_size() argument 61 if (data_size > I2O_COMMAND_SIZE) in outgoing_message_size() 62 data_size = I2O_COMMAND_SIZE; in outgoing_message_size() 64 size = sizeof(struct i2o_header) + data_size; in outgoing_message_size()
|
D | ibmasm.h | 120 unsigned int data_size; member 136 unsigned int data_size; member 176 void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size); 195 void ibmasm_receive_message(struct service_processor *sp, void *data, int data_size);
|
D | dot_command.h | 47 u16 data_size; member 56 return sizeof(struct dot_command_header) + cmd->command_size + cmd->data_size; in get_dot_command_size()
|
/drivers/mtd/ubi/ |
D | eba.c | 436 ubi_assert(len == be32_to_cpu(vid_hdr->data_size)); in ubi_eba_read_leb() 502 int err, idx = vol_id2idx(ubi, vol_id), new_pnum, data_size, tries = 0; in recover_peb() local 531 data_size = offset + len; in recover_peb() 544 err = ubi_io_write_data(ubi, ubi->peb_buf, new_pnum, 0, data_size); in recover_peb() 731 int err, pnum, tries = 0, data_size = len, vol_id = vol->vol_id; in ubi_eba_write_leb_st() local 740 len = ALIGN(data_size, ubi->min_io_size); in ubi_eba_write_leb_st() 760 crc = crc32(UBI_CRC32_INIT, buf, data_size); in ubi_eba_write_leb_st() 762 vid_hdr->data_size = cpu_to_be32(data_size); in ubi_eba_write_leb_st() 881 vid_hdr->data_size = cpu_to_be32(len); in ubi_eba_atomic_leb_change() 992 int err, vol_id, lnum, data_size, aldata_size, idx; in ubi_eba_copy_leb() local [all …]
|
/drivers/video/exynos/ |
D | exynos_mipi_dsi_common.c | 106 const unsigned char *data0, unsigned int data_size) in exynos_mipi_dsi_long_data_wr() argument 111 for (data_cnt = 0; data_cnt < data_size; data_cnt += 4) { in exynos_mipi_dsi_long_data_wr() 116 if ((data_size - data_cnt) < 4) { in exynos_mipi_dsi_long_data_wr() 117 if ((data_size - data_cnt) == 3) { in exynos_mipi_dsi_long_data_wr() 125 } else if ((data_size - data_cnt) == 2) { in exynos_mipi_dsi_long_data_wr() 132 } else if ((data_size - data_cnt) == 1) { in exynos_mipi_dsi_long_data_wr() 157 const unsigned char *data0, unsigned int data_size) in exynos_mipi_dsi_wr_data() argument 225 size = data_size * 4; in exynos_mipi_dsi_wr_data() 228 if (data_size < 4) { in exynos_mipi_dsi_wr_data() 236 data_size, payload, data0[0], in exynos_mipi_dsi_wr_data() [all …]
|
/drivers/net/wimax/i2400m/ |
D | fw.c | 194 for (i = 0; i < cmd->data_size / 4; i++) in i2400m_bm_cmd_prepare() 196 checksum += cmd->command + cmd->target_addr + cmd->data_size; in i2400m_bm_cmd_prepare() 485 ack->data_size = le32_to_cpu(ack->data_size); in __i2400m_bm_ack_verify() 512 if (ack_size < ack->data_size + sizeof(*ack)) { in __i2400m_bm_ack_verify() 516 (size_t) le32_to_cpu(ack->data_size) + sizeof(*ack)); in __i2400m_bm_ack_verify() 608 cmd->target_addr, cmd->data_size, in i2400m_bm_cmd() 670 buf->cmd.data_size = cpu_to_le32(__chunk_len); in i2400m_download_chunk() 707 data_size, /* Size of the data payload */ in i2400m_dnload_bcf() local 720 data_size = le32_to_cpu(bh->data_size); in i2400m_dnload_bcf() 721 section_size = ALIGN(sizeof(*bh) + data_size, 4); in i2400m_dnload_bcf() [all …]
|
/drivers/firmware/google/ |
D | gsmi.c | 294 unsigned long *data_size, in gsmi_get_variable() argument 300 .data_len = (u32)*data_size, in gsmi_get_variable() 338 *data_size = min_t(unsigned long, *data_size, in gsmi_get_variable() 340 *data_size = min_t(unsigned long, *data_size, param.data_len); in gsmi_get_variable() 343 memcpy(data, gsmi_dev.data_buf->start, *data_size); in gsmi_get_variable() 416 unsigned long data_size, in gsmi_set_variable() argument 422 .data_len = (u32)data_size, in gsmi_set_variable() 446 memcpy(gsmi_dev.data_buf->start, data, data_size); in gsmi_set_variable()
|
/drivers/s390/block/ |
D | dasd_eer.c | 297 int data_size; in dasd_eer_write_standard_trigger() local 305 data_size = 0; in dasd_eer_write_standard_trigger() 308 data_size += 32; in dasd_eer_write_standard_trigger() 310 header.total_size = sizeof(header) + data_size + 4; /* "EOR" */ in dasd_eer_write_standard_trigger() 340 int data_size; in dasd_eer_write_snss_trigger() local 349 data_size = 0; in dasd_eer_write_snss_trigger() 351 data_size = SNSS_DATA_SIZE; in dasd_eer_write_snss_trigger() 353 header.total_size = sizeof(header) + data_size + 4; /* "EOR" */ in dasd_eer_write_snss_trigger()
|
/drivers/misc/vmw_vmci/ |
D | vmci_context.c | 699 size_t data_size; in vmci_ctx_get_chkpt_notifiers() local 709 data_size = context->n_notifiers * sizeof(*notifiers); in vmci_ctx_get_chkpt_notifiers() 710 if (*buf_size < data_size) { in vmci_ctx_get_chkpt_notifiers() 711 *buf_size = data_size; in vmci_ctx_get_chkpt_notifiers() 715 notifiers = kmalloc(data_size, GFP_ATOMIC); /* FIXME: want GFP_KERNEL */ in vmci_ctx_get_chkpt_notifiers() 722 *buf_size = data_size; in vmci_ctx_get_chkpt_notifiers() 736 size_t data_size = n_doorbells * sizeof(*dbells); in vmci_ctx_get_chkpt_doorbells() local 737 if (*buf_size < data_size) { in vmci_ctx_get_chkpt_doorbells() 738 *buf_size = data_size; in vmci_ctx_get_chkpt_doorbells() 742 dbells = kmalloc(data_size, GFP_ATOMIC); in vmci_ctx_get_chkpt_doorbells() [all …]
|
/drivers/dma/ |
D | ste_dma40_ll.c | 128 u32 data_size, in d40_phy_fill_lli() argument 150 if (data_size < num_elems * (0x1 << data_width)) in d40_phy_fill_lli() 154 lli->reg_elt = (data_size >> data_width) << D40_SREG_ELEM_PHY_ECNT_POS; in d40_phy_fill_lli() 355 dma_addr_t data, u32 data_size, in d40_log_fill_lli() argument 365 lli->lcsp02 = ((data_size >> data_width) << in d40_log_fill_lli() 368 BUG_ON((data_size >> data_width) > STEDMA40_MAX_SEG_SIZE); in d40_log_fill_lli()
|
/drivers/misc/mei/ |
D | nfc.c | 33 u16 data_size; member 43 u16 data_size; member 78 u16 data_size; member 227 cmd->data_size = 3; in mei_nfc_connect() 277 cmd.data_size = 1; in mei_nfc_if_version() 354 hdr->data_size = length; in mei_nfc_send()
|
/drivers/char/tpm/ |
D | tpm_infineon.c | 48 unsigned int data_size; member 438 tpm_dev.data_size = pnp_port_len(dev, 1); in tpm_inf_pnp_probe() 439 if ((tpm_dev.data_size < 4) || (tpm_dev.config_size < 2)) { in tpm_inf_pnp_probe() 450 if (request_region(tpm_dev.data_regs, tpm_dev.data_size, in tpm_inf_pnp_probe() 457 release_region(tpm_dev.data_regs, tpm_dev.data_size); in tpm_inf_pnp_probe() 586 release_region(tpm_dev.data_regs, tpm_dev.data_size); in tpm_inf_pnp_probe() 603 release_region(tpm_dev.data_regs, tpm_dev.data_size); in tpm_inf_pnp_remove()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-fw-file.h | 74 __le32 data_size; /* bytes of runtime data */ member 83 __le32 data_size; /* bytes of runtime data */ member
|
/drivers/staging/sep/ |
D | sep_main.c | 1057 u32 data_size, in sep_crypto_lli() argument 1090 if (sep_map[ct1].size > data_size) in sep_crypto_lli() 1091 sep_map[ct1].size = data_size; in sep_crypto_lli() 1120 u32 data_size, in sep_lock_kernel_pages() argument 1148 data_size, direction); in sep_lock_kernel_pages() 1203 u32 data_size, in sep_lock_user_pages() argument 1226 end_page = (app_virt_addr + data_size - 1) >> PAGE_SHIFT; in sep_lock_user_pages() 1235 current->pid, data_size); in sep_lock_user_pages() 1315 if ((PAGE_SIZE - (app_virt_addr & (~PAGE_MASK))) >= data_size) in sep_lock_user_pages() 1316 lli_array[0].block_size = data_size; in sep_lock_user_pages() [all …]
|
/drivers/block/drbd/ |
D | drbd_receiver.c | 334 unsigned int data_size, gfp_t gfp_mask) __must_hold(local) in drbd_alloc_peer_req() argument 338 unsigned nr_pages = (data_size + PAGE_SIZE -1) >> PAGE_SHIFT; in drbd_alloc_peer_req() 350 if (data_size) { in drbd_alloc_peer_req() 357 peer_req->i.size = data_size; in drbd_alloc_peer_req() 1488 int data_size) __must_hold(local) in read_in_block() argument 1508 data_size -= dgs; in read_in_block() 1511 if (!expect(IS_ALIGNED(data_size, 512))) in read_in_block() 1513 if (!expect(data_size <= DRBD_MAX_BIO_SIZE)) in read_in_block() 1518 if (sector + (data_size>>9) > capacity) { in read_in_block() 1522 (unsigned long long)sector, data_size); in read_in_block() [all …]
|
/drivers/uwb/i1480/dfu/ |
D | phy.c | 168 size_t data_size; in i1480_phy_fw_upload() local 177 data_size = min(MAX_BLK_SIZE, (size_t) (data_top - data_itr)); in i1480_phy_fw_upload() 178 result = i1480_mpi_write(i1480, data_itr, data_size); in i1480_phy_fw_upload()
|
/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 212 page_vec->data_size = total_sz; in iser_sg_to_page_vec() 213 iser_dbg("page_vec->data_size:%d cur_page %d\n", page_vec->data_size,cur_page); in iser_sg_to_page_vec() 286 page_vec->length, page_vec->data_size); in iser_dump_page_vec() 306 if (page_vec_len * SIZE_4K < page_vec->data_size) { in iser_page_vec_build() 415 ib_conn->page_vec->data_size, ib_conn->page_vec->length, in iser_reg_rdma_mem()
|
/drivers/scsi/device_handler/ |
D | scsi_dh_rdac.c | 304 unsigned data_size; in rdac_failover_get() local 311 data_size = sizeof(struct rdac_pg_expanded); in rdac_failover_get() 313 memset(rdac_pg, 0, data_size); in rdac_failover_get() 323 data_size = sizeof(struct rdac_pg_legacy); in rdac_failover_get() 325 memset(rdac_pg, 0, data_size); in rdac_failover_get() 340 rq = get_rdac_req(sdev, &h->ctlr->mode_select, data_size, WRITE); in rdac_failover_get() 347 rq->cmd[7] = data_size >> 8; in rdac_failover_get() 348 rq->cmd[8] = data_size & 0xff; in rdac_failover_get() 351 rq->cmd[4] = data_size; in rdac_failover_get()
|
/drivers/scsi/qla4xxx/ |
D | ql4_83xx.h | 253 uint32_t data_size; member 268 uint8_t data_size; member 282 uint32_t data_size; member
|
/drivers/staging/rts5139/ |
D | rts51x_scsi.c | 575 int data_size = buf_len; in ms_mode_sense() local 581 if (data_size > 0x68) in ms_mode_sense() 582 data_size = 0x68; in ms_mode_sense() 586 if (data_size > 0x6C) in ms_mode_sense() 587 data_size = 0x6C; in ms_mode_sense() 622 if (data_size >= 9) in ms_mode_sense() 624 if (data_size >= 10) in ms_mode_sense() 626 if (data_size >= 11) in ms_mode_sense() 628 if (data_size >= 12) { in ms_mode_sense() 636 if (data_size >= 5) in ms_mode_sense() [all …]
|
/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 1057 int data_size; in yellowfin_rx() local 1066 data_size = (le32_to_cpu(desc->dbdma_cmd) - in yellowfin_rx() 1068 frame_status = get_unaligned_le16(&(buf_addr[data_size - 2])); in yellowfin_rx() 1075 if (data_size != 0) in yellowfin_rx() 1077 desc_status, data_size); in yellowfin_rx() 1090 ((buf_addr[data_size-1] & 0x85) || buf_addr[data_size-2] & 0xC0)) { in yellowfin_rx() 1091 u8 status1 = buf_addr[data_size-2]; in yellowfin_rx() 1092 u8 status2 = buf_addr[data_size-1]; in yellowfin_rx() 1112 int pkt_len = data_size - in yellowfin_rx() 1113 (yp->chip_id ? 7 : 8 + buf_addr[data_size - 8]); in yellowfin_rx() [all …]
|
/drivers/android/ |
D | binder_trace.h | 246 __field(size_t, data_size) 251 __entry->data_size = buf->data_size; 255 __entry->debug_id, __entry->data_size, __entry->offsets_size)
|