Home
last modified time | relevance | path

Searched refs:lock_unlock (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_locking.c507 static struct smatch_state *action_to_state(enum action lock_unlock) in action_to_state() argument
509 switch (lock_unlock) { in action_to_state()
543 if (((lock_unlock == UNLOCK || lock_unlock == RESTORE) && in get_best_match()
545 (lock_unlock == LOCK && sm->state != &unlocked)) in get_best_match()
563 static void use_best_match(char *key, enum action lock_unlock) in use_best_match() argument
567 match = get_best_match(key, lock_unlock); in use_best_match()
571 set_state(my_id, key, NULL, action_to_state(lock_unlock)); in use_best_match()
1126 use_best_match(key, lock_unlock); in db_param_locked_unlocked()
1144 if (lock_unlock == LOCK) in db_param_locked_unlocked()
1146 else if (lock_unlock == UNLOCK) in db_param_locked_unlocked()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dpath.sh90 function lock_unlock function
98 typeset -ft lock_unlock
99 lock_unlock