Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/avs/dscfglockd/
H A Ddscfgcli.c68 if (cfg_lock(cfg, CFG_WRLOCK) < 0) in test()
121 if (cfg_lock(cfg, CFG_WRLOCK) < 0) in cmd_loop()
/titanic_50/usr/src/cmd/avs/sv/
H A Dsvadm.c673 sv_cfg_open(CFG_WRLOCK); in enable_dev()
1107 sv_cfg_open(CFG_WRLOCK); in disable_sv()
1146 sv_cfg_open(CFG_WRLOCK); in disable_one_sv()
1347 sv_cfg_open(CFG_WRLOCK); in compare_sv()
1382 sv_cfg_open(CFG_WRLOCK); in compare_sv()
1405 sv_cfg_open(CFG_WRLOCK); in compare_one_sv()
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dscmadm.c206 if (mode != CFG_WRLOCK) { in convert_config()
208 if (!cfg_lock(cfg, CFG_WRLOCK)) { in convert_config()
214 mode = CFG_WRLOCK; in convert_config()
235 if (mode != CFG_WRLOCK) { in convert_config()
440 if (!cfg_lock(cfg, CFG_WRLOCK)) { in bitmapfs_delete()
576 if (!cfg_lock(cfg, CFG_WRLOCK)) { in configure_sdbc()
584 convert_config(cfg, CFG_WRLOCK); in configure_sdbc()
799 if (!cfg_lock(cfg, CFG_WRLOCK)) { in remove_hint()
864 if (!cfg_lock(cfg, CFG_WRLOCK)) { in save_hint()
/titanic_50/usr/src/lib/librdc/common/
H A Drdcpersist.c481 if ((cfg_lock(cfg, CFG_WRLOCK)) < 0) { in add_to_rdc_cfg()
548 cfg_lock(cfg, CFG_WRLOCK); in remove_from_rdc_cfg()
604 if ((cfg_lock(cfg, CFG_WRLOCK)) < 0) { in replace_cfgfield()
657 if ((cfg_lock(cfg, CFG_WRLOCK)) < 0) { in reverse_in_cfg()
/titanic_50/usr/src/lib/libdscfg/common/
H A Dcfg.h133 CFG_WRLOCK, enumerator
H A Dcfg_vols.c138 if (!cfg_lock(cfg, CFG_WRLOCK)) { in cfg_add_user()
316 if (!cfg_lock(cfg, CFG_WRLOCK)) { in cfg_rem_user()
1061 if (!cfg_lock(cfg, CFG_WRLOCK)) in sv_action()
H A Dcfg.c1692 mode = CFG_WRLOCK; in cfg_lock()
1695 if (mode == CFG_WRLOCK && (cfg->cf[0].cf_flag & CFG_RDONLY)) { in cfg_lock()
1703 if (mode != CFG_RDLOCK && mode != CFG_WRLOCK) in cfg_lock()
1707 if (mode == CFG_WRLOCK) in cfg_lock()
1745 if (mode == CFG_WRLOCK) in cfg_lock()
1799 if (mode == CFG_WRLOCK) { in cfg_lock()
2018 *lock = CFG_WRLOCK; in cfg_get_lock()
2026 *lock = CFG_WRLOCK; 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/nsctl/
H A Dnskernd.c343 if (!cfg_lock(cfg, CFG_WRLOCK)) { in log_iibmp_err()
370 while (!cfg_lock(cfg, CFG_WRLOCK)) in log_iibmp_err()
482 mode = CFG_WRLOCK; in _dolock()
/titanic_50/usr/src/cmd/avs/rdc/
H A Dsndrsyncd.c722 if (!cfg_lock(cfg, CFG_WRLOCK)) { in sync_complete()
967 if (!cfg_lock(cfg, CFG_WRLOCK)) { in sync_start()
1296 if (!cfg_lock(cfg, CFG_WRLOCK)) { in group_complete()
1424 if (!cfg_lock(cfg, CFG_WRLOCK)) { in group_start()
1613 if (!cfg_lock(cfg, CFG_WRLOCK)) { in group_start()
H A Dsndrboot.c694 if (!cfg_lock(cfg, CFG_WRLOCK)) in read_libcfg()
H A Dsndradm.c860 if (!cfg_lock(cfg, CFG_WRLOCK)) in rdc_ii_config()
938 if (!cfg_lock(cfg, CFG_WRLOCK)) in rdc_ii_config()
1294 if (!cfg_lock(cfg, CFG_WRLOCK)) in diskq_subcmd()
2856 if (!cfg_lock(cfg, CFG_WRLOCK))
3489 if (!cfg_lock(cfg, CFG_WRLOCK)) {
/titanic_50/usr/src/cmd/avs/dsw/
H A Diicpbmp.c98 if (!cfg_lock(cfg, CFG_WRLOCK)) { in iicpbmp_lintmain()
H A Diiboot.c338 while (!cfg_lock(cfg, CFG_WRLOCK)) in iiboot_lintmain()
410 while (!cfg_lock(cfg, CFG_WRLOCK)) in iiboot_lintmain()
H A Diicpshd.c318 if (!cfg_lock(cfg, CFG_WRLOCK)) { in update_dscfg()
H A Diiadm.c505 Jflg)? CFG_WRLOCK : CFG_RDLOCK; in iiadm_lintmain()
2130 if (!ii_lock(cfg, CFG_WRLOCK) ||
2276 if (!ii_lock(cfg, CFG_WRLOCK)) {
/titanic_50/usr/src/cmd/avs/dscfg/
H A Ddscfg.c714 if (!cfg_lock(cfg, CFG_WRLOCK)) {
814 if (!cfg_lock(cfg, mustcommit? CFG_WRLOCK : CFG_RDLOCK)) {
/titanic_50/usr/src/cmd/avs/ncall/
H A Dncalladm.c178 ncall_cfg_open(CFG_WRLOCK); in ncall_config()