/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_panic.c | 234 static sfrc_t set_state(ufs_failure_t *, ufs_failure_states_t); 694 initialization_worked = set_state(new, UF_INIT); in init_failure() 727 (void) set_state(new, UF_QUEUE); in queue_failure() 792 (void) set_state(f, UF_PANIC); in real_panic_v() 978 if (!set_state(f, UF_FIXING)) { in ufsfx_unlockfs() 983 if (!set_state(f, UF_FIXED)) { in ufsfx_unlockfs() 1032 if (!set_state(f, UF_LOCKED)) { in ufsfx_lockfs() 1038 if (!set_state(f, UF_FIXING)) { in ufsfx_lockfs() 1242 set_state(ufs_failure_t *f, ufs_failure_states_t new_state) in set_state() function 1257 (void) set_state(f, UF_NOTFIX); in set_state() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_capable.c | 36 set_state(capable_id, buf, NULL, &capable); in match_capable() 52 set_state(ns_capable_id, buf, NULL, &capable); in match_ns_capable() 92 set_state(capable_id, buf, NULL, &capable); in set_db_capable() 100 set_state(ns_capable_id, buf, NULL, &capable); in set_db_ns_capable()
|
H A D | smatch_links.c | 84 set_state(link_id, var, sym, alloc_link(links)); in store_link() 95 set_state(sm->owner - 1, tmp->var, tmp->sym, &undefined); in match_link_modify() 97 set_state(sm->owner, sm->name, sm->sym, &undefined); in match_link_modify()
|
H A D | check_free_strict.c | 36 set_state(my_id, sm->name, sm->sym, &ok); in ok_to_use() 42 set_state(my_id, cur->name, cur->sym, &ok); in pre_merge_hook() 263 set_state(my_id, name, sym, &ok); /* fixme: doesn't silence anything. I know */ in set_param_freed() 267 set_state(my_id, name, sym, &freed); in set_param_freed() 337 set_state(sm->owner, sm->name, sm->sym, &ok); in match_untracked()
|
H A D | smatch_real_absolute.c | 53 set_state(my_id, name, sym, alloc_estate_rl(clone_rl(rl))); in extra_mod_hook() 65 set_state(my_id, cur->name, cur->sym, clone_estate(extra)); in pre_merge_hook() 69 set_state(my_id, cur->name, cur->sym, alloc_estate_rl(clone_rl(rl))); in pre_merge_hook()
|
H A D | smatch_assigned_expr.c | 37 set_state(my_id, sm->name, sm->sym, &undefined); in undef() 89 set_state(my_id, left_name, left_sym, alloc_state_expr(strip_expr(expr->right))); in match_assignment() 133 set_state(my_id, name, sym, alloc_state_expr(right)); in record_param_assignment()
|
H A D | check_nospec.c | 73 set_state(my_id, fullname, sym, &nospec); in set_param_nospec() 171 set_state(my_id, name, sym, &nospec); in db_returns_nospec() 216 set_state(my_id, sm->name, sm->sym, &nospec); in mark_user_data_as_nospec() 234 set_state(barrier_id, "barrier", NULL, &nospec); in match_barrier()
|
H A D | check_template.c | 76 set_state(my_id, sem_name, NULL, &lock); in match_call() 78 set_state(my_id, sem_name, NULL, &unlock); in match_call()
|
H A D | smatch_statement_count.c | 55 set_state(my_id, "stmts", NULL, alloc_state_num(cnt)); in match_statement() 75 set_state(my_id, "stmts", NULL, alloc_state_num(cnt + add)); in select_return_info()
|
H A D | check_deref_check.c | 27 set_state(my_id, sm->name, sm->sym, &undefined); in underef() 60 set_state(my_id, name, sym, &derefed); in set_param_dereferenced()
|
H A D | check_expects_err_ptr.c | 29 set_state(my_id, sm->name, sm->sym, &ok); in set_ok() 41 set_state(my_id, arg->ident->name, arg, &argument); in match_function_def()
|
H A D | smatch_impossible.c | 72 set_state(my_id, "impossible", NULL, &impossible); in set_path_impossible() 77 set_state(my_return_id, "impossible", NULL, &impossible); in set_path_impossible()
|
H A D | check_info_leak.c | 46 set_state(my_id, name, sym, &alloced); in match_kmalloc() 61 set_state(my_id, name, sym, &string); in match_strcpy()
|
H A D | check_uninitialized.c | 30 set_state(my_id, cur->name, cur->sym, &initialized); in pre_merge_hook() 49 set_state(my_id, buf, sym, &uninitialized); in mark_members_uninitialized() 77 set_state(my_id, sym->ident->name, sym, &uninitialized); in match_declarations() 86 set_state(my_id, name, sym, &initialized); in extra_mod_hook()
|
H A D | check_free.c | 36 set_state(my_id, sm->name, sm->sym, &ok); in ok_to_use() 42 set_state(my_id, cur->name, cur->sym, &ok); in pre_merge_hook() 235 set_state(my_id, name, sym, &freed); in set_param_freed()
|
H A D | check_dereferences_param.c | 38 set_state(my_id, sm->name, sm->sym, &ignore); in set_ignore() 51 set_state(my_id, arg->ident->name, arg, ¶m); in match_function_def()
|
H A D | check_err_ptr_deref.c | 42 set_state(my_id, sm->name, sm->sym, &checked); in ok_to_use() 62 set_state(my_id, sm->name, sm->sym, &checked); in check_is_err_ptr() 94 set_state(my_id, sm->name, sm->sym, &checked); in set_param_dereferenced()
|
H A D | check_frees_param_strict.c | 44 set_state(my_id, sm->name, sm->sym, &ignore); in set_ignore() 112 set_state(my_id, name, sym, &freed); in set_param_freed()
|
H A D | smatch_stored_conditions.c | 122 set_state(link_id, var, sym, new_state); in save_link_var_sym() 135 set_state(my_id, name, NULL, &undefined); in match_link_modify() 138 set_state(link_id, sm->name, sm->sym, &undefined); in match_link_modify()
|
H A D | smatch_nul_terminator.c | 31 set_state(param_set_id, name, sym, &set); in set_terminated_var_sym() 32 set_state(my_id, name, sym, state); in set_terminated_var_sym() 181 set_state(my_id, fullname, sym, (*value == '1') ? &terminated : &unterminated); in caller_info_terminated()
|
H A D | smatch_capped.c | 38 set_state(my_id, sm->name, sm->sym, &uncapped); in set_uncapped() 140 set_state(my_id, fullname, sym, &capped); in set_param_capped_data() 330 set_state(my_id, name, sym, &capped); in db_return_states_capped()
|
H A D | smatch_kernel_user_data.c | 102 set_state(my_id, cur->name, cur->sym, state); in pre_merge_hook() 121 set_state(my_id, name, sym, new); in extra_nomod_hook() 496 set_state(my_id, buf, sym, alloc_estate_whole(type)); in set_points_to_user_data() 1133 set_state(my_id, name, sym, alloc_estate_empty()); in db_param_set() 1201 set_state(my_id, fullname, sym, state); in set_param_user_data() 1206 set_state(my_call_id, "this_function", NULL, &called); in set_called() 1235 set_state(my_id, arg->ident->name, arg, alloc_estate_whole(get_real_base_type(arg))); in match_syscall_definition() 1252 set_state(my_id, buf, NULL, alloc_estate_rl(rl)); in store_user_data_return() 1275 set_state(my_id, name, sym, state); in set_to_user_data() 1456 set_state(my_id, name, sym, new); in returns_param_capped()
|
H A D | check_locking.c | 438 set_state(my_id, sm->name, sm->sym, &start_state); in reset() 495 set_state(my_id, cur->name, cur->sym, &impossible); in pre_merge_hook() 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() 672 set_state(my_id, name, sym, &locked); in handle_macro_lock_unlock() 678 set_state(my_id, name, sym, &unlocked); in handle_macro_lock_unlock() 701 set_state(my_id, name, sym, &locked); in do_lock() 707 set_state(my_id, name, sym, &unlocked); in do_lock_failed() 732 set_state(my_id, name, sym, &unlocked); in do_unlock() 744 set_state(my_id, name, sym, &restore); in do_restore()
|
H A D | smatch_strlen.c | 53 set_state(sm->owner, sm->name, sm->sym, size_to_estate(UNKNOWN_SIZE)); in set_strlen_undefined() 58 set_state(sm->owner, sm->name, sm->sym, &undefined); in set_strlen_equiv_undefined() 306 set_state(my_strlen_id, fullname, sym, state); in set_param_strlen()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf.c | 50 static void set_state __P((u_int)), showstats __P((friostat_t *)); 113 set_state((u_int)1); 116 set_state((u_int)0); 236 static void set_state(enable) in set_state() function
|