/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | space_map.c | 432 space_map_histogram_clear(space_map_t *sm) in space_map_histogram_clear() 441 space_map_histogram_verify(space_map_t *sm, range_tree_t *rt) in space_map_histogram_verify() 775 space_map_open_impl(space_map_t *sm) in space_map_open_impl() 793 space_map_t *sm; in space_map_open() local 819 space_map_close(space_map_t *sm) in space_map_close() 833 space_map_truncate(space_map_t *sm, int blocksize, dmu_tx_t *tx) in space_map_truncate() 923 space_map_free(space_map_t *sm, dmu_tx_t *tx) in space_map_free() 1060 space_map_object(space_map_t *sm) in space_map_object() 1066 space_map_allocated(space_map_t *sm) in space_map_allocated() 1072 space_map_length(space_map_t *sm) in space_map_length() [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | strngmem.c | 61 StringMem *sm; /* The container to be returned. */ in _new_StringMem() local 111 StringMem *_del_StringMem(StringMem *sm, int force) in _del_StringMem() 142 char *_new_StringMemString(StringMem *sm, size_t length) in _new_StringMemString() 190 char *_del_StringMemString(StringMem *sm, char *s) in _del_StringMemString()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_implied.c | 401 struct sm_state *sm; in separate_pools() local 699 struct sm_state *sm; in is_merged_expr() local 734 struct sm_state *sm = NULL; in handle_comparison() local 784 struct sm_state *sm; in handle_zero_comparison() local 823 struct sm_state *sm, *true_sm, *false_sm; in handled_by_comparison_hook() local 874 struct sm_state *sm; in handled_by_parsed_conditions() local 899 struct sm_state *sm; in handled_by_stored_conditions() local 926 struct sm_state *sm; in separate_implication_states() local 976 struct sm_state *sm; in set_implied_states() local 1016 struct sm_state *sm; in param_limit_implications() local [all …]
|
H A D | avl.c | 95 struct sm_state *avl_lookup(const struct stree *avl, const struct sm_state *sm) in avl_lookup() 110 AvlNode *avl_lookup_node(const struct stree *avl, const struct sm_state *sm) in avl_lookup_node() 134 bool avl_insert(struct stree **avl, const struct sm_state *sm) in avl_insert() 152 bool avl_remove(struct stree **avl, const struct sm_state *sm) in avl_remove() 177 static AvlNode *mkNode(const struct sm_state *sm) in mkNode() 199 static AvlNode *lookup(const struct stree *avl, AvlNode *node, const struct sm_state *sm) in lookup() 220 static bool insert_sm(struct stree *avl, AvlNode **p, const struct sm_state *sm) in insert_sm() 250 static bool remove_sm(struct stree *avl, AvlNode **p, const struct sm_state *sm, AvlNode **ret) in remove_sm()
|
H A D | smatch_slist.c | 79 struct sm_state *sm; in __print_stree() local 422 struct sm_state *sm; in clone_slist() local 540 struct sm_state *sm; in get_state_stree() local 555 struct sm_state *sm) in overwrite_sm_state_stree_stack() 576 struct sm_state *sm; in set_state_stree_perm() local 654 struct sm_state *sm; in set_state_stree_stack() local 683 struct sm_state *sm; in get_state_stree_stack() local 694 struct sm_state *sm; in match_states_stree() local 750 struct sm_state *sm, *cur; in call_pre_merge_hooks() local 786 struct sm_state *sm, *tmp; in clone_pool_havers_stree() local [all …]
|
H A D | check_snprintf.c | 24 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() 42 static int get_old_buflen(struct sm_state *sm) in get_old_buflen() 57 struct sm_state *sm; in match_call() local
|
H A D | check_frees_param.c | 33 static void set_ignore(struct sm_state *sm, struct expression *mod_expr) in set_ignore() 40 struct sm_state *sm; in freed_variable() local 72 struct sm_state *sm; in process_states() local
|
H A D | check_locking.c | 487 static struct smatch_state *unmatched_state(struct sm_state *sm) in unmatched_state() 522 struct sm_state *sm; in get_best_match() local 639 struct sm_state *sm; in handle_macro_lock_unlock() local 690 struct sm_state *sm; in do_lock() local 712 struct sm_state *sm; in do_unlock() local 833 static struct smatch_state *get_start_state(struct sm_state *sm) in get_start_state() 891 static int get_db_type(struct sm_state *sm) in get_db_type() 911 struct sm_state *sm; in match_return_info() local 998 struct sm_state *sm; in check_lock() local 1192 struct sm_state *sm; in match_call_info() local [all …]
|
H A D | smatch_param_filter.c | 62 static struct smatch_state *unmatched_state(struct sm_state *sm) in unmatched_state() 136 int param, struct sm_state *sm, struct string_list **totally_filtered) in print_one_mod_param() 162 struct sm_state *sm; in print_return_value_param() local 186 int param_has_filter_data(struct sm_state *sm) in param_has_filter_data()
|
H A D | check_check_deref.c | 43 static void is_ok(struct sm_state *sm, struct expression *mod_expr) in is_ok() 50 struct sm_state *sm; in check_dereference() local 82 struct sm_state *sm; in check_dereference_name_sym() local
|
H A D | check_free_strict.c | 33 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() 45 static struct smatch_state *unmatched_state(struct sm_state *sm) in unmatched_state() 64 struct sm_state *sm; in is_freed() local 245 struct sm_state *sm; in set_param_freed() local 315 struct sm_state *sm; in match_untracked() local
|
H A D | check_deref.c | 54 static struct smatch_state *unmatched_state(struct sm_state *sm) in unmatched_state() 59 static void is_ok(struct sm_state *sm, struct expression *mod_expr) in is_ok() 66 struct sm_state *sm; in check_dereference() local 106 struct sm_state *sm; in check_dereference_name_sym() local
|
H A D | smatch_nul_terminator.c | 74 struct sm_state *sm, *tmp; in get_terminated_state_var_sym() local 92 struct sm_state *sm, *tmp; in get_terminated_state() local 124 static int sm_to_term(struct sm_state *sm) in sm_to_term() 141 …struct_member_callback(struct expression *call, int param, char *printed_name, struct sm_state *sm) in struct_member_callback() 187 struct sm_state *tmp, *sm; in split_return_info() local
|
H A D | check_atomic_inc_dec.c | 30 static struct smatch_state *unmatched_state(struct sm_state *sm) in unmatched_state() 60 struct sm_state *sm; in get_best_match() local 262 static bool is_maybe_dec(struct sm_state *sm) in is_maybe_dec() 274 struct sm_state *sm; in match_return_info() local 327 struct sm_state *sm; in check_counter() local 387 struct sm_state *sm; in match_check_missed() local 396 struct sm_state *sm; in on_atomic_dec_path() local
|
H A D | check_frees_param_strict.c | 33 static struct smatch_state *unmatched_state(struct sm_state *sm) in unmatched_state() 42 static void set_ignore(struct sm_state *sm, struct expression *mod_expr) in set_ignore() 119 struct sm_state *sm; in param_freed_info() local
|
H A D | check_err_ptr_deref.c | 39 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() 47 struct sm_state *sm; in check_is_err_ptr() local 73 struct sm_state *sm; in set_param_dereferenced() local 189 struct sm_state *sm; in match_err_ptr() local
|
H A D | check_double_checking.c | 35 static void set_modified(struct sm_state *sm, struct expression *mod_expr) in set_modified() 225 int get_check_line(struct sm_state *sm) in get_check_line() 239 struct sm_state *check, *sm; in after_loop() local
|
H A D | smatch_capped.c | 36 static void set_uncapped(struct sm_state *sm, struct expression *mod_expr) in set_uncapped() 41 static struct smatch_state *unmatched_state(struct sm_state *sm) in unmatched_state() 236 …struct_member_callback(struct expression *call, int param, char *printed_name, struct sm_state *sm) in struct_member_callback() 252 struct sm_state *sm; in print_return_implies_capped() local
|
H A D | check_dma_mapping_error.c | 27 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() 55 struct sm_state *sm; in match_return() local
|
H A D | check_deref_check.c | 25 static void underef(struct sm_state *sm, struct expression *mod_expr) in underef() 68 struct sm_state *sm; in match_condition() local
|
H A D | smatch_imaginary_absolute.c | 39 static struct smatch_state *empty_state(struct sm_state *sm) in empty_state() 49 static void reset(struct sm_state *sm, struct expression *mod_expr) in reset()
|
H A D | smatch_param_set.c | 42 static struct smatch_state *unmatched_state(struct sm_state *sm) in unmatched_state() 177 struct sm_state *sm; in print_return_value_param_helper() local 268 static int possibly_empty(struct sm_state *sm) in possibly_empty() 281 struct sm_state *sm; in param_was_set_var_sym() local
|
H A D | check_nospec.c | 31 static struct smatch_state *unmatched_state(struct sm_state *sm) in unmatched_state() 88 …struct_member_callback(struct expression *call, int param, char *printed_name, struct sm_state *sm) in struct_member_callback() 101 struct sm_state *sm; in returned_struct_members() local 205 struct sm_state *sm; in mark_user_data_as_nospec() local
|
H A D | smatch_parsed_conditions.c | 69 static void filter_by_sm(struct sm_state *sm, in filter_by_sm() 93 struct sm_state *sm, *tmp; in parsed_condition_implication_hook() local
|
H A D | check_return_efault.c | 33 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() 64 struct sm_state *sm; in match_return_var() local
|