Home
last modified time | relevance | path

Searched refs:bufflen (Results 1 – 25 of 30) sorted by relevance

12

/linux-2.4.37.9/drivers/scsi/
Dscsi_debug.c140 int bufflen, struct sdebug_dev_info * devip);
142 unsigned char * buff, int bufflen,
149 int bufflen, struct sdebug_dev_info * devip);
177 int bufflen = SCpnt->request_bufflen; in scsi_debug_queuecommand() local
190 bufflen = sgpnt[0].length; in scsi_debug_queuecommand()
197 bufflen = SDEBUG_SENSE_LEN; in scsi_debug_queuecommand()
235 errsts = resp_inquiry(cmd, target, buff, bufflen, devip); in scsi_debug_queuecommand()
244 memcpy(buff, sbuff, (bufflen < SDEBUG_SENSE_LEN) ? in scsi_debug_queuecommand()
245 bufflen : SDEBUG_SENSE_LEN); in scsi_debug_queuecommand()
248 memset(buff, 0, bufflen); in scsi_debug_queuecommand()
[all …]
Dscsi_lib.c200 SCpnt->bufflen = SCpnt->request_bufflen; in scsi_init_cmd_errh()
527 SCpnt->bufflen = 0; in scsi_release_buffers()
553 int this_count = SCpnt->bufflen >> 9; in scsi_io_completion()
603 memcpy(req->buffer, SCpnt->buffer, SCpnt->bufflen); in scsi_io_completion()
604 scsi_free(SCpnt->buffer, SCpnt->bufflen); in scsi_io_completion()
613 SCpnt->bufflen = 0; in scsi_io_completion()
Dsg.c141 unsigned bufflen; /* Size of (aggregate) data buffer */ member
626 if (hp->dxfer_len > sfp->reserve.bufflen) { in sg_new_write()
714 SRpnt->sr_bufflen = srp->data.bufflen; in sg_common_write()
730 srp->data.bufflen = 0; in sg_common_write()
818 val = (int)sfp->reserve.bufflen; in sg_ioctl()
886 if (val != sfp->reserve.bufflen) { in sg_ioctl()
894 val = (int)sfp->reserve.bufflen; in sg_ioctl()
1094 for (m = PAGE_SIZE; m < rsv_schp->bufflen; m += PAGE_SIZE) { in sg_rb_correct4mmap()
1120 if (offset >= rsv_schp->bufflen) in sg_vma_nopage()
1169 if (req_sz > rsv_schp->bufflen) in sg_mmap()
[all …]
Daha1740.c313 int bufflen = SCpnt->request_bufflen; in aha1740_queuecommand() local
323 if (bufflen != sizeof(SCpnt->sense_buffer)) in aha1740_queuecommand()
326 bufflen); in aha1740_queuecommand()
342 target, *cmd, i, bufflen); in aha1740_queuecommand()
413 host->ecb[ecbno].datalen = bufflen; in aha1740_queuecommand()
Dscsi.c492 SCpnt->bufflen = 0; in scsi_allocate_device()
686 SCpnt->buffer, SCpnt->bufflen, SCpnt->done)); in scsi_dispatch_cmd()
777 void *buffer, unsigned bufflen, in scsi_wait_req() argument
786 buffer, bufflen, scsi_wait_done, timeout, retries); in scsi_wait_req()
825 void *buffer, unsigned bufflen, void (*done) (Scsi_Cmnd *), in scsi_do_req() argument
842 bufflen, done, timeout, retries); in scsi_do_req()
881 SRpnt->sr_bufflen = bufflen; in scsi_do_req()
947 SCpnt->bufflen = SRpnt->sr_bufflen; in scsi_init_cmd_from_req()
1013 void *buffer, unsigned bufflen, void (*done) (Scsi_Cmnd *), in scsi_do_cmd() argument
1032 bufflen, done, timeout, retries); in scsi_do_cmd()
[all …]
Dscsi.h489 void *buffer, unsigned bufflen,
500 void *buffer, unsigned bufflen,
504 void *buffer, unsigned bufflen,
753 unsigned bufflen; /* Size of data buffer */ member
Dgdth_proc.c847 unsigned bufflen; in gdth_do_req() local
852 bufflen = sizeof(gdth_cmd_str); in gdth_do_req()
854 bufflen = 0; in gdth_do_req()
858 scsi_do_req(scp, cmnd, gdtcmd, bufflen, gdth_scsi_done, timeout*HZ, 1); in gdth_do_req()
866 unsigned bufflen; in gdth_do_cmd() local
878 bufflen = sizeof(gdth_cmd_str); in gdth_do_cmd()
881 bufflen = 0; in gdth_do_cmd()
886 scsi_do_cmd(scp, cmnd, gdtcmd, bufflen, gdth_scsi_done, timeout*HZ, 1); in gdth_do_cmd()
891 scsi_do_cmd(scp, cmnd, gdtcmd, bufflen, gdth_scsi_done, timeout*HZ, 1); in gdth_do_cmd()
894 scsi_do_cmd(scp, cmnd, gdtcmd, bufflen, gdth_scsi_done, timeout*HZ, 1); in gdth_do_cmd()
Daha1542.c604 int bufflen = SCpnt->request_bufflen; in aha1542_queuecommand() local
625 if (bufflen != sizeof(SCpnt->sense_buffer)) in aha1542_queuecommand()
627 "for request sense (%d)\n", bufflen); in aha1542_queuecommand()
641 …rintk(KERN_DEBUG "aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); in aha1542_queuecommand()
643 printk(KERN_DEBUG "aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); in aha1542_queuecommand()
740 any2scsi(ccb[mbo].datalen, bufflen); in aha1542_queuecommand()
741 if (buff && SCSI_PA(buff + bufflen - 1) > ISA_DMA_THRESHOLD) in aha1542_queuecommand()
742 BAD_DMA(buff, bufflen); in aha1542_queuecommand()
Dscsi_error.c379 SCpnt->request_bufflen = SCpnt->bufflen; in scsi_eh_retry_command()
468 SCpnt->request_bufflen = SCpnt->bufflen; in scsi_request_sense()
522 SCpnt->request_bufflen = SCpnt->bufflen; in scsi_test_unit_ready()
Dpluto.c166 SCpnt->bufflen = 256; in pluto_detect()
Dseagate.c231 void *buff, int bufflen, int reselect);
755 const void *cmnd, void *buff, int bufflen, int reselect) in internal_command() argument
Dlibata-scsi.c2101 qc->nbytes = cmd->bufflen; in atapi_xlat()
2287 qc->nsect = cmd->bufflen / ATA_SECT_SIZE; in ata_scsi_pass_thru()
Dscsi_obsolete.c653 SCpnt->request_bufflen = SCpnt->bufflen; in scsi_old_done()
Dsr.c197 int this_count = SCpnt->bufflen >> 9; in rw_intr()
Dfd_mcs.c531 SCinit.request_bufflen = SCinit.bufflen = sizeof(buf)-1; in fd_mcs_detect()
Dfdomain.c1022 SCinit.request_bufflen = SCinit.bufflen = sizeof(buf)-1; in fdomain_16x0_detect()
Dsd.c603 int this_count = SCpnt->bufflen >> 9; in rw_intr()
DcpqfcTSinit.c1015 …bufflen = 0x%X, ->use_sg = %d, ->bufflen = %d\n", cmd->request_bufflen, cmd->use_sg, cmd->bufflen); in cpqfcTS_print_scsi_cmd()
Dtmscsim.c2396 cmd->bufflen = 128; in dc390_inquiry()
2446 cmd->bufflen = 128; in dc390_sendstart()
/linux-2.4.37.9/drivers/net/
Daironet4500_rid.c2178 priv->rid_dir[0].bufflen = sizeof(priv->config); // card RID mirrors in awc_rids_setup()
2179 priv->rid_dir[1].bufflen = sizeof(priv->SSIDs); in awc_rids_setup()
2180 priv->rid_dir[2].bufflen = sizeof(priv->fixed_APs); in awc_rids_setup()
2181 priv->rid_dir[3].bufflen = sizeof(priv->driver_name); in awc_rids_setup()
2182 priv->rid_dir[4].bufflen = sizeof(priv->enc_trans); in awc_rids_setup()
2183 priv->rid_dir[5].bufflen = sizeof(priv->general_config); // in awc_rids_setup()
2184 priv->rid_dir[6].bufflen = sizeof(priv->capabilities); in awc_rids_setup()
2185 priv->rid_dir[7].bufflen = sizeof(priv->status); in awc_rids_setup()
2186 priv->rid_dir[8].bufflen = sizeof(priv->AP); in awc_rids_setup()
2187 priv->rid_dir[9].bufflen = sizeof(priv->statistics); in awc_rids_setup()
[all …]
Daironet4500_core.c779 rid->selector->selector,0, rid->bufflen,rid->buff); in awc_readrid_dir()
815 rid->selector->selector,0, rid->bufflen,((char *)rid->buff)); in awc_writerid_dir()
2726 priv->rid_dir[0].bufflen = sizeof(priv->config); // card RID mirrors in awc_init()
2727 priv->rid_dir[1].bufflen = sizeof(priv->SSIDs); in awc_init()
2728 priv->rid_dir[2].bufflen = sizeof(priv->fixed_APs); in awc_init()
2729 priv->rid_dir[3].bufflen = sizeof(priv->driver_name); in awc_init()
2730 priv->rid_dir[4].bufflen = sizeof(priv->enc_trans); in awc_init()
2731 priv->rid_dir[5].bufflen = sizeof(priv->general_config); // in awc_init()
2732 priv->rid_dir[6].bufflen = sizeof(priv->capabilities); in awc_init()
2733 priv->rid_dir[7].bufflen = sizeof(priv->status); in awc_init()
[all …]
/linux-2.4.37.9/drivers/usb/
Dmicrotek.c657 if ( !srb->bufflen ){ in mts_build_transfer_context()
663 desc->context.data_length = srb->bufflen; in mts_build_transfer_context()
665 srb->request_bufflen, srb->bufflen); in mts_build_transfer_context()
Dhpusbscsi.c381 if (!srb->bufflen) { in hpusbscsi_scsi_queuecommand()
638 hpusbscsi->srb->bufflen, in simple_payload_callback()
/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic7xxx_osm.h963 #define pci_map_single(pdev, buffer, bufflen, direction) \ argument
1087 if (scb->io_ctx->bufflen == 0) in ahc_get_transfer_dir()
Daic79xx_osm.h994 #define pci_map_single(pdev, buffer, bufflen, direction) \ argument
1118 if (scb->io_ctx->bufflen == 0) in ahd_get_transfer_dir()

12