Home
last modified time | relevance | path

Searched refs:valp (Results 1 – 25 of 161) sorted by path

1234567

/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfsimpl.c2616 uint64_t *valp) in zap_table_load() argument
2630 *valp = buf[off]; in zap_table_load()
2636 zap_idx_to_blk(fat_zap_t *zap, uint64_t idx, uint64_t *valp) in zap_idx_to_blk() argument
2639 *valp = ZAP_EMBEDDED_PTRTBL_ENT(zap, idx); in zap_idx_to_blk()
2643 idx, valp)); in zap_idx_to_blk()
/illumos-gate/usr/src/cmd/amdzen/
H A Dusmn.c31 usmn_parse_uint32(const char *str, uint32_t *valp) in usmn_parse_uint32() argument
49 *valp = (uint32_t)l; in usmn_parse_uint32()
/illumos-gate/usr/src/cmd/audio/utilities/
H A Ddevice_ctl.c145 audio__setval(int fd, unsigned int *valp, unsigned int which) in audio__setval() argument
191 *up = *valp; in audio__setval()
193 *cp = (unsigned char) *valp; in audio__setval()
201 *valp = *up; in audio__setval()
203 *valp = (unsigned)*cp; in audio__setval()
213 audio__setgain(int fd, double *valp, unsigned int which) in audio__setgain() argument
219 if ((*valp < 0.) || (*valp > 1.)) in audio__setgain()
223 x = ((unsigned)(*valp * (AUDIO_MAX_GAIN - AUDIO_MIN_GAIN))) + in audio__setgain()
231 *valp = ((double)(x - AUDIO_MIN_GAIN) / in audio__setgain()
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_emul.c2190 uint32_t *valp) in pci_cfgrw() argument
2213 *valp = 0xffffffff; in pci_cfgrw()
2223 *valp = 0xffffffff; in pci_cfgrw()
2231 *valp = 0x00000000; in pci_cfgrw()
2250 *valp = CFGREAD(pi, coff, bytes); in pci_cfgrw()
2285 addr = *valp & mask; in pci_cfgrw()
2297 addr = bar = *valp & mask; in pci_cfgrw()
2305 addr = bar = *valp & mask; in pci_cfgrw()
2322 addr = bar = *valp & mask; in pci_cfgrw()
2327 pi->pi_bar[idx].lobits = *valp & in pci_cfgrw()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c123 void *valp; member
1364 item->valp, in mib_item_dup()
1513 diffptr->valp = d; in mib_item_diff()
1677 diffptr->valp = d; in mib_item_diff()
3023 item->valp); in if_report()
3907 item->valp); in group_report()
4129 item->valp); in dce_report()
4229 item->valp); in arp_report()
4321 item->valp); in ndp_report()
6317 sre = item->valp; in sctp_getnext_rem()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmultilink.c49 static int parse_num __P((char *str, const char *key, int *valp));
191 parse_num(str, key, valp) in parse_num() argument
194 int *valp;
204 *valp = i;
H A Doptions.c168 static int number_option __P((char *str, u_int32_t *valp, int base));
1394 number_option(str, valp, base) in number_option() argument
1396 u_int32_t *valp;
1401 *valp = strtoul(str, &ptr, base);
1460 int_option(str, valp) in int_option() argument
1462 int *valp;
1468 *valp = (int) v;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dtelnet.c1183 cc_t *valp; member
1201 spcp->valp = 0; in slc_init()
1207 if (spcp->valp = tcval(func)) { \ in slc_init()
1208 spcp->val = *spcp->valp; \ in slc_init()
1325 if (spcp->valp) in slc_export()
1326 spcp->val = *spcp->valp; in slc_export()
1412 if (spcp->valp && spcp->val != *spcp->valp) { in slc_check()
1413 spcp->val = *spcp->valp; in slc_check()
1484 if (spcp->valp && (*spcp->valp != spcp->val)) { in slc_update()
1485 *spcp->valp = spcp->val; in slc_update()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c449 char **valp, in parse_ts() argument
457 if (0 > parse_quote(valp, "| ,", delimp, buf, bufsize) || in parse_ts()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c4023 char *cp, *varp, *valp; in suboption() local
4056 valp = 0; in suboption()
4070 cp = valp = (char *)subpointer; in suboption()
4076 if (valp) { in suboption()
4077 if ((new_env(varp, valp)) == 1) { in suboption()
4084 valp = 0; in suboption()
4098 if (valp) { in suboption()
4099 if ((new_env(varp, valp)) == 1) { in suboption()
H A Droute.c224 intmax_t *valp; member
635 ((mib2_ip_t *)item->valp)->ipRouteEntrySize; in flushroutes()
653 for (rp = (mib2_ipRouteEntry_t *)item->valp; in flushroutes()
654 (char *)rp < (char *)item->valp + item->length; in flushroutes()
671 ((mib2_ipv6IfStatsEntry_t *)item->valp)-> in flushroutes()
690 for (rp6 = (mib2_ipv6RouteEntry_t *)item->valp; in flushroutes()
691 (char *)rp6 < (char *)item->valp + item->length; in flushroutes()
1149 uint_t noval, *valp = &noval; in set_metric() local
1168 *valp = atoi(value); in set_metric()
3167 last_item->valp = malloc(req->len); in mibget()
[all …]
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c9022 str2int(const char *str, int *valp) in str2int() argument
9032 *valp = val; in str2int()
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_defn.c406 bool2val(const char *str, boolean_t *valp) in bool2val() argument
409 *valp = 1; in bool2val()
411 *valp = 0; in bool2val()
H A Dinj_string.c91 inj_strtoll(const char *str, int width, longlong_t *valp) in inj_strtoll() argument
113 if (valp != NULL) in inj_strtoll()
114 *valp = val; in inj_strtoll()
120 inj_strtoull(const char *str, int width, u_longlong_t *valp) in inj_strtoull() argument
141 if (valp != NULL) in inj_strtoull()
142 *valp = val; in inj_strtoull()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c1953 node2uint(struct node *n, uint_t *valp) in node2uint() argument
1969 *valp = (uint_t)value.v; in node2uint()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c3528 nopt(struct mnttab *mnt, char *opt, int *valp) in nopt() argument
3538 if (valp == NULL) { in nopt()
3545 *valp = atoi(&equal[1]); in nopt()
H A Dautomount.c385 char *ostart, *optr, *valp; local
412 if (getsubopt(&optr, ignore_opts, &valp) == -1) {
438 if (getsubopt(&optr, ignore_opts, &valp) == -1) {
/illumos-gate/usr/src/cmd/iscsiadm/
H A Discsiadm_main.c1403 char valp[MAXOPTARGLEN]; in setLoginParameters() local
1429 (void) memset(valp, 0, sizeof (valp)); in setLoginParameters()
1430 if (sscanf(indexp, gettext("%[^=]=%s"), keyp, valp) != 2) { in setLoginParameters()
1448 if (setLoginParameter(oid, key, valp) != 0) { in setLoginParameters()
5555 char valp[MAXOPTARGLEN]; in setTunableParameters() local
5574 (void) memset(valp, 0, sizeof (valp)); in setTunableParameters()
5575 if (sscanf(nameValueString, gettext("%[^=]=%s"), keyp, valp) != 2) { in setTunableParameters()
5598 uintValue = strtoul(valp, &endptr, 0); in setTunableParameters()
5639 tunableObj.tunable_objectValue = valp; in setTunableParameters()
/illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/
H A Dkmdb_asmutil.S85 wrmsr(uint32_t addr, uint64_t *valp)
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkaif.c235 kaif_get_register(const char *regname, kreg_t *valp) in kaif_get_register() argument
242 *valp = *regp; in kaif_get_register()
H A Dkvm_isadep.c296 kmt_rwmsr(uint32_t addr, uint64_t *valp, void (*rw)(uint32_t, uint64_t *)) in kmt_rwmsr() argument
306 rw(addr, valp); in kmt_rwmsr()
408 kmt_pcicfg_common(uintptr_t off, uint32_t *valp, const mdb_arg_t *argv, in kmt_pcicfg_common() argument
447 if (kmt_iorw(mdb.m_target, valp, sizeof (*valp), PCI_CONFDATA, rw) != in kmt_pcicfg_common()
448 sizeof (*valp)) { in kmt_pcicfg_common()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c2330 nvlist_t *valp; in ndmp_iter_zfs() local
2439 valp = NULL; in ndmp_iter_zfs()
2447 valp) != 0) { in ndmp_iter_zfs()
2448 nvlist_free(valp); in ndmp_iter_zfs()
2451 nvlist_free(valp); in ndmp_iter_zfs()
2465 valp = NULL; in ndmp_iter_zfs()
2473 valp) != 0) { in ndmp_iter_zfs()
2474 nvlist_free(valp); in ndmp_iter_zfs()
2477 nvlist_free(valp); in ndmp_iter_zfs()
2486 nvlist_free(valp); in ndmp_iter_zfs()
[all …]
/illumos-gate/usr/src/cmd/pathchk/
H A Dpathchk.c136 checkPathConf(const char *path, int type, long *valp) in checkPathConf() argument
139 *valp = pathconf(path, type); in checkPathConf()
140 if ((*valp == -1) && (errno != 0) && (errno != EACCES)) { in checkPathConf()
147 *valp = _POSIX_PATH_MAX; in checkPathConf()
149 *valp = _POSIX_NAME_MAX; in checkPathConf()
156 *valp); in checkPathConf()
159 return ((*valp == -1) && (errno != 0)); in checkPathConf()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvd.c2583 char *valp, *endp; in envd_setup() local
2635 if ((valp = getenv("SUNW_piclenvd_debug")) != NULL) { in envd_setup()
2636 val = strtol(valp, &endp, 0); in envd_setup()
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dasn1.c126 uchar_t *p, *valp; in asn_build_int() local
158 valp = (uchar_t *)&ival; in asn_build_int()
160 p[i] = valp[sizeof (int) - valsz + i]; in asn_build_int()

1234567