Home
last modified time | relevance | path

Searched refs:MD_GBL_IOCTL_LOCK (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_subr.c526 if (!(global_locks_owned_mask & MD_GBL_IOCTL_LOCK)) { in md_global_lock_enter()
528 (md_status & MD_GBL_IOCTL_LOCK)) { in md_global_lock_enter()
534 md_status |= MD_GBL_IOCTL_LOCK; in md_global_lock_enter()
540 md_status &= ~MD_GBL_IOCTL_LOCK; in md_global_lock_enter()
566 if (!(global_locks_owned_mask & MD_GBL_IOCTL_LOCK)) { in md_global_lock_exit()
570 md_status &= ~MD_GBL_IOCTL_LOCK; in md_global_lock_exit()
603 return (md_global_lock_enter(~MD_GBL_IOCTL_LOCK)); in md_ioctl_lock_enter()
629 ret_val = md_global_lock_exit(~MD_GBL_IOCTL_LOCK, code, flags, ui); in md_ioctl_lock_exit()
837 (void) md_global_lock_exit(~MD_GBL_IOCTL_LOCK, code, flags, ui); in md_ioctl_releaselocks()
H A Dmd_ioctl.c2073 return (md_halt(MD_GBL_IOCTL_LOCK)); in md_base_ioctl()
H A Dmd_mddb.c6881 if (md_status & MD_GBL_IOCTL_LOCK) { in mddb_setexit()
/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmdvar.h445 #define MD_GBL_IOCTL_LOCK 0x0010 /* single-threads ioctls */ macro