Home
last modified time | relevance | path

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

123

/linux-2.6.39/drivers/staging/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-2.6.39/drivers/target/
Dtarget_core_cdb.c75 if (cmd->data_length < 6) { in target_emulate_inquiry_std()
77 " too small for EVPD=0\n", cmd->data_length); in target_emulate_inquiry_std()
92 if (cmd->data_length < 8) { in target_emulate_inquiry_std()
103 if (cmd->data_length < 36) { in target_emulate_inquiry_std()
122 if (cmd->data_length < 8) in target_emulate_evpd_00()
158 if (((len + 4) + unit_serial_len) > cmd->data_length) { in target_emulate_evpd_80()
207 if (off + 20 > cmd->data_length) in target_emulate_evpd_83()
271 cmd->data_length) { in target_emulate_evpd_83()
310 if (((len + 4) + 8) > cmd->data_length) { in target_emulate_evpd_83()
342 if (((len + 4) + 8) > cmd->data_length) { in target_emulate_evpd_83()
[all …]
Dtarget_core_pr.c1537 if ((tpdl + 28) != cmd->data_length) { in core_scsi3_decode_spec_i_port()
1540 cmd->data_length); in core_scsi3_decode_spec_i_port()
1645 TPG_TFO(dest_tpg)->get_fabric_name(), cmd->data_length, in core_scsi3_decode_spec_i_port()
3372 if ((tid_len + 24) != cmd->data_length) { in core_scsi3_emulate_pro_register_and_move()
3375 cmd->data_length); in core_scsi3_emulate_pro_register_and_move()
3737 if (cmd->data_length < 24) { in core_scsi3_emulate_pr_out()
3739 " length too small: %u\n", cmd->data_length); in core_scsi3_emulate_pr_out()
3780 (cmd->data_length != 24)) { in core_scsi3_emulate_pr_out()
3782 " list length: %u\n", cmd->data_length); in core_scsi3_emulate_pr_out()
3836 if (cmd->data_length < 8) { in core_scsi3_pri_read_keys()
[all …]
/linux-2.6.39/drivers/media/dvb/firewire/
Dfiredtv-ci.c132 int data_length; in fdtv_ca_pmt() local
137 data_length = 0; in fdtv_ca_pmt()
139 data_length = (data_length << 8) + msg->msg[data_pos++]; in fdtv_ca_pmt()
141 data_length = msg->msg[3]; in fdtv_ca_pmt()
144 return avc_ca_pmt(fdtv, &msg->msg[data_pos], data_length) ? -EFAULT : 0; in fdtv_ca_pmt()
/linux-2.6.39/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-2.6.39/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 …]
Ddiva.c497 if (max_length < a->xdi_mbox.data_length) { in diva_xdi_read()
500 a->xdi_mbox.data_length)) in diva_xdi_read()
505 a->xdi_mbox.data_length); in diva_xdi_read()
648 a->xdi_mbox.data_length = sizeof(struct mi_pc_maint); in diva_card_read_xlog()
Dxdi_msg.h124 dword data_length; /* Plain binary data will follow */ member
/linux-2.6.39/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-2.6.39/drivers/firewire/
Dcore-transaction.c633 int tcode, ext_tcode, data_length; in fw_get_response_length() local
646 data_length = HEADER_GET_DATA_LENGTH(r->request_header[3]); in fw_get_response_length()
647 return data_length; in fw_get_response_length()
651 data_length = HEADER_GET_DATA_LENGTH(r->request_header[3]); in fw_get_response_length()
655 return data_length; in fw_get_response_length()
657 return data_length / 2; in fw_get_response_length()
937 size_t data_length; in fw_core_handle_response() local
974 data_length = 4; in fw_core_handle_response()
979 data_length = 0; in fw_core_handle_response()
985 data_length = HEADER_GET_DATA_LENGTH(p->header[3]); in fw_core_handle_response()
[all …]
/linux-2.6.39/drivers/acpi/apei/
Dcper.c359 data_len = estatus->data_length; in apei_estatus_print()
372 if (estatus->data_length && in apei_estatus_check_header()
373 estatus->data_length < sizeof(struct acpi_hest_generic_data)) in apei_estatus_check_header()
376 estatus->raw_data_offset < sizeof(*estatus) + estatus->data_length) in apei_estatus_check_header()
392 data_len = estatus->data_length; in apei_estatus_check()
Dapei-internal.h100 (void *)section - (void *)estatus < estatus->data_length; \
109 return sizeof(*estatus) + estatus->data_length; in apei_estatus_len()
/linux-2.6.39/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()
Dmicrotek.h21 unsigned data_length; member
/linux-2.6.39/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h333 u32 data_length; member
383 u32 data_length; member
798 u32 data_length; member
911 u32 data_length; member
983 u32 data_length; member
1095 u32 data_length; member
1152 u32 data_length; member
1230 u32 data_length; member
1268 u32 data_length; member
1331 u32 data_length; member
[all …]
/linux-2.6.39/drivers/scsi/
Dlibiscsi_tcp.c565 r2t->data_length = be32_to_cpu(rhdr->data_length); in iscsi_tcp_r2t_rsp()
566 if (r2t->data_length == 0) { in iscsi_tcp_r2t_rsp()
574 if (r2t->data_length > session->max_burst) in iscsi_tcp_r2t_rsp()
577 r2t->data_length, session->max_burst); in iscsi_tcp_r2t_rsp()
580 if (r2t->data_offset + r2t->data_length > scsi_out(task->sc)->length) { in iscsi_tcp_r2t_rsp()
583 "and total length %d\n", r2t->data_length, in iscsi_tcp_r2t_rsp()
971 task->itt, task->imm_count, task->unsol_r2t.data_length); in iscsi_tcp_task_init()
994 if (r2t->data_length <= r2t->sent) { in iscsi_tcp_get_curr_r2t()
/linux-2.6.39/drivers/usb/serial/
Dgarmin_gps.c289 unsigned char *data, unsigned int data_length) in pkt_add() argument
297 if (data_length) { in pkt_add()
298 pkt = kmalloc(sizeof(struct garmin_packet)+data_length, in pkt_add()
304 pkt->size = data_length; in pkt_add()
305 memcpy(pkt->data, data, data_length); in pkt_add()
316 __func__, pkt->seq, data_length); in pkt_add()
1181 unsigned char *data, unsigned data_length) in garmin_read_process() argument
1195 pkt_add(garmin_data_p, data, data_length); in garmin_read_process()
1203 pkt_add(garmin_data_p, data, data_length); in garmin_read_process()
1206 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()
/linux-2.6.39/fs/ntfs/
Dindex.c202 le16_to_cpu(ie->data.vi.data_length) > in ntfs_index_lookup()
219 ictx->data_len = le16_to_cpu(ie->data.vi.data_length); in ntfs_index_lookup()
369 le16_to_cpu(ie->data.vi.data_length) > in ntfs_index_lookup()

123