Home
last modified time | relevance | path

Searched refs:lock_name (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dlockinst.c77 static char lock_name[PKGSIZ]; variable
127 (void) strlcpy(lock_name, LOCK_NAME_OLD_PKG, in rdlockdata()
128 sizeof (lock_name)); in rdlockdata()
140 lock_name, lock_pkg, lock_place, &lock_state); in rdlockdata()
215 logerr(gettext(MSG_WTFOR), lock_name, lock_pkg); in lockinst()
220 logerr(gettext(WRN_CLRLOCK), lock_name, in lockinst()
226 (void) strlcpy(lock_name, (util_name) ? in lockinst()
227 util_name : gettext("unknown"), sizeof (lock_name)); in lockinst()
232 (void) wrlockdata(fd, lock_pid, lock_name, in lockinst()
256 (void) wrlockdata(lock_fd, lock_pid, lock_name, lock_pkg, place, in lockupd()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_locking.c752 char *lock_name; in match_lock_held() local
756 lock_name = get_full_name(NULL, index, &sym); in match_lock_held()
760 lock_name = get_full_name(assign_expr, index, &sym); in match_lock_held()
762 lock_name = get_full_name(call_expr, index, &sym); in match_lock_held()
764 if (!lock_name) in match_lock_held()
766 do_lock(lock_name, sym, lock); in match_lock_held()
767 free_string(lock_name); in match_lock_held()
775 char *lock_name; in match_lock_failed() local
779 lock_name = get_full_name(NULL, index, &sym); in match_lock_failed()
783 lock_name = get_full_name(assign_expr, index, &sym); in match_lock_failed()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_panic.c269 static char *lock_name(struct lockfs *);
2200 fs_name(f), lock_name(&f->uf_lf), in lockfs_failure()
2244 lock_name(&f->uf_lf), fs_name(f), in lockfs_failure()
2385 lock_name(struct lockfs *lfp) in lock_name() function
2538 lock_name(&f->uf_lf), err_name(f->uf_lf_err), f->uf_lf_err); in dump_uf()