Home
last modified time | relevance | path

Searched refs:SYM_STRUCT (Results 1 – 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_struct_type.c36 if (!left_type || left_type->type != SYM_STRUCT) in match_assign()
47 if (size_type->type != SYM_STRUCT) in match_assign()
H A Dcheck_rosenberg.c40 if (!type || type->type != SYM_STRUCT) in extra_mod_hook()
73 if (base_type && base_type->type == SYM_STRUCT) { in check_struct()
110 if (!type || type->type != SYM_STRUCT) in warn_on_holey_struct()
209 if (sym->type != SYM_STRUCT) in check_members_initialized()
319 if (!type || type->type != SYM_STRUCT) in match_skb_put()
H A Dsmatch_type_val.c205 if (!type || type->type != SYM_STRUCT) in is_ignored_fake_assignment()
366 if (left_type->type == SYM_STRUCT && left_type == right_type) in is_uncasted_pointer_assign()
441 if (!left_type || left_type->type != SYM_STRUCT) in is_uncasted_fn_param_from_db()
471 if (type && type->type == SYM_STRUCT) in match_assign_value()
547 if (type && (type->type == SYM_ARRAY || type->type == SYM_STRUCT)) in match_global_assign()
621 if (type && type->type == SYM_STRUCT) in db_param_add()
H A Dcheck_buffer_too_small_for_struct.c36 if (!left_type || left_type->type != SYM_STRUCT) in match_assign()
87 if (!left_type || left_type->type != SYM_STRUCT) in match_dereferences()
H A Dcheck_implicit_dependencies.c70 if (arg->type == SYM_STRUCT) in match_syscall_definition()
169 if (ignore_structs && member_sym->type == SYM_STRUCT) { in print_read_member_type()
204 if (ignore_structs && member_sym->type == SYM_STRUCT) { in print_write_member_type()
H A Dsmatch_address.c47 if (type->type != SYM_STRUCT) in is_non_null_array()
91 if (!type || type->type != SYM_STRUCT) in get_member_offset()
140 if (!type || type->type != SYM_STRUCT) in get_member_offset_from_deref()
H A Dcheck_uninitialized.c44 base_type->type == SYM_STRUCT || in mark_members_uninitialized()
72 if (type->type == SYM_STRUCT) { in match_declarations()
253 if (!type || type->type != SYM_STRUCT) in match_call_struct_members()
H A Dsmatch_struct_assignment.c81 if (type->type == SYM_STRUCT) in get_struct_type()
203 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in set_inner_struct_members()
275 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in __struct_members_copy()
419 left_type->type != SYM_STRUCT)) in __fake_struct_member_assignments()
H A Dsmatch_type_links.c61 if (!type || type->type != SYM_STRUCT) in match_assign()
H A Dsmatch_mtag_data.c104 if (type->type != SYM_STRUCT) in is_head_next()
139 if (type->type == SYM_STRUCT || in invalid_type()
H A Dcheck_memcpy_overflow.c162 if (type->type != SYM_STRUCT) in ends_on_struct_member_boundary()
227 if (type->type != SYM_STRUCT) in is_ignored_struct()
H A Dtest-dissect.c10 if (m & MOD_INLINE || t == SYM_STRUCT || t == SYM_UNION /*|| t == SYM_ENUM*/) in storage()
H A Dsmatch_buf_size.c402 if (!sym || sym->type != SYM_STRUCT) in last_member_is_resizable()
410 if (type->type == SYM_STRUCT) in last_member_is_resizable()
448 if (!base_sym || base_sym->type != SYM_STRUCT) in get_stored_size_end_struct_bytes()
813 if (type->type != SYM_STRUCT && in is_type_bytes()
H A Dsmatch_kernel_user_data.c216 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in tag_inner_struct_members()
245 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in tag_struct_members()
288 if (type->type == SYM_STRUCT || type->type == SYM_UNION) { in tag_as_user_data()
400 if (!sym || sym->type != SYM_STRUCT || !sym->ident) in is_skb_data()
527 if (left_type->type != SYM_STRUCT && in handle_struct_assignment()
1189 if (tmp && (tmp->type == SYM_STRUCT || tmp->type == SYM_UNION)) { in set_param_user_data()
H A Dsmatch_flow.c1270 if (!type || type->type != SYM_STRUCT) in member_to_number()
1290 if (!type || type->type != SYM_STRUCT) in number_to_member()
1323 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in set_inner_struct_members()
1361 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in set_unset_to_zero()
1384 (struct_type->type != SYM_STRUCT && struct_type->type != SYM_UNION)) in fake_member_assigns_helper()
1534 } else if (get_real_base_type(sym)->type == SYM_STRUCT) { in fake_global_assign()
H A Dsmatch_type.c559 if (!type || type->type != SYM_STRUCT) in is_struct_ptr()
778 if (type && type->type == SYM_STRUCT) in is_struct()
852 } else if (type->type == SYM_STRUCT) { in type_str_helper()
H A Dsmatch_fn_arg_link.c61 if (!type || type->type != SYM_STRUCT || !type->ident) in save_in_fn_ptr_data_link_table()
H A Dsmatch_param_cleared.c158 if (!type || type->type != SYM_STRUCT) in match_assign()
H A Dctags.c142 case SYM_STRUCT: in examine_symbol()
H A Dast-inspect.c109 [SYM_STRUCT] = "SYM_STRUCT", in symbol_type_name()
H A Dsmatch_container_of.c392 if (!type || type->type != SYM_STRUCT) in get_member_from_offset()
437 if (type->type != SYM_STRUCT) { in get_name_from_offset()
H A Dshow-parse.c58 [SYM_STRUCT] = "strt", in do_debug_symbol()
351 case SYM_STRUCT: in do_show_type()
475 case SYM_STRUCT: in show_symbol()
H A Ddissect.c146 if (type->type != SYM_STRUCT && type->type != SYM_UNION) in report_implicit()
228 case SYM_STRUCT: case SYM_UNION: //case SYM_ENUM: in examine_sym_node()
H A Dc2xml.c207 case SYM_STRUCT: in examine_symbol()
H A Dsparse.c297 case SYM_STRUCT: case SYM_UNION: case SYM_ARRAY: in list_compound_symbol()

12