/osnet-11/usr/src/lib/liblldp/common/ |
H A D | liblldp_tlv.c | 76 lldp_set_typelen(uint8_t *lldpdu, uint8_t type, uint16_t len) argument 78 uint16_t tl = type; 81 * `len' always includes 7 bits of type and 9 bits of length of 82 * TLV, i.e., 2 bytes of type and length, so subtract 2 from `len' 98 /* first set the org. specific tlv type */ 171 lldp_chassis_subtype2str(uint8_t type) argument 173 switch (type) { 307 lldp_port_subtype2str(uint8_t type) argument 309 switch (type) { 1811 lldp_maddr_subtype2str(uint8_t type) argument 1825 lldp_maddr_ifsubtype2str(uint8_t type) argument 1863 lldp_nvlist2unknowntlv(nvlist_t *nvl, int type, lldp_unknowntlv_t **ukpp, uint_t *len) argument [all...] |
/osnet-11/usr/src/lib/libnsl/dial/ |
H A D | uucp.h | 293 char *type; /* type of device to use for call. */ member in struct:call
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | svc.c | 1562 int type; local 1569 type = svc_type(xprt); 1574 switch (type) {
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | attrib.c | 112 if (a->type != AT_ATTRIBUTE_LIST && a->flags) { 270 * @type: attribute type 274 * Initialize the ntfs attribute @na with @ni, @type, @name, and @name_len. 277 const ATTR_TYPES type, ntfschar *name, const u32 name_len) 281 na->type = type; 339 * @type: attribute type 343 * Allocate a new ntfs attribute structure, initialize it with @ni, @type, 276 __ntfs_attr_init(ntfs_attr *na, ntfs_inode *ni, const ATTR_TYPES type, ntfschar *name, const u32 name_len) argument 351 ntfs_attr_open(ntfs_inode *ni, const ATTR_TYPES type, ntfschar *name, u32 name_len) argument 1670 ntfs_attr_find(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument 1874 ntfs_external_attr_find(ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const VCN lowest_vcn, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument 2285 ntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const VCN lowest_vcn, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument 2417 ntfs_attr_find_in_attrdef(const ntfs_volume *vol, const ATTR_TYPES type) argument 2457 ntfs_attr_size_bounds_check(const ntfs_volume *vol, const ATTR_TYPES type, const s64 size) argument 2506 ntfs_attr_can_be_non_resident(const ntfs_volume *vol, const ATTR_TYPES type) argument 2545 ntfs_attr_can_be_resident(const ntfs_volume *vol, const ATTR_TYPES type) argument 2629 ntfs_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type, ntfschar *name, u8 name_len, u8 *val, u32 size, ATTR_FLAGS flags) argument 2752 ntfs_non_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type, ntfschar *name, u8 name_len, VCN lowest_vcn, int dataruns_size, ATTR_FLAGS flags) argument 2897 ATTR_TYPES type; local 3040 ntfs_attr_add(ntfs_inode *ni, ATTR_TYPES type, ntfschar *name, u8 name_len, u8 *val, s64 size) argument 5184 ntfs_attr_readall(ntfs_inode *ni, const ATTR_TYPES type, ntfschar *name, u32 name_len, s64 *data_size) argument 5217 ntfs_attr_exist(ntfs_inode *ni, const ATTR_TYPES type, ntfschar *name, u32 name_len) argument [all...] |
/osnet-11/usr/src/lib/libpam/ |
H A D | pam_framework.c | 471 if (auth_rep->type != NULL) 472 free(auth_rep->type); 488 d->type = strdup(s->type); 489 if (d->type == NULL) 514 item ? (((struct pam_repository *)item)->type ? 515 ((struct pam_repository *)item)->type : "NULL") : 587 *item ? (((struct pam_repository *)*item)->type ? 588 ((struct pam_repository *)*item)->type : "NULL") : 1007 * Run through the PAM service module stack for the given module type 1010 run_stack(pam_handle_t *pamh, const char *pam_config, int flags, int type, int def_err, int ind, char *function_name) argument 1697 load_modules(pam_handle_t *pamh, int type, char *function_name, pamtab_t *pam_entry) argument 2176 read_pam_entries(pam_handle_t *pamh, const char *pam_config, char *service, int type) argument 2232 read_pam_conf(pam_handle_t *pamh, const char *config, char *service, int type, boolean_t pamdotd) argument 3059 __pam_get_authtok(pam_handle_t *pamh, int source, int type, char *prompt, char **authtok) argument [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/labels/ |
H A D | gpt.c | 180 # warning "Using crippled partition entry type" 237 /* OS type. A value of 0xEF defines an EFI system partition. 285 efi_guid_t type; member in struct:_GPTPartitionData 790 gpt_part_data->type = pte->PartitionTypeGuid; 806 if (!guid_cmp (gpt_part_data->type, PARTITION_SYSTEM_GUID)) 808 else if (!guid_cmp (gpt_part_data->type, PARTITION_BIOS_GRUB_GUID)) 810 else if (!guid_cmp (gpt_part_data->type, PARTITION_RAID_GUID)) 812 else if (!guid_cmp (gpt_part_data->type, PARTITION_LVM_GUID)) 814 else if (!guid_cmp (gpt_part_data->type, PARTITION_HPSERVICE_GUID)) 816 else if (!guid_cmp (gpt_part_data->type, PARTITION_MSFT_RESERVED_GUI [all...] |
H A D | mac.c | 107 char type[32]; /* string type description */ member in struct:_MacRawPartition 139 uint16_t type; /* operating system type (MacOS = 1) */ member in struct:_MacDeviceDriver 349 PED_ASSERT (partition_map->type == PED_PARTITION_NORMAL, return 0); 367 _rawpart_cmp_type (const MacRawPartition* raw_part, const char* type) argument 369 return strncasecmp (raw_part->type, type, 32) == 0; 401 if (!strcasecmp(raw_part->type, "Apple_Bootstrap")) 404 if (!strcasecmp(raw_part->type, "Apple_Boo [all...] |
H A D | rdb.c | 170 _("%s : Bad checksum on block %llu of type %s."), 543 part->type = 0; 561 struct LinkedBlock *block, uint32_t first, uint32_t type) 588 if (PED_BE32_TO_CPU(block->lk_ID) != type) { 601 table[next] = type; 611 _amiga_next_free_block(uint32_t *table, uint32_t start, uint32_t type) { argument 614 for (i = start; table[i] != type && table[i] != IDNAME_FREE; i++); 848 new_part = ped_partition_new (part->disk, part->type, 560 _amiga_find_free_blocks(const PedDisk *disk, uint32_t *table, struct LinkedBlock *block, uint32_t first, uint32_t type) argument
|
/osnet-11/usr/src/lib/libpool/common/ |
H A D | pool.c | 77 * is possible to replace the entire datastore type without having to 204 * type of resource. If a binding cannot be determined, NULL is returned. 211 pool_resource_elem_class_t type; local 213 if ((type = pool_resource_elem_class_from_string(sz_type)) == 228 result = conf->pc_prov->pc_get_resource_binding(conf, type, pid); 270 int type = pool_value_get_type(pval); local 273 * Ignore "type" and "<type>.name" properties as these are not 280 data_type_tags[type], name) == PO_FAIL) 282 switch (type) { 1231 pool_resource_elem_class_t type; local [all...] |
H A D | pool_internal.c | 66 const char *c_type = "type"; 140 * the "enum pool_resource_elem_class" type. 201 { "type", POOL_VALUE_INITIALIZER, PP_HIDDEN | PP_STORED | PP_READ, NULL, 229 { "type", POOL_VALUE_INITIALIZER, PP_HIDDEN | PP_STORED | PP_READ, NULL, 255 * the "enum pool_resource_elem_class" type. 422 * Duplicate names for a pool or resource type are illegal. 464 * Ensure the type is a string. 479 * Ensure the type is a boolean. 494 * Ensure the type is an unsigned int. 611 * of all resources of this type 1239 pool_resource_type_string(pool_resource_elem_class_t type) argument 1245 pool_component_type_string(pool_component_elem_class_t type) argument 1256 resource_by_sysid(const pool_conf_t *conf, id_t sysid, const char *type) argument 1297 pool_elem_class_from_string(const char *type) argument 1313 pool_resource_elem_class_from_string(const char *type) argument 1329 pool_component_elem_class_from_string(const char *type) argument 1619 pool_validate_resource(const pool_conf_t *conf, const char *type, const char *prop, int64_t delta) argument [all...] |
H A D | pool_kernel.c | 251 * Element (and sub-type) 559 * Update the current cross-reference for the supplied type of 563 pool_knl_snap_load_update(pool_snap_load_t *psl, int type, uint_t id) argument 565 switch (type) { 577 * Remove a resource entry with the supplied type and id from the 581 pool_knl_snap_load_remove(pool_snap_load_t *psl, int type, uint_t id) argument 587 switch (type) { 895 * "type" is a special attribute which is not visible ever outside of 896 * libpool. Use the specific type accessor function. 1511 * the supplied type o 1515 pool_knl_get_resource_binding(pool_conf_t *conf, pool_resource_elem_class_t type, pid_t pid) argument 3498 pool_value_class_t type; local [all...] |
H A D | pool_xml.c | 202 /* Element (and sub-type) */ 308 * node_create() creates a child node of type name of the supplied parent in 325 * node_create_with_id() creates a child node of type name of the supplied 391 * Work out the element type and free the elem 438 property_create(xmlNodePtr parent, const char *name, pool_value_class_t type) argument 453 if (pool_value_set_string(&val, data_type_tags[type]) != PO_SUCCESS) { 472 pool_value_class_t type; local 476 * "type" is a special attribute which is not visible ever outside of 477 * libpool. Use the specific type accessor function. 484 if ((type 1412 pool_assoc_default_resource_type(pool_t *pool, pool_resource_elem_class_t type) argument [all...] |
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | find.c | 37 * -mime type/subtype 38 * matches type/subtype against the file mime type 161 int type; member in struct:Args_s 320 "fstype", FSTYPE, Str|Stat, 0, "type", 0, 322 " \b-printf %F\b for local filesystem type names.", 358 "mime", MIME, Str, 0, "type/subtype", 0, 359 "File mime type matches the pattern \atype/subtype\a.", 429 "[+%F?filesystem type name; use this for \b-fstype\b]" 478 "type", TYP [all...] |
/osnet-11/usr/src/lib/libdevalloc/common/ |
H A D | libdevalloc.c | 55 extern int dmap_matchtype(devmap_t *dmap, char *type); 523 * entries with the given search_key (device type). 570 * Utility routine to make it easy to make type-based decisions in 605 int type; local 609 type = da_str2flag(dargs->devinfo->devtype); 612 switch (type) { 675 * with the name tname%d (lowest unused number for the device type) 702 char defname[DA_MAXNAME + 1]; /* default name for type */ 757 * Same type, different device. Record 795 * no dups w/o DA_FORCE, even if type differ 1972 da_remove_list(da_devlist_t *dlist, char *link, int type, char *devname, int size) argument 2139 da_rm_list_entry(da_devlist_t *dlist, char *link, int type, char *devname) argument [all...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | drive.c | 369 drive_get_assoc_descriptors(descriptor_t *dp, dm_desc_type_t type, argument 372 switch (type) { 711 /* Make sure the drive type is set */ 1036 * Getting the drive type depends on if the dev tree walk indicated that the 1039 * a uscsi cmd to check the drive type. 1055 /* use uscsi to determine drive type */ 1255 * ******** the rest of this is uscsi stuff for the drv type ******** 1354 /* These are in order of how we want to report the drv type. */
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlwlan.c | 326 * chained through `cs_list'. Each element in the list is of type `attr_node' 1611 scf_type_t type, const char *val, scf_transaction_t *tx) 1624 if (scf_transaction_property_new(tx, entry, prop_name, type) != 0) 1627 if (scf_value_set_from_string(value, type, val) != 0) 1610 add_new_property(scf_handle_t *handle, const char *prop_name, scf_type_t type, const char *val, scf_transaction_t *tx) argument
|
/osnet-11/usr/src/lib/libdlpi/common/ |
H A D | libdlpi.c | 511 * is equal to the SAP requested. Some DLPI MAC type may bind 622 dlpi_get_physaddr(dlpi_handle_t dh, uint_t type, void *addrp, size_t *addrlenp) argument 642 physreqp->dl_addr_type = type; 671 dlpi_set_physaddr(dlpi_handle_t dh, uint_t type, const void *addrp, argument 681 if (addrp == NULL || type != DL_CURR_PHYS_ADDR || 1588 "QoS structure type is unknown/unsupported", /* DL_BADQOSTYPE 0x0b */ 1629 "invalid DLPI notification type", /* DLPI_ENOTEINVAL */
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_parser.c | 51 * node type (dn_ctfp/dn_type) and attributes (dn_attr). If dn_ctfp/dn_type 52 * are set manually (i.e. not by one of the type assignment functions), then 60 * The dn_ctfp and dn_type fields form the type of the node. This tuple can 61 * take on the following set of values, which form our type invariants: 65 * In this state, the node has unknown type and is not yet cooked. The 70 * In this state, the node is a dynamic D type. This means that generic 74 * and its type. The DT_NF_REF flag is set for all nodes of type <DYN>. 75 * At present, the D compiler uses the <DYN> type for: 77 * - associative arrays that do not yet have a value type define 203 char *type = alloca((size_t)(end - s) + 1); local 249 ctf_id_t type = tip->dtt_type; local 287 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) argument 654 dt_node_type_assign(dt_node_t *dnp, ctf_file_t *fp, ctf_id_t type) argument 793 ctf_id_t type; local 813 ctf_id_t type; local 832 ctf_id_t type; local 853 ctf_id_t type; local 872 ctf_id_t type; local 977 ctf_id_t type; local 1370 ctf_id_t type; local 1752 ctf_id_t type; local 2853 ctf_id_t type, base; local 3079 ctf_id_t type; local 3932 ctf_id_t type; local [all...] |
H A D | dt_printf.c | 168 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type); local 171 return (ctf_type_name(ctfp, type, n, sizeof (n)) != NULL && ( 181 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type); local 184 return (ctf_type_name(ctfp, type, n, sizeof (n)) != NULL && ( 194 ctf_id_t type = dnp->dn_type; local 197 if (ctf_type_name(ctfp, ctf_type_resolve(ctfp, type), n, 204 * If the type used for %llx or %llX is not an [unsigned] long long, we 209 while (ctf_type_kind(ctfp, type) == CTF_K_TYPEDEF) { 210 if (ctf_type_name(ctfp, type, n, sizeof (n)) != NULL && 214 type [all...] |
/osnet-11/usr/src/lib/libdtrace_jni/common/ |
H A D | dtj_util.c | 364 dtj_java_field_create(JNIEnv *jenv, jfieldID *jf, char *name, char *type, argument 372 f->djf_type = type; 382 dtj_java_static_field_create(JNIEnv *jenv, jfieldID *jf, char *name, char *type, argument 385 dtj_java_field_t *f = dtj_java_field_create(jenv, jf, name, type, 538 * element with type JCLASS.
|
/osnet-11/usr/src/lib/libfru/libfru/ |
H A D | libfru.cc | 42 * 3) Figure out which tags of this type are in the container. 527 fru_node_t type; local 538 RETRY(err = data_source->get_node_type(tr_child, &type)) 543 if ((type == FRU_NODE_LOCATION) || 544 (type == FRU_NODE_FRU) || 545 (type == FRU_NODE_CONTAINER)) { 560 RETRY(err = data_source->get_node_type(tr_child, &type)) 564 if ((type == FRU_NODE_LOCATION) || 565 (type == FRU_NODE_FRU) || 566 (type 579 fru_node_t type; local 739 fru_get_node_type(fru_nodehdl_t handle, fru_node_t *type) argument 760 fru_node_t type; local [all...] |
/osnet-11/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 147 * property, the type expected, and returns a pointer to the matching member, 151 find_prop(const inetd_prop_t *prop, const char *name, inet_type_t type) argument 161 if (prop[i].ip_type != type) 655 /* Check that the socket type is one of the acceptable values. */ 690 * endpoint type, we can't do any of the proto checks as we 779 * dissallow datagram type nowait services 814 si->type = sock_type_id; 1270 * Returns the id of the socket type 'type_str' that can be used in a call 1271 * to socket(). If an unknown type string is passed returns -1, else the id. 1570 * type serve [all...] |
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_if.c | 149 * Allocate a structure of type `ipadm_ifname_t'. 162 * Allocate a structure of type `ipadm_if_info_t'. 179 * Returns B_TRUE if `ifname' in the given list of structures of type 818 * SIOCSLIFNAME uniqueness is per-interface-type). 1006 * ipadm_create_addr() with the address object type set to 1130 ipadm_addr_type_t type; local 1133 type = IPADM_ADDR_STATIC; 1135 type = IPADM_ADDR_IPV6_ADDRCONF; 1136 i_ipadm_init_addr(&addr, ifname, "", type); 1542 * The address family is identified through the socket type fo [all...] |
/osnet-11/usr/src/lib/efcode/include/fcode/ |
H A D | proto.h | 158 FNPROTO(type); variable
|
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr.c | 919 * Converts a new ASR message from a buffer and the given type. 923 asr_message_alloc(asr_buf_t *data, asr_msgtype_t type) argument 931 msg->asr_msg_type = type;
|