/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | misc.c | 184 const char *valptr, *nxtopt; in rtsa_keyword() local 201 valptr = parse_entry(attrbuf, sizeof (attrbuf), options, ",="); in rtsa_keyword() 216 if ((key == SAK_CIPSO && *valptr == '=') || in rtsa_keyword() 217 (key != SAK_CIPSO && *valptr != '=')) { in rtsa_keyword() 218 *errstrp = (char *)valptr; in rtsa_keyword() 223 nxtopt = valptr; in rtsa_keyword() 224 if (*valptr == '=') { in rtsa_keyword() 225 valptr++; in rtsa_keyword() 227 valptr, ",="); in rtsa_keyword() 248 *errstrp = (char *)valptr; in rtsa_keyword() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpinfo/ |
H A D | dhcpinfo.c | 66 uint8_t *valptr; in main() local 207 valptr = (uint8_t *)opt + sizeof (d6o); in main() 213 valptr = opt->value; in main() 225 valuep += sprintf(valuep, "0x%02X ", valptr[i]); in main() 232 value = inittab_decode(entry, valptr, opt_len, B_TRUE); in main()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/nic/ |
H A D | topo_nic.c | 112 char dlerr[DLADM_STRSIZE], dlmedia[DLADM_PROP_VAL_MAX], *valptr[1]; in nic_port_datalink_props() local 186 valptr[0] = dlmedia; in nic_port_datalink_props() 188 "media", valptr, &valcnt) == DLADM_STATUS_OK) { in nic_port_datalink_props()
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 3419 struct zone_rctlvaltab *valptr; in zonecfg_lookup_rctl() local 3438 valptr = (struct zone_rctlvaltab *)malloc( in zonecfg_lookup_rctl() 3440 if (valptr == NULL) in zonecfg_lookup_rctl() 3443 valptr->zone_rctlval_priv, in zonecfg_lookup_rctl() 3444 sizeof (valptr->zone_rctlval_priv)) != in zonecfg_lookup_rctl() 3448 valptr->zone_rctlval_limit, in zonecfg_lookup_rctl() 3449 sizeof (valptr->zone_rctlval_limit)) != in zonecfg_lookup_rctl() 3453 valptr->zone_rctlval_action, in zonecfg_lookup_rctl() 3454 sizeof (valptr->zone_rctlval_action)) != in zonecfg_lookup_rctl() 3457 if (zonecfg_add_rctl_value(tabptr, valptr) != in zonecfg_lookup_rctl() [all …]
|
/illumos-gate/usr/src/ucblib/libucb/port/stdio/ |
H A D | doprnt.c | 124 _lowdigit(long *valptr) in _lowdigit() argument 130 int lowbit = (int)(*valptr & 1); in _lowdigit() 131 long value = (*valptr >> 1) & ~HIBITL; in _lowdigit() 133 *valptr = value / 5; in _lowdigit()
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | doprnt.c | 237 _lowdigit(ssize_t *valptr) in _lowdigit() argument 244 ssize_t lowbit = *valptr & 1; in _lowdigit() 245 long value = (*valptr >> 1) & ~HIBITL; in _lowdigit() 247 *valptr = value / 5; in _lowdigit() 253 _lowlldigit(long long *valptr) in _lowlldigit() argument 255 ssize_t lowbit = *valptr & 1; in _lowlldigit() 256 long long value = (*valptr >> 1) & ~HIBITLL; in _lowlldigit() 257 *valptr = value / 5; in _lowlldigit()
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | util.c | 1174 uchar_t *valptr; in get_offered_domainname_v4() local 1177 valptr = (uchar_t *)opt + DHCP_OPT_META_LEN; in get_offered_domainname_v4() 1182 domainname = inittab_decode(symp, valptr, in get_offered_domainname_v4()
|
/illumos-gate/usr/src/cmd/ptools/pmap/ |
H A D | pmap.c | 1520 uint_t *valptr = validity; in mem_chunk_get() local 1556 for (j = 0; j < i; j++, pdp++, valptr++, outptr += 2) { in mem_chunk_get() 1558 if ((*valptr & 1) == 0) { in mem_chunk_get() 1563 if ((*valptr & 2) != 0) { in mem_chunk_get() 1569 if ((*valptr & 4) != 0) { in mem_chunk_get()
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 1849 struct zone_rctlvaltab *valptr; in export_func() local 2055 for (valptr = rctltab.zone_rctl_valptr; valptr != NULL; in export_func() 2056 valptr = valptr->zone_rctlval_next) { in export_func() 2059 pt_to_str(PT_PRIV), valptr->zone_rctlval_priv, in export_func() 2060 pt_to_str(PT_LIMIT), valptr->zone_rctlval_limit, in export_func() 2061 pt_to_str(PT_ACTION), valptr->zone_rctlval_action); in export_func() 5309 struct zone_rctlvaltab *valptr; in output_rctl() local 5313 for (valptr = rctltab->zone_rctl_valptr; valptr != NULL; in output_rctl() 5314 valptr = valptr->zone_rctlval_next) { in output_rctl() 5317 pt_to_str(PT_PRIV), valptr->zone_rctlval_priv, in output_rctl() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 3157 char *valptr[1]; in tun_status() local 3197 valptr[0] = propval; in tun_status() 3199 (char **)valptr, &valcnt) == DLADM_STATUS_OK) { in tun_status() 3205 "encaplimit", (char **)valptr, &valcnt) == DLADM_STATUS_OK) { in tun_status()
|