/illumos-gate/usr/src/uts/common/rpcsvc/ |
H A D | sm_inter.x | 50 struct sm_stat SM_UNMON_ALL(struct my_id) = 4; 64 struct my_id { struct 74 struct my_id my_id; argument
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_locking.c | 25 static int my_id; variable 665 sm = get_sm_state(my_id, name, sym); in handle_macro_lock_unlock() 697 sm = get_sm_state(my_id, name, sym); in do_lock() 701 set_state(my_id, name, sym, &locked); in do_lock() 721 sm = get_sm_state(my_id, name, sym); in do_unlock() 740 if (!get_state(my_id, name, sym)) in do_restore() 1017 sm = get_sm_state(my_id, name, sym); in check_lock() 1255 FOR_EACH_MY_SM(my_id, stree, sm) { in print_held_locks() 1266 my_id = id; in check_locking() 1273 set_dynamic_states(my_id); in check_locking() [all …]
|
H A D | smatch_integer_overflow.c | 22 static int my_id; variable 92 set_true_false_states(my_id, name, sym, NULL, safe_state(binop)); in match_divide() 127 set_true_false_states(my_id, name, sym, NULL, safe_state(left)); in match_overflow_to_less_than() 200 state = get_state(my_id, name, sym); in can_integer_overflow_expr() 233 state = get_state(my_id, vs->var, vs->sym); in check_links() 270 if (get_state_stree(done, my_id, link->state->name, NULL)) in match_call_info() 282 my_id = id; in register_integer_overflow() 283 set_dynamic_states(my_id); in register_integer_overflow() 291 set_up_link_functions(my_id, link_id); in register_integer_overflow_links()
|
H A D | smatch_strings.c | 22 static int my_id; variable 69 set_state_expr(my_id, dest, alloc_state_str(src->string->data)); in match_strcpy() 81 sm = alloc_sm_state(my_id, expr->string->data, NULL, state); in get_strings() 103 sm = get_sm_state_expr(my_id, expr); in get_strings() 124 set_state_expr(my_id, expr->left, sm->state); in match_assignment() 147 my_id = id; in register_strings()
|
H A D | check_buffer_too_small_for_struct.c | 20 static int my_id; variable 62 set_state_expr(my_id, expr->left, &too_small); in match_assign() 79 state = get_state_expr(my_id, expr); in match_dereferences() 104 set_state_expr(my_id, expr, &undefined); in match_dereferences() 109 my_id = id; in check_buffer_too_small_for_struct()
|
H A D | check_unused_ret.c | 48 static int my_id; variable 122 set_state_expr(my_id, left, alloc_state_num(assign_id)); in match_assign_call() 141 set_state_expr(my_id, left, &undefined); in match_assign() 172 sm = get_sm_state_expr(my_id, expr); in match_symbol() 176 set_state_expr(my_id, expr, &undefined); in match_symbol() 202 my_id = id; in check_unused_ret()
|
H A D | check_double_checking.c | 23 static int my_id; variable 37 set_state(my_id, sm->name, sm->sym, &modified); in set_modified() 204 set_state_expr(my_id, expr, &checked); in match_condition() 205 set_state_stree(&to_check, my_id, name, sym, &checked); in match_condition() 250 sm = get_sm_state(my_id, check->name, check->sym); in after_loop() 275 my_id = id; in check_double_checking() 281 add_modification_hook(my_id, &set_modified); in check_double_checking()
|
H A D | check_release_resource.c | 26 static int my_id; variable 43 add_tracker(&resource_list, my_id, name, sym); in match_request() 64 if (in_tracker_list(resource_list, my_id, name, sym)) in match_release() 80 my_id = id; in check_release_resource()
|
H A D | check_freeing_devm.c | 22 static int my_id; variable 26 set_state_expr(my_id, expr->left, &devm); in match_assign() 36 if (!get_state_expr(my_id, arg_expr)) in match_free_func() 74 my_id = id; in check_freeing_devm()
|
H A D | check_kunmap.c | 24 static int my_id; variable 48 set_state_expr(my_id, arg, &no_unmap); in match_kmap_atomic() 57 sm = get_sm_state_expr(my_id, arg); in match_kunmap_atomic() 81 my_id = id; in check_kunmap()
|
H A D | check_allocation_funcs.c | 24 static int my_id; variable 52 add_tracker(&allocated, my_id, left_name, left_sym); in match_allocation() 75 if (!in_tracker_list(allocated, my_id, name, sym)) in match_return() 99 my_id = id; in check_allocation_funcs()
|
H A D | check_macro_side_effects.c | 23 static int my_id; variable 69 sm = get_sm_state_expr(my_id, expr); in affected_inside_macro_before() 115 set_state_expr(my_id, expr, alloc_my_state(expr)); in match_unop() 161 my_id = id; in check_macro_side_effects() 166 set_dynamic_states(my_id); in check_macro_side_effects()
|
H A D | smatch_parsed_conditions.c | 43 static int my_id; variable 60 set_true_false_states(my_id, name, NULL, &true_path, &false_path); in record_condition() 65 my_id = id; in register_parsed_conditions() 98 sm = get_sm_state(my_id, name, NULL); in parsed_condition_implication_hook()
|
H A D | smatch_param_used.c | 21 static int my_id; variable 43 set_state_stree(&used_stree, my_id, name, sym, &used); in get_state_hook() 64 set_state_stree(&used_stree, my_id, name, sym, &used); in set_param_used() 113 my_id = id; in register_param_used()
|
H A D | smatch_stored_conditions.c | 42 static int my_id; variable 135 set_state(my_id, name, NULL, &undefined); in match_link_modify() 209 set_true_false_states(my_id, name, NULL, true_state, false_state); in __stored_condition() 223 state = get_state(my_id, name, NULL); in get_stored_condition() 240 my_id = id; in register_stored_conditions() 241 set_dynamic_states(my_id); in register_stored_conditions() 295 sm = get_sm_state(my_id, name, NULL); in stored_condition_implication_hook()
|
H A D | smatch_untracked_param.c | 38 static int my_id; variable 125 set_state(my_id, name, sym, &untracked); in mark_untracked_lost() 183 set_state_expr(my_id, arg, &untracked); in match_after_call() 232 } else if ((sm = get_sm_state(my_id, arg->ident->name, arg))) { in print_untracked_params() 264 set_state_expr(my_id, right, &untracked); in match_param_assign() 283 set_state_expr(my_id, expr, &untracked); in match_param_assign_in_asm() 299 my_id = id; in register_untracked_param()
|
H A D | smatch_modification_hooks.c | 48 static int my_id; variable 117 prev = get_state(my_id, name, sym); in call_modification_hooks_name_sym() 120 set_state(my_id, name, sym, alloc_my_state(mod_expr, prev)); in call_modification_hooks_name_sym() 262 return get_state_expr(my_id, expr); in get_modification_state() 267 my_id = id; in register_modification_hooks() 269 set_dynamic_states(my_id); in register_modification_hooks()
|
H A D | check_shift_to_zero.c | 20 static int my_id; variable 38 if (is_ignored_expr(my_id, expr)) in match_binop() 90 my_id = id; in check_shift_to_zero()
|
H A D | check_spectre.c | 21 static int my_id; variable 170 if (suppress_multiple && is_ignored_expr(my_id, array_expr)) { in array_check() 202 add_ignore_expr(my_id, array_expr); in array_check() 208 my_id = id; in check_spectre()
|
H A D | check_implicit_dependencies.c | 4 static int my_id; variable 140 add_tracker(&parsed_syscalls, my_id, syscall_name, sym); in match_after_syscall() 174 add_tracker(&read_list, my_id, member, sym); in print_read_member_type() 209 add_tracker(&write_list, my_id, member, sym); in print_write_member_type() 293 my_id = id; in check_implicit_dependencies()
|
H A D | check_select.c | 21 static int my_id; variable 35 my_id = id; in check_select()
|
H A D | check_call_tree.c | 20 static int my_id; variable 40 my_id = id; in check_call_tree()
|
H A D | check_bogus_irqrestore.c | 20 static int my_id; variable 38 my_id = id; in check_bogus_irqrestore()
|
H A D | check_mod_timer.c | 21 static int my_id; variable 39 my_id = id; in check_mod_timer()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_proc.c | 152 monidp->my_id.my_prog, monidp->my_id.my_vers, in sm_unmon_svc() 153 monidp->my_id.my_proc); in sm_unmon_svc() 167 my_id *myidp = arg1; in sm_unmon_all_svc() 418 my_id *my_idp, *nl_idp; in insert_mon() 447 if ((new->id.mon_id.my_id.my_name = in insert_mon() 496 my_idp = &new->id.mon_id.my_id; in insert_mon() 602 my_id *nl_idp; in delete_onemon() 610 nl_idp = &nl->id.mon_id.my_id; in delete_onemon() 735 free(minfop->id.mon_id.my_id.my_name); in thr_send_notice() 754 my_id *my_idp; in statd_call_lockd() [all …]
|