Home
last modified time | relevance | path

Searched refs:data_length (Results 1 – 25 of 74) sorted by relevance

123

/linux-3.4.99/drivers/misc/altera-stapl/
Daltera-comp.c82 u32 i, j, data_length = 0L; in altera_shrink() local
96 data_length = data_length | ( in altera_shrink()
103 if (data_length > out_length) { in altera_shrink()
104 data_length = 0L; in altera_shrink()
105 return data_length; in altera_shrink()
109 while (i < data_length) { in altera_shrink()
114 if (i < data_length) { in altera_shrink()
133 if (i < data_length) { in altera_shrink()
141 return data_length; in altera_shrink()
/linux-3.4.99/drivers/target/iscsi/
Discsi_target_seq_pdu_list.c224 unsolicited_data_length = (cmd->data_length > in iscsit_determine_counts_for_list()
226 conn->sess->sess_ops->FirstBurstLength : cmd->data_length; in iscsit_determine_counts_for_list()
228 while (offset < cmd->data_length) { in iscsit_determine_counts_for_list()
242 >= cmd->data_length) { in iscsit_determine_counts_for_list()
244 (cmd->data_length - offset); in iscsit_determine_counts_for_list()
245 offset += (cmd->data_length - offset); in iscsit_determine_counts_for_list()
266 cmd->data_length) { in iscsit_determine_counts_for_list()
267 offset += (cmd->data_length - offset); in iscsit_determine_counts_for_list()
309 unsolicited_data_length = (cmd->data_length > in iscsit_build_pdu_and_seq_list()
311 conn->sess->sess_ops->FirstBurstLength : cmd->data_length; in iscsit_build_pdu_and_seq_list()
[all …]
Discsi_target_erl0.c51 (cmd->data_length > in iscsit_set_dataout_sequence_values()
53 conn->sess->sess_ops->FirstBurstLength : cmd->data_length); in iscsit_set_dataout_sequence_values()
62 cmd->seq_end_offset = (cmd->data_length > in iscsit_set_dataout_sequence_values()
65 conn->sess->sess_ops->MaxBurstLength) : cmd->data_length; in iscsit_set_dataout_sequence_values()
70 cmd->data_length) ? cmd->data_length : in iscsit_set_dataout_sequence_values()
185 if ((first_burst_len != cmd->data_length) && in iscsit_dataout_check_unsolicited_sequence()
191 cmd->data_length); in iscsit_dataout_check_unsolicited_sequence()
204 if (first_burst_len == cmd->data_length) { in iscsit_dataout_check_unsolicited_sequence()
207 " error.\n", cmd->init_task_tag, cmd->data_length); in iscsit_dataout_check_unsolicited_sequence()
297 cmd->data_length)) { in iscsit_dataout_check_sequence()
[all …]
Discsi_target_datain_values.c116 read_data_left = (cmd->data_length - read_data_done); in iscsit_set_datain_values_yes_and_yes()
215 read_data_left = (cmd->data_length - read_data_done); in iscsit_set_datain_values_no_and_yes()
234 cmd->data_length) { in iscsit_set_datain_values_no_and_yes()
235 datain->length = (cmd->data_length - offset); in iscsit_set_datain_values_no_and_yes()
267 if ((read_data_done + datain->length) == cmd->data_length) in iscsit_set_datain_values_no_and_yes()
336 read_data_left = (cmd->data_length - read_data_done); in iscsit_set_datain_values_yes_and_no()
347 if ((read_data_done + pdu->length) == cmd->data_length) { in iscsit_set_datain_values_yes_and_no()
436 read_data_left = (cmd->data_length - read_data_done); in iscsit_set_datain_values_no_and_no()
466 if ((read_data_done + pdu->length) == cmd->data_length) in iscsit_set_datain_values_no_and_no()
Discsi_target.c693 u32 data_length) in iscsit_map_iovec() argument
709 while (data_length) { in iscsit_map_iovec()
710 u32 cur_len = min_t(u32, data_length, sg->length - page_off); in iscsit_map_iovec()
715 data_length -= cur_len; in iscsit_map_iovec()
779 u32 length = cmd->se_cmd.data_length; in iscsit_alloc_buffs()
855 hdr->data_length = be32_to_cpu(hdr->data_length); in iscsit_handle_scsi_cmd()
870 (hdr->flags & ISCSI_FLAG_CMD_WRITE)) && !hdr->data_length) { in iscsit_handle_scsi_cmd()
892 !(hdr->flags & ISCSI_FLAG_CMD_WRITE) && (hdr->data_length != 0)) { in iscsit_handle_scsi_cmd()
921 if ((hdr->data_length == payload_length) && in iscsit_handle_scsi_cmd()
930 if (payload_length > hdr->data_length) { in iscsit_handle_scsi_cmd()
[all …]
/linux-3.4.99/drivers/media/dvb/firewire/
Dfiredtv-ci.c130 int data_length; in fdtv_ca_pmt() local
135 data_length = 0; in fdtv_ca_pmt()
137 data_length = (data_length << 8) + msg->msg[data_pos++]; in fdtv_ca_pmt()
139 data_length = msg->msg[3]; in fdtv_ca_pmt()
142 return avc_ca_pmt(fdtv, &msg->msg[data_pos], data_length); in fdtv_ca_pmt()
/linux-3.4.99/tools/firewire/
Dnosy-dump.h106 uint32_t data_length:16; member
113 uint32_t data_length:16; member
128 uint32_t data_length:16; member
150 uint32_t data_length:16; member
/linux-3.4.99/drivers/isdn/hardware/eicon/
Dum_xdi.h36 dword data_length; member
65 dword data_length; member
Ddebug_if.h41 dword data_length; member
53 int diva_get_driver_info(dword id, byte *data, int data_length);
Dos_pri.c615 a->xdi_mbox.data_length = sizeof(dword); in diva_pri_cmd_card_proc()
617 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_pri_cmd_card_proc()
627 a->xdi_mbox.data_length = sizeof(dword); in diva_pri_cmd_card_proc()
629 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_pri_cmd_card_proc()
639 a->xdi_mbox.data_length = sizeof(dword) * 9; in diva_pri_cmd_card_proc()
641 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_pri_cmd_card_proc()
695 a->xdi_mbox.data_length = sizeof(dword); in diva_pri_cmd_card_proc()
697 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_pri_cmd_card_proc()
723 (a->xdi_mbox.data_length = in diva_pri_cmd_card_proc()
726 (a->xdi_mbox.data_length + in diva_pri_cmd_card_proc()
[all …]
Dos_4bri.c640 a->xdi_mbox.data_length = sizeof(dword); in diva_4bri_cmd_card_proc()
642 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_4bri_cmd_card_proc()
652 a->xdi_mbox.data_length = sizeof(dword); in diva_4bri_cmd_card_proc()
654 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_4bri_cmd_card_proc()
668 a->xdi_mbox.data_length = sizeof(dword) * 9; in diva_4bri_cmd_card_proc()
670 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_4bri_cmd_card_proc()
687 a->xdi_mbox.data_length = sizeof(dword); in diva_4bri_cmd_card_proc()
689 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_4bri_cmd_card_proc()
780 (a->xdi_mbox.data_length = in diva_4bri_cmd_card_proc()
783 (a->xdi_mbox.data_length + in diva_4bri_cmd_card_proc()
[all …]
Dos_bri.c409 a->xdi_mbox.data_length = sizeof(dword); in diva_bri_cmd_card_proc()
411 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_bri_cmd_card_proc()
421 a->xdi_mbox.data_length = sizeof(dword); in diva_bri_cmd_card_proc()
423 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_bri_cmd_card_proc()
433 a->xdi_mbox.data_length = sizeof(dword) * 9; in diva_bri_cmd_card_proc()
435 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_bri_cmd_card_proc()
450 a->xdi_mbox.data_length = sizeof(dword); in diva_bri_cmd_card_proc()
452 diva_os_malloc(0, a->xdi_mbox.data_length); in diva_bri_cmd_card_proc()
Ddebug.c474 pmsg->data_length = len + 1; in DI_register()
546 pmsg->data_length = len + 1; in DI_deregister()
632 pmsg->data_length = length; in DI_format()
670 pmsg->data_length = length; in DI_format()
711 pmsg->data_length = length - sizeof(*pmsg); in DI_format()
713 memcpy(&pmsg[1], fmtBuf, pmsg->data_length); in DI_format()
733 int diva_get_driver_info(dword id, byte *data, int data_length) { in diva_get_driver_info() argument
738 if (!data || !id || (data_length < 17) || in diva_get_driver_info()
757 data_length -= 9; in diva_get_driver_info()
759 if ((to_copy = min(strlen(clients[id].drvName), (size_t)(data_length - 1)))) { in diva_get_driver_info()
[all …]
/linux-3.4.99/drivers/target/tcm_fc/
Dtfc_io.c90 remaining = se_cmd->data_length; in ft_queue_data_in()
261 if (rel_off >= se_cmd->data_length) in ft_recv_write_data()
263 if (frame_len + rel_off > se_cmd->data_length) in ft_recv_write_data()
264 frame_len = se_cmd->data_length - rel_off; in ft_recv_write_data()
310 if (cmd->write_data_len == se_cmd->data_length) in ft_recv_write_data()
/linux-3.4.99/drivers/net/wireless/rt2x00/
Drt2x00mac.c39 unsigned int data_length; in rt2x00mac_tx_rts_cts() local
43 data_length = sizeof(struct ieee80211_cts); in rt2x00mac_tx_rts_cts()
45 data_length = sizeof(struct ieee80211_rts); in rt2x00mac_tx_rts_cts()
47 skb = dev_alloc_skb(data_length + rt2x00dev->hw->extra_tx_headroom); in rt2x00mac_tx_rts_cts()
54 skb_put(skb, data_length); in rt2x00mac_tx_rts_cts()
82 data_length += rt2x00crypto_tx_overhead(rt2x00dev, skb); in rt2x00mac_tx_rts_cts()
86 frag_skb->data, data_length, tx_info, in rt2x00mac_tx_rts_cts()
90 frag_skb->data, data_length, tx_info, in rt2x00mac_tx_rts_cts()
Drt2x00dump.h115 __le32 data_length; member
/linux-3.4.99/drivers/firewire/
Dcore-transaction.c635 int tcode, ext_tcode, data_length; in fw_get_response_length() local
648 data_length = HEADER_GET_DATA_LENGTH(r->request_header[3]); in fw_get_response_length()
649 return data_length; in fw_get_response_length()
653 data_length = HEADER_GET_DATA_LENGTH(r->request_header[3]); in fw_get_response_length()
657 return data_length; in fw_get_response_length()
659 return data_length / 2; in fw_get_response_length()
929 size_t data_length; in fw_core_handle_response() local
966 data_length = 4; in fw_core_handle_response()
971 data_length = 0; in fw_core_handle_response()
977 data_length = HEADER_GET_DATA_LENGTH(p->header[3]); in fw_core_handle_response()
[all …]
/linux-3.4.99/drivers/acpi/apei/
Dcper.c359 data_len = estatus->data_length; in apei_estatus_print()
373 if (estatus->data_length && in apei_estatus_check_header()
374 estatus->data_length < sizeof(struct acpi_hest_generic_data)) in apei_estatus_check_header()
377 estatus->raw_data_offset < sizeof(*estatus) + estatus->data_length) in apei_estatus_check_header()
393 data_len = estatus->data_length; in apei_estatus_check()
Dapei-internal.h126 (void *)section - (void *)estatus < estatus->data_length; \
135 return sizeof(*estatus) + estatus->data_length; in apei_estatus_len()
/linux-3.4.99/drivers/usb/image/
Dmicrotek.c192 … 0x%x data-length = 0x%x sent = 0x%x\n",transfer->status,(int)context->data_length, (int)transfer-…
443 if ( context->data_length != transfer->actual_length ) { in mts_data_done()
444 scsi_set_resid(context->srb, context->data_length - in mts_data_done()
480 context->data_length, in mts_command_done()
486 context->data_length, in mts_command_done()
545 desc->context.data_length = 0; in mts_build_transfer_context()
550 desc->context.data_length = sg[0].length; in mts_build_transfer_context()
/linux-3.4.99/drivers/target/
Dtarget_core_cdb.c621 if (cmd->data_length < SE_INQUIRY_BUF && in target_emulate_inquiry()
665 memcpy(map_buf, buf, cmd->data_length); in target_emulate_inquiry()
929 if ((offset + 2) > cmd->data_length) in target_emulate_modesense()
930 offset = cmd->data_length; in target_emulate_modesense()
945 if ((offset + 1) > cmd->data_length) in target_emulate_modesense()
946 offset = cmd->data_length; in target_emulate_modesense()
982 if (cmd->data_length < 18) { in target_emulate_request_sense()
1000 if (cmd->data_length < 18) { in target_emulate_request_sense()
1029 int size = cmd->data_length; in target_emulate_unmap()
/linux-3.4.99/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h333 u32 data_length; member
383 u32 data_length; member
802 u32 data_length; member
915 u32 data_length; member
987 u32 data_length; member
1099 u32 data_length; member
1156 u32 data_length; member
1234 u32 data_length; member
1272 u32 data_length; member
1335 u32 data_length; member
[all …]
/linux-3.4.99/drivers/scsi/
Dlibiscsi_tcp.c566 r2t->data_length = be32_to_cpu(rhdr->data_length); in iscsi_tcp_r2t_rsp()
567 if (r2t->data_length == 0) { in iscsi_tcp_r2t_rsp()
575 if (r2t->data_length > session->max_burst) in iscsi_tcp_r2t_rsp()
578 r2t->data_length, session->max_burst); in iscsi_tcp_r2t_rsp()
581 if (r2t->data_offset + r2t->data_length > scsi_out(task->sc)->length) { in iscsi_tcp_r2t_rsp()
584 "and total length %d\n", r2t->data_length, in iscsi_tcp_r2t_rsp()
972 task->itt, task->imm_count, task->unsol_r2t.data_length); in iscsi_tcp_task_init()
995 if (r2t->data_length <= r2t->sent) { in iscsi_tcp_get_curr_r2t()
/linux-3.4.99/drivers/usb/serial/
Dgarmin_gps.c288 unsigned char *data, unsigned int data_length) in pkt_add() argument
296 if (data_length) { in pkt_add()
297 pkt = kmalloc(sizeof(struct garmin_packet)+data_length, in pkt_add()
303 pkt->size = data_length; in pkt_add()
304 memcpy(pkt->data, data, data_length); in pkt_add()
315 __func__, pkt->seq, data_length); in pkt_add()
1177 unsigned char *data, unsigned data_length, in garmin_read_process() argument
1192 pkt_add(garmin_data_p, data, data_length); in garmin_read_process()
1201 pkt_add(garmin_data_p, data, data_length); in garmin_read_process()
1204 data_length); in garmin_read_process()
Dsymbolserial.c55 int data_length; in symbol_int_callback() local
80 data_length = urb->actual_length - 1; in symbol_int_callback()
92 tty_insert_flip_string(tty, &data[1], data_length); in symbol_int_callback()

123