/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_ranges.c | 358 cast_type = rl_type(left_orig); in filter_by_comparison() 359 if (sval_type_max(rl_type(left_orig)).uvalue < sval_type_max(rl_type(right_orig)).uvalue) in filter_by_comparison() 360 cast_type = rl_type(right_orig); in filter_by_comparison() 400 *rl = cast_rl(rl_type(*rl), ret_rl); in filter_by_comparison() 421 if (type_positive_bits(rl_type(start_rl)) > type_positive_bits(type)) in filter_by_comparison_call() 422 type = rl_type(start_rl); in filter_by_comparison_call() 423 if (type_positive_bits(rl_type(right_orig)) > type_positive_bits(type)) in filter_by_comparison_call() 424 type = rl_type(right_orig); in filter_by_comparison_call() 430 return cast_rl(rl_type(start_rl), casted_start); in filter_by_comparison_call() 664 type = rl_type(rl); in rl_is_sane() [all …]
|
H A D | smatch_annotate.c | 34 *res = alloc_rl(sval_type_val(rl_type(rl), 0), rl_max(rl)); in param_caps_return()
|
H A D | smatch_kernel_user_data.c | 686 sval_t max = sval_type_max(rl_type(rl)); in strip_negatives() 688 minus_one.type = rl_type(rl); in strip_negatives() 690 over.type = rl_type(rl); in strip_negatives() 696 if (type_unsigned(rl_type(rl)) && type_bits(rl_type(rl)) > 31) in strip_negatives()
|
H A D | smatch_extra.c | 1011 if (type == rl_type(rl)) in values_fit_type() 1215 add_range(&rl, rl_max(rl), sval_type_max(rl_type(rl))); in match_assign() 1219 sval_t zero = { .type = rl_type(rl) }; in match_assign() 2104 if (type_signed(high_mask.type) && type_unsigned(rl_type(false_rl))) { in handle_AND_op() 2106 sval_type_val(rl_type(false_rl), sval_type_max(known.type).uvalue), in handle_AND_op() 2107 sval_type_val(rl_type(false_rl), -1)); in handle_AND_op() 2146 zero.type = rl_type(orig_rl); in handle_MOD_condition() 2454 abs_rl = cast_rl(rl_type(start), estate_rl(state)); in intersect_with_real_abs_expr() 2547 if (rl_type(orig)->type == SYM_PTR && in basically_the_same() 2558 sval_t zero = { .type = rl_type(rl), }; in db_param_limit_binops()
|
H A D | smatch_implied.c | 154 orig_rl = cast_rl(rl_type(rl), estate_rl(sm->state)); in create_fake_history() 300 var_rl = cast_rl(rl_type(rl), estate_rl(sm->state)); in do_compare() 760 if (type_positive_bits(rl_type(rl)) > type_positive_bits(type)) in handle_comparison() 761 type = rl_type(rl); in handle_comparison()
|
H A D | check_index_overflow.c | 97 if (rl_max(rl).uvalue > sval_type_max(rl_type(rl)).uvalue - 4 && in get_the_max()
|
H A D | smatch_extra.h | 89 struct symbol *rl_type(struct range_list *rl);
|
H A D | check_kernel.c | 258 zero.type = rl_type(arg_rl); in match_fls()
|
H A D | smatch_comparison.c | 177 if (type_positive_bits(rl_type(left_rl)) > type_positive_bits(type)) in rl_comparison() 178 type = rl_type(left_rl); in rl_comparison() 179 if (type_positive_bits(rl_type(right_rl)) > type_positive_bits(type)) in rl_comparison() 180 type = rl_type(right_rl); in rl_comparison()
|
H A D | check_locking.c | 947 if (rl_type(rl)->type != SYM_PTR && sval_is_negative(rl_min(rl))) in success_fail_positive() 962 rl_type(rl)->type == SYM_PTR && in success_fail_positive()
|
H A D | smatch_db.c | 1813 null_sval = sval_type_val(rl_type(rl), 0); in call_return_state_hooks_split_null_non_null_zero() 1909 zero_sval = sval_type_val(rl_type(rl), 0); in call_return_state_hooks_split_success_fail() 2108 if (rl_type(rl) != &int_ctype) in is_kernel_error_path()
|
H A D | smatch_math.c | 205 type = rl_type(rl); in handle_minus_preop() 354 if (type_bits(rl_type(rl)) < 31) in max_is_unknown_max()
|
H A D | smatch_helper.c | 848 rl_type(rl) == &int_ctype && in is_error_return()
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 610 uint32_t type = lp->rl_type; in rc_node_hash() 654 type = r->rl_type; in rc_node_match() 655 if (type != l->rl_type) in rc_node_match() 660 tp = &rc_types[r->rl_type]; in rc_node_match() 765 if (np->rn_id.rl_type == REP_PROTOCOL_ENTITY_CPROPERTYGRP) in rc_node_rele_locked() 1070 np->rn_id.rl_type); in rc_node_get_fmri_or_fragment() 1116 np->rn_id.rl_type); in rc_node_build_fmri() 1201 if (nnp->rn_id.rl_type != REP_PROTOCOL_ENTITY_PROPERTYGRP) in rc_notify_insert_node() 1736 if (np->rn_id.rl_type == REP_PROTOCOL_ENTITY_CPROPERTYGRP) { in rc_node_destroy() 1795 assert(rc_check_parent_child(np->rn_id.rl_type, cp->rn_id.rl_type) == in rc_node_link_child() [all …]
|
H A D | file_object.c | 832 cip->ci_base_nl.rl_type = type; in scope_setup_child_info() 850 cip->ci_base_nl.rl_type = type; in service_setup_child_info() 870 cip->ci_base_nl.rl_type = type; in instance_setup_child_info() 886 cip->ci_base_nl.rl_type = type; in snaplevel_setup_child_info() 905 cip->ci_base_nl.rl_type = type; in propertygrp_setup_child_info() 1097 nl.rl_type = REP_PROTOCOL_ENTITY_SNAPLEVEL; in snapshot_fill_children() 1201 uint32_t type = lp->rl_type; in scope_query_child() 1240 uint32_t type = lp->rl_type; in service_query_child() 1308 uint32_t type = lp->rl_type; in instance_query_child() 1466 uint32_t type = pp->rn_id.rl_type; in object_fill_children() [all …]
|
H A D | configd.h | 180 uint16_t rl_type; /* REP_PROTOCOL_ENTITY_* */ member
|
/illumos-gate/usr/src/cmd/dlstat/ |
H A D | dlstat.c | 278 char rl_type[MAXSTATLEN]; member 295 offsetof(rx_lane_fields_buf_t, rl_type), print_default_cb}, 1243 (void) snprintf(buf->rl_type, sizeof (buf->rl_type), "rx"); in print_rx_lane_stats()
|