/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_config.c | 1267 *type = defconfig[i].index; in __s_api_get_type() 1301 *type = defconfig[i].index; in __s_api_get_versiontype() 1318 *type = defconfig[i].index; in __s_api_get_profiletype() 2369 rmap->type = NS_ATTR_MAP; in __ns_ldap_setParamValue() 2373 rmap->type = NS_OBJ_MAP; in __ns_ldap_setParamValue() 2472 map->type = NS_ATTR_MAP; in __ns_ldap_setParamValue() 2557 map->type = NS_ATTR_MAP; in __ns_ldap_setParamValue() 2561 map->type = NS_OBJ_MAP; in __ns_ldap_setParamValue() 2643 destroy_param(ptr, type); in __ns_ldap_setParamValue() 2683 destroy_param(ptr, type); in __ns_ldap_setParamValue() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_pmap.c | 58 int flags, type, xid, vers, proc; in interpret_pmap() 99 int flags, type, xid, vers, proc; in interpret_pmap_2() 114 if (type == CALL) { 131 if (type == CALL) { 155 protoprint(flags, type, xid, 184 protoprint(flags, type, xid, 206 if (type == CALL) { 238 protoprint(flags, type, xid, 401 if (type == CALL) { 419 if (type == CALL) { [all …]
|
/illumos-gate/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_intr.c | 98 apic_find_irq(dev_info_t *dip, struct intrspec *ispec, int type) in apic_find_irq() argument 105 ispec->intrspec_pri, type)); in apic_find_irq() 112 if (type == DDI_INTR_TYPE_MSI) { in apic_find_irq() 116 } else if (type == DDI_INTR_TYPE_MSIX) { in apic_find_irq() 265 if (type == DDI_INTR_TYPE_MSI) { in apic_pci_msi_enable_vector() 279 apic_pci_msi_disable_mode(dev_info_t *rdip, int type) in apic_pci_msi_disable_mode() argument 287 if (type == DDI_INTR_TYPE_MSI) { in apic_pci_msi_disable_mode() 295 } else if (type == DDI_INTR_TYPE_MSIX) { in apic_pci_msi_disable_mode() 310 apic_pci_msi_enable_mode(dev_info_t *rdip, int type, int inum) in apic_pci_msi_enable_mode() argument 318 if (type == DDI_INTR_TYPE_MSI) { in apic_pci_msi_enable_mode() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmtrace.c | 60 static char* tritoa(v, type) in tritoa() 70 if(type == 0) /* base-16 */ 77 else if(type > 0) /* unsigned base-10 */ 120 int type; local 124 { type = 0; 128 { type = vd->mode&VM_METHODS; 141 if(type&VM_MTBEST) 143 else if(type&VM_MTLAST) 145 else if(type&VM_MTPOOL) 147 else if(type&VM_MTPROFILE) [all …]
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | pmadm.c | 234 type = optarg; in main() 236 type[PMTYPESIZE] = '\0'; in main() 354 if ((pmtag && type) || (!pmtag && !type) || !svctag || (type && !script)) in main() 409 char *type; 436 if (type && !(tp = find_type(fp, type))) { 779 char *type; 799 if (type && !(tp = find_type(fp, type))) { 959 if (type) { in list_svcs() 1293 find_type(fp, type) in find_type() argument 1295 char *type; [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_cast_assign.c | 26 if (!expr || expr->type != EXPR_PREOP || expr->op != '*') in get_cast_type() 29 if (expr->type != EXPR_CAST) in get_cast_type() 37 struct symbol *type; in match_overflow() local 41 type = get_cast_type(expr->left); in match_overflow() 42 if (!type) in match_overflow() 44 cast_size = type_bytes(type); in match_overflow()
|
H A D | check_unreachable.c | 30 if (stmt->type == STMT_EXPRESSION && !stmt->expression) in empty_statement() 45 if (!stmt || stmt->type != STMT_COMPOUND) in is_last_stmt() 120 if (stmt->type != STMT_ITERATOR) in we_jumped_into_the_middle_of_a_loop() 123 if (prev && prev->type == STMT_GOTO) in we_jumped_into_the_middle_of_a_loop() 140 if (stmt->type == STMT_LABEL) in unreachable_stmt() 154 switch (stmt->type) { in unreachable_stmt() 168 if (stmt->goto_label && stmt->goto_label->type == SYM_NODE && in unreachable_stmt() 198 if (stmt->type != STMT_EXPRESSION) in get_function_name() 201 if (!expr || expr->type != EXPR_CALL) in get_function_name() 203 if (expr->fn->type != EXPR_SYMBOL || !expr->fn->symbol_name) in get_function_name() [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | common | 16 #define _typ_size_t 1 /* size_t is a type */ 17 #define _typ_ssize_t 1 /* ssize_t is a type */ 19 #define _typ___va_list 1 /* __va_list is a type */ 157 #define _typ_int8_t 1 /* int8_t is a type */ 158 #define _typ_uint8_t 1 /* uint8_t is a type */ 159 #define _typ_int16_t 1 /* int16_t is a type */ 160 #define _typ_uint16_t 1 /* uint16_t is a type */ 161 #define _typ_int32_t 1 /* int32_t is a type */ 162 #define _typ_uint32_t 1 /* uint32_t is a type */ 163 #define _typ_int64_t 1 /* int64_t is a type */ [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_phy.c | 391 __in efx_phy_stat_t type) in efx_phy_stat_name() argument 395 EFSYS_ASSERT3U(type, <, EFX_PHY_NSTATS); in efx_phy_stat_name() 397 return (__efx_phy_stat_name[type]); in efx_phy_stat_name() 454 __in efx_bist_type_t type) in efx_bist_start() argument 463 EFSYS_ASSERT3U(type, <, EFX_BIST_TYPE_NTYPES); in efx_bist_start() 474 epp->ep_current_bist = type; in efx_bist_start() 489 __in efx_bist_type_t type, in efx_bist_poll() argument 502 EFSYS_ASSERT3U(type, <, EFX_BIST_TYPE_NTYPES); in efx_bist_poll() 528 __in efx_bist_type_t type) in efx_bist_stop() argument 536 EFSYS_ASSERT3U(type, <, EFX_BIST_TYPE_NTYPES); in efx_bist_stop() [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | common | 16 #define _typ_size_t 1 /* size_t is a type */ 17 #define _typ_ssize_t 1 /* ssize_t is a type */ 19 #define _typ___va_list 1 /* __va_list is a type */ 157 #define _typ_int8_t 1 /* int8_t is a type */ 158 #define _typ_uint8_t 1 /* uint8_t is a type */ 159 #define _typ_int16_t 1 /* int16_t is a type */ 160 #define _typ_uint16_t 1 /* uint16_t is a type */ 161 #define _typ_int32_t 1 /* int32_t is a type */ 162 #define _typ_uint32_t 1 /* uint32_t is a type */ 163 #define _typ_int64_t 1 /* int64_t is a type */ [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | common | 16 #define _typ_size_t 1 /* size_t is a type */ 17 #define _typ_ssize_t 1 /* ssize_t is a type */ 19 #define _typ___va_list 1 /* __va_list is a type */ 158 #define _typ_int8_t 1 /* int8_t is a type */ 159 #define _typ_uint8_t 1 /* uint8_t is a type */ 160 #define _typ_int16_t 1 /* int16_t is a type */ 161 #define _typ_uint16_t 1 /* uint16_t is a type */ 162 #define _typ_int32_t 1 /* int32_t is a type */ 163 #define _typ_uint32_t 1 /* uint32_t is a type */ 164 #define _typ_int64_t 1 /* int64_t is a type */ [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | common | 16 #define _typ_size_t 1 /* size_t is a type */ 17 #define _typ_ssize_t 1 /* ssize_t is a type */ 19 #define _typ___va_list 1 /* __va_list is a type */ 158 #define _typ_int8_t 1 /* int8_t is a type */ 159 #define _typ_uint8_t 1 /* uint8_t is a type */ 160 #define _typ_int16_t 1 /* int16_t is a type */ 161 #define _typ_uint16_t 1 /* uint16_t is a type */ 162 #define _typ_int32_t 1 /* int32_t is a type */ 163 #define _typ_uint32_t 1 /* uint32_t is a type */ 164 #define _typ_int64_t 1 /* int64_t is a type */ [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | sa_impl.h | 224 #define SA_GET_DB(hdl, type) \ argument 225 (dmu_buf_impl_t *)((type == SA_BONUS) ? hdl->sa_bonus : hdl->sa_spill) 227 #define SA_GET_HDR(hdl, type) \ argument 229 type))->db.db_data)) 231 #define SA_IDX_TAB_GET(hdl, type) \ argument 232 (type == SA_BONUS ? hdl->sa_bonus_tab : hdl->sa_spill_tab) 242 #define SA_LAYOUT_NUM(x, type) \ argument 243 ((!IS_SA_BONUSTYPE(type) ? 0 : (((IS_SA_BONUSTYPE(type)) && \ 259 #define SA_ATTR_INFO(sa, idx, hdr, attr, bulk, type, hdl) \ argument 262 bulk.sa_buftype = type; \
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | insert_manual_states.pl | 29 my $type = shift; 53 $insert->execute($file, $func, 0, $return_id, $ret, $static, $type, $param, $key, $value); 57 my ($ret, $insert, $file, $func, $type, $param, $key, $value); 80 ($type, $param, $key, $value) = split(/,/, $insert); 82 $type = int($type); 88 insert_record($file, $func, $ret, $type, $param, $key, $value);
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | _putmessage.c | 40 int _putmessage ( char * buf, short type, va_list arg ) in _putmessage() argument 42 int _putmessage (buf, type, arg) in _putmessage() 44 short type; 54 if (type < 0 || type > LAST_MESSAGE) 61 (void) htos(buf + MESG_TYPE, type); 65 fmt = _lp_msg_fmts[type];
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4v.c | 151 char *type; in sun4v_walk() local 180 type = get_node_type(pnode); in sun4v_walk() 186 if (type != NULL) in sun4v_walk() 187 printf("type=%s ", type); in sun4v_walk() 192 if (type == NULL) in sun4v_walk() 193 type = ""; in sun4v_walk() 200 name, type, compatible); in sun4v_walk() 202 } else if (strcmp(type, "cpu") == 0) { in sun4v_walk() 207 name, type, compatible); in sun4v_walk() 212 printf("node not added: name=%s type=%s\n", name, type); in sun4v_walk()
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_create.c | 393 int type; in ctf_update() local 595 int type; in ctf_update() local 956 ctf_id_t type; in ctf_add_generic() local 990 return (type); in ctf_add_generic() 998 ctf_id_t type; in ctf_add_encoded() local 1017 return (type); in ctf_add_encoded() 1025 ctf_id_t type; in ctf_add_reftype() local 1038 return (type); in ctf_add_reftype() 1065 ctf_id_t type; in ctf_add_array() local 1095 return (type); in ctf_add_array() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | output.c | 124 switch (type) { in output() 152 ifindex = (type != OUT_MULTICAST && type != OUT_QUERY && in output() 352 switch (wb->type) { in supply_write() 741 enum output_type type, in supply() argument 790 switch (type) { in supply() 804 v2buf.type = (vers == RIPv2) ? type : NO_OUT_RIPV2; in supply() 805 v12buf.type = type; in supply() 912 enum output_type type; in rip_bcast() local 966 type = OUT_MULTICAST; in rip_bcast() 986 enum output_type type; in rip_query() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfexcept.c | 29 int _sfexcept(Sfio_t* f, int type, ssize_t io, Sfdisc_t* disc) in _sfexcept() argument 31 int _sfexcept(f,type,io,disc) in _sfexcept() 33 int type; /* io type that was performed */ 58 ev = (*(disc->exceptf))(f,type,&io,disc); 73 { if(type == SF_READ) 75 else if(type != SF_WRITE && type != SF_SEEK) 112 ((type == SF_READ && f->next >= f->endb) || 113 (type == SF_WRITE && f->next <= f->data)))
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | polled_io.c | 202 polled_io_console_type_t type, in polled_io_register() argument 206 switch (type) { in polled_io_register() 228 (void) polled_io_take_console(type, 0); in polled_io_register() 259 polled_io_console_type_t type, in polled_io_unregister() argument 263 switch (type) { in polled_io_unregister() 269 (void) polled_io_release_console(type, 0); in polled_io_unregister() 316 polled_io_console_type_t type, in polled_io_take_console() argument 320 switch (type) { in polled_io_take_console() 345 polled_io_console_type_t type, in polled_io_release_console() argument
|
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_log.c | 34 get_hw_error(uint8_t type) in get_hw_error() argument 38 switch (type) { in get_hw_error() 64 switch (type) { in get_illegal_req() 226 uint8_t type; in devtab_hw_error() local 246 hwerr = get_hw_error(type); in devtab_hw_error() 276 uint8_t type; in pgtable_hw_error() local 296 hwerr = get_hw_error(type); in pgtable_hw_error() 352 uint8_t type; in cmdbuf_hw_error() local 364 hwerr = get_hw_error(type); in cmdbuf_hw_error() 384 uint8_t type; in iotlb_inval_to() local [all …]
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | passwdutil.h | 84 attrtype type; member 93 char *type; member 116 #define IS_FILES(r) (r.type != NULL && strcmp(r.type, "files") == 0) 117 #define IS_NIS(r) (r.type != NULL && strcmp(r.type, "nis") == 0) 118 #define IS_LDAP(r) (r.type != NULL && strcmp(r.type, "ldap") == 0)
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | busra.c | 104 char *type; member 221 typemapp->type = (char *)kmem_zalloc(strlen(type) + 1, in ndi_ra_map_setup() 223 (void) strcpy(typemapp->type, type); in ndi_ra_map_setup() 280 kmem_free((caddr_t)typemap->type, strlen(typemap->type) + 1); in ndi_ra_map_destroy() 325 if (strcmp((*prevmap)->type, type) == 0) in find_dip_map_resources() 460 (void *)dip, type); in ndi_ra_free() 891 if (type != NULL) { in ra_dump_all() 892 if (strcmp(typemap->type, type) != 0) in ra_dump_all() 913 if (type != NULL) in ra_dump_all() 1329 uint32_t type; in pci_get_available_prop() local [all …]
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | pos4obj.c | 124 __pos4obj_name(const char *path, const char *type) in __pos4obj_name() argument 158 if ((strlen(path) - 1) > (name_max - strlen(type))) in __pos4obj_name() 165 len = strlen(objroot) + strlen(type) + strlen(path); in __pos4obj_name() 170 len = strlen(objroot) + HASHSTRLEN + strlen(type) + in __pos4obj_name() 181 (void) strcat(dfile, type); in __pos4obj_name() 236 (void) strcat(dfile, type); in __pos4obj_name() 300 if ((dfile = __pos4obj_name(name, type)) == NULL) { in __pos4obj_open() 343 __pos4obj_unlink(const char *name, const char *type) in __pos4obj_unlink() argument 348 if ((dfile = __pos4obj_name(name, type)) == NULL) { in __pos4obj_unlink() 398 __pos4obj_unlock(const char *path, const char *type) in __pos4obj_unlock() argument [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/ctf/ |
H A D | check-common.c | 77 clc->clc_id = type; in ctftest_lookup_object_cb() 229 if (id != type) { in ctftest_check_symbol_cb() 418 warnx("Failed to look up type %s", type); in ctftest_check_enum() 423 warnx("%s is not an enum", type); in ctftest_check_enum() 437 warnx("failed to walk enum %s: %s", type, in ctftest_check_enum() 520 warnx("failed to look up type %s", type); in ctftest_check_members() 533 type, size, ctf_type_size(fp, base)); in ctftest_check_members() 561 cmc.cmc_name = type; in ctftest_check_members() 686 type, ctf_errmsg(ctf_errno(fp))); in ctftest_check_fptr() 692 type); in ctftest_check_fptr() [all …]
|