/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 666 set_flowprop_persist(const char *flow, const char *prop_name, char **prop_val, argument 672 status = dladm_set_flowprop(handle, flow, prop_name, prop_val, val_cnt,
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 1342 char prop_name[32]; local 1383 (void) strcpy(prop_name, drv_name); 1384 (void) strcat(prop_name, "_intpt_bind_cpus"); 1385 rc = ddi_getlongprop(DDI_DEV_T_ANY, dip, 0, prop_name, 1415 prop_name, prop_val, bind_cpu);
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | mp_platform_misc.c | 1221 char prop_name[32]; local 1277 (void) strcpy(prop_name, drv_name); 1278 (void) strcat(prop_name, "_intpt_bind_cpus"); 1279 rc = ddi_getlongprop(DDI_DEV_T_ANY, dip, 0, prop_name, 1309 psm_name, prop_name, prop_val, bind_cpu);
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_ndd.c | 301 char *prop_name; local 310 prop_name = param_arr->name; 312 if (strncmp("rxdma_intr", prop_name, 10) == 0) 320 if (strncmp("txdma", prop_name, name_chars) == 0) { 321 prop_name += name_chars; 322 channel = mi_strtol(prop_name, &end, 10);
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_ndd.c | 641 char *prop_name; local 651 prop_name = param_arr->name; 653 if (strncmp("rxdma_intr", prop_name, 10) == 0) 656 if (strncmp("default_grp", prop_name, name_chars) == 0) { 657 prop_name += name_chars; 658 grp = mi_strtol(prop_name, &end, 10); 662 name_chars = strlen(prop_name); 663 if (strncmp("default_port_rdc", prop_name, name_chars) == 0) { 671 if (strncmp("txdma", prop_name, name_chars) == 0) { 672 prop_name [all...] |
H A D | nxge_virtual.c | 1160 char *prop_name; local 1184 prop_name = param_arr[class_prop].fcode_name; 1187 status = nxge_cfg_verify_set_classify_prop(nxgep, prop_name, 1201 prop_name = param_arr[class_prop].fcode_name; 1203 status = nxge_cfg_verify_set_classify_prop(nxgep, prop_name,
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | rootnex.h | 82 char *prop_name; member in struct:rootnex_intprop_s
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | emul64.c | 529 char prop_name[15]; local 547 (void) snprintf(prop_name, sizeof (prop_name), "targ_%d_%d", 550 DDI_PROP_DONTPASS, prop_name, 555 "elements", prop_name);
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | findevs.c | 110 static char *get_byte_prop(char *prop_name, di_node_t node); 113 static int get_prom_int(char *prop_name, di_node_t node, 115 static char *get_prom_str(char *prop_name, di_node_t node, 117 static int get_prop(char *prop_name, di_node_t node); 118 static char *get_str_prop(char *prop_name, di_node_t node); 1414 get_byte_prop(char *prop_name, di_node_t node) argument 1421 cnt = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, prop_name, &bytes); 1454 get_prom_int(char *prop_name, di_node_t node, di_prom_handle_t ph) argument 1458 if (di_prom_prop_lookup_ints(ph, node, prop_name, &n) == 1) { 1466 get_prom_str(char *prop_name, di_node_ argument 1481 get_prop(char *prop_name, di_node_t node) argument 1500 get_str_prop(char *prop_name, di_node_t node) argument 1715 char prop_name[MAXPROPLEN]; local [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_values.c | 730 const char *prop_name; member in struct:nwam_prop_value_entry 769 for (i = 0; prop_value_entry_table[i].prop_name != NULL; i++) { 770 if (strcmp(prop_value_entry_table[i].prop_name, propname) != 0) 808 for (i = 0; prop_value_entry_table[i].prop_name != NULL; i++) { 809 if (strcmp(prop_value_entry_table[i].prop_name, propname) != 0)
|
/illumos-gate/usr/src/uts/i86xpv/io/psm/ |
H A D | mp_platform_xpv.c | 1176 char prop_name[32]; local 1232 (void) strcpy(prop_name, drv_name); 1233 (void) strcat(prop_name, "_intpt_bind_cpus"); 1234 rc = ddi_getlongprop(DDI_DEV_T_ANY, dip, 0, prop_name, 1264 psm_name, prop_name, prop_val, bind_cpu);
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 1425 * scf_read_count_property(scf_simple_handle_t *simple_h, char *prop_name, 1449 char *prop_name, 1464 if (scf_pg_get_property(simple_h->running_pg, prop_name, prop) != 0) { 1447 scf_read_count_property( scf_simple_handle_t *simple_h, char *prop_name, uint64_t *ret_count) argument
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 121 static int prom_srch_node(int fd, char *prop_name, char *ret_buf); 2228 prom_srch_node(int fd, char *prop_name, char *ret_buf) argument 2243 while (strcmp(prop_name, opp->oprom_array) != 0) {
|
H A D | devfsmap.c | 444 char *prop_name, *string; local 458 prop_name = NULL; 468 if ((prop_name = strdup(tokbuf)) == NULL) 491 if (strcmp(prop_name, "PARENT") == 0 || 492 strcmp(prop_name, "parent") == 0) { 499 } else if (strcmp(prop_name, "NAME") == 0 || 500 strcmp(prop_name, "name") == 0) { 507 } else if (strcmp(prop_name, "CLASS") == 0 || 508 strcmp(prop_name, "class") == 0) { 515 } else if (strcmp(prop_name, "uni [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlwlan.c | 1610 add_new_property(scf_handle_t *handle, const char *prop_name, argument 1624 if (scf_transaction_property_new(tx, entry, prop_name, type) != 0)
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool.c | 833 is_valid_prop_name(const char *prop_name) argument 838 if (prop_name == NULL) 840 if (!isalpha(prop_name[0]) && prop_name[0] != '_') 842 for (i = 1; (c = prop_name[i]) != '\0'; i++) {
|
H A D | pool_internal.c | 1212 * is_a_known_prefix() determines if the supplied prop_name is a known 1218 is_a_known_prefix(pool_elem_class_t class, const char *prop_name) argument 1227 if (strncmp(prop_name, pool_elem_class_name[class], len) == 0 && 1228 prop_name[len] == '.' || strcmp(prop_name, c_type) == 0) 1236 if (strncmp(prop_name, 1238 prop_name[len] == '.' || 1239 strcmp(prop_name, c_type) == 0) 1247 if (strncmp(prop_name, 1249 prop_name[le [all...] |
H A D | pool_xml.c | 2303 const char *prop_name; local 2311 prop_name = pool_value_get_name(props[i]); 2312 if ((prefix = is_a_known_prefix(class, prop_name)) != NULL) { 2317 if (strcmp(prop_name, c_type) == 0) { 2319 attr_name = prop_name; 2321 attr_name = prop_name + strlen(prefix) + 1; 2325 prop_name = attr_name; 2346 if (append_char_buf(cb, fmts[pvc], prop_name, uval) 2354 if (append_char_buf(cb, fmts[pvc], prop_name, ival) 2362 if (append_char_buf(cb, fmts[pvc], prop_name, dva [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_scf.c | 1241 ilbd_name_to_valtype(const char *prop_name) argument 1246 if (strncmp(prop_name, prop_tbl[i].scf_propname, 1250 logdebug("ilbd_name_to_valtype: couldn't find prop %s", prop_name); 1256 ilbd_scf_load_prop(scf_propertygroup_t *pg, const char *prop_name, void *arg) argument 1262 ilbd_var_type_t val_type = ilbd_name_to_valtype(prop_name); 1268 ret = ilbd_scf_get_prop_val(pg, prop_name, &val); 1277 ret = ilbd_scfval_to_data(prop_name, val_type, val, ilb_data); 1299 char *prop_name = NULL; local 1315 if ((prop_name = malloc(scf_name_len)) == NULL) { 1320 if (scf_property_get_name(prop, prop_name, scf_name_le 1569 ilbd_change_prop(ilbd_scf_pg_type_t pg_type, const char *pg_name, const char *prop_name, void *new_val) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 504 const char *prop_name = statep->sps_pname; local 513 status = ipadm_get_ifprop(iph, ifname, prop_name, propval, 517 status = ipadm_get_prop(iph, prop_name, propval, &propsize, 521 status = ipadm_get_addrprop(iph, prop_name, propval, &propsize, 530 "'%s'", prop_name, object); 782 char *prop_name, *prop_val; local 817 prop_name = nv; 829 status = ipadm_set_ifprop(iph, ifname, prop_name, prop_val, proto, 836 prop_name, ipadm_status2str(status)); 839 prop_name, ipadm_status2st 967 char *protostr, *nv, *prop_name, *prop_val; local 2010 char *prop_name, *prop_val; local [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | libscf.c | 507 libscf_read_state(const scf_propertygroup_t *pg, const char *prop_name, argument 518 if (scf_pg_get_property(pg, prop_name, prop) == -1) {
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_subr.c | 1347 * Lookup the 'prop_name' string array property and walk thru its list of 1359 scsi_get_device_type_string(char *prop_name, argument 1375 * So that we can establish a 'prop_name' for all instances of a 1384 DDI_PROP_NOTPROM, prop_name, &tuples, &ntuples) ==
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | devinfo_impl.h | 370 di_off_t prop_name; /* property name */ member in struct:di_path_prop 382 di_off_t prop_name; /* Property name */ member in struct:di_prop
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 813 const char *prop_name; member in struct:propmeth_data 826 meth->prop_name, meth->prop_type, meth->meth_name, meth->meth_ver, 832 meth->meth_name, meth->prop_name, meth->pg_name, 850 xmlChar *meth_name = NULL, *prop_name = NULL; local 883 if ((prop_name = xmlGetProp(xn, (xmlChar *)Propname)) == NULL) { 945 meth.prop_name = (const char *)prop_name; 969 meth.pg_name, meth.prop_name, &err) 978 meth.pg_name, meth.prop_name, &err) 994 meth.prop_name, [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | devinfo.c | 768 char prop_name[128]; local 779 if (mdb_readstr(prop_name, sizeof (prop_name), 780 (uintptr_t)prop.prop_name) == -1) { 782 prop.prop_name); 785 mdb_printf("name='%s' ", prop_name);
|