Home
last modified time | relevance | path

Searched refs:bstate (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/bnu/
H A Dpk0.c396 char bstate; local
412 bstate = pk->p_os[x];
419 if (pk->p_msg & ~M_RR || !(bstate&B_READY) ) {
463 if (bstate & (B_READY|B_SENT)) {
466 bstate |= B_SENT;
471 if (bstate & B_SHORT)
474 pk->p_os[seq] = bstate;
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_list.c604 struct bus_state bstate = {0}; in do_stat_bus() local
616 ret = walk_tree(lap->apidp->hba_phys, &bstate, DINFOPROP, &u, in do_stat_bus()
619 lap->hba_rstate = bus_devinfo_to_recep_state(bstate.b_state); in do_stat_bus()
646 (bstate.b_retired) ? CFGA_COND_FAILED : CFGA_COND_UNKNOWN; in do_stat_bus()
651 if (bstate.iconnect_type) { in do_stat_bus()
656 if (strcmp(bstate.iconnect_type, "SPI") == 0) { in do_stat_bus()
660 for (i = 0; i < strlen(bstate.iconnect_type); i++) { in do_stat_bus()
662 tolower(bstate.iconnect_type[i]); in do_stat_bus()
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_bits.c243 struct smatch_state *bstate; in get_bit_info() local
280 bstate = get_state_expr(my_id, expr); in get_bit_info()
281 if (bstate) in get_bit_info()
282 bit_info = bstate->data; in get_bit_info()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c160 bls_state(bridge_state_t bstate) in bls_state() argument
162 switch (bstate) { in bls_state()
/illumos-gate/usr/src/contrib/zlib/
H A Ddeflate.c1039 block_state bstate; local
1041 bstate = s->level == 0 ? deflate_stored(s, flush) :
1046 if (bstate == finish_started || bstate == finish_done) {
1049 if (bstate == need_more || bstate == finish_started) {
1062 if (bstate == block_done) {
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c1195 block_state bstate; local
1197 bstate = (*(configuration_table[s->level].func))(s, flush);
1199 if (bstate == finish_started || bstate == finish_done) {
1202 if (bstate == need_more || bstate == finish_started) {
1219 if (bstate == block_done) {
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd.c796 sbd_istate_t bstate; in sbd_get_devtype() local
804 bstate = sbp ? SBD_BOARD_STATE(sbp) : SBD_STATE_EMPTY; in sbd_get_devtype()
809 switch (bstate) { in sbd_get_devtype()
3698 sbd_istate_t bstate; in sbd_post_detach_devlist() local
3778 bstate = SBD_BOARD_STATE(sbp); in sbd_post_detach_devlist()
3779 if (bstate != SBD_STATE_UNCONFIGURED) { in sbd_post_detach_devlist()
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr.c1941 dr_state_t bstate; in dr_detach_update_state() local
1964 bstate = bp->b_state; in dr_detach_update_state()
1965 if (bstate != DR_STATE_UNCONFIGURED) { in dr_detach_update_state()
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr.c1973 dr_state_t bstate; in dr_detach_update_state() local
1996 bstate = bp->b_state; in dr_detach_update_state()
1997 if (bstate != DR_STATE_UNCONFIGURED) { in dr_detach_update_state()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c6038 EXT_BEACON_CONTROL bstate; in ql_set_led_state() local
6061 rval = ddi_copyin((void*)(uintptr_t)cmd->RequestAdr, &bstate, in ql_set_led_state()
6070 switch (bstate.State) { in ql_set_led_state()
6090 bstate.State); in ql_set_led_state()
6124 bstate.State); in ql_set_led_state()
6145 EL(ha, "failed, unknown state request %xh\n", bstate.State); in ql_set_led_state()
6170 EXT_BEACON_CONTROL bstate = {0}; in ql_get_led_state() local
6200 bstate.State = ha->ledstate.BeaconState; in ql_get_led_state()
6202 rval = ddi_copyout((void *)&bstate, in ql_get_led_state()