/illumos-gate/usr/src/uts/common/sys/ |
H A D | model.h | 88 struct struct_type##32 *m32; \ 89 struct struct_type *m64; \ 94 #define STRUCT_DECL(struct_type, handle) \ argument 95 struct struct_type __##handle##_buf; \ 96 STRUCT_HANDLE(struct_type, handle) 151 sizeof (struct struct_type##32) : \ 152 sizeof (struct struct_type)) 158 struct struct_type *ptr; \ 163 struct struct_type __##handle##_buf; \ 164 STRUCT_HANDLE(struct_type, handle) [all …]
|
H A D | tiuser.h | 198 extern char *t_alloc(int fildes, int struct_type, int fields); 204 extern int t_free(char *ptr, int struct_type);
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_function_ptrs.c | 399 struct symbol *struct_type) in print_initializer_list() argument 407 print_initializer_list(expr->idx_expression->expr_list, struct_type); in print_initializer_list() 422 struct_type->ident->name, expr->expr_ident->name); in print_initializer_list() 430 struct symbol *struct_type; in global_variable() local 436 struct_type = get_base_type(sym); in global_variable() 437 if (!struct_type) in global_variable() 439 if (struct_type->type == SYM_ARRAY) { in global_variable() 440 struct_type = get_base_type(struct_type); in global_variable() 441 if (!struct_type) in global_variable() 444 if (struct_type->type != SYM_STRUCT || !struct_type->ident) in global_variable() [all …]
|
H A D | smatch_struct_assignment.c | 90 struct symbol *struct_type; in get_right_base_expr() local 95 struct_type = get_struct_type(right); in get_right_base_expr() 96 if (!struct_type) in get_right_base_expr() 98 if (struct_type != left_type) in get_right_base_expr() 234 struct symbol *struct_type, *tmp, *type; in __struct_members_copy() local 250 struct_type = get_struct_type(left); in __struct_members_copy() 251 if (!struct_type) { in __struct_members_copy() 266 right = get_right_base_expr(struct_type, right); in __struct_members_copy() 268 FOR_EACH_PTR(struct_type->symbol_list, tmp) { in __struct_members_copy()
|
H A D | check_uninitialized.c | 35 struct symbol *struct_type, *tmp, *base_type; in mark_members_uninitialized() local 38 struct_type = get_real_base_type(sym); in mark_members_uninitialized() 39 FOR_EACH_PTR(struct_type->symbol_list, tmp) { in mark_members_uninitialized()
|
H A D | check_memcpy_overflow.c | 336 const char *struct_type; in register_ignored_structs_from_file() local 350 struct_type = show_ident(token->ident); in register_ignored_structs_from_file() 351 insert_string(&ignored_structs, alloc_string(struct_type)); in register_ignored_structs_from_file()
|
H A D | smatch_flow.c | 1378 struct symbol *struct_type, *type; in fake_member_assigns_helper() local 1382 struct_type = get_type(symbol); in fake_member_assigns_helper() 1383 if (!struct_type || in fake_member_assigns_helper() 1384 (struct_type->type != SYM_STRUCT && struct_type->type != SYM_UNION)) in fake_member_assigns_helper() 1430 set_unset_to_zero(struct_type, symbol); in fake_member_assigns_helper()
|
H A D | smatch_db.c | 304 void sql_insert_function_type_info(int type, const char *struct_type, const char *member, const cha… in sql_insert_function_type_info() argument 306 …', '%s', %d, '%s', '%s', '%s'", get_base_file(), get_function(), type, struct_type, member, value); in sql_insert_function_type_info()
|
H A D | smatch.h | 1002 void sql_insert_function_type_info(int type, const char *struct_type, const char *member, const cha…
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | smdb.py | 481 def print_type_size(struct_type, member): argument 706 def constraint(struct_type, member): argument 743 struct_type = sys.argv[2] variable 745 print_type_size(struct_type, member) 747 struct_type = sys.argv[2] variable 749 print_data_info(struct_type, member) 762 struct_type = "%" variable 765 struct_type = sys.argv[2] variable 790 struct_type = "%" variable 793 struct_type = sys.argv[2] variable [all …]
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | tli_wrappers.c | 48 t_alloc(int fd, int struct_type, int fields) in t_alloc() argument 50 return (_tx_alloc(fd, struct_type, fields, TX_TLI_API)); in t_alloc() 82 t_free(char *ptr, int struct_type) in t_free() argument 84 return (_tx_free(ptr, struct_type, TX_TLI_API)); in t_free()
|
H A D | xti_wrappers.c | 67 _xti_alloc(int fd, int struct_type, int fields) in _xti_alloc() argument 69 return (_tx_alloc(fd, struct_type, fields, TX_XTI_API)); in _xti_alloc() 101 _xti_free(void *ptr, int struct_type) in _xti_free() argument 103 return (_tx_free(ptr, struct_type, TX_XTI_API)); in _xti_free()
|
H A D | t_free.c | 40 _tx_free(char *ptr, int struct_type, int api_semantics) in _tx_free() argument 56 switch (struct_type) { in _tx_free()
|
H A D | t_alloc.c | 52 _tx_alloc(int fd, int struct_type, int fields, int api_semantics) in _tx_alloc() argument 108 switch (struct_type) { in _tx_alloc() 255 (void) t_free(p.caddr, struct_type); in _tx_alloc()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_impl.h | 102 #define RCM_STRUCT_BASE_ADDR(struct_type, x, y) \ argument 103 ((struct_type *) ((void *)(((char *)(x)) - \ 104 (int)(&((struct_type *)0)->y))))
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kfree.c | 65 t_kfree(TIUSER *tiptr, char *ptr, int struct_type) in t_kfree() argument 82 switch (struct_type) { in t_kfree()
|
H A D | t_kalloc.c | 67 t_kalloc(TIUSER *tiptr, int struct_type, int fields, char **ptr) in t_kalloc() argument 89 switch (struct_type) { in t_kalloc()
|