Home
last modified time | relevance | path

Searched refs:CFG_RDLOCK (Results 1 – 17 of 17) sorted by relevance

/titanic_50/usr/src/cmd/avs/dscfglockd/
H A Ddscfgcli.c52 if (cfg_lock(cfg, CFG_RDLOCK) < 0) in test()
60 if (cfg_lock(cfg, CFG_RDLOCK) < 0) in test()
107 if (cfg_lock(cfg, CFG_RDLOCK) < 0) in cmd_loop()
/titanic_50/usr/src/lib/libdscfg/common/
H A Dcfg.h132 CFG_RDLOCK, enumerator
H A Dcfg.c1703 if (mode != CFG_RDLOCK && mode != CFG_WRLOCK) in cfg_lock()
1721 (mode == CFG_RDLOCK))) { in cfg_lock()
1724 lk.l_type = (mode == CFG_RDLOCK ? F_RDLCK : F_WRLCK); in cfg_lock()
2015 *lock = CFG_RDLOCK; in cfg_get_lock()
2032 *lock = CFG_RDLOCK; in cfg_get_lock()
2054 *lock = lk.l_type == F_WRLCK ? CFG_WRLOCK : CFG_RDLOCK; in cfg_get_lock()
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dscmadm.c283 if (!cfg_lock(cfg, CFG_RDLOCK)) { in restore_hints()
393 if (!cfg_lock(cfg, CFG_RDLOCK)) { in bitmapfs_print()
544 if (!cfg_lock(cfg, CFG_RDLOCK)) { in configure_sdbc()
552 convert_config(cfg, CFG_RDLOCK); in configure_sdbc()
1506 if (!cfg_lock(cfg, CFG_RDLOCK)) {
1512 convert_config(cfg, CFG_RDLOCK);
/titanic_50/usr/src/cmd/avs/dsw/
H A Diiboot.c473 if (!cfg_lock(cfg, CFG_RDLOCK)) { in read_resume_cfg()
576 if (!cfg_lock(cfg, CFG_RDLOCK)) { in read_suspend_cfg()
H A Diicpshd.c253 if (!cfg_lock(cfg, CFG_RDLOCK)) { in find_cfg_info()
H A Diiadm.c505 Jflg)? CFG_WRLOCK : CFG_RDLOCK; in iiadm_lintmain()
2177 if (unlocked && !ii_lock(cfg, CFG_RDLOCK)) {
2200 if (!ii_lock(cfg, CFG_RDLOCK)) {
2969 if (unlocked && !ii_lock(cfg, CFG_RDLOCK)) {
/titanic_50/usr/src/cmd/avs/dscfg/
H A Ddscfg.c296 lock == CFG_RDLOCK ? in dump_lockstat()
814 if (!cfg_lock(cfg, mustcommit? CFG_WRLOCK : CFG_RDLOCK)) {
/titanic_50/usr/src/cmd/avs/rdc/
H A Dsndrsubr.c376 if (!cfg_lock(cfg, CFG_RDLOCK)) { in get_cfg_setid()
H A Dsndrsyncd.c416 if (!cfg_lock(cfg, CFG_RDLOCK)) { in rdc_sync()
800 if (!cfg_lock(cfg, CFG_RDLOCK)) { in sync_start()
1207 if (!cfg_lock(cfg, CFG_RDLOCK)) { in group_complete()
H A Dsndradm.c273 if (!cfg_lock(cfg, CFG_RDLOCK)) in rdc_print()
689 if (!cfg_lock(cfg, CFG_RDLOCK)) in check_diskqueue()
1077 if (!cfg_lock(cfg, CFG_RDLOCK)) in check_rdcbitmap()
1683 if (!cfg_lock(cfg, CFG_RDLOCK)) in check_rdcsecondary()
2323 if (!cfg_lock(cfg, CFG_RDLOCK))
2502 if (!cfg_lock(cfg, CFG_RDLOCK)) {
2746 if (!cfg_lock(cfg, CFG_RDLOCK))
3729 if (!cfg_lock(cfg, CFG_RDLOCK)) {
5093 if (!cfg_lock(cfg, CFG_RDLOCK))
H A Dsndrboot.c698 if (!cfg_lock(cfg, CFG_RDLOCK)) in read_libcfg()
/titanic_50/usr/src/cmd/avs/ncall/
H A Dncalladm.c134 ncall_cfg_open(CFG_RDLOCK); in get_nodeid_from_cfg()
/titanic_50/usr/src/cmd/avs/sv/
H A Dsvboot.c391 if (!cfg_lock(cfg, CFG_RDLOCK)) { in read_libcfg()
H A Dsvadm.c983 sv_cfg_open(CFG_RDLOCK); in print_sv()
/titanic_50/usr/src/lib/librdc/common/
H A Drdcrules.c102 if (!cfg_lock(cfg, CFG_RDLOCK)) { in bitmap_in_use()
/titanic_50/usr/src/cmd/avs/nsctl/
H A Dnskernd.c480 mode = CFG_RDLOCK; in _dolock()