Home
last modified time | relevance | path

Searched refs:sm_state (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmd_mirror.h46 #define SMS_IS(sm, state) (((sm)->sm_state & (state)) != 0)
48 (((un)->un_sm[(index)].sm_state & (state)) != 0)
54 ((((un)->un_sm[(isubmirror)].sm_state & SMS_IGNORE) == 0) && \
55 ((un)->un_sm[(isubmirror)].sm_state & \
59 ((un)->un_sm[(isubmirror)].sm_state & \
129 sm_state_t sm_state; member
143 sm_state_t sm_state; member
H A Dmd_convert.h205 small_sm->sm_state = big_sm->sm_state; \
215 big_sm->sm_state = small_sm->sm_state; \
H A Dmdmn_commd.x348 sm_state_t sm_state[NMIRROR]; member
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mirror.c142 mdsp->state = mmsp->sm_state; in meta_get_mirror_common()
1007 char *sm_state; in mirror_report() local
1032 sm_state = sm_state_to_name(mdsp, status, &tv, in mirror_report()
1041 sm_state, timep) == EOF) { in mirror_report()
1195 char *sm_state; in mirror_report() local
1235 sm_state = sm_state_to_name(mdsp, status, &tv, NULL); in mirror_report()
1245 sm_state, timep) == EOF) { in mirror_report()
2426 mmsp->sm_state = SMS_RUNNING; in meta_create_mirror()
H A Dmeta_mn_handlers.c2025 res->sm_state[smi] = mmsp->sm_state; in mdmn_do_get_mirstate()
H A Dmeta_statconcise.c834 state = meta_get_sm_state(sm->sm_state); in process_mirror()
/titanic_41/usr/src/uts/intel/io/heci/
H A Dheci_main.c670 file_ext->sm_state = 0; in heci_open()
846 if ((file_ext->sm_state & HECI_WD_STATE_INDEPENDENCE_MSG_SENT) == 0) { in heci_read()
859 file_ext->sm_state &= ~HECI_WD_STATE_INDEPENDENCE_MSG_SENT; in heci_read()
1062 file_ext->sm_state = 0; in heci_write()
1068 file_ext->sm_state |= HECI_WD_STATE_INDEPENDENCE_MSG_SENT; in heci_write()
H A Dheci_data_structures.h478 int sm_state; member
/titanic_41/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_ioctl.c652 if (sm->sm_state & (SMS_OFFLINE | SMS_OFFLINE_RESYNC)) { in comp_replace()
1091 if (sm->sm_state == SMS_UNUSED) { in mirror_detach()
1117 if (sm->sm_state == SMS_UNUSED) { in mirror_detach()
1135 new_sm->sm_state = old_sm->sm_state; in mirror_detach()
2413 printf("curr state %4x, new state %4x\n", sm->sm_state, in mirror_get_status()
2414 res->sm_state[smi]); in mirror_get_status()
2419 sm->sm_state = res->sm_state[smi]; in mirror_get_status()
H A Dmirror.c295 sm->sm_state = newstate; in mirror_set_sm_state()
322 sm->sm_state = newstate; in mirror_set_sm_state()
1769 sm->sm_state &= ~SMS_IGNORE; in build_submirror()
2680 esm->sm_state |= SMS_IGNORE; in find_another_logical()
2699 esm->sm_state &= ~SMS_IGNORE; in find_another_logical()
3488 if (un->un_sm[i].sm_state & SMS_COMP_ERRED) { in mirror_map_write()
H A Dmirror_resync.c1167 rmsg->msg_sm_state[smi] = sm->sm_state; in send_mn_resync_next_message()
2427 sm->sm_state, in resync_unit()
/titanic_41/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcsm.h110 uint32_t sm_state; /* San Mgmt State information */ member
/titanic_41/usr/src/uts/common/klm/
H A Dnlm_impl.c641 int32_t sm_state; in nlm_resume_zone() local
665 stat = nlm_nsm_stat(&nsm, &sm_state); in nlm_resume_zone()
674 if (sm_state != hostp->nh_state) { in nlm_resume_zone()
683 nlm_host_notify_client(hostp, sm_state); in nlm_resume_zone()
684 nlm_host_notify_server(hostp, sm_state); in nlm_resume_zone()