/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | space_map.c | 89 space_map_iterate(space_map_t *sm, uint64_t end, sm_cb_t callback, void *arg) in space_map_iterate() 181 space_map_reversed_last_block_entries(space_map_t *sm, uint64_t *buf, in space_map_reversed_last_block_entries() 254 space_map_incremental_destroy(space_map_t *sm, sm_cb_t callback, void *arg, in space_map_incremental_destroy() 399 space_map_load_length(space_map_t *sm, range_tree_t *rt, maptype_t maptype, in space_map_load_length() 426 space_map_load(space_map_t *sm, range_tree_t *rt, maptype_t maptype) in space_map_load() 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() 455 space_map_histogram_add(space_map_t *sm, range_tree_t *rt, dmu_tx_t *tx) in space_map_histogram_add() 505 space_map_write_intro_debug(space_map_t *sm, maptype_t maptype, dmu_tx_t *tx) in space_map_write_intro_debug() 528 space_map_write_seg(space_map_t *sm, uint64_t rstart, uint64_t rend, in space_map_write_seg() [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 | 103 static void print_debug_tf(struct sm_state *sm, int istrue, int isfalse) in print_debug_tf() 139 static int create_fake_history(struct sm_state *sm, int comparison, struct range_list *rl) in create_fake_history() 287 static void do_compare(struct sm_state *sm, int comparison, struct range_list *rl, in do_compare() 327 static int is_checked(struct state_list *checked, struct sm_state *sm) in is_checked() 346 static void __separate_pools(struct sm_state *sm, int comparison, struct range_list *rl, in __separate_pools() 387 static void separate_pools(struct sm_state *sm, int comparison, struct range_list *rl, in separate_pools() 401 struct sm_state *sm; in separate_pools() local 429 static int sm_in_keep_leafs(struct sm_state *sm, const struct state_list *keep_gates) in sm_in_keep_leafs() 468 static char *sm_state_info(struct sm_state *sm) in sm_state_info() 499 struct sm_state *filter_pools(struct sm_state *sm, in filter_pools() [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 | 34 const char *show_sm(struct sm_state *sm) in show_sm() 79 struct sm_state *sm; in __print_stree() local 220 int too_many_possible(struct sm_state *sm) in too_many_possible() 329 static void free_sm_state(struct sm_state *sm) in free_sm_state() 399 int is_merged(struct sm_state *sm) in is_merged() 404 int is_leaf(struct sm_state *sm) in is_leaf() 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 [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 | 436 static void reset(struct sm_state *sm, struct expression *mod_expr) in reset() 487 static struct smatch_state *unmatched_state(struct sm_state *sm) in unmatched_state() 522 struct sm_state *sm; in get_best_match() local 613 static void warn_on_double(struct sm_state *sm, struct smatch_state *state) in warn_on_double() 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() 843 static int get_param_lock_name(struct sm_state *sm, struct expression *expr, in get_param_lock_name() 891 static int get_db_type(struct sm_state *sm) in get_db_type() [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 | 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 | 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 | 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_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 | 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
|