/illumos-gate/usr/src/uts/common/sys/usb/clients/usbser/ |
H A D | usbser_var.h | 363 #define USBSER_DS_GET_MODEM_CTL(pp, mask, valp) \ argument 365 mask, valp)
|
H A D | usbser_dsdi.h | 149 int mask, int *valp);
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | xattr.c | 810 xattr_file_pathconf(vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, in xattr_file_pathconf() argument 817 *valp = 0; in xattr_file_pathconf() 820 return (fs_pathconf(vp, cmd, valp, cr, ct)); in xattr_file_pathconf() 1473 xattr_dir_pathconf(vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, in xattr_dir_pathconf() argument 1480 *valp = 0; in xattr_dir_pathconf() 1483 return (fs_pathconf(vp, cmd, valp, cr, ct)); in xattr_dir_pathconf()
|
H A D | vnode.c | 4292 ulong_t *valp, in fop_pathconf() argument 4300 err = (*(vp)->v_op->vop_pathconf)(vp, cmd, valp, cr, ct); in fop_pathconf()
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 1969 ulong_t *valp, in pcfs_pathconf() argument 1977 *valp = 1; in pcfs_pathconf() 1989 *valp = IS_FAT12(fsp) ? 30 : 33; in pcfs_pathconf() 2000 *valp = 2000000000L; in pcfs_pathconf() 2004 return (fs_pathconf(vp, cmd, valp, cr, ct)); in pcfs_pathconf()
|
/illumos-gate/usr/src/lib/varpd/direct/common/ |
H A D | libvarpd_direct.c | 264 const uint64_t *valp = buf; in varpd_direct_setprop() local 268 if (*valp == 0 || *valp > UINT16_MAX) in varpd_direct_setprop() 272 vdp->vad_port = (uint16_t)*valp; in varpd_direct_setprop()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 1138 char *valp; in libdiskmgt_init_debug() local 1140 if ((valp = getenv(DM_DEBUG)) != NULL) { in libdiskmgt_init_debug() 1141 dm_debug = atoi(valp); in libdiskmgt_init_debug()
|
/illumos-gate/usr/src/cmd/iscsiadm/ |
H A D | iscsiadm_main.c | 1403 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/cmd-inet/usr.sbin/ |
H A D | route.c | 224 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/uts/intel/io/coretemp/ |
H A D | coretemp.c | 110 uint64_t *valp = (uint64_t *)arg2; in coretemp_rdmsr_xc() local 116 if (checked_rdmsr(msr, valp) == 0) { in coretemp_rdmsr_xc() 135 coretemp_rdmsr(coretemp_t *ct, cmi_hdl_t hdl, uint_t msr, uint64_t *valp) in coretemp_rdmsr() argument 143 (void) coretemp_rdmsr_xc((xc_arg_t)msr, (xc_arg_t)valp, in coretemp_rdmsr() 147 xc_call((xc_arg_t)msr, (xc_arg_t)valp, (xc_arg_t)&ret, in coretemp_rdmsr()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | timers.c | 590 struct timeval *valp = &p->p_realitimer.it_value; in realitexpire() local 598 if ((ticks = hzto(valp)) > 1) { in realitexpire() 613 timerclear(valp); in realitexpire() 617 timeval_advance(valp, intervalp); in realitexpire() 618 p->p_itimerid = realtime_timeout(realitexpire, p, hzto(valp)); in realitexpire() 715 timeval_advance(struct timeval *valp, struct timeval *intervalp) in timeval_advance() argument 723 timevaladd(valp, &interval2nth); in timeval_advance() 725 if (TVTSCMP(valp, &hrestime, >)) in timeval_advance() 731 timevalsub(valp, &interval2nth); in timeval_advance()
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsacm/ |
H A D | usbsacm.c | 1217 usbsacm_ds_get_modem_ctl(ds_hdl_t hdl, uint_t port_num, int mask, int *valp) in usbsacm_ds_get_modem_ctl() argument 1223 *valp = usbsacm_reg2mctl(acm_port->acm_mctlout) & mask; in usbsacm_ds_get_modem_ctl() 1229 *valp |= usbsacm_reg2mctl(acm_port->acm_mctlin) & mask; in usbsacm_ds_get_modem_ctl() 1230 *valp |= (mask & (TIOCM_CD | TIOCM_CTS)); in usbsacm_ds_get_modem_ctl() 1232 *valp |= (mask & (TIOCM_CD | TIOCM_CTS | TIOCM_DSR | TIOCM_RI)); in usbsacm_ds_get_modem_ctl() 1237 "usbsacm_ds_get_modem_ctl: val = 0x%x", *valp); in usbsacm_ds_get_modem_ctl()
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/ |
H A D | uftdi_dsd.c | 901 uftdi_get_modem_ctl(ds_hdl_t hdl, uint_t portno, int mask, int *valp) in uftdi_get_modem_ctl() argument 935 *valp = val & mask; in uftdi_get_modem_ctl()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_ndd.c | 1320 char *valp; in hxge_nd_getset() local 1345 for (valp = (char *)mp1->b_rptr; *valp != '\0'; valp++) { in hxge_nd_getset() 1346 if (*valp == '-') in hxge_nd_getset() 1347 *valp = '_'; in hxge_nd_getset() 1350 valp = (char *)mp1->b_rptr; in hxge_nd_getset() 1355 if (strcmp(nde->nde_name, valp) == 0) in hxge_nd_getset() 1359 while (*valp++) in hxge_nd_getset() 1361 if (!*valp || valp >= (char *)mp1->b_wptr) in hxge_nd_getset() 1362 valp = nilp(char); in hxge_nd_getset() 1376 if (valp) in hxge_nd_getset() [all …]
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca.c | 3538 uint64_t atype, uint32_t *valp) in dca_attr_lookup_uint32() argument 3547 *valp = *bap->oa_value; in dca_attr_lookup_uint32()
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getnetgrent.c | 202 const char *name, char **valp) in netgr_get_members() argument 220 *valp = netgr.netgr_members; in netgr_get_members() 221 if (*valp == NULL) in netgr_get_members()
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | rust-v0.c | 672 uint64_t *valp) in rustv0_parse_disambiguator() argument 679 *valp = 0; in rustv0_parse_disambiguator() 684 if (!rustv0_parse_base62(st, sv, valp)) { in rustv0_parse_disambiguator() 696 *valp = *valp + 1; in rustv0_parse_disambiguator() 698 DEMDEBUG("%s: disambiguator=%" PRIu64, __func__, *valp); in rustv0_parse_disambiguator() 1298 uint64_t *restrict valp) in rustv0_parse_hex_num() argument 1336 *valp = val; in rustv0_parse_hex_num() 1348 uint64_t *restrict valp) in rustv0_parse_base62() argument 1363 *valp = 0; in rustv0_parse_base62() 1380 *valp = val + 1; in rustv0_parse_base62()
|
H A D | rust.c | 220 uint64_t *restrict valp) in rust_parse_base10() argument 247 *valp = 0; in rust_parse_base10() 282 *valp = v; in rust_parse_base10()
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_dwarf.c | 522 Dwarf_Signed *valp) in ctf_dwarf_signed() argument 532 ret = dwarf_formsdata(attr, valp, &derr); in ctf_dwarf_signed() 547 Dwarf_Unsigned *valp) in ctf_dwarf_unsigned() argument 557 ret = dwarf_formudata(attr, valp, &derr); in ctf_dwarf_unsigned() 634 ctf_dwarf_member_location(ctf_cu_t *cup, Dwarf_Die die, Dwarf_Unsigned *valp) in ctf_dwarf_member_location() argument 673 if (dwarf_formudata(attr, valp, &derr) == DW_DLV_OK) { in ctf_dwarf_member_location() 687 *valp = (Dwarf_Unsigned)sign; in ctf_dwarf_member_location() 711 *valp = loc->ld_s->lr_number; in ctf_dwarf_member_location()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | eventfd.c | 59 eventfd_read(int fd, eventfd_t *valp) in eventfd_read() argument 61 ssize_t ret = read(fd, valp, sizeof (*valp)); in eventfd_read() 62 if (ret == -1 || (size_t)ret < sizeof (*valp)) in eventfd_read()
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | fme.c | 1953 node2uint(struct node *n, uint_t *valp) in node2uint() argument 1969 *valp = (uint_t)value.v; in node2uint()
|
/illumos-gate/usr/src/uts/sun/io/eri/ |
H A D | eri.c | 4400 char *valp; in eri_nd_getset() local 4426 valp = (char *)mp1->b_rptr; in eri_nd_getset() 4431 if (strcmp(nde->nde_name, valp) == 0) in eri_nd_getset() 4436 while (*valp++) in eri_nd_getset() 4439 if (!*valp || valp >= (char *)mp1->b_wptr) in eri_nd_getset() 4440 valp = NULL; in eri_nd_getset() 4451 if (valp) in eri_nd_getset() 4452 (void) ddi_strtol(valp, NULL, 10, (long *)&avail); in eri_nd_getset() 4495 if (valp) { in eri_nd_getset() 4496 err = (*nde->nde_set_pfi)(q, mp1, valp, in eri_nd_getset()
|
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/ |
H A D | audio_4231.c | 1461 audiocs_get_value(void *arg, uint64_t *valp) in audiocs_get_value() argument 1467 *valp = cc->cc_val; in audiocs_get_value()
|
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_main.c | 921 char *valp, *param; in vmxnet3_ioctl() local 953 valp = (char *)mp1->b_rptr; /* Points to param name */ in vmxnet3_ioctl() 954 ASSERT(valp); in vmxnet3_ioctl() 955 param = valp; in vmxnet3_ioctl() 962 while (*valp && valp <= (char *)mp1->b_wptr) in vmxnet3_ioctl() 963 valp++; in vmxnet3_ioctl() 965 if (valp > (char *)mp1->b_wptr) { in vmxnet3_ioctl() 975 valp++; in vmxnet3_ioctl() 977 data = (int)*valp - (int)'0'; in vmxnet3_ioctl()
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 296 mcamd_propcode_t code, mcamd_prop_t *valp) in mcamd_get_numprop() argument 314 *valp = *(uint64_t *)((uintptr_t)node + offset); in mcamd_get_numprop() 325 mcamd_prop_t *valp; in mcamd_get_numprops() local 330 valp = va_arg(ap, mcamd_prop_t *); in mcamd_get_numprops() 331 if (!mcamd_get_numprop(hdl, node, code, valp)) in mcamd_get_numprops() 354 mcamd_regcode_t code, uint32_t *valp) in mcamd_get_cfgreg() argument 372 *valp = *(uint32_t *)((uintptr_t)node + offset); in mcamd_get_cfgreg() 383 uint32_t *valp; in mcamd_get_cfgregs() local 388 valp = va_arg(ap, uint32_t *); in mcamd_get_cfgregs() 389 if (!mcamd_get_cfgreg(hdl, node, code, valp)) in mcamd_get_cfgregs()
|