/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 | 53 static struct symbol *copy_symbol(struct position pos, struct symbol *sym) in copy_symbol() 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 [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 95 static void lay_out_union(struct symbol *sym, struct struct_union_info *info) in lay_out_union() 111 static int bitfield_base_size(struct symbol *sym) in bitfield_base_size() 123 static void lay_out_struct(struct symbol *sym, struct struct_union_info *info) in lay_out_struct() 182 static struct symbol * examine_struct_union_type(struct symbol *sym, int advance) in examine_struct_union_type() 209 static struct symbol *examine_base_type(struct symbol *sym) in examine_base_type() 228 static struct symbol * examine_array_type(struct symbol *sym) in examine_array_type() 253 static struct symbol *examine_bitfield_type(struct symbol *sym) in examine_bitfield_type() [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_type.c | 26 struct symbol *get_real_base_type(struct symbol *sym) in get_real_base_type() 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 415 int returns_unsigned(struct symbol *sym) in returns_unsigned() 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 [all …]
|
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 | 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 | 47 static void do_debug_symbol(struct symbol *sym, int indent) in do_debug_symbol() 103 void debug_symbol(struct symbol *sym) in debug_symbol() 168 static void show_struct_member(struct symbol *sym) in show_struct_member() 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() 273 const char *builtin_type_suffix(struct symbol *sym) in builtin_type_suffix() 293 static void do_show_type(struct symbol *sym, struct type_name *name) in do_show_type() 430 void show_type(struct symbol *sym) in show_type() 441 const char *show_typename(struct symbol *sym) in show_typename() [all …]
|
H A D | smatch_states.c | 131 static void call_tracker_hooks(int owner, const char *name, struct symbol *sym, struct smatch_state… in call_tracker_hooks() 151 struct sm_state *set_state(int owner, const char *name, struct symbol *sym, struct smatch_state *st… in set_state() 190 struct symbol *sym; in set_state_expr() local 349 static void call_get_state_hooks(int owner, const char *name, struct symbol *sym) in call_get_state_hooks() 365 struct smatch_state *__get_state(int owner, const char *name, struct symbol *sym) in __get_state() 375 struct smatch_state *get_state(int owner, const char *name, struct symbol *sym) in get_state() 385 struct symbol *sym; in get_state_expr() local 398 struct state_list *get_possible_states(int owner, const char *name, struct symbol *sym) in get_possible_states() 411 struct symbol *sym; in get_possible_states_expr() local 424 struct sm_state *get_sm_state(int owner, const char *name, struct symbol *sym) in get_sm_state() [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 | check_locking.c | 462 static char *lock_to_name_sym(struct expression *expr, struct symbol **sym) in lock_to_name_sym() 469 static char *get_full_name(struct expression *expr, int index, struct symbol **sym) in get_full_name() 574 static void set_start_state(const char *name, struct symbol *sym, struct smatch_state *start) in set_start_state() 640 struct symbol *sym; in handle_macro_lock_unlock() local 688 static void do_lock(const char *name, struct symbol *sym, struct lock_info *info) in do_lock() 704 static void do_lock_failed(const char *name, struct symbol *sym) in do_lock_failed() 710 static void do_unlock(const char *name, struct symbol *sym, struct lock_info *info) in do_unlock() 735 static void do_restore(const char *name, struct symbol *sym, struct lock_info *info) in do_restore() 753 struct symbol *sym; in match_lock_held() local 776 struct symbol *sym; in match_lock_failed() local [all …]
|
H A D | smatch_extra.c | 82 void call_extra_hooks(struct void_fn_list *hooks, const char *name, struct symbol *sym, struct expr… in call_extra_hooks() 91 void call_extra_mod_hooks(const char *name, struct symbol *sym, struct expression *expr, struct sma… in call_extra_mod_hooks() 96 void call_extra_nomod_hooks(const char *name, struct symbol *sym, struct expression *expr, struct s… in call_extra_nomod_hooks() 101 static void set_union_info(const char *name, struct symbol *sym, struct expression *expr, struct sm… in set_union_info() 172 void set_extra_mod_helper(const char *name, struct symbol *sym, struct expression *expr, struct sma… in set_extra_mod_helper() 191 static void set_extra_nomod_helper(const char *name, struct symbol *sym, struct expression *expr, s… in set_extra_nomod_helper() 197 static char *get_pointed_at(const char *name, struct symbol *sym, struct symbol **new_sym) in get_pointed_at() 221 …_name_sym_from_chunk(const char *name, const char *chunk, int len, struct symbol *sym, struct symb… in get_other_name_sym_from_chunk() 258 static char *get_long_name_sym(const char *name, struct symbol *sym, struct symbol **new_sym, bool … in get_long_name_sym() 300 char *get_other_name_sym_helper(const char *name, struct symbol *sym, struct symbol **new_sym, bool… in get_other_name_sym_helper() [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 | 86 elfedit_atoi_value_to_str(const elfedit_atoi_sym_t *sym, elfedit_atoi_t value, in elfedit_atoi_value_to_str() 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() 237 elfedit_atoi2(const char *str, const elfedit_atoi_sym_t *sym, elfedit_atoi_t *v) in elfedit_atoi2() 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() [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()
|