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()
520 static struct sm_state *get_best_match(const char *key, enum action lock_unlock) in get_best_match() argument
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()
569 set_state(my_id, match->name, match->sym, action_to_state(lock_unlock)); in use_best_match()
571 set_state(my_id, key, NULL, action_to_state(lock_unlock)); in use_best_match()
1110 …ocked_unlocked(struct expression *expr, int param, char *key, char *value, enum action lock_unlock) in db_param_locked_unlocked() argument
[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