/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_vername.c | 49 int proplen; local 65 proplen = prom_bounded_getprop(nodeid, "version", buf, buflen - 1); 66 if (proplen <= 0) { 71 return (proplen);
|
/illumos-gate/usr/src/uts/sparc/zfs/ |
H A D | spa_boot.c | 40 int proplen; local 43 proplen = BOP_GETPROPLEN(bootops, propname); 44 if (proplen <= 0) 47 value = kmem_zalloc(proplen, KM_SLEEP); 49 kmem_free(value, proplen);
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | class_id.c | 88 int proplen; local 100 proplen = opp->oprom_len; 101 if (proplen > (strlen(prop) + 1)) { 103 opp = opp_zalloc(proplen, prop);
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_stree.c | 381 int proplen; local 401 if ((proplen = prom_getproplen(node, propname)) == -1) 404 if (proplen != 0) { 405 propval = kmem_zalloc(proplen, KM_SLEEP); 408 create_prop(pnp, propname, propval, proplen);
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | iscsi_boot.c | 60 int proplen; local 78 proplen = BOP_GETPROPLEN(bootops, BP_ISCSI_TARGET_IP); 79 if (proplen > 0) { 96 proplen = BOP_GETPROPLEN(bootops, BP_ISCSI_PORT); 97 if (proplen > 0) { 114 proplen = BOP_GETPROPLEN(bootops, BP_ISCSI_LUN); 115 if (proplen > 0) { 132 proplen = BOP_GETPROPLEN(bootops, BP_ISCSI_TPGT); 133 if (proplen > 0) { 151 proplen 246 int proplen; local 273 int proplen; local [all...] |
/illumos-gate/usr/src/uts/common/io/pci-ide/ |
H A D | pci-ide.c | 465 uint_t proplen; local 476 "reg", &rp, (uint_t *)&proplen) != DDI_PROP_SUCCESS) {
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | strplumb.c | 514 int proplen; local 523 proplen = BOP_GETPROPLEN(bootops, 525 if (proplen > 0) {
|
H A D | openprom.c | 570 int proplen = valsize; local 577 bcopy(&proplen, opp->oprom_array, valsize); 1257 int proplen; local 1266 proplen = prom_getproplen(nodeid, "name"); 1267 if (proplen <= 0) { 1274 propval = kmem_zalloc(proplen + 1, KM_SLEEP); 1277 kmem_free(propval, proplen + 1); 1292 proplen = prom_getproplen(nodeid, propname); 1293 if (proplen == 0) { 1299 propval = kmem_zalloc(proplen [all...] |
H A D | busra.c | 765 int proplen; local 799 "io-space", (caddr_t)&iorange, &proplen) == DDI_SUCCESS) { 800 maxrange = proplen / sizeof (struct iorange); 811 kmem_free((caddr_t)iorange, proplen); 823 "device-memory", (caddr_t)&memrange, &proplen) == DDI_SUCCESS) { 824 maxrange = proplen / sizeof (struct memrange); 835 kmem_free((caddr_t)memrange, proplen); 855 "interrupts", (caddr_t)&irq, &proplen) == DDI_SUCCESS) { 857 len = (proplen / sizeof (uint32_t)); 866 kmem_free((caddr_t)irq, proplen); [all...] |
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ops.c | 179 * has to break up the request into a get-proplen and get-prop 187 * get-proplen has one result: proplen 188 * proplen is returned as -1 if the propname doesn't exist and 191 * get-prop has one result: proplen, returned as -1 if propname doesn't exist. 195 * fco_getproplen ( propname phandle -- proplen ) 202 int proplen; local 233 if (ddi_getproplen(DDI_DEV_T_ANY, dip, flags, propname, &proplen)) 234 proplen = -1; 236 fc_result(cp, 0) = fc_int2cell(proplen); 249 int proplen = -1; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | swapgeneric.c | 341 int i, proplen; local 446 proplen = BOP_GETPROPLEN(bootops, "bootp-response"); 447 if (proplen > 0) { 448 dhcack = kmem_zalloc(proplen, KM_SLEEP); 456 dhcacklen = proplen; 462 proplen = BOP_GETPROPLEN(bootops, "netdev-path"); 463 if (proplen > 0) { 464 netdev_path = kmem_zalloc(proplen, KM_SLEEP); 469 kmem_free(netdev_path, proplen); 902 int proplen; local 1198 int proplen; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | openfirm.c | 253 cell_t proplen; member in struct:__anon341 264 return (args.proplen);
|
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | acpica.c | 873 uint_t proplen; local 879 "acpi-crs", &propdata, &proplen) != DDI_PROP_SUCCESS) 883 resbuf.Length = proplen;
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | scfutil.c | 1660 ssize_t proplen; local 1682 proplen = get_scf_limit(SCF_LIMIT_MAX_VALUE_LENGTH); 1683 propstring = malloc(proplen); 1822 ssize_t proplen; local 1826 proplen = get_scf_limit(SCF_LIMIT_MAX_VALUE_LENGTH); 1827 propstring = malloc(proplen); 1840 (void) snprintf(propstring, proplen, 1866 ssize_t proplen; local 1869 proplen = get_scf_limit(SCF_LIMIT_MAX_VALUE_LENGTH); 1870 propstring = malloc(proplen); [all...] |
/illumos-gate/usr/src/stand/lib/sock/ |
H A D | socket.c | 1249 int proplen; local 1260 if ((proplen = prom_getproplen(cn, "net-config-strategy")) < 1263 net_options[proplen] = '\0';
|
/illumos-gate/usr/src/uts/sun/io/ttymux/ |
H A D | ttymux_ioctl.c | 134 int proplen; local 155 proplen = prom_getproplen(node, propname); 156 if (proplen == 0) 158 propval = kmem_zalloc(proplen + 1, KM_SLEEP); 162 kmem_free(propval, proplen + 1); 168 kmem_free(propval, proplen + 1); 296 int proplen = prom_getproplen(node, propname); local 298 if (proplen < 0) 299 return (proplen); 300 *propval = kmem_zalloc(proplen [all...] |
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
H A D | ttymux_dacf.c | 344 int proplen = -1; local 347 (proplen = prom_getproplen(node, propname)) <= 0) 348 return (proplen); 350 *propval = kmem_zalloc(proplen + 1, KM_SLEEP); 353 return (proplen);
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | fillsysinfo.c | 453 int proplen; local 495 proplen = GETPROPLEN(node, (cmpnode ? "compatible" : "name")); 496 ASSERT(proplen > 0 && proplen <= OBP_MAXPROPNAME); 498 if (proplen >= OBP_MAXPROPNAME) 499 proplen = OBP_MAXPROPNAME - 1; 501 namebuf[proplen] = '\0';
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | au_to.c | 1278 short proplen; local 1282 proplen = strlen(propname) + 1; 1287 proplen + typelen + datalen); 1292 adr_short(&adr, &proplen, 1); 1293 adr_char(&adr, propname, proplen); 1409 short proplen; local 1411 proplen = strlen(propname) + 1; 1414 sizeof (short) + proplen); 1421 adr_short(&adr, &proplen, 1); 1422 adr_char(&adr, propname, proplen); [all...] |
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | wanboot.c | 1495 int proplen; local 1513 if ((proplen = prom_getproplen(anode, "net")) <= 0 || 1514 proplen > sizeof (netalias)) {
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | isa.c | 667 int proplen, pnpisa; local 670 (caddr_t)&isa_regs, &proplen) != DDI_PROP_SUCCESS) { 677 kmem_free(isa_regs, proplen); 1038 int proplen; local 1080 (caddr_t)&isa_regs, &proplen) != DDI_PROP_SUCCESS) { 1108 kmem_free(isa_regs, proplen);
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac.c | 1161 int proplen; local 1185 DDI_PROP_DONTPASS, property, (caddr_t)&propval, &proplen) == 1226 kmem_free(propval, proplen);
|
H A D | sysctrl_dr.c | 1842 int proplen; local 1854 proplen = prom_bounded_getprop(openprom_node, 1858 proplen = -1; 1861 if (proplen < 0) { 1875 for (i = 0; i < proplen; i++) {
|
H A D | fhc.c | 729 int proplen; local 737 &proplen) == DDI_PROP_SUCCESS) { 757 kmem_free(board_type, proplen);
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | iosram.c | 2452 int proplen; local 2458 proplen = sizeof (tunnel_capable); 2461 &proplen) != DDI_PROP_SUCCESS) { 2536 int proplen; local 2549 &proplen) != DDI_PROP_SUCCESS) { 2562 kmem_free(propvalue, proplen); 2583 proplen = sizeof (portid); 2586 &proplen) != DDI_PROP_SUCCESS) {
|