Home
last modified time | relevance | path

Searched refs:state (Results 126 – 150 of 1706) sorted by relevance

12345678910>>...69

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_param_filter.c64 struct smatch_state *state; in unmatched_state() local
70 if (state) in unmatched_state()
71 return state; in unmatched_state()
80 if (estate_rl(other->state)) in pre_merge_hook()
88 if (rl_equiv(rl, estate_rl(cur->state))) in pre_merge_hook()
143 if (is_whole_rl(estate_rl(sm->state))) in print_one_mod_param()
145 if (!estate_rl(sm->state)) { in print_one_mod_param()
188 struct smatch_state *state; in param_has_filter_data() local
190 state = get_state(my_id, sm->name, sm->sym); in param_has_filter_data()
191 if (!state) { in param_has_filter_data()
[all …]
H A Dsmatch_equiv.c136 FOR_EACH_PTR(estate_related(state), tmp) { in del_related()
148 struct smatch_state *state; in remove_from_equiv() local
152 if (!orig_sm || !get_dinfo(orig_sm->state)->related) in remove_from_equiv()
155 state = clone_estate(orig_sm->state); in remove_from_equiv()
156 to_update = del_related(state, name, sym); in remove_from_equiv()
166 get_dinfo(new_sm->state)->related = to_update; in remove_from_equiv()
227 left_sm->state = clone_estate_cast(get_type(left), right_sm->state); in set_equiv()
236 other_sm->state = clone_estate_cast(get_type(left), left_sm->state); in set_equiv()
254 new_sm->state = clone_estate(old_sm->state); in set_equiv()
255 get_dinfo(new_sm->state)->related = rlist; in set_equiv()
[all …]
H A Dcheck_spectre_second_half.c66 struct smatch_state *state; in match_assign() local
71 state = get_spectre_first_half(expr->right); in match_assign()
72 if (state) { in match_assign()
73 set_state_expr(my_id, expr->left, state); in match_assign()
77 state = get_state_expr(my_id, expr->right); in match_assign()
78 if (!state) in match_assign()
80 set_state_expr(my_id, expr->left, state); in match_assign()
86 struct smatch_state *state; in match_done() local
92 state = get_state_expr(my_id, expr); in match_done()
93 if (!state) in match_done()
[all …]
H A Dsmatch_comparison.c90 return state; in alloc_compare_state()
95 if (!state || !state->data) in state_to_comparison()
681 if (!state) in match_inc()
739 if (!state || !state->data) in match_dec()
994 if (!state || !state->data) in get_orig_comparison()
1047 if (!state || !state->data) in update_tf_links()
1129 if (state) in update_tf_data()
1133 if (state) in update_tf_data()
1616 if (!state || !state->data) in copy_comparisons()
1685 if (state) in get_comparison_strings()
[all …]
/illumos-gate/usr/src/cmd/dlstat/
H A Ddlstat.c592 if (state->hs_plot) { in show_history_time()
789 state.hs_ofmt = ofmt; in do_show_history()
1489 curr->dc_statentry, state->ls_unit, state->ls_parsable); in walk_dlstat_stats()
1631 show_state_t state; in do_show() local
1648 bzero(&state, sizeof (state)); in do_show()
1833 show_state_t state; in do_show_phys() local
1849 bzero(&state, sizeof (state)); in do_show_phys()
2012 show_state_t state; in do_show_link() local
2031 bzero(&state, sizeof (state)); in do_show_link()
2221 show_state_t state; in do_show_aggr() local
[all …]
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c3546 bzero(&state, sizeof (state)); in do_show_link()
3779 bzero(&state, sizeof (state)); in do_show_aggr()
4254 bzero(&state, sizeof (state)); in do_show_iptun()
4562 bzero(&state, sizeof (state)); in do_show_phys()
4682 bzero(&state, sizeof (state)); in do_show_vlan()
5262 bzero(&state, sizeof (state)); in do_show_vnic_common()
5680 bzero(&state, sizeof (state)); in do_show_simnet()
5825 bzero(&state, sizeof (state)); in vnic_stats()
7616 bzero(&state, sizeof (state)); in do_show_secobj()
7756 bzero(&state, sizeof (state)); in do_show_ether()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cfg.c204 hermon_cfg_profile_init_phase1(hermon_state_t *state) in hermon_cfg_profile_init_phase1() argument
251 hermon_check_iommu_bypass(state, cp); in hermon_cfg_profile_init_phase1()
260 state->hs_cfg_profile = cp; in hermon_cfg_profile_init_phase1()
270 hermon_cfg_profile_init_phase2(hermon_state_t *state) in hermon_cfg_profile_init_phase2() argument
279 devlim = &state->hs_devlim; in hermon_cfg_profile_init_phase2()
281 port = &state->hs_queryport; in hermon_cfg_profile_init_phase2()
284 cp = state->hs_cfg_profile; in hermon_cfg_profile_init_phase2()
375 hermon_cfg_wqe_sizes(state, cp); in hermon_cfg_profile_init_phase2()
406 hermon_cfg_profile_fini(hermon_state_t *state) in hermon_cfg_profile_fini() argument
482 hermon_dma_attr_init(state, &dma_attr); in hermon_check_iommu_bypass()
[all …]
H A Dhermon_umap.c134 hermon_state_t *state; in hermon_devmap() local
145 if (state == NULL) { in hermon_devmap()
458 hermon_state_t *state; in hermon_devmap_umem_map() local
470 if (state == NULL) { in hermon_devmap_umem_map()
599 hermon_state_t *state; in hermon_devmap_umem_dup() local
863 hermon_state_t *state; in hermon_devmap_dbrecmem_map() local
875 if (state == NULL) { in hermon_devmap_dbrecmem_map()
998 hermon_state_t *state; in hermon_devmap_dbrecmem_dup() local
1248 hermon_state_t *state; in hermon_devmap_devmem_map() local
1255 if (state == NULL) { in hermon_devmap_devmem_map()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/
H A Ddllcheck.c43 state.error = 1; in dllversion()
44 sfsprintf(state.errorbuf, sizeof(state.errorbuf), "plugin_version() not found"); in dllversion()
45 errorf("dll", NiL, 1, "dllversion: %s: %s", path, state.errorbuf); in dllversion()
62 state.error = 0; in dllcheck()
77 state.error = 1; in dllcheck()
78 …sfsprintf(state.errorbuf, sizeof(state.errorbuf), "plugin version %lu older than caller %lu", v, v… in dllcheck()
79 errorf("dll", NiL, 1, "dllcheck: %s: %s", path, state.errorbuf); in dllcheck()
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dasru.c49 char buf[32], state[32]; in asru_verb1() local
57 state[0] = '\0'; in asru_verb1()
60 (void) strcat(state, ",faulty"); in asru_verb1()
62 (void) strcat(state, ",unusable"); in asru_verb1()
64 (void) strcat(state, ",ok"); in asru_verb1()
67 fmdump_date(buf, sizeof (buf), rp), uuid, state + 1); in asru_verb1()
79 char buf[32], state[32]; in asru_verb23_cmn() local
87 state[0] = '\0'; in asru_verb23_cmn()
90 (void) strcat(state, ",faulty"); in asru_verb23_cmn()
92 (void) strcat(state, ",unusable"); in asru_verb23_cmn()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppexpr.c48 long state; in exists() local
51 state = (pp.state & ~DISABLE); in exists()
57 pp.state &= ~HEADER; in exists()
100 pp.state = state; in exists()
113 long state; in compare() local
117 state = (pp.state & ~DISABLE); in compare()
119 pp.state |= PASSEOF; in compare()
138 pp.state = state; in compare()
144 pp.state = state; in compare()
184 pp.state |= DISABLE; in predicate()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon.h150 #define HERMON_WARNING(state, string) \ argument
186 (state)->hs_ibtfpriv = (tmp_ibtfpriv);
190 (state)->hs_in_evcallb = 1; \
192 (state)->hs_in_evcallb = 0;
196 (state)->hs_in_evcallb = 1; \
198 (state)->hs_in_evcallb = 0;
200 #define HERMON_QUIESCE_IBTF_CALLB(state) \ argument
204 state->hs_ibtfpriv = NULL; \
340 #define HD_PRINT(state, mask) \ argument
341 if (state->hs_debug_lev & mask)
[all …]
H A Dhermon_fcoib.h80 int hermon_fcoib_set_id(hermon_state_t *state, int port, uint32_t rfci_qpn,
82 int hermon_fcoib_get_id_idx(hermon_state_t *state, int port,
84 int hermon_fcoib_check_exch_base_off(hermon_state_t *state, int port,
86 uint_t hermon_fcoib_qpnum_from_fexch(hermon_state_t *state, int port,
88 int hermon_fcoib_is_fexch_qpn(hermon_state_t *state, uint_t qpnum);
89 uint32_t hermon_fcoib_qpn_to_mkey(hermon_state_t *state, uint_t qpnum);
90 int hermon_fcoib_fexch_mkey_init(hermon_state_t *state, hermon_pdhdl_t pd,
92 int hermon_fcoib_fexch_mkey_fini(hermon_state_t *state, hermon_pdhdl_t pd,
94 uint32_t hermon_fcoib_fexch_relative_qpn(hermon_state_t *state, uint8_t port,
96 int hermon_fcoib_init(hermon_state_t *state);
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcf.c2678 state = fcftab->state; in emlxs_fc_fcftab_action()
2794 fcftab->state = state; in emlxs_fc_fcftab_state()
4790 fcftab->state = state; in emlxs_fcoe_fcftab_state()
7407 state = fcfp->state; in emlxs_fcfi_action()
7549 fcfp->state = state; in emlxs_fcfi_state()
9249 state = vfip->state; in emlxs_vfi_action()
9398 vfip->state = state; in emlxs_vfi_state()
11143 state = vpip->state; in emlxs_vpi_action()
11280 vpip->state = state; in emlxs_vpi_state()
13887 state = rpip->state; in emlxs_rpi_action()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c2180 } state; in parse_aliases() local
2190 state = AL_NEW; in parse_aliases()
2309 } state; in read_binding_file() local
2329 state = B_NEW; in read_binding_file()
2390 if ((state == B_BIND_NAME) || (state == B_VAL)) { in read_binding_file()
2711 if (state == DACF_COMMENT || state == DACF_BEGIN) { in read_dacf_binding_file()
2762 if ((state == DACF_BEGIN) || (state == DACF_ERR) || in read_dacf_binding_file()
2855 } state; in read_class_file() local
3079 } state; in process_rtc_config_file() local
3090 state = R_NEW; in process_rtc_config_file()
[all …]
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dnrform48 integer state, lsp, r
61 state = yybgin
63 state = state + 1
65 r = stoff(state)
67 z = sfall(state)
86 state = advan(t)
101 state = advan(t)
113 state = advan(t)
114 yylsta(lsp) = state
120 if (state > 0) state = sfall(state)
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/large_dnode/
H A Dlarge_dnode_003_pos.ksh49 state=$(zpool list -Ho feature@large_dnode $LDNPOOL)
50 if [[ "$state" != "enabled" ]]; then
51 log_fail "large_dnode has state $state (expected enabled)"
58 state=$(zpool list -Ho feature@large_dnode $LDNPOOL)
59 if [[ "$state" != "active" ]]; then
60 log_fail "large_dnode has state $state (expected active)"
65 state=$(zpool list -Ho feature@large_dnode $LDNPOOL)
66 if [[ "$state" != "enabled" ]]; then
67 log_fail "large_dnode has state $state (expected enabled)"
/illumos-gate/usr/src/psm/stand/lib/names/sparc/common/
H A Duname-i.c65 get_impl_arch_name(enum ia_state_mach *state, int use_default) in get_impl_arch_name() argument
76 switch (*state) { in get_impl_arch_name()
78 *state = STATE_COMPAT_INIT; in get_impl_arch_name()
90 *state = STATE_COMPAT; in get_impl_arch_name()
95 *state = STATE_DEFAULT; in get_impl_arch_name()
111 *state = STATE_DEFAULT; in get_impl_arch_name()
117 *state = STATE_FINI; in get_impl_arch_name()
159 enum ia_state_mach state = STATE_NAME; in find_platform_dir() local
164 while ((ia = get_impl_arch_name(&state, use_default)) != NULL) { in find_platform_dir()
189 enum ia_state_mach state = STATE_NAME; in open_platform_file() local
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg_lex.l61 state = TSTATE;
67 state = TSTATE;
73 state = TSTATE;
79 state = TSTATE;
86 state = TSTATE;
92 state = TSTATE;
98 state = TSTATE;
104 state = TSTATE;
110 state = TSTATE;
116 state = TSTATE;
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Doptjoin.c56 Optstate_t* state; in optjoin() local
65 state = optstate(&opt_info); in optjoin()
71 state->join = 0; in optjoin()
76 state->join++; in optjoin()
83 state->join = 0; in optjoin()
91 state->join = 0; in optjoin()
109 opt_info.index = state->pindex ? state->pindex : 1; in optjoin()
110 opt_info.offset = state->poffset; in optjoin()
118 state->join = 0; in optjoin()
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c421 bzero(&state, sizeof (state)); in do_remove_flow()
492 state->fs_tempop, state->fs_altroot); in remove_flow()
598 show_flow_state_t state; in do_show_flow() local
604 bzero(&state, sizeof (state)); in do_show_flow()
649 state.fs_ofmt = ofmt; in do_show_flow()
653 show_one_flow(&state, state.fs_flow); in do_show_flow()
1144 state.fs_line = NULL; in do_show_flowprop()
1150 state.fs_flow = NULL; in do_show_flowprop()
1193 state.fs_ofmt = ofmt; in do_show_flowprop()
1197 show_flowprop_one_flow(&state, state.fs_flow); in do_show_flowprop()
[all …]
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kgtstate.c67 t_kgetstate(TIUSER *tiptr, int *state) in t_kgetstate() argument
81 if (state == NULL) in t_kgetstate()
108 *state = T_UNBND; in t_kgetstate()
112 *state = T_IDLE; in t_kgetstate()
116 *state = T_INCON; in t_kgetstate()
120 *state = T_OUTCON; in t_kgetstate()
124 *state = T_DATAXFER; in t_kgetstate()
128 *state = T_OUTREL; in t_kgetstate()
132 *state = T_INREL; in t_kgetstate()
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcode.c283 if (FC_STATE_ACTIVE(st->state)) in fc_open()
286 st->state = FC_STATE_OPEN; in fc_open()
364 st->state = FC_STATE_INACTIVE; in fc_close()
396 st->state); in fc_read()
413 st->state = FC_STATE_READ_DONE; in fc_read()
635 st->state); in fc_run_priv()
791 st->state); in fc_validate()
814 st->state = FC_STATE_VALIDATED; in fc_validate()
843 st->state); in fc_get_fcode()
907 st->state); in fc_set_fcode_error()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor.h127 #define TAVOR_WARNING(state, string) \ argument
163 (state)->ts_ibtfpriv = (tmp_ibtfpriv);
167 (state)->ts_in_evcallb = 1; \
169 (state)->ts_in_evcallb = 0;
171 #define TAVOR_DO_IBTF_CQ_CALLB(state, cq) \ argument
173 (state)->ts_in_evcallb = 1; \
175 (state)->ts_in_evcallb = 0;
177 #define TAVOR_QUIESCE_IBTF_CALLB(state) \ argument
181 state->ts_ibtfpriv = NULL; \
182 while (((state)->ts_in_evcallb != 0) && \
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A DPservice.c89 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_pstop()
97 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_pcontinue()
110 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_lstop()
119 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_lcontinue()
127 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_lgetregs()
139 if (P->state != PS_STOP) in ps_lsetregs()
151 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_lgetfpregs()
163 if (P->state != PS_STOP) in ps_lsetfpregs()
221 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_lgetxregs()
242 if (P->state != PS_STOP) in ps_lsetxregs()
[all …]

12345678910>>...69