/illumos-gate/usr/src/uts/common/sys/ |
H A D | linker_set.h | 47 #define __GLOBL(sym) __asm__(".globl " __XSTRING(sym)) argument 48 #define __WEAK(sym) __asm__(".weak " __XSTRING(sym)) argument 52 #define __MAKE_SET(set, sym) \ argument 62 #define TEXT_SET(set, sym) __MAKE_SET(set, sym) argument 63 #define DATA_SET(set, sym) __MAKE_SET(set, sym) argument 64 #define BSS_SET(set, sym) __MAKE_SET(set, sym) argument 65 #define ABS_SET(set, sym) __MAKE_SET(set, sym) argument 66 #define SET_ENTRY(set, sym) __MAKE_SET(set, sym) argument
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | linker_set.h | 57 #define __MAKE_SET(set, sym) \ argument 67 #define __MAKE_SET(set, sym) extern void const * const (__set_##set##_sym_##sym) argument 73 #define TEXT_SET(set, sym) __MAKE_SET(set, sym) argument 74 #define DATA_SET(set, sym) __MAKE_SET(set, sym) argument 75 #define BSS_SET(set, sym) __MAKE_SET(set, sym) argument 76 #define ABS_SET(set, sym) __MAKE_SET(set, sym) argument 77 #define SET_ENTRY(set, sym) __MAKE_SET(set, sym) argument
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | inline.c | 69 struct symbol *sym; in copy_symbol_list() local 89 struct symbol *sym = copy_symbol(expr->pos, expr->symbol); in copy_expression() local 160 struct symbol *sym = expr->cast_type; in copy_expression() local 306 static void unset_replace(struct symbol *sym) in unset_replace() 319 struct symbol *sym; in unset_replace_list() local 333 struct symbol *sym; in copy_one_statement() local 388 struct symbol *sym = copy_symbol(stmt->pos, stmt->ret_target); in copy_one_statement() local 483 struct symbol *sym = orig; in create_copy_symbol() local 498 struct symbol *sym; in create_symbol_list() local 507 int inline_function(struct expression *expr, struct symbol *sym) in inline_function() [all …]
|
H A D | ctags.c | 68 static inline void show_symbol_tag(FILE *fp, struct symbol *sym) in show_symbol_tag() 76 struct symbol *sym; in show_tags() local 104 static inline void add_tag(struct symbol *sym) in add_tag() 114 struct symbol *sym; in examine_members() local 122 static void examine_symbol(struct symbol *sym) in examine_symbol() 171 static void examine_namespace(struct symbol *sym) in examine_namespace() 204 struct symbol *sym; in examine_symbol_list() local
|
H A D | check_frees_argument.c | 33 static void match_function_def(struct symbol *sym) in match_function_def() 38 static int is_arg(char *name, struct symbol *sym) in is_arg() 54 struct symbol *sym; in match_kfree() local 93 static void print_arg(struct symbol *sym) in print_arg() 107 static void match_end_func(struct symbol *sym) in match_end_func() 115 static void match_after_func(struct symbol *sym) in match_after_func()
|
H A D | symbol.c | 49 void access_symbol(struct symbol *sym) in access_symbol() 61 struct symbol *sym; in lookup_symbol() local 79 struct symbol *sym = __alloc_symbol(0); in alloc_symbol() local 111 static int bitfield_base_size(struct symbol *sym) in bitfield_base_size() 209 static struct symbol *examine_base_type(struct symbol *sym) in examine_base_type() 422 static struct symbol *examine_enum_type(struct symbol *sym) in examine_enum_type() 455 struct symbol *examine_symbol_type(struct symbol * sym) in examine_symbol_type() 552 struct symbol *examine_pointer_target(struct symbol *sym) in examine_pointer_target() 592 void check_declaration(struct symbol *sym) in check_declaration() 663 struct symbol *sym = lookup_symbol(ident, namespace); in create_symbol() local [all …]
|
H A D | c2xml.c | 65 static xmlNodePtr new_sym_node(struct symbol *sym, const char *name, xmlNodePtr parent) in new_sym_node() 102 struct symbol *sym; in examine_members() local 109 static void examine_modifiers(struct symbol *sym, xmlNodePtr node) in examine_modifiers() 158 examine_layout(struct symbol *sym, xmlNodePtr node) in examine_layout() 170 static void examine_symbol(struct symbol *sym, xmlNodePtr node) in examine_symbol() 237 static void examine_macro(struct symbol *sym, xmlNodePtr node) in examine_macro() 251 static void examine_namespace(struct symbol *sym) in examine_namespace() 290 struct symbol *sym; in examine_symbol_list() local
|
H A D | check_puts_argument.c | 33 static void match_function_def(struct symbol *sym) in match_function_def() 38 static int parent_is_arg(struct symbol *sym) in parent_is_arg() 52 struct symbol *sym; in match_put() local 91 static void print_arg(struct symbol *sym) in print_arg() 105 static void match_end_func(struct symbol *sym) in match_end_func()
|
H A D | test-dissect.c | 5 static inline char storage(struct symbol *sym) in storage() 32 static void print_usage(struct position *pos, struct symbol *sym, unsigned mode) in print_usage() 45 static void r_symbol(unsigned mode, struct position *pos, struct symbol *sym) in r_symbol() 57 static void r_member(unsigned mode, struct position *pos, struct symbol *sym, struct symbol *mem) in r_member() 74 static void r_symdef(struct symbol *sym) in r_symdef()
|
H A D | smatch_tracker.c | 22 struct tracker *alloc_tracker(int owner, const char *name, struct symbol *sym) in alloc_tracker() 34 struct symbol *sym) in add_tracker() 47 struct symbol *sym; in add_tracker_expr() local 64 struct symbol *sym) in del_tracker() 79 struct symbol *sym) in in_tracker_list()
|
H A D | smatch_type.c | 145 struct symbol *sym; in get_symbol_from_deref() local 229 struct symbol *sym; in get_pointer_type() local 246 struct symbol *sym; in fake_pointer_sym() local 393 struct symbol *sym; in expr_unsigned() local 405 struct symbol *sym; in expr_signed() local 431 int returns_pointer(struct symbol *sym) in returns_pointer() 567 struct symbol *sym; in is_static() local 583 struct symbol *sym; in is_local_variable() local 640 struct symbol *sym; in cur_func_return_type() local 714 struct symbol *sym; in get_member_type_from_key() local [all …]
|
H A D | check_leaks.c | 56 static char *alloc_parent_str(struct symbol *sym) in alloc_parent_str() 68 static char *get_parent_from_expr(struct expression *expr, struct symbol **sym) in get_parent_from_expr() 86 struct symbol *sym; in is_local() local 103 struct symbol *sym; in is_param() local 159 struct symbol *sym; in set_parent() local 247 static void match_end_func(struct symbol *sym) in match_end_func()
|
H A D | check_syscall_arg_type.c | 53 struct symbol *sym; member 80 static int is_mode_t(struct symbol *sym) in is_mode_t() 94 static int is_pid_t(struct symbol *sym) in is_pid_t() 108 static const char *get_arg_type_from_type(struct symbol *sym) in get_arg_type_from_type() 142 const char *get_syscall_arg_type(struct symbol *sym) in get_syscall_arg_type()
|
H A D | smatch_var_sym.c | 22 struct var_sym *alloc_var_sym(const char *var, struct symbol *sym) in alloc_var_sym() 37 struct symbol *sym; in expr_to_vsl() local 106 void add_var_sym(struct var_sym_list **list, const char *var, struct symbol *sym) in add_var_sym() 130 struct symbol *sym; in add_var_sym_expr() local 146 void del_var_sym(struct var_sym_list **list, const char *var, struct symbol *sym) in del_var_sym() 159 int in_var_sym_list(struct var_sym_list *list, const char *var, struct symbol *sym) in in_var_sym_list()
|
H A D | check_info_leak.c | 26 static char *my_get_variable(struct expression *expr, struct symbol **sym) in my_get_variable() 41 struct symbol *sym; in match_kmalloc() local 53 struct symbol *sym; in match_strcpy() local 68 struct symbol *sym; in match_copy_to_user() local
|
H A D | show-parse.c | 103 void debug_symbol(struct symbol *sym) in debug_symbol() 176 struct symbol *sym; in show_symbol_list() local 227 struct symbol *sym; member 263 const char *builtin_typename(struct symbol *sym) in builtin_typename() 430 void show_type(struct symbol *sym) in show_type() 441 const char *show_typename(struct symbol *sym) in show_typename() 452 void show_symbol(struct symbol *sym) in show_symbol() 525 struct symbol *sym; in show_switch_statement() local 569 struct symbol *sym; in show_symbol_decl() local 759 struct symbol *sym = fn->unop->symbol; in show_call_expression() local [all …]
|
H A D | smatch_ignore.c | 25 void add_ignore(int owner, const char *name, struct symbol *sym) in add_ignore() 30 int is_ignored(int owner, const char *name, struct symbol *sym) in is_ignored() 37 struct symbol *sym; in add_ignore_expr() local 49 struct symbol *sym; in is_ignored_expr() local
|
H A D | smatch_states.c | 190 struct symbol *sym; in set_state_expr() local 385 struct symbol *sym; in get_state_expr() local 411 struct symbol *sym; in get_possible_states_expr() local 438 struct symbol *sym; in get_sm_state_expr() local 451 void delete_state(int owner, const char *name, struct symbol *sym) in delete_state() 464 struct symbol *sym; in delete_state_expr() local 504 void __delete_all_states_sym(struct symbol *sym) in __delete_all_states_sym() 591 struct symbol *sym; in set_true_false_states_expr() local 606 struct symbol *sym; in __set_true_false_sm() local 1213 void __save_gotos(const char *name, struct symbol *sym) in __save_gotos() [all …]
|
H A D | check_locking.c | 640 struct symbol *sym; in handle_macro_lock_unlock() local 753 struct symbol *sym; in match_lock_held() local 776 struct symbol *sym; in match_lock_failed() local 799 struct symbol *sym; in match_returns_locked() local 814 struct symbol *sym; in match_lock_unlock() local 969 static bool sym_in_lock_table(struct symbol *sym) in sym_in_lock_table() 990 static void check_lock(char *name, struct symbol *sym) in check_lock() 1069 static void match_func_end(struct symbol *sym) in match_func_end() 1114 struct symbol *sym; in db_param_locked_unlocked() local 1222 static void match_after_func(struct symbol *sym) in match_after_func() [all …]
|
H A D | smatch_extra.c | 396 struct symbol *sym; in set_extra_array_mod() local 418 struct symbol *sym; in set_extra_expr_mod() local 488 struct symbol *sym; in set_extra_expr_nomod() local 548 struct symbol *sym; in set_extra_chunk_true_false() local 576 struct symbol *sym; in set_extra_expr_true_false() local 944 struct symbol *sym; in clear_the_pointed_at() local 1030 struct symbol *sym; in save_chunk_info() local 1077 struct symbol *sym; in match_vanilla_assign() local 1171 struct symbol *sym; in match_assign() local 1394 struct symbol *sym; in set_param_dereferenced() local [all …]
|
H A D | smatch_recurse.c | 116 struct symbol *sym = _sym; in has_symbol_helper() local 125 int has_symbol(struct expression *expr, struct symbol *sym) in has_symbol() 133 struct symbol *sym; member 140 struct symbol *sym; in has_var_helper() local
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util.c | 99 elfedit_atoui_value_to_str(const elfedit_atoui_sym_t *sym, in elfedit_atoui_value_to_str() 133 atoi_sym_process(const char *str, const elfedit_atoi_sym_t *sym, in atoi_sym_process() 160 atoui_sym_process(const char *str, const elfedit_atoui_sym_t *sym, in atoui_sym_process() 193 elfedit_cpl_atoi(void *cpldata, const elfedit_atoi_sym_t *sym) in elfedit_cpl_atoi() 199 elfedit_cpl_atoui(void *cpldata, const elfedit_atoui_sym_t *sym) in elfedit_cpl_atoui() 253 elfedit_atoi(const char *str, const elfedit_atoi_sym_t *sym) in elfedit_atoi() 262 elfedit_atoui2(const char *str, const elfedit_atoui_sym_t *sym, in elfedit_atoui2() 279 elfedit_atoui(const char *str, const elfedit_atoui_sym_t *sym) in elfedit_atoui() 329 const elfedit_atoi_sym_t *sym, elfedit_atoi_t *v) in elfedit_atoi_range2() 336 elfedit_atoi_t min, elfedit_atoi_t max, const elfedit_atoi_sym_t *sym) in elfedit_atoi_range() [all …]
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | libm.h | 54 #define LIBM_ANSI_PRAGMA_WEAK(sym,stype) \ argument 84 #define PIC_SET(via,sym,dst) ldx [%via+sym],%dst argument 86 #define PIC_SET(via,sym,dst) ld [%via+sym],%dst argument 95 #define PIC_SET(via,sym,dst) setx sym,%g1,%dst argument 97 #define PIC_SET(via,sym,dst) set sym,%dst argument 153 #define LIBM_ANSI_PRAGMA_WEAK(sym,stype) \ argument 165 #define PIC_G_LOAD(insn,sym,dst) \ argument 178 #define PIC_G_LOAD(insn,sym,dst) \ argument 188 #define PIC_G_LOAD(insn,sym,dst) insn sym,%dst argument
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | reloc.h | 244 #define REL_ERR_UNIMPL(lml, file, sym, rtype) \ argument 249 #define REL_ERR_UNSUPSZ(lml, file, sym, rtype, size) \ argument 255 #define REL_ERR_NONALIGN(lml, file, sym, rtype, off) \ argument 261 #define REL_ERR_UNNOBITS(lml, file, sym, rtype, nbits) \ argument 267 #define REL_ERR_LOSEBITS(lml, file, sym, rtype, uvalue, nbits, off) \ argument 275 #define REL_ERR_NOFIT(lml, file, sym, rtype, uvalue) \ argument 286 #define REL_ERR_UNIMPL(lml, file, sym, rtype) \ argument 290 #define REL_ERR_UNSUPSZ(lml, file, sym, rtype, size) \ argument 295 #define REL_ERR_NONALIGN(lml, file, sym, rtype, off) \ argument 300 #define REL_ERR_UNNOBITS(lml, file, sym, rtype, nbits) \ argument [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | misc.c | 59 GElf_Sym sym; in umem_set_standalone() local 79 umem_lookup_by_name(const char *name, GElf_Sym *sym) in umem_lookup_by_name() 89 GElf_Sym sym; in umem_readvar() local 102 is_umem_sym(const char *sym, const char *prefix) in is_umem_sym()
|