/osnet-11/usr/src/lib/libnwam/common/ |
H A D | libnwam_values.c | 482 * of type string. Extract each applicable name string, and 526 nwam_value_type_t type; local 535 if ((err = nwam_value_get_type(value, &type)) != NWAM_SUCCESS) 538 switch (type) {
|
/osnet-11/usr/src/lib/libparted/common/include/parted/ |
H A D | disk.h | 129 should be made about "num" and "type" 133 PedPartitionType type; /**< the type of partition: a bit field of member in struct:_PedPartition 151 /**< The type of file system on the partition. NULL if unknown. */ 175 const PedDiskType* type; /**< type of disk label */ member in struct:_PedDisk 251 const char* name; /**< the name of the partition table type. 268 extern void ped_disk_type_register (PedDiskType* type); 269 extern void ped_disk_type_unregister (PedDiskType* type); 271 extern PedDiskType* ped_disk_type_get_next (PedDiskType const *type); [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/labels/ |
H A D | dvh.c | 57 int type; member in struct:_DVHPartData 250 dvh_part_data->type = PED_BE32_TO_CPU (pt->pt_type); 433 PED_ASSERT ((part->type & PED_PARTITION_LOGICAL) == 0, return); 437 pt->pt_type = PED_CPU_TO_BE32 (dvh_part_data->type); 446 PED_ASSERT ((part->type & PED_PARTITION_LOGICAL) != 0, return); 540 dvh_part_data->type = (part_type == PED_PARTITION_EXTENDED) 560 result = _ped_partition_alloc (part->disk, part->type, part->fs_type, 576 result_data->type = part_data->type; 604 if (part->type [all...] |
/osnet-11/usr/src/lib/libcommputil/common/ |
H A D | sdp.c | 454 sdp_add_bandwidth(sdp_bandwidth_t **bw, const char *type, uint64_t value) argument 460 if (bw == NULL || type == NULL) 466 if ((ret = commp_add_str(&new_bw->b_type, type, strlen(type))) != 0) {
|
/osnet-11/usr/src/lib/libdevice/ |
H A D | devctl.c | 53 dc_type_t hdltype; /* handle type */ 221 * particular handle type. 224 dc_mkhndl(dc_type_t type, char *path, uint_t oflags, devctl_hdl_t pc) argument 254 dcp->hdltype = type; 258 * break apart the pathname according to the type handle 260 switch (type) { 455 if (type == DEVCTL_CLONE) 1009 * the CLONE handle type to create a new handle which
|
/osnet-11/usr/src/lib/libdhcpdu/common/ |
H A D | rfc2136.c | 392 int type, class, ttl, dlen; local 474 type = parse_ushort((const char **)&data); 479 switch (type) { 499 dprint("\ttype %d\n", type); 508 switch (type) {
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | cache.c | 67 static descriptor_t *have_desc(int type, void *gp, char *name, char *mname); 69 static int make_descriptors(int type); 73 static descriptor_t *new_descriptor(dm_desc_type_t type, void *op, 333 cache_get_desc(int type, void *gp, char *name, char *secondary_name, int *errp) argument 338 if ((dp = have_desc(type, gp, name, secondary_name)) == NULL) { 340 if ((dp = new_descriptor(type, gp, name, secondary_name)) 354 cache_get_descriptors(int type, int *errp) argument 362 if ((*errp = make_descriptors(type)) != 0) { 370 if (descp->type == type 434 cache_load_desc(int type, void *gp, char *name, char *secondary_name, int *errp) argument 670 have_desc(int type, void *gp, char *name, char *secondary_name) argument 744 make_descriptors(int type) argument 845 new_descriptor(dm_desc_type_t type, void *op, char *name, char *secondary_name) argument [all...] |
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlvnic.c | 374 dladm_vnic_macaddrtype2str(vnic_mac_addr_type_t type) argument 379 if (type == addr_types[i].va_type) 389 dladm_vnic_addr_type_t *type; local 392 type = &addr_types[i]; 393 if (strncmp(str, type->va_str, strlen(type->va_str)) == 0) { 394 *val = type->va_type;
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_cg.c | 64 * reference to a forward declaration tag, search the entire type space for 68 dt_cg_membinfo(ctf_file_t *fp, ctf_id_t type, const char *s, ctf_membinfo_t *mp) argument 70 while (ctf_type_kind(fp, type) == CTF_K_FORWARD) { 74 if (ctf_type_name(fp, type, n, sizeof (n)) == NULL || 76 dtt.dtt_ctfp == fp && dtt.dtt_type == type)) 80 type = ctf_type_resolve(fp, dtt.dtt_type); 83 if (ctf_member_info(fp, type, s, mp) == CTF_ERR) 134 * Lookup the correct load opcode to use for the specified node and CTF type. 142 dt_cg_load(dt_node_t *dnp, ctf_file_t *ctfp, ctf_id_t type) argument 164 ctf_type_encoding(ctfp, type, 191 ctf_id_t type; local 335 ctf_id_t type; local 619 ctf_id_t type; local 678 ctf_id_t type; local 1347 ctf_id_t type; local [all...] |
H A D | dt_dof.c | 137 dof_add_lsect(dt_dof_t *ddo, const void *data, uint32_t type, argument 143 s.dofs_type = type; 164 dof_add_usect(dt_dof_t *ddo, const void *data, uint32_t type, argument 170 s.dofs_type = type; 275 * Copy the return type and the array of section indices that form the 331 dof_add_translator(dt_dof_t *ddo, const dt_xlator_t *dxp, uint_t type) argument 342 assert(type == DOF_SECT_XLIMPORT || type == DOF_SECT_XLEXPORT); 343 xst = type == DOF_SECT_XLIMPORT ? ddo->ddo_xlimport : ddo->ddo_xlexport; 357 if (type [all...] |
H A D | dt_ident.c | 45 * of the same length and types, then return the return type. Otherwise 83 compat = 1; /* "@" matches any type */ 132 * set the identifier's base type to be our special type <DYN>. 135 * based on the result type of the first assignment statement. 167 * identifier, create its type signature based on predefined prototype stored 187 *p1++ = '\0'; /* mark end of return type string */ 207 * the return type and store its CTF data in di_ctfp/type. 226 xyerror(D_UNKNOWN, "failed to resolve type o 998 dt_ident_type_assign(dt_ident_t *idp, ctf_file_t *fp, ctf_id_t type) argument [all...] |
H A D | dt_module.c | 79 uchar_t type = ELF32_ST_TYPE(sym->st_info); local 81 if (type >= STT_NUM || type == STT_SECTION) 112 uchar_t type = ELF64_ST_TYPE(sym->st_info); local 114 if (type >= STT_NUM || type == STT_SECTION) 577 * name into the name hash if the name and type are valid. Then 964 * to the front of the module list. We do this so that type and symbol 1192 * Look up the type in the module's CTF container. If our
|
H A D | dt_options.c | 677 * type for the D intrinsic "string" to be an array of the corresponding size. 685 ctf_id_t type = ctf_type_resolve(fp, DT_STR_TYPE(dtp)); local 696 if (ctf_array_info(fp, type, &r) == CTF_ERR) { 704 if (ctf_set_array(fp, type, &r) == CTF_ERR ||
|
/osnet-11/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.c | 110 * 2 - container type, string (in) 192 frt_get_node_type(fru_treehdl_t node, fru_node_t *type) argument 194 *type = FRU_NODE_CONTAINER;
|
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | ipmi_sdr.c | 187 uint8_t type; local 224 type = glp->is_gl_idtype; 236 type = flp->is_fl_idtype; 248 type = csp->is_cs_idtype; 273 type = fsp->is_fs_idtype; 296 type = esp->is_eo_idtype; 307 type = msp->is_ml_idtype; 346 ipmi_decode_string(type, namelen, name, ent->isc_name); 585 uint8_t type) 592 if (sdrp->is_type != type) { 584 ipmi_sdr_lookup_common(ipmi_handle_t *ihp, const char *idstr, uint8_t type) argument [all...] |
/osnet-11/usr/src/lib/libipmp/common/ |
H A D | ipmp_query.c | 58 * Using `statep', send a query request for `type' to in.mpathd, and if 66 ipmp_sendquery(ipmp_state_t *statep, ipmp_infotype_t type, const char *name, argument 74 query.miq_inforeq = type; 76 switch (type) { 123 * Using `statep', read a query response of type `infotype' into a dynamically 133 ipmp_infotype_t type; local 135 retval = ipmp_readtlv(statep->st_fd, &type, &len, infop, endtp); 139 if (type != infotype || !ipmp_checktlv(type, len, *infop)) { 418 * Check that the TLV triplet named by `type', `le 422 ipmp_checktlv(ipmp_infotype_t type, size_t len, void *value) argument 619 ipmp_ifinfo_create(const char *name, const char *group, ipmp_if_state_t state, ipmp_if_type_t type, ipmp_if_linkstate_t linkstate, ipmp_if_probestate_t probestate, ipmp_if_flags_t flags, ipmp_targinfo_t *targinfo4p, ipmp_targinfo_t *targinfo6p) argument 1035 ipmp_infotype_t type; local [all...] |
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_audit.c | 153 char *type; local 171 (void) nvpair_value_uint32(nvp, (uint32_t *)&type); 285 (void) asr_buf_append(value, " unknown data type (%d)",
|
/osnet-11/usr/src/lib/fm/libfmd_zfs/common/ |
H A D | fmd_zfs.c | 70 char *type; local 75 &type) != 0) 87 return (strcmp(type, VDEV_TYPE_REPLACING) == 0 ? 108 char *type; local 124 nvlist_lookup_string(vdev, ZPOOL_CONFIG_TYPE, &type) != 0 || 125 (strcmp(type, VDEV_TYPE_DISK) != 0 && 126 strcmp(type, VDEV_TYPE_FILE) != 0)) 147 * check whether we have an ancestor which is of type "replacing" 194 char *type; local 199 nvlist_lookup_string(vdev, ZPOOL_CONFIG_TYPE, &type) ! 217 char *type; local 314 iter_by_vdev(zpool_handle_t *zhp, nvlist_t *vdev, zfs_iter_cbdata_t *cbp, vdev_type_t type, nvlist_t *sib) argument 545 fmd_zfs_autoreplace(zpool_handle_t *zhp, nvlist_t *vdev, void *arg, vdev_type_t type, nvlist_t *sibling) argument 828 fmd_zfs_reonline(zpool_handle_t *zhp, nvlist_t *vdev, void *arg, vdev_type_t type, nvlist_t *sibling) argument 886 fmd_zfs_set_location(zpool_handle_t *zhp, nvlist_t *vdev, void *arg, vdev_type_t type, nvlist_t *sibling) argument 900 fmd_zfs_autoexpand(zpool_handle_t *zhp, nvlist_t *vdev, void *arg, vdev_type_t type, nvlist_t *sibling) argument [all...] |
/osnet-11/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom.c | 61 #define MD_STR_DEVICE_TYPE "device-type" 305 get_type(ldom_hdl_t *lhp, uint32_t *type) argument 315 *type = 0; 320 *type = LDOM_TYPE_LEGACY; 334 *type |= LDOM_TYPE_CONTROL; 356 * Search for an iodevice node which has a device-type prop of pciex. 371 *type |= LDOM_TYPE_VROOT; 373 *type |= LDOM_TYPE_ROOT; 385 *type |= LDOM_TYPE_NIU; 397 ldom_get_type(ldom_hdl_t *lhp, uint32_t *type) argument 625 uint32_t type = 0; local 701 uint32_t type = 0; local 740 uint32_t type = 0; local 787 uint32_t type = 0; local 803 uint32_t type = 0; local 816 uint32_t type = 0; local [all...] |
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_fmri.c | 62 * - create: an FMRI nvlist by scheme type 800 char *type) 821 rc = topo_method_invoke(rnode, type, TOPO_METH_STRCMP_VERSION, 916 rv |= nvlist_add_uint32(in, "type", fac_subtype); 799 topo_fmri_strcmp_internal(topo_hdl_t *thp, const char *a, const char *b, char *type) argument
|
H A D | topo_prop.c | 39 * a stability level for all underlying property data (name, type, values), 44 * - a property type changes 49 * Each property defines a unique (within the group) name, a type and 51 * uint64, fmri, string or arrays of each type. Properties may also be 68 * of all groupings and property (name, type, value) sets. Groupings 71 * value is defined by its name, type and value. 127 topo_type_t type; local 163 ret = nvlist_lookup_uint32(nvl, TOPO_PROP_VAL_TYPE, (uint32_t *)&type); 164 if (ret != 0 || type != pv->tp_type) 207 topo_type_t type, uint_ 206 prop_getval(tnode_t *node, const char *pgname, const char *pname, void *val, topo_type_t type, uint_t *nelems, int *err) argument 517 prop_create(tnode_t *node, const char *pgname, const char *pname, topo_type_t type, int flag, int *err) argument 567 topo_prop_set(tnode_t *node, const char *pgname, const char *pname, topo_type_t type, int flag, void *val, int nelems, int *err) argument 771 topo_type_t type; local [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 89 * For PCI the device type defined the type of device directly below. 90 * For PCIe RP and Switches, the device-type should be "pciex". For 320 * There *may* be a device type we can capture. 496 did_excap_set(did_t *dp, int type) argument 498 dp->dp_excap = type;
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-mem/common/ |
H A D | mem_mdesc.c | 269 char *type, *sp, *jnum, *nac; local 274 if (md_get_prop_str(mdp, listp[idx], "type", &type) < 0) 276 if ((strcmp(type, "dimm") == 0) || 277 (strcmp(type, "mem-board") == 0) || 278 (strcmp(type, "memboard") == 0)) { 430 uint32_t type = 0; local 436 (void) ldom_get_type(lhp, &type); 437 if ((type & LDOM_TYPE_CONTROL) != 0) {
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/dtrace/ |
H A D | kerberos_dtrace.c | 45 k5_msgtype_lookup(const int type) { argument 46 switch (type) { 64 k5_errtype_lookup(const int type) { argument 65 switch (type) { 146 k5_patype_lookup(const krb5_preauthtype type) { argument 147 switch (type) { 184 k5_etype_lookup(const krb5_enctype type) { argument 185 switch (type) { 204 k5_cktype_lookup(const krb5_cksumtype type) { argument 205 switch (type) { 223 k5_adtype_lookup(const krb5_authdatatype type) argument 242 k5_lrtype_lookup(const krb5_int32 type) argument 264 k5_trtype_lookup(const krb5_int32 type) argument 315 k5_type_to_str(const char *(*lookup)(const int), const int type) argument [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash_page.c | 785 page_init(HTAB * hashp, PAGE16 * pagep, db_pgno_t pgno, u_int8_t type) argument 787 page_init(hashp, pagep, pgno, type) 791 u_int32_t type; 796 TYPE(pagep) = type; 1005 /* can leave type and filler alone, since they're 1-byte quantities */ 1029 /* can leave type and filler alone, since they're 1-byte quantities */
|