/illumos-gate/usr/src/cmd/acctadm/ |
H A D | main.c | 207 type |= AC_PROC; in main() 209 type |= AC_TASK; in main() 211 type |= AC_FLOW; in main() 213 type |= AC_NET; in main() 250 printgroups(type); in main() 282 assert(type == AC_PROC || type == AC_TASK || type == AC_FLOW || in main() 283 type == AC_NET); in main() 285 if ((type == AC_FLOW || type == AC_NET) && getzoneid() != GLOBAL_ZONEID) in main() 312 if (type & AC_NET) { in main() 461 if (type & AC_NET) { in main() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_math.c | 206 neg_one.type = zero.type = type; in handle_minus_preop() 305 if (!type || type->type != SYM_PTR) in handle_offset_subtraction() 307 type = get_real_base_type(type); in handle_offset_subtraction() 308 if (!type || (type_bits(type) != 8 && (type != &void_ctype))) in handle_offset_subtraction() 372 tmp.type = type; in handle_subtract_rl() 1019 (type->type == SYM_ARRAY || in handle_variable() 1020 type->type == SYM_FN)) in handle_variable() 1283 type_bits(type) > 0 && type_bits(type) < 32) { in handle_cast() 1318 type = get_real_base_type(type); in get_offset_from_down() 1326 if (!type || type->type != SYM_ARRAY) in get_offset_from_down() [all …]
|
H A D | check_precedence.c | 25 struct symbol *type; in is_bool() local 27 type = get_type(expr); in is_bool() 28 if (!type) in is_bool() 30 if (type_bits(type) == 1 && type->ctype.modifiers & MOD_UNSIGNED) in is_bool() 52 if (expr->type == EXPR_COMPARE) in is_bool_op() 54 if (expr->type == EXPR_LOGICAL) in is_bool_op() 63 if (expr->type == EXPR_COMPARE) { in match_condition() 64 if (expr->left->type == EXPR_COMPARE || expr->right->type == EXPR_COMPARE) in match_condition() 81 if (expr->type == EXPR_BINOP) { in match_condition() 82 if (expr->left->type == EXPR_COMPARE || expr->right->type == EXPR_COMPARE) in match_condition() [all …]
|
H A D | dissect.c | 67 return type->type == SYM_PTR || type->type == SYM_ARRAY; in is_ptr() 84 int wptr = is_ptr(type) && !(type->ctype.modifiers & MOD_CONST); in u_lval() 93 switch (type->type) { in fix_mode() 124 .type = SYM_BAD, in no_member() 146 if (type->type != SYM_STRUCT && type->type != SYM_UNION) in report_implicit() 545 if (type->type == SYM_ARRAY) { in do_initializer() 552 m_type = type; in do_initializer() 573 return type; in do_initializer() 585 switch (type->type) { in do_symbol() 598 : type->stmt); in do_symbol() [all …]
|
H A D | smatch_mtag.c | 235 struct symbol *type; in get_array_mtag_offset() local 246 if (!type || type->type != SYM_ARRAY) in get_array_mtag_offset() 248 type = get_real_base_type(type); in get_array_mtag_offset() 249 if (!type_bytes(type)) in get_array_mtag_offset() 272 if (sval.type->type != SYM_PTR || sval.uvalue != MTAG_SEED) in swap_mtag_seed() 313 struct symbol *type; in get_implied_mtag_offset() local 316 type = get_type(expr); in get_implied_mtag_offset() 406 struct symbol *type; in get_mtag_sval() local 415 type = get_type(expr); in get_mtag_sval() 431 (type->type == SYM_ARRAY || type->type == SYM_FN) && in get_mtag_sval() [all …]
|
H A D | smatch_kernel_user_data.c | 216 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() 256 if (type->type == SYM_ARRAY) in tag_struct_members() 277 if (!type || type->type != SYM_PTR) in tag_as_user_data() 279 type = get_real_base_type(type); in tag_as_user_data() 280 if (!type) in tag_as_user_data() 286 if (type->type == SYM_BASETYPE) in tag_as_user_data() 288 if (type->type == SYM_STRUCT || type->type == SYM_UNION) { in tag_as_user_data() 492 if (type && type->type == SYM_PTR) in set_points_to_user_data() 493 type = get_real_base_type(type); in set_points_to_user_data() [all …]
|
H A D | smatch_constraints_required.c | 61 struct symbol *type; in bytes_per_element() local 63 type = get_type(expr); in bytes_per_element() 64 if (!type) in bytes_per_element() 67 if (type->type != SYM_PTR && type->type != SYM_ARRAY) in bytes_per_element() 70 type = get_base_type(type); in bytes_per_element() 71 return type_bytes(type); in bytes_per_element() 109 if (!type || type->type != SYM_PTR) in handle_zero_size_arrays() 111 type = get_real_base_type(type); in handle_zero_size_arrays() 112 if (!type || !type->ident || type->type != SYM_STRUCT) in handle_zero_size_arrays() 433 struct symbol *type; in match_assign_constraint() local [all …]
|
H A D | check_rosenberg.c | 37 struct symbol *type; in extra_mod_hook() local 39 type = get_real_base_type(sym); in extra_mod_hook() 40 if (!type || type->type != SYM_STRUCT) in extra_mod_hook() 108 struct symbol *type; in warn_on_holey_struct() local 109 type = get_type(expr); in warn_on_holey_struct() 110 if (!type || type->type != SYM_STRUCT) in warn_on_holey_struct() 209 if (sym->type != SYM_STRUCT) in check_members_initialized() 289 if (expr->type != EXPR_CALL) in db_param_cleared() 314 struct symbol *type; in match_skb_put() local 318 type = get_real_base_type(type); in match_skb_put() [all …]
|
H A D | evaluate.c | 146 type = type->ctype.base_type; in integer_promotion() 379 if (type->type == SYM_NODE) in classify_type() 380 type = type->ctype.base_type; in classify_type() 388 if (type->type == SYM_ENUM) in classify_type() 389 type = type->ctype.base_type; in classify_type() 397 return type_class[type->type]; in classify_type() 404 if (type->type == SYM_NODE) in is_string_type() 469 *type = befoul(*type); in restricted_unop() 719 type = t1->type; in type_difference() 720 if (type != t2->type) in type_difference() [all …]
|
H A D | smatch_untracked_param.c | 122 if (type == LOST_PARAM) in mark_untracked_lost() 163 struct symbol *type; in match_after_call() local 178 type = get_type(arg); in match_after_call() 179 if (!type || type->type != SYM_PTR) in match_after_call() 220 int type; in print_untracked_params() local 231 type = LOST_PARAM; in print_untracked_params() 234 type = LOST_PARAM; in print_untracked_params() 249 struct symbol *type; in match_param_assign() local 257 if (!type || type->type != SYM_PTR) in match_param_assign() 272 struct symbol *type; in match_param_assign_in_asm() local [all …]
|
H A D | smatch_type_links.c | 52 struct symbol *type; in match_assign() local 57 type = get_type(expr->right); in match_assign() 58 if (!type || type->type != SYM_PTR) in match_assign() 60 type = get_real_base_type(type); in match_assign() 61 if (!type || type->type != SYM_STRUCT) in match_assign() 64 sql_insert_data_info(expr->left, TYPE_LINK, type_to_str(type)); in match_assign()
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_i386.c | 602 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 617 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 639 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 664 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 689 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 714 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 745 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 1029 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 1048 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 1097 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsmdb/ |
H A D | smdb.c | 80 smdb_lockfile(fd, type) in smdb_lockfile() argument 82 int type; 91 if (bitset(LOCK_UN, type)) 98 if (bitset(LOCK_NB, type)) 197 SMDB_DBTYPE type; 207 type = SMDB_TYPE_HASH; 210 type = SMDB_TYPE_NDBM; 377 int type; 524 SMDB_DBTYPE type; member 538 SMDB_DBTYPE type; in smdb_db_definition() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dtlist.c | 66 int type; 74 { if(type&DT_LAST) 115 int type; 125 if(type&DT_EXTRACT) 168 int type; 176 type = DTTYPE(dt,type); /* map type for upward compatibility */ 212 { if(type&DT_APPEND) 217 { if(type&DT_APPEND) 263 if(type&DT_MATCH) 320 if(type&DT_NEXT) [all …]
|
H A D | dtopen.c | 33 if (type == DT_DELETE && (dt->meth->type&(DT_OBAG|DT_BAG))) in _dttype2005() 34 type = DT_REMOVE; in _dttype2005() 35 return type; in _dttype2005() 49 int ev, type; local 56 type = meth->type; 68 { if((data->type & DT_METHODS) != meth->type) 77 type |= DT_INDATA; 84 pdt.data->type |= type; 87 if(pdt.data->type&DT_INDATA) 159 if(type > 0) in dtuserlock() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | isterminfo.c | 106 char * type in isterminfo() argument 109 isterminfo (type) in isterminfo() 110 char *type; in isterminfo() 118 if (!type || !*type) 122 if (tfind(type, (A2)&hit_cache, (A3)strcmp)) 135 && _isterminfo(type, envTERMINFO) 137 || _isterminfo(type, TERMINFO) 169 char * type, in _isterminfo() argument 173 _isterminfo (type, parent) in _isterminfo() 174 char *type, in _isterminfo() [all …]
|
/illumos-gate/usr/src/lib/libfruutils/ |
H A D | fru_tag.h | 45 unsigned type : 1; member 50 unsigned type : 2; member 55 unsigned type : 3; member 60 unsigned type : 4; member 65 unsigned type : 5; member 70 unsigned type : 6; member 75 unsigned type : 7; member 85 unsigned type : 1; 90 unsigned type : 2; 95 unsigned type : 3; [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | typegraph.c | 473 if (!mdb_ctf_type_valid(type = typegraph_resolve(type))) in typegraph_offiter() 547 if (!mdb_ctf_type_valid(type = typegraph_resolve(type))) in typegraph_union() 554 type = typegraph_type_offset(type, in typegraph_union() 700 type = typegraph_resolve(type); in typegraph_type_offset() 788 if (!mdb_ctf_type_valid(type = typegraph_resolve(type))) in typegraph_type_offset() 1382 if (!mdb_ctf_type_valid(type = typegraph_resolve(type))) { in typegraph_build() 2076 type = ntype; in typegraph_pass4_node() 2892 type = typegraph_resolve(type); in findlocks_findmutex() 3237 sync[i].type = typegraph_resolve(sync[i].type); in findfalse_findsync() 3252 type = typegraph_resolve(type); in findfalse_findsync() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_grammar.y | 141 %type <l_node> d_expression 142 %type <l_node> d_program 143 %type <l_node> d_type 161 %type <l_node> statement 162 %type <l_node> declaration 171 %type <l_decl> declarator 173 %type <l_decl> pointer 175 %type <l_decl> type_name 183 %type <l_node> array 185 %type <l_node> function [all …]
|
/illumos-gate/usr/src/contrib/bhyve/sys/ |
H A D | tree.h | 122 struct type *name##_SPLAY_INSERT(struct name *, struct type *); \ 123 struct type *name##_SPLAY_REMOVE(struct name *, struct type *); \ 162 struct type * \ 186 struct type * \ 387 attr void name##_RB_REMOVE_COLOR(struct name *, struct type *, struct type *);\ 388 attr struct type *name##_RB_REMOVE(struct name *, struct type *); \ 389 attr struct type *name##_RB_INSERT(struct name *, struct type *); \ 390 attr struct type *name##_RB_FIND(struct name *, struct type *); \ 391 attr struct type *name##_RB_NFIND(struct name *, struct type *); \ 392 attr struct type *name##_RB_NEXT(struct type *); \ [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | ddt.c | 67 ddt_object_name(ddt, type, class, name); in ddt_object_create() 217 ddt->ddt_object[type][class])); in ddt_object_count() 458 for (enum ddt_type type = 0; type < DDT_TYPES; type++) { in ddt_get_dedup_object_stats() local 482 for (enum ddt_type type = 0; type < DDT_TYPES; type++) { in ddt_get_dedup_histogram() local 690 enum ddt_type type; in ddt_lookup() local 719 for (type = 0; type < DDT_TYPES; type++) { in ddt_lookup() 766 for (enum ddt_type type = 0; type < DDT_TYPES; type++) { in ddt_prefetch() local 855 for (enum ddt_type type = 0; type < DDT_TYPES; type++) { in ddt_load() local 901 for (enum ddt_type type = 0; type < DDT_TYPES; type++) in ddt_class_contains() local 919 for (enum ddt_type type = 0; type < DDT_TYPES; type++) { in ddt_repair_start() local [all …]
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zprop_common.c | 53 zprop_get_proptable(zfs_type_t type) in zprop_get_proptable() argument 55 if (type == ZFS_TYPE_POOL) in zprop_get_proptable() 62 zprop_get_numprops(zfs_type_t type) in zprop_get_numprops() argument 64 if (type == ZFS_TYPE_POOL) in zprop_get_numprops() 87 pd->pd_proptype = type; in zprop_register_impl() 173 prop_tbl = zprop_get_proptable(type); in zprop_iter_common() 174 num_props = zprop_get_numprops(type); in zprop_iter_common() 263 B_TRUE, B_FALSE, type); in zprop_name_to_prop() 270 zfs_type_t type) in zprop_string_to_index() argument 280 prop_tbl = zprop_get_proptable(type); in zprop_string_to_index() [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_fa.c | 55 s1394_fa_hal_t *falp = &hal->hal_fa[type]; in s1394_fa_claim_addr() 88 s1394_fa_hal_t *falp = &hal->hal_fa[type]; in s1394_fa_free_addr() 104 s1394_fa_type_t type) in s1394_fa_list_add() argument 106 s1394_fa_hal_t *fal = &hal->hal_fa[type]; in s1394_fa_list_add() 125 s1394_fa_type_t type) in s1394_fa_list_remove() argument 127 s1394_fa_hal_t *fal = &hal->hal_fa[type]; in s1394_fa_list_remove() 139 nextp = &curp->target_fa[type].fat_next; in s1394_fa_list_remove() 153 s1394_fa_hal_t *fal = &hal->hal_fa[type]; in s1394_fa_list_is_empty() 166 s1394_fa_hal_t *fal = &hal->hal_fa[type]; in s1394_fa_list_gen() 179 s_priv->cmd_ext.fa.type = type; in s1394_fa_init_cmd() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | pc_slice.h | 128 #define IS_PC_SLICE_TYPE_FAT(type) \ argument 136 || type == PC_SLICE_TYPE_SOLARIS_BOOT \ 137 || type == PC_SLICE_TYPE_DELL_UTIL; }) 139 #define IS_PC_SLICE_TYPE_EXTENDED(type) \ argument 140 (((type) == PC_SLICE_TYPE_EXTENDED) \ 144 #define IS_PC_SLICE_TYPE_MINIX(type) \ argument 145 (((type) == PC_SLICE_TYPE_MINIX) \ 146 || ((type) == PC_SLICE_TYPE_LINUX_MINIX)) 160 #define IS_PC_SLICE_TYPE_BSD(type) IS_PC_SLICE_TYPE_BSD_WITH_FS(type,0) argument 162 #define IS_PC_SLICE_TYPE_SOLARIS(type) \ argument [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_phys.c | 104 int type); 334 int type) in vsw_mac_multicast_add() argument 365 int type) in vsw_mac_multicast_remove() argument 391 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_mac_multicast_add_all() 433 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_mac_multicast_remove_all() 462 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_update_bandwidth() 586 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_maccl_close() 630 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_set_hw() 661 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_unset_hw() 832 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_unset_hw_addr() [all …]
|