/titanic_50/usr/src/cmd/avs/dscfglockd/ |
H A D | dscfgcli.c | 68 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 D | svadm.c | 673 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 D | scmadm.c | 206 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 D | rdcpersist.c | 481 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 D | cfg.h | 133 CFG_WRLOCK, enumerator
|
H A D | cfg_vols.c | 138 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 D | cfg.c | 1692 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 D | nskernd.c | 343 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 D | sndrsyncd.c | 722 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 D | sndrboot.c | 694 if (!cfg_lock(cfg, CFG_WRLOCK)) in read_libcfg()
|
H A D | sndradm.c | 860 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 D | iicpbmp.c | 98 if (!cfg_lock(cfg, CFG_WRLOCK)) { in iicpbmp_lintmain()
|
H A D | iiboot.c | 338 while (!cfg_lock(cfg, CFG_WRLOCK)) in iiboot_lintmain() 410 while (!cfg_lock(cfg, CFG_WRLOCK)) in iiboot_lintmain()
|
H A D | iicpshd.c | 318 if (!cfg_lock(cfg, CFG_WRLOCK)) { in update_dscfg()
|
H A D | iiadm.c | 505 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 D | dscfg.c | 714 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 D | ncalladm.c | 178 ncall_cfg_open(CFG_WRLOCK); in ncall_config()
|