Searched refs:cmd_count (Results 1 – 6 of 6) sorted by relevance
294 if (sp->cmd_count < 6) { in bsd_scsi_inq_page0()307 pkt->pkt_resid = sp->cmd_count - 6; in bsd_scsi_inq_page0()318 if (sp->cmd_count < 22) { in bsd_scsi_inq_page83()356 pkt->pkt_resid = sp->cmd_count - 22; in bsd_scsi_inq_page83()374 if (sp->cmd_count < sizeof (inq)) { in bsd_scsi_inquiry()417 pkt->pkt_resid = sp->cmd_count - sizeof (inq); in bsd_scsi_inquiry()534 if (sp->cmd_count < 9) { in bsd_scsi_log_sense()559 pkt->pkt_resid = sp->cmd_count - 9; in bsd_scsi_log_sense()642 "pc=%d n=%d\n", emul64_name, page_control, sp->cmd_count); in bsd_mode_sense_dad_mode_geometry()645 if (sp->cmd_count < (sizeof (header) + sizeof (page4))) { in bsd_mode_sense_dad_mode_geometry()[all …]
865 sp->cmd_count = bp->b_bcount; in emul64_scsi_init_pkt()
54 uint32_t cmd_count; /* b_bcount */ member
692 while (ip->cmd_count) { in iprb_cmd_reclaim()702 ip->cmd_count--; in iprb_cmd_reclaim()703 if (ip->cmd_count == 0) { in iprb_cmd_reclaim()716 if (ip->cmd_count == 0) in iprb_cmd_drain()731 ASSERT((ip->cmd_count) < NUM_TX); in iprb_cmd_submit()732 if (ip->cmd_count == (NUM_TX - 1)) { in iprb_cmd_submit()782 ip->cmd_count++; in iprb_cmd_submit()790 if (ip->cmd_count == NUM_TX) { in iprb_cmd_next()793 ASSERT(ip->cmd_count < NUM_TX); in iprb_cmd_next()
81 uint16_t cmd_count; member
2572 int cmd_count = 0; in mrsas_print_pending_cmds() local2616 if (++cmd_count == 1) { in mrsas_print_pending_cmds()