Home
last modified time | relevance | path

Searched refs:oldstate (Results 1 – 21 of 21) sorted by relevance

/titanic_41/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_cpu_arch.c118 int oldstate; in cma_cpu_statechange() local
119 if ((oldstate = p_online(cpuid, cpustate)) != -1) { in cma_cpu_statechange()
121 "to \"%s\"\n", cpuid, p_online_state_fmt(oldstate), in cma_cpu_statechange()
/titanic_41/usr/src/cmd/mdb/common/modules/svc.configd/
H A Dconfigd.c105 char oldstate[20]; in configd_thread() local
134 enum_lookup(oldstate, sizeof (oldstate), thread_state_enum, in configd_thread()
136 make_lower(oldstate, sizeof (oldstate)); in configd_thread()
139 (void *)addr, t.ti_thread, state, oldstate, in configd_thread()
/titanic_41/usr/src/lib/libc/port/threads/
H A Dcancel.c92 pthread_setcancelstate(int state, int *oldstate) in pthread_setcancelstate() argument
134 if (oldstate != NULL) { in pthread_setcancelstate()
136 *oldstate = PTHREAD_CANCEL_DISABLE; in pthread_setcancelstate()
138 *oldstate = PTHREAD_CANCEL_ENABLE; in pthread_setcancelstate()
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dschg_mgr.c149 schg_execute_state_change_action(diskmon_t *diskp, hotplug_state_t oldstate, in schg_execute_state_change_action() argument
158 hotplug_state_string(oldstate), in schg_execute_state_change_action()
170 if ((oldstate == HPS_UNKNOWN || in schg_execute_state_change_action()
171 rulelist->strans.begin == oldstate) && in schg_execute_state_change_action()
196 hotplug_state_string(oldstate), in schg_execute_state_change_action()
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dbound.c95 DHCPSTATE oldstate; in dhcp_bound() local
111 oldstate = dsmp->dsm_state; in dhcp_bound()
112 switch (oldstate) { in dhcp_bound()
194 (oldstate == SELECTING || oldstate == INIT_REBOOT) && in dhcp_bound()
251 if (oldstate == REBINDING && dsmp->dsm_isv6 && in dhcp_bound()
322 DHCPSTATE oldstate; in dhcp_bound_complete() local
389 oldstate = dsmp->dsm_state; in dhcp_bound_complete()
411 if (oldstate != ADOPTING) { in dhcp_bound_complete()
H A Drenew.c161 DHCPSTATE oldstate; in dhcp_rebind() local
168 if ((oldstate = dsmp->dsm_state) == REBINDING) { in dhcp_rebind()
228 (void) set_smach_state(dsmp, oldstate); in dhcp_rebind()
H A Dagent.c1390 DHCPSTATE oldstate; in rtsock_event() local
1400 oldstate = dsmp->dsm_state; in rtsock_event()
1501 dhcp_state_to_string(oldstate)); in rtsock_event()
1502 if (oldstate == PRE_BOUND || in rtsock_event()
1503 oldstate == ADOPTING) in rtsock_event()
1505 if (oldstate == ADOPTING) in rtsock_event()
/titanic_41/usr/src/lib/libumem/common/
H A Dstub_stand.c71 pthread_setcancelstate(int state, int *oldstate) in pthread_setcancelstate() argument
/titanic_41/usr/src/uts/i86xpv/os/
H A Dmp_xen.c701 int oldstate; in vcpu_config_poweroff() local
721 &oldstate); in vcpu_config_poweroff()
802 int oldstate; in vcpu_config_poweron() local
827 return (p_online_internal(id, P_ONLINE, &oldstate)); in vcpu_config_poweron()
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp.c1237 int32_t oldstate; in tcp_closei_local() local
1327 oldstate = tcp->tcp_state; in tcp_closei_local()
1332 int32_t, oldstate); in tcp_closei_local()
1902 int32_t oldstate; in tcp_reinit() local
1993 oldstate = tcp->tcp_state; in tcp_reinit()
2041 int32_t, oldstate); in tcp_reinit()
3080 int32_t oldstate; in tcp_do_unbind() local
3106 oldstate = tcp->tcp_state; in tcp_do_unbind()
3110 int32_t, oldstate); in tcp_do_unbind()
4092 int32_t oldstate; in tcp_do_connect() local
[all …]
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_state.c622 rfs4_ss_oldstate(rfs4_oldstate_t *oldstate, char *statedir, char *destdir) in rfs4_ss_oldstate() argument
693 insque(cl_ss, oldstate); in rfs4_ss_oldstate()
742 os_head = sip->oldstate; in rfs4_dss_clear_oldstate()
777 char *state, *oldstate; in rfs4_dss_readstate() local
780 oldstate = kmem_alloc(MAXPATHLEN, KM_SLEEP); in rfs4_dss_readstate()
786 (void) sprintf(oldstate, "%s/%s", path, NFS4_DSS_OLDSTATE_LEAF); in rfs4_dss_readstate()
798 rfs4_ss_oldstate(rfs4_cur_servinst->oldstate, oldstate, NULL); in rfs4_dss_readstate()
799 rfs4_ss_oldstate(rfs4_cur_servinst->oldstate, state, oldstate); in rfs4_dss_readstate()
803 kmem_free(oldstate, MAXPATHLEN); in rfs4_dss_readstate()
851 os_head = sip->oldstate; in rfs4_ss_chkclid_sip()
[all …]
H A Dnfs4_srv.c730 rfs4_oldstate_t *oldstate; in rfs4_servinst_create() local
745 oldstate = kmem_alloc(sizeof (rfs4_oldstate_t), KM_SLEEP); in rfs4_servinst_create()
747 oldstate->next = oldstate; in rfs4_servinst_create()
748 oldstate->prev = oldstate; in rfs4_servinst_create()
749 sip->oldstate = oldstate; in rfs4_servinst_create()
793 if (sip->oldstate) in rfs4_servinst_destroy_all()
794 kmem_free(sip->oldstate, sizeof (rfs4_oldstate_t)); in rfs4_servinst_destroy_all()
/titanic_41/usr/src/uts/sun4u/io/
H A Dzuluvm.c296 tnf_int, oldstate, state, in zuluvm_tlb_handler()
397 tnf_int, oldstate, state, in zuluvm_tlb_handler()
448 /* */, tnf_int, oldstate, state, in zuluvm_load_tte()
1076 tnf_int, oldstate, state, in zuluvm_dma_alloc_ctx()
1251 tnf_int, oldstate, state, in zuluvm_dma_free_ctx()
/titanic_41/usr/src/uts/common/io/aggr/
H A Daggr_lacp.c536 lacp_periodic_state_t oldstate = portp->lp_lacp.sm.periodic_state; in lacp_periodic_sm() local
549 lacp_periodic_str[oldstate], in lacp_periodic_sm()
564 portp->lp_linkid, lacp_periodic_str[oldstate], in lacp_periodic_sm()
748 lacp_mux_state_t oldstate = pl->sm.mux_state; in lacp_mux_sm() local
824 portp->lp_linkid, lacp_mux_str[oldstate], in lacp_mux_sm()
2005 lacp_receive_state_t oldstate = pl->sm.receive_state; in lacp_receive_sm() local
2035 if (!((lacp && (oldstate == LACP_CURRENT) && in lacp_receive_sm()
2038 portp->lp_linkid, lacp_receive_str[oldstate], in lacp_receive_sm()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dccp.c409 int oldstate; local
414 oldstate = f->state;
416 if (oldstate == OPENED && p[0] == CODE_TERMREQ && f->state != OPENED)
423 if (oldstate == REQSENT && p[0] == CODE_TERMACK
/titanic_41/usr/src/lib/efcode/engine/
H A Ddebug.c487 clear_debug_state(fcode_env_t *env, int oldstate) in clear_debug_state() argument
489 if (ndebug_stack && oldstate <= ndebug_stack) { in clear_debug_state()
490 set_interpreter_debug_level(debug_prev_level[oldstate]); in clear_debug_state()
491 ndebug_stack = oldstate; in clear_debug_state()
/titanic_41/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c2949 char *oldstate; in sa_moveshare() local
2960 oldstate = sa_get_group_attr(parent, "state"); in sa_moveshare()
2961 if (oldstate != NULL) { in sa_moveshare()
2963 if (strcmp(oldstate, "enabled") == 0) in sa_moveshare()
2965 sa_free_attr_string(oldstate); in sa_moveshare()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Ddman.c5067 int oldstate; in man_linkcheck_timer() local
5099 newstate = oldstate = mdp->md_linkstate; in man_linkcheck_timer()
5149 switch (oldstate) { in man_linkcheck_timer()
5171 if (oldstate != MAN_LINKFAIL) { in man_linkcheck_timer()
5180 " state %d", oldstate); in man_linkcheck_timer()
5185 if (oldstate != newstate) { in man_linkcheck_timer()
5188 " link state %s -> %s", lss[oldstate], in man_linkcheck_timer()
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs4.h350 rfs4_oldstate_t *oldstate; member
/titanic_41/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c209 const char *newstate, const char *oldstate, hrtime_t when, void *p);
6039 char *oldstate; in do_callback() local
6058 (nvlist_lookup_string(l, ZONE_CB_OLDSTATE, &oldstate) in do_callback()
6064 oldstate, when, zevtchan->zn_private); in do_callback()
6204 const char *newstate, const char *oldstate, hrtime_t when, void *p), in zonecfg_notify_bind() argument
/titanic_41/usr/src/uts/common/io/rsm/
H A Drsm.c1742 rsmsharecv_signal(rsmseg_t *seg, int oldstate, int newstate) in rsmsharecv_signal() argument
1746 if (seg->s_share->rsmsi_state == oldstate) { in rsmsharecv_signal()