/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | sa_impl.h | 224 #define SA_GET_DB(hdl, type) \ 225 (dmu_buf_impl_t *)((type == SA_BONUS) ? hdl->sa_bonus : hdl->sa_spill) 227 #define SA_GET_HDR(hdl, type) \ 229 type))->db.db_data)) 231 #define SA_IDX_TAB_GET(hdl, type) \ 232 (type == SA_BONUS ? hdl->sa_bonus_tab : hdl->sa_spill_tab) 242 #define SA_LAYOUT_NUM(x, type) \ 243 ((!IS_SA_BONUSTYPE(type) ? 0 : (((IS_SA_BONUSTYPE(type)) && \ 259 #define SA_ATTR_INFO(sa, idx, hdr, attr, bulk, type, hd [all...] |
/illumos-gate/usr/src/uts/i86xpv/cpu/generic_cpu/ |
H A D | gcpu_mca_xpv.c | 85 ASSERT(mgi->common.type == MC_TYPE_GLOBAL); 92 * other record type or when we're out of record. 98 (mic->type == MC_TYPE_BANK || mic->type == MC_TYPE_EXTENDED)) { 99 if (mic->type == MC_TYPE_EXTENDED) { 173 * There are x86_mcinfo_nentries(mi) entries. An entry of type 175 * entries of type MC_TYPE_BANK for telemetry from MCA banks 180 gcpu_xpv_mci_process(mc_info_t *mi, int type, argument 190 if (mic->type == MC_TYPE_GLOBAL) { 192 gcpu_xpv_proxy_logout(type 203 gcpu_xpv_telem_read(mc_info_t *mci, int type, uint64_t *idp) argument 227 gcpu_xpv_telem_ack(int type, uint64_t fetch_id) argument [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | hwf_obj.c | 359 switch (attr->type) { 374 switch (attr->type) { 386 switch (attr->type) { 411 value_attr->type = CKA_VALUE; 440 value_attr->type = CKA_VALUE; 444 hasreset_attr->type = CKA_HAS_RESET; 451 resetoninit_attr->type = CKA_RESET_ON_INIT;
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/ |
H A D | loki.c | 86 uint64_t type, index; local 95 &type) == 0); 97 if (type == SES_ET_ARRAY_DEVICE) 100 if (type != SES_ET_COOLING && 101 type != SES_ET_POWER_SUPPLY) 168 type != SES_ET_COOLING) { 194 type != SES_ET_POWER_SUPPLY) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sn2princ.c | 85 krb5_sname_to_principal(krb5_context context, const char *hostname, const char *sname, krb5_int32 type, krb5_principal *ret_princ) argument 94 printf("krb5_sname_to_principal(host=%s, sname=%s, type=%d)\n",hostname,sname,type); 97 if ((type == KRB5_NT_UNKNOWN) || 98 (type == KRB5_NT_SRV_HST)) { 117 if (type == KRB5_NT_SRV_HST) { 210 } else /* type == KRB5_NT_UNKNOWN */ { 219 if (type == KRB5_NT_SRV_HST) 263 krb5_princ_type(context, *ret_princ) = type;
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_getname.c | 52 static int __tx_getname_locked(int fd, struct netbuf *name, int type); 55 _tx_getname(int fd, struct netbuf *name, int type, int api_semantics) argument 61 if (!name || ((type != LOCALNAME) && (type != REMOTENAME))) { 70 retval = __tx_getname_locked(fd, name, type); 86 __tx_getname_locked(int fd, struct netbuf *name, int type) argument 92 (type == LOCALNAME) ? TI_GETMYNAME : TI_GETPEERNAME, name);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | mount.c | 91 mount(char *type, char *dir, int flags, caddr_t data) argument 100 if (strcmp(type, "4.2") == 0) 102 else if (strcmp(type, "lo") == 0) 104 else if (strcmp(type, "nfs") == 0) 117 if (strcmp(type, "4.2") == 0) 119 else if (strcmp(type, "lo") == 0) 121 else if (strcmp(type, "nfs") == 0) {
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/ |
H A D | klookup.c | 42 * Private resolver of target and type with arguments: 54 int len = 0, anslen, hostlen, nq, na, type, class; local 148 NS_GET16(type, ansp); /* type */ 157 if (type == T_SRV) { 175 } else if (type == T_PTR) { 183 if (type == rr_type && class == C_IN) { 185 if (type != T_SRV && !(typestr && *typestr == 'I')) 199 if (type != T_SRV && !(typestr && *typestr == 'I'))
|
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | spec.c | 66 spec_type_t type) 73 new_p->type = type; 76 if (type == SPEC_REGEXP) { 98 new_p = spec(strdup(spec_p->str), spec_p->type); 158 switch (spec_p->type) { 183 switch (spec_p->type) { 65 spec(char *str_p, spec_type_t type) argument
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | pro_reloc_stream.c | 68 enum Dwarf_Rel_Type type, 83 if (type == dwarf_drt_data_reloc) { 91 } else if (type == dwarf_drt_segment_rel) { 117 enum Dwarf_Rel_Type type, 129 if (type == dwarf_drt_data_reloc) { 137 } else if (type == dwarf_drt_segment_rel) { 167 enum Dwarf_Rel_Type type, 233 /* type */ SHT_REL, 246 /* type */ SHT_REL, 64 _dwarf_pro_reloc_name_stream64(Dwarf_P_Debug dbg, int base_sec_index, Dwarf_Unsigned offset, Dwarf_Unsigned symidx, enum Dwarf_Rel_Type type, int reltarget_length) argument 114 _dwarf_pro_reloc_name_stream32(Dwarf_P_Debug dbg, int base_sec_index, Dwarf_Unsigned offset, Dwarf_Unsigned symidx, enum Dwarf_Rel_Type type, int reltarget_length) argument 162 _dwarf_pro_reloc_length_stream(Dwarf_P_Debug dbg, int base_sec_index, Dwarf_Unsigned offset, Dwarf_Unsigned start_symidx, Dwarf_Unsigned end_symidx, enum Dwarf_Rel_Type type, int reltarget_length) argument
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4x_standalloc.c | 163 get_low_vpage(size_t numpages, enum RESOURCES type) argument 189 if (type == RES_BOOTSCRATCH_NOFAIL) { 238 resalloc(enum RESOURCES type, size_t bytes, caddr_t virthint, int align) argument 254 switch (type) { 263 vaddr = get_low_vpage((bytes/pagesize), type); 285 printf("Bad resurce type\n"); 327 resfree(enum RESOURCES type, caddr_t virtaddr, size_t size) argument 332 switch (type) {
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_sdapi.h | 121 extern int32_t DFC_SD_Set_Bucket(uint16_t type, 126 extern int32_t DFC_SD_Destroy_Bucket(uint16_t type); 128 extern int32_t DFC_SD_Get_Bucket(uint16_t type, 136 uint16_t type, 141 uint16_t type); 145 uint16_t type); 149 uint16_t type,
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_mount.c | 124 * (-S requires knowing printer type (T), and knowing 192 void mount_unmount (type, printer, form, pwheel) 193 int type; 201 type = (type == S_MOUNT ? S_MOUNT_TRAY : S_UNMOUNT_TRAY); 202 send_message(type, printer, form, pwheel, t); 204 send_message(type, printer, form, pwheel); 206 rc = output(type + 1);
|
/illumos-gate/usr/src/lib/print/libipp-core/common/ |
H A D | write.c | 43 papi_attribute_to_ipp_type(papi_attribute_value_type_t type) argument 45 switch (type) { 121 int8_t type; local 128 if ((type = name_to_ipp_type(name)) == 0) 129 type = papi_attribute_to_ipp_type(attribute->type); 132 if ((status = papi_ipp_type_match(attribute->type, type)) != PAPI_OK) 138 type = VTAG_UNSUPPORTED; 139 if (iwrite(fd, &type, 319 ipp_write_attribute_group(ipp_writer_t iwrite, void *fd, int8_t type, papi_attribute_t **attributes) argument [all...] |
H A D | read.c | 109 /* verify that the IPP type and size are compatible */ 111 validate_length(int8_t type, int8_t size) argument 116 if (type_info[i].ipp_type == type) 121 /* convert tyep IPP type to a type that is marginally compatible */ 148 /* verify that the IPP type is correct for the named attribute */ 150 validate_type(char *name, int8_t type) argument 156 else if (t == type) /* The supplied type matched the RFC type */ 168 validate_value(papi_attribute_t ***message, char *name, int8_t type, ...) argument 270 ipp_read_attribute_group(ipp_reader_t iread, void *fd, int8_t *type, papi_attribute_t ***message) argument 588 ipp_read_header(ipp_reader_t iread, void *fd, papi_attribute_t ***message, char type) argument 653 ipp_read_message(ipp_reader_t iread, void *fd, papi_attribute_t ***message, char type) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_log.c | 34 get_hw_error(uint8_t type) argument 38 switch (type) { 60 get_illegal_req(uint8_t type, uint8_t TR) argument 64 switch (type) { 226 uint8_t type; local 243 type = AMD_IOMMU_REG_GET32(&event[1], 246 hwerr = get_hw_error(type); 260 "deviceid=%u, HW error type: %s, %s request, %s transaction, " 276 uint8_t type; local 293 type 352 uint8_t type; local 384 uint8_t type; local 424 uint8_t type; local [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | trap.c | 105 #define USER 0x10000 /* user-mode flag added to trap type */ 193 die(uint_t type, struct regs *rp, caddr_t addr, processorid_t cpuid) argument 198 if (type < TRAP_TYPES) { 199 trap_name = trap_type[type]; 200 trap_mnemonic = trap_type_mnemonic[type]; 211 ti.trap_type = type & ~USER; 216 if (type == T_PGFLT && addr < (caddr_t)KERNELBASE) { 217 panic("BAD TRAP: type=%x (#%s %s) rp=%p addr=%p " 219 type, trap_mnemonic, trap_name, (void *)rp, (void *)addr, 225 panic("BAD TRAP: type 469 unsigned type; local 1696 showregs(uint_t type, struct regs *rp, caddr_t addr) argument 2119 int type; local [all...] |
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | queue.h | 140 #define SLIST_HEAD(name, type) \ 142 struct type *slh_first; /* first element */ \ 148 #define SLIST_ENTRY(type) \ 150 struct type *sle_next; /* next element */ \ 191 #define SLIST_REMOVE(head, elm, type, field) do { \ 196 struct type *curelm = SLIST_FIRST((head)); \ 212 #define STAILQ_HEAD(name, type) \ 214 struct type *stqh_first;/* first element */ \ 215 struct type **stqh_last;/* addr of last next element */ \ 221 #define STAILQ_ENTRY(type) \ [all...] |
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 395 char *type = NULL; local 399 * Determine what type of vdev this is, and put the full path into 405 * Complete device or file path. Exact type is determined by 456 type = VDEV_TYPE_DISK; 458 type = VDEV_TYPE_FILE; 472 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0); 474 if (strcmp(type, VDEV_TYPE_DISK) == 0) 550 char *type; local 575 &type) == 0); 581 rep.zprl_type = type; 890 char *type, *path, *diskname; local 1037 char *type, *path; local 1098 is_grouping(const char *type, int *mindev, int *maxdev) argument 1165 const char *type; local 1388 const char *type; local [all...] |
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppsearch.c | 111 search(register struct ppfile* fp, register struct ppdirs* dp, int type, int flags) argument 132 message((-3, "search: %s %s%s%s%s%s%s type=%s prefix=%s flags=|%s%s%s%s%s%s start=%s=\"%s\" pre=%s lcl=%s vnd=%s std=%s cur=%s", 140 type == T_HEADER ? "<*>" : "\"*\"", prefix, 162 if (dp->type & need) 164 message((-3, "search: fp=%s need=%02x index=%d dp=%s type=%02x index=%d", fp->name, need, index, dp->name, dp->type, dp->index)); 166 if (!(dp->type & (TYPE_ARCHIVE|TYPE_DIRECTORY))) 173 dp->type = 0; 194 dp->type = 0; 202 dp->type 595 ppsearch(char* file, int type, int flags) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | queue.h | 96 #define LIST_HEAD(name, type) \ 98 struct type *lh_first; /* first element */ \ 104 #define LIST_ENTRY(type) \ 106 struct type *le_next; /* next element */ \ 107 struct type **le_prev; /* address of previous next element */ \ 193 #define SLIST_HEAD(name, type) \ 195 struct type *slh_first; /* first element */ \ 201 #define SLIST_ENTRY(type) \ 203 struct type *sle_next; /* next element */ \ 231 #define SLIST_REMOVE(head, elm, type, fiel [all...] |
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getexecattr.c | 91 if (exec->type != (char *)NULL) { 92 (void) fprintf(stdout, " type: [%s]\n", exec->type); 135 exec->type = (char *)NULL; 177 exec->type = nullstring; 179 exec->type = buffer; 184 (void) strcpy(exec->type, 271 char *buffer, **name, **policy, **type; local 295 type = __ns_ldap_getAttr(result->entry, _EXEC_TYPE); 296 if (type 421 const char *type = _priv_exec->type; local 545 const char *type = _priv_exec->type; local [all...] |
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-device.c | 57 LibHalPropertyType type; member in struct:lh_prop_s 227 int type; local 240 type = libhal_psi_get_type(&it); 241 switch (type) { 288 printf("Unknown type %d = 0x%02x\n", type, type); 480 p->type = LIBHAL_PROPERTY_TYPE_INVALID; 493 p->type = LIBHAL_PROPERTY_TYPE_STRING; 499 p->type [all...] |
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_gethost.c | 93 int type, class, buflen, ancount, qdcount; local 142 type = _getshort(cp); 148 if (type == T_CNAME) { 158 if (iquery && type == T_PTR) { 168 if (iquery || type != T_A) { 171 printf("unexpected answer type %d, size %d\n", 172 type, n); 270 _getrhbyaddr(addr, len, type) 272 int len, type; 279 if (type ! [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | trap.c | 90 die(unsigned type, struct regs *rp, caddr_t addr, uint_t mmu_fsr) argument 99 ti.trap_type = type; 105 if (type == T_DATA_MMU_MISS && addr < (caddr_t)KERNELBASE) { 106 panic("BAD TRAP: type=%x rp=%p addr=%p mmu_fsr=%x " 108 type, (void *)rp, (void *)addr, mmu_fsr, 114 panic("BAD TRAP: type=%x rp=%p addr=%p mmu_fsr=%x", 115 type, (void *)rp, (void *)addr, mmu_fsr); 143 trap(struct regs *rp, caddr_t addr, uint32_t type, uint32_t mmu_fsr) argument 173 (type == T_UNIMP_INSTR)); 178 if (USERMODE(rp->r_tstate) || (type 1360 fpu_trap(struct regs *rp, caddr_t addr, uint32_t type, uint32_t code) argument 1952 trap_async_berr_bto(int type, struct regs *rp) argument [all...] |