Lines Matching refs:bpt
235 int bpt; member
2197 int bpt = DEF_BLOCKS_PER_TRANSFER; in do_scsi_device_read_write() local
2275 t = bs * bpt; in do_scsi_device_read_write()
2337 t = bs * bpt; in do_scsi_device_read_write()
2456 wrkBuff = malloc(bs * bpt + psz); in do_scsi_device_read_write()
2464 wrkBuff = malloc(bs * bpt); in do_scsi_device_read_write()
2472 blocks_per = bpt; in do_scsi_device_read_write()
6279 int bpt = DEF_BLOCKS_PER_TRANSFER; in do_scsi_sgm_read_write() local
6336 in_res_sz = bs * bpt; in do_scsi_sgm_read_write()
6401 out_res_sz = bs * bpt; in do_scsi_sgm_read_write()
6564 wrkBuff = malloc(bs * bpt + psz); in do_scsi_sgm_read_write()
6574 wrkBuff = malloc(bs * bpt); in do_scsi_sgm_read_write()
6583 blocks_per = bpt; in do_scsi_sgm_read_write()
6807 int sz = clp->bpt * clp->bs; in read_write_thread()
6841 blocks = (clp->in_count > clp->bpt) ? clp->bpt : clp->in_count; in read_write_thread()
7256 int sg_prepare(int fd, int bs, int bpt, int *scsi_typep) in sg_prepare() argument
7266 t = bs * bpt; in sg_prepare()
7308 rcoll.bpt = DEF_BLOCKS_PER_TRANSFER; in do_scsi_sgp_read_write()
7344 if (sg_prepare(rcoll.infd, rcoll.bs, rcoll.bpt, in do_scsi_sgp_read_write()
7386 if (sg_prepare(rcoll.outfd, rcoll.bs, rcoll.bpt, in do_scsi_sgp_read_write()