/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_lookup.c | 88 ctf_id_t type = 0; in ctf_lookup_by_name() local 116 ntype = ctf_type_resolve(fp, type); in ctf_lookup_by_name() 124 type = CTF_INDEX_TO_TYPE(ntype, in ctf_lookup_by_name() 153 type = hp->h_type; in ctf_lookup_by_name() 164 if (*p != '\0' || type == 0) in ctf_lookup_by_name() 167 return (type); in ctf_lookup_by_name() 185 ctf_id_t type; in ctf_lookup_by_symbol() local 207 if (type == 0) in ctf_lookup_by_symbol() 210 return (type); in ctf_lookup_by_symbol() 229 type = CTF_TYPE_TO_INDEX(type); in ctf_lookup_by_id() [all …]
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | copylet.c | 52 copylet(int letnum, FILE *f, int type) in copylet() argument 55 int rc = xxxcopylet(letnum, f, type); in copylet() 71 xxxcopylet(int letnum, FILE *f, int type) in xxxcopylet() argument 129 if (type == ZAP) { in xxxcopylet() 158 switch(type) { in xxxcopylet() 253 if ((type != ZAP) && rtrncont) in xxxcopylet() 257 if (printhdr (type, htype, hptr, f) < 0) { in xxxcopylet() 261 if (sel_disp(type, htype, buf) >= 0) { in xxxcopylet() 278 dumprcv(type, -1,&didrcvlines,&suppress,f); in xxxcopylet() 279 dumpaff(type, -1,&didafflines,&suppress,f); in xxxcopylet() [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_dcbx.c | 215 p_data->arr[type].tc = tc; in ecore_dcbx_set_params() 253 if (type != id) in ecore_dcbx_update_app_info() 298 *type = DCBX_PROTOCOL_FCOE; in ecore_dcbx_get_app_protocol_type() 300 *type = DCBX_PROTOCOL_ROCE; in ecore_dcbx_get_app_protocol_type() 302 *type = DCBX_PROTOCOL_ISCSI; in ecore_dcbx_get_app_protocol_type() 304 *type = DCBX_PROTOCOL_ETH; in ecore_dcbx_get_app_protocol_type() 369 priority, tc, type); in ecore_dcbx_process_tlv() 381 for (type = 0; type < DCBX_MAX_PROTOCOL_TYPE; type++) { in ecore_dcbx_process_tlv() 387 priority, tc, type); in ecore_dcbx_process_tlv() 829 switch (type) { in ecore_dcbx_get_params() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4u.c | 165 char *type; in walk() local 199 type = get_node_type(pnode); in walk() 204 if (type != NULL) in walk() 205 printf("type=%s ", type); in walk() 212 if (type == NULL) in walk() 213 type = ""; in walk() 220 name, type, model); in walk() 224 (strcmp(type, "cpu") == 0) || in walk() 226 ((strcmp(type, "memory-controller") == 0) && in walk() 247 name, type, model); in walk() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcunion.c | 41 short type; /* type of streams */ member 97 static Sfoff_t unseek(f, addr, type, disc) in unseek() 100 int type; 109 if(un->type&UNSEEKABLE) 112 if(type == 2) 118 else if(type == 1) 150 static int unexcept(f,type,data,disc) in unexcept() 152 int type; 157 if(type == SF_FINAL || type == SF_DPOP) 190 if(!(un->type&UNSEEKABLE)) [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_db.c | 71 int type; member 575 int type; member 683 cb->type = type; in select_call_implies_hook() 692 cb->type = type; in select_return_implies_hook() 796 if (type && type->type == SYM_PTR) in match_call_marker() 797 type = get_real_base_type(type); in match_call_marker() 1268 int type; in return_implies_callbacks() local 1278 if (cb->type != type) in return_implies_callbacks() 1314 if (cb->type != type) in call_implies_callbacks() 2185 if (!type || type->type != SYM_PTR) in print_returned_struct_members() [all …]
|
H A D | smatch_passes_array_size.c | 42 struct symbol *type, *arg_type; in match_call() local 55 type = get_type(arg); in match_call() 56 if (!type || (type->type != SYM_PTR && type->type != SYM_ARRAY)) in match_call() 59 if (arg_type != type) in match_call()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/ |
H A D | nwamadm.c | 347 nwam_object_type_t type; in determine_object_type() local 353 type = NWAM_OBJECT_TYPE_LOC; in determine_object_type() 357 type = NWAM_OBJECT_TYPE_ENM; in determine_object_type() 361 type = NWAM_OBJECT_TYPE_NCP; in determine_object_type() 373 return (type); in determine_object_type() 454 *object_type = type; in parse_argv() 565 switch (type) { in enable_func() 625 switch (type) { in disable_func() 706 switch (type) { in determine_object_state() 744 pent->p_type = type; in add_to_profile_entry() [all …]
|
/illumos-gate/usr/src/lib/librsc/sparc/mpxu/common/ |
H A D | librsc.c | 172 request.type = DP_GET_SDP_VERSION; in rscp_init() 229 rr_req->msg_type = req->type; in rscp_send_recv() 234 rr_resp->msg_type = resp->type; in rscp_send_recv() 279 if (rr_table[i].req_type == type) { in rsc_lookup_rr_table() 291 rsc_check_unsupported_cmd(rsci8 type) in rsc_check_unsupported_cmd() argument 296 if (unsupported_cmds[i] == type) { in rsc_check_unsupported_cmd() 313 switch (type) { in rsc_cmd_response_guaranteed() 595 req->msg_type = msgp->type; in rscp_send() 600 msgp->type)) != NULL) { in rscp_send() 675 msgp->type = DP_NULL_MSG; in rscp_recv() [all …]
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | iconv_tm.h | 340 itm_cond_type_t type; member 626 itm_op_type_t type; member 650 #define ITM_EXPR_PROTO(type, op0, op1) ITM_EXPR_##type##_##op0##_##op1 argument 651 #define ITM_EXPR_BIN(type) \ argument 652 ITM_EXPR_PROTO(type, E, E), \ 653 ITM_EXPR_PROTO(type, E, D), \ 654 ITM_EXPR_PROTO(type, E, R), \ 656 ITM_EXPR_PROTO(type, D, E), \ 657 ITM_EXPR_PROTO(type, D, D), \ 658 ITM_EXPR_PROTO(type, D, R), \ [all …]
|
/illumos-gate/usr/src/lib/print/libipp-core/common/ |
H A D | read.c | 171 int min = min_val_len(type, name), in validate_value() 175 va_start(ap, type); in validate_value() 176 switch (type) { in validate_value() 197 _ipp_tag_string(type), v); in validate_value() 241 _ipp_tag_string(type), v); in validate_value() 282 if (*type > DTAG_MAX) { in ipp_read_attribute_group() 286 *type, _ipp_tag_string(*type)); in ipp_read_attribute_group() 579 *type = value_tag; in ipp_read_attribute_group() 587 char type) in ipp_read_header() argument 619 if (type == IPP_TYPE_REQUEST) in ipp_read_header() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | ctl_transact.c | 54 ctl_transact(target, msg, type, response) in ctl_transact() argument 57 int type; 71 msg.type = type; 140 } while (nready > 0 && response->type != type); 142 } while (response->type != type);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | output.c | 49 int output (type) in output() argument 50 int type; in output() 61 switch (type) { 100 if ((rc = mrecv(buffer, MSGMAX)) != type) { 105 switch(type) { 123 rc = getmessage(buffer, type, &status); 127 rc = getmessage(buffer, type, &status, &dummy); 128 CheckRC: if (rc != type) {
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_hmc.h | 130 #define I40E_SET_PF_SD_ENTRY(hw, pa, sd_index, type) \ argument 136 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \ 151 #define I40E_CLEAR_PF_SD_ENTRY(hw, sd_index, type) \ argument 156 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \ 190 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \ 191 (hmc_info)->hmc_obj[(type)].size * (index); \ 192 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\ 214 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \ 215 (hmc_info)->hmc_obj[(type)].size * (idx); \ 216 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); \ [all …]
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_cout.c | 115 undefined(char *type) in undefined() argument 201 if (streq(type, "bool")) { in print_ifsizeof() 208 f_print(fout, "%s), (xdrproc_t)xdr_%s", type, type); in print_ifsizeof() 234 if (streq(type, "string")) in print_ifstat() 236 else if (streq(type, "opaque")) in print_ifstat() 251 if (streq(type, "string")) in print_ifstat() 255 if (streq(type, "string")) { in print_ifstat() 277 print_ifopen(indent, type); in print_ifstat() 444 ptr = find_type(dc->type); in inline_type() 735 char *type = dec->type; in print_stat() local [all …]
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | cache.c | 360 if (descp->type == type && descp->p.generic != NULL) { in cache_get_descriptors() 375 if (descp->type == type && descp->p.generic != NULL) { in cache_get_descriptors() 615 if (descp->type == type && descp->p.generic == gp && in have_desc() 617 if (type == DM_SLICE || type == DM_PARTITION || in have_desc() 618 type == DM_PATH) { in have_desc() 674 make_descriptors(int type) in make_descriptors() argument 682 switch (type) { in make_descriptors() 788 d->type = type; in new_descriptor() 789 switch (type) { in new_descriptor() 810 if (type == DM_SLICE || type == DM_PARTITION) { in new_descriptor() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cpu_pm.c | 278 dom->cpd_type = type; in cpupm_domain_create() 330 did = cpupm_domain_id(cp, type); in cpupm_domain_init() 331 dom = cpupm_domain_find(did, type); in cpupm_domain_init() 333 dom = cpupm_domain_create(did, type); in cpupm_domain_init() 340 if (type == CPUPM_DTYPE_ACTIVE) { in cpupm_domain_init() 367 return (cpupm_plat_domain_id(cp, type)); in cpupm_domain_id() 679 did = cpupm_domain_id(cp, type); in cpupm_redefine_max_activepwr_state() 681 dom = cpupm_domain_find(did, type); in cpupm_redefine_max_activepwr_state() 684 dom = cpupm_domain_find(did, type); in cpupm_redefine_max_activepwr_state() 759 switch (type) { in cpupm_state_change_global() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_rpcprint.c | 39 int rpcsec_gss_control_proc(int type, int flags, int xid); 41 int rpcsec_gss_pre_proto(int type, int flags, int xid, 47 protoprint(flags, type, xid, prog, vers, proc, data, len) in protoprint() argument 49 int flags, type, prog, vers, proc; 83 if (rpcsec_gss_control_proc(type, flags, xid)) { 95 type == CALL ? 'C' : 'R'); 98 if (rpcsec_gss_pre_proto(type, flags, xid, prog, vers, proc)) 101 (*interpreter) (flags, type, xid, vers, proc, data, len);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_interrupts.c | 19 smrt_interrupt_type_name(int type) in smrt_interrupt_type_name() argument 21 switch (type) { in smrt_interrupt_type_name() 118 smrt_interrupts_alloc(smrt_t *smrt, int type) in smrt_interrupts_alloc() argument 124 if (ddi_intr_get_nintrs(dip, type, &nintrs) != DDI_SUCCESS) { in smrt_interrupts_alloc() 126 smrt_interrupt_type_name(type)); in smrt_interrupts_alloc() 131 smrt_interrupt_type_name(type)); in smrt_interrupts_alloc() 137 "interrupts", smrt_interrupt_type_name(type)); in smrt_interrupts_alloc() 142 smrt_interrupt_type_name(type)); in smrt_interrupts_alloc() 146 if (ddi_intr_alloc(dip, smrt->smrt_interrupts, type, 0, 1, in smrt_interrupts_alloc() 149 smrt_interrupt_type_name(type)); in smrt_interrupts_alloc() [all …]
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPParseSrvURL.c | 58 slp_type_t type[1]; in SLPParseSrvURL() local 86 if (parseType(r, type) != SLP_OK) in SLPParseSrvURL() 151 type->isServiceURL = SLP_FALSE; in parseType() 152 type->atype = NULL; in parseType() 153 type->ctype = NULL; in parseType() 154 type->na = NULL; in parseType() 155 type->orig = typeString; in parseType() 164 type->isServiceURL = SLP_TRUE; in parseType() 178 type->atype = p; in parseType() 191 type->na = p; in parseType() [all …]
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | asm_linkage.h | 176 .type sym1, @stype; \ 188 .type x, @function; \ 195 .type x, @function; \ 202 .type x, @function; \ 212 .type x, @function; \ 213 .type y, @function; \ 222 .type x, @function; \ 223 .type y, @function; \ 234 .type x, @function; \ 250 .type name, @object; \ [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_sobj.c | 122 #define UPIMUTEX(type) ((type) & LOCK_PRIO_INHERIT) argument 1161 volatile uint8_t type = 0; in lwp_mutex_timedlock() local 1204 if (UPIMUTEX(type)) { in lwp_mutex_timedlock() 1235 if (type & LOCK_ROBUST) { in lwp_mutex_timedlock() 1336 if (type & LOCK_ROBUST) { in lwp_mutex_timedlock() 1350 if (type & LOCK_ROBUST) { in lwp_mutex_timedlock() 2979 uint8_t type; in lwp_mutex_register() local 3060 if (UPIMUTEX(type)) { in lwp_mutex_trylock() 3090 if (type & LOCK_ROBUST) { in lwp_mutex_trylock() 3167 if (UPIMUTEX(type)) { in lwp_mutex_unlock() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | queue.h | 78 #define LIST_HEAD(name, type) \ argument 80 struct type *lh_first; /* first element */ \ 83 #define LIST_ENTRY(type) \ argument 85 struct type *le_next; /* next element */ \ 132 #define TAILQ_HEAD(name, type) \ argument 138 #define TAILQ_ENTRY(type) \ argument 140 struct type *tqe_next; /* next element */ \ 202 #define CIRCLEQ_HEAD(name, type) \ argument 205 struct type *cqh_last; /* last element */ \ 208 #define CIRCLEQ_ENTRY(type) \ argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppsearch.c | 162 if (dp->type & need) in search() 173 dp->type = 0; in search() 194 dp->type = 0; in search() 202 dp->type = 0; in search() 210 dp->type |= TYPE_ARCHIVE; in search() 260 dp->type = 0; in search() 313 dp->type |= TYPE_BUFFER; in search() 341 up->type = dp->type; in search() 353 up->type |= TYPE_HOSTED; in search() 702 if (type == T_HEADER) in ppsearch() [all …]
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | blank.c | 49 int type, invalid; in blank() local 87 type = ALL; in blank() 90 type = SESSION; in blank() 93 type = FAST; in blank() 96 type = LEADOUT; in blank() 105 type = CLEAR; in blank() 112 type = CLEAR; in blank() 180 if (!blank_disc(target->d_fd, type, immediate)) { in blank() 252 if (type == ALL) { in blank() 274 if ((type != ALL) && !silent_pass) { in blank()
|