Searched refs:N_SLOTS (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/ |
H A D | fasvar.h | 99 #define N_SLOTS (NTARGETS_WIDE*NLUNS_PER_TARGET) macro 365 struct f_slots *f_active[N_SLOTS]; /* outstanding cmds */ 367 struct fas_cmd *f_readyf[N_SLOTS]; /* waiting cmds */ 368 struct fas_cmd *f_readyb[N_SLOTS]; 381 short f_throttle[N_SLOTS]; 388 short f_tcmds[N_SLOTS]; 403 struct fas_cmd *f_arq_pkt[N_SLOTS]; 829 #define NEXTSLOT(slot, d) ((slot)+(d)) & ((N_SLOTS)-1)
|
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/ |
H A D | fas.c | 753 for (slot = 0; slot < N_SLOTS; slot += NLUNS_PER_TARGET) { in fas_attach() 770 fas_set_throttles(fas, 0, N_SLOTS, MAX_THROTTLE); in fas_attach() 1015 for (slot = 0; slot < N_SLOTS; slot++) { in fas_attach() 1228 for (slot = 0; slot < N_SLOTS; slot++) { in fas_dr_detach() 1364 fas_set_throttles(fas, 0, N_SLOTS, HOLD_THROTTLE); in fas_quiesce_bus() 1375 fas_set_throttles(fas, 0, N_SLOTS, MAX_THROTTLE); in fas_quiesce_bus() 1406 fas_set_throttles(fas, 0, N_SLOTS, MAX_THROTTLE); in fas_unquiesce_bus() 1436 fas_set_throttles(fas, 0, N_SLOTS, HOLD_THROTTLE); in fas_ncmds_checkdrain() 1454 for (slot = 0; slot < N_SLOTS; slot += d) in fas_check_outstanding() 6515 ASSERT((n == 1) || (n == N_SLOTS) || (n == NLUNS_PER_TARGET)); in fas_set_throttles() [all …]
|