/titanic_44/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_process.c | 657 char *valp = NULL; in ndr_outer_fixed() local 696 valp = outer_ref->datum; in ndr_outer_fixed() 697 if (!valp) { in ndr_outer_fixed() 702 assert(valp == *outer_ref->backptr); in ndr_outer_fixed() 706 valp = NDS_MALLOC(nds, n_alloc, outer_ref); in ndr_outer_fixed() 707 if (!valp) { in ndr_outer_fixed() 712 *outer_ref->backptr = valp; in ndr_outer_fixed() 713 outer_ref->datum = valp; in ndr_outer_fixed() 747 char *valp = NULL; in ndr_outer_fixed_array() local 786 valp = outer_ref->datum; in ndr_outer_fixed_array() [all …]
|
/titanic_44/usr/src/uts/common/io/mac/ |
H A D | mac_ndd.c | 186 char *valp; in mac_ndd_get_ioctl() local 199 valp = (char *)mp->b_cont->b_rptr; in mac_ndd_get_ioctl() 204 if (strcmp(valp, "?") == 0) { in mac_ndd_get_ioctl() 233 name = valp; in mac_ndd_get_ioctl() 234 valp = (char *)mp1->b_rptr; in mac_ndd_get_ioctl() 293 (void) snprintf(valp, avail, "%d", new_value); in mac_ndd_get_ioctl() 309 valp += size_out; in mac_ndd_get_ioctl() 310 *valp++ = '\0'; /* need \0\0 */ in mac_ndd_get_ioctl() 311 *valp++ = '\0'; in mac_ndd_get_ioctl() 312 mp1->b_wptr = (uchar_t *)valp; in mac_ndd_get_ioctl() [all …]
|
/titanic_44/usr/src/cmd/sendmail/libsm/ |
H A D | findfp.c | 285 sm_io_setinfo(fp, what, valp) in sm_io_setinfo() argument 288 void *valp; 290 SM_FILE_T *v = (SM_FILE_T *) valp; 314 fp->f_timeout = *((int *)valp); 325 return (*fp->f_setinfo)(fp, what, valp); 358 sm_io_getinfo(fp, what, valp) in sm_io_getinfo() argument 361 void *valp; 363 SM_FILE_T *v = (SM_FILE_T *) valp; 370 if (valp == NULL) 388 if (valp == NULL) [all …]
|
H A D | stdio.c | 305 sm_stdsetinfo(fp, what, valp) in sm_stdsetinfo() argument 308 void *valp; 313 return sm_stdsetmode(fp, (const int *)valp); 337 sm_stdgetinfo(fp, what, valp) in sm_stdgetinfo() argument 340 void *valp; 345 return sm_stdgetmode(fp, (int *)valp);
|
H A D | strio.c | 405 sm_strsetinfo(fp, what, valp) in sm_strsetinfo() argument 408 void *valp; 413 return sm_strsetmode(fp, (int *) valp); 436 sm_strgetinfo(fp, what, valp) in sm_strgetinfo() argument 439 void *valp; 444 return sm_strgetmode(fp, (int *) valp);
|
H A D | smstdio.c | 253 sm_stdiosetinfo(fp, what, valp) in sm_stdiosetinfo() argument 256 void *valp; 282 sm_stdiogetinfo(fp, what, valp) in sm_stdiogetinfo() argument 285 void *valp;
|
/titanic_44/usr/src/cmd/audio/utilities/ |
H A D | device_ctl.c | 147 audio__setval(int fd, unsigned int *valp, unsigned int which) in audio__setval() argument 193 *up = *valp; in audio__setval() 195 *cp = (unsigned char) *valp; in audio__setval() 203 *valp = *up; in audio__setval() 205 *valp = (unsigned)*cp; in audio__setval() 215 audio__setgain(int fd, double *valp, unsigned int which) in audio__setgain() argument 221 if ((*valp < 0.) || (*valp > 1.)) in audio__setgain() 225 x = ((unsigned)(*valp * (AUDIO_MAX_GAIN - AUDIO_MIN_GAIN))) + in audio__setgain() 233 *valp = ((double)(x - AUDIO_MIN_GAIN) / in audio__setgain()
|
/titanic_44/usr/src/cmd/fs.d/cachefs/mount/ |
H A D | mount.c | 671 char *savep, *strp, *valp; in set_cfs_args() local 701 switch (getsubopt(&strp, cfs_opts, &valp)) { in set_cfs_args() 704 if (valp == NULL) in set_cfs_args() 707 *backfstypepp = valp; in set_cfs_args() 711 if (valp == NULL) in set_cfs_args() 714 margsp->cfs_cachedir = valp; in set_cfs_args() 715 if (valp[0] != '/') { in set_cfs_args() 717 strlen(valp) + 3); in set_cfs_args() 730 strcat(pbuf, valp); in set_cfs_args() 737 if (valp == NULL) { in set_cfs_args() [all …]
|
/titanic_44/usr/src/cmd/pathchk/ |
H A D | pathchk.c | 137 checkPathConf(const char *path, int type, long *valp) in checkPathConf() argument 140 *valp = pathconf(path, type); in checkPathConf() 141 if ((*valp == -1) && (errno != 0) && (errno != EACCES)) { in checkPathConf() 148 *valp = _POSIX_PATH_MAX; in checkPathConf() 150 *valp = _POSIX_NAME_MAX; in checkPathConf() 157 *valp); in checkPathConf() 160 return ((*valp == -1) && (errno != 0)); in checkPathConf()
|
/titanic_44/usr/src/uts/common/inet/ |
H A D | nd.c | 60 char *valp; in nd_getset() local 84 valp = (char *)mp1->b_rptr; in nd_getset() 88 if (mi_strcmp(nde->nde_name, valp) == 0) in nd_getset() 92 while (*valp++) in nd_getset() 94 if (!*valp || valp >= (char *)mp1->b_wptr) in nd_getset() 95 valp = NULL; in nd_getset() 122 if (valp) { in nd_getset() 126 err = (*nde->nde_set_pfi)(q, mp1, valp, in nd_getset()
|
/titanic_44/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_ip_route.c | 67 char *valp; member 179 last_item->valp = (char *)malloc(req->len); in mibget() 187 databuf.buf = last_item->valp; in mibget() 215 if (item->valp) in free_itemlist() 216 free(item->valp); in free_itemlist() 282 mip = (mib2_ip_t *)(void *)item->valp; in get_ip_route() 299 map = (mib2_ipAddrEntry_t *)(void *)item->valp; in get_ip_route() 300 while ((char *)map < item->valp + item->length) { in get_ip_route() 365 for (rp = (mib2_ipRouteEntry_t *)(void *)item->valp; in get_ip_route() 366 (char *)rp < item->valp + item->length; in get_ip_route() [all …]
|
/titanic_44/usr/src/lib/libipmi/common/ |
H A D | ipmi_entity.c | 288 boolean_t *valp) in ipmi_entity_present_sdr() argument 312 *valp = B_FALSE; in ipmi_entity_present_sdr() 340 *valp = B_FALSE; in ipmi_entity_present_sdr() 346 *valp = B_FALSE; in ipmi_entity_present_sdr() 356 *valp = B_FALSE; in ipmi_entity_present_sdr() 363 *valp = (srp->isr_state & mask) != 0; in ipmi_entity_present_sdr() 401 ipmi_entity_present(ipmi_handle_t *ihp, ipmi_entity_t *ep, boolean_t *valp) in ipmi_entity_present() argument 480 *valp = B_FALSE; in ipmi_entity_present() 487 *valp = (srp->isr_state & mask) != 0; in ipmi_entity_present() 521 *valp = B_TRUE; in ipmi_entity_present() [all …]
|
/titanic_44/usr/src/cmd/fm/fminject/common/ |
H A D | inj_string.c | 93 inj_strtoll(const char *str, int width, longlong_t *valp) in inj_strtoll() argument 115 if (valp != NULL) in inj_strtoll() 116 *valp = val; in inj_strtoll() 122 inj_strtoull(const char *str, int width, u_longlong_t *valp) in inj_strtoull() argument 143 if (valp != NULL) in inj_strtoull() 144 *valp = val; in inj_strtoull()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 121 void *valp; member 839 last_item->valp = malloc((int)req->len); in mibget() 840 if (last_item->valp == NULL) in mibget() 849 databuf.buf = (char *)last_item->valp; in mibget() 885 if (lastitem->valp != NULL) in mibfree() 886 free(lastitem->valp); in mibfree() 947 (localp[c]).valp = (uintptr_t *)malloc( in mib_item_dup() 949 if ((localp[c]).valp == NULL) { in mib_item_dup() 953 (void *) memcpy((localp[c]).valp, in mib_item_dup() 954 item->valp, in mib_item_dup() [all …]
|
/titanic_44/usr/src/uts/common/io/softmac/ |
H A D | softmac_stat.c | 216 softmac_get_kstat(kstat_t *ksp, char *name, uint64_t *valp) in softmac_get_kstat() argument 233 *valp = (uint64_t)(knp->value.ui32); in softmac_get_kstat() 238 *valp = knp->value.ui64; in softmac_get_kstat() 244 *valp = (uint64_t)knp->value.ul; in softmac_get_kstat() 252 *valp = LINK_DUPLEX_FULL; in softmac_get_kstat() 254 *valp = LINK_DUPLEX_HALF; in softmac_get_kstat() 256 *valp = LINK_DUPLEX_UNKNOWN; in softmac_get_kstat()
|
/titanic_44/usr/src/uts/common/io/chxge/com/ |
H A D | cphy.h | 101 unsigned int *valp) in mdio_read() argument 103 return cphy->mdio_read(cphy->adapter, cphy->addr, mmd, reg, valp); in mdio_read() 113 unsigned int *valp) in simple_mdio_read() argument 115 return mdio_read(cphy, 0, reg, valp); in simple_mdio_read()
|
/titanic_44/usr/src/lib/nsswitch/nis/common/ |
H A D | nis_common.c | 125 massage_netdb(const char **valp, int *vallenp) in massage_netdb() argument 129 const char *val = *valp; in massage_netdb() 145 *valp = first; in massage_netdb() 150 _nss_nis_ypmatch(domain, map, key, valp, vallenp, ypstatusp) in _nss_nis_ypmatch() argument 154 char **valp; 168 (grrr)key, (int)strlen(key), valp, vallenp, 0); 186 _nss_nis_ypmatch_rsvdport(domain, map, key, valp, vallenp, ypstatusp) in _nss_nis_ypmatch_rsvdport() argument 190 char **valp; 204 (grrr)key, strlen(key), valp, vallenp, 0);
|
/titanic_44/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()
|
/titanic_44/usr/src/lib/libc/port/sys/ |
H A D | zone.c | 85 zone_getattr(zoneid_t zoneid, int attr, void *valp, size_t size) in zone_getattr() argument 91 attr, valp, size); in zone_getattr() 98 zone_setattr(zoneid_t zoneid, int attr, void *valp, size_t size) in zone_setattr() argument 100 return (syscall(SYS_zone, ZONE_SETATTR, zoneid, attr, valp, size)); in zone_setattr()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | cpu_event.c | 202 cpu_idle_prop_value_t *valp); 829 cpu_idle_prop_value_t *valp; in cpu_idle_prop_allocate_impl() local 834 sz = sizeof (*valp) * CPU_IDLE_VALUE_GROUP_SIZE * max_ncpus; in cpu_idle_prop_allocate_impl() 837 valp = (cpu_idle_prop_value_t *)P2ROUNDUP(buf, in cpu_idle_prop_allocate_impl() 840 for (i = 0; i < CPU_IDLE_VALUE_GROUP_SIZE; i++, prop++, valp++) { in cpu_idle_prop_allocate_impl() 841 prop->value = valp; in cpu_idle_prop_allocate_impl() 898 cpu_idle_prop_value_t *valp; in cpu_idle_prop_destroy_property() local 916 valp = prop->value; in cpu_idle_prop_destroy_property() 918 prop->value = valp; in cpu_idle_prop_destroy_property() 1006 cpu_idle_callback_context_t ctx, cpu_idle_prop_value_t *valp) in cpu_idle_prop_get_value() argument [all …]
|
/titanic_44/usr/src/common/mdesc/ |
H A D | mdesc_getpropval.c | 41 md_get_prop_val(md_t *ptr, mde_cookie_t node, char *namep, uint64_t *valp) in md_get_prop_val() argument 64 *valp = MDE_PROP_VALUE(mdep); in md_get_prop_val()
|
/titanic_44/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | snmplib.c | 604 lookup_int(char *prefix, int row, int *valp, int is_vol) in lookup_int() argument 644 *valp = (int)val_arr[0]; in lookup_int() 646 if (nvlist_lookup_int32(mibcache[row], prefix, valp) != 0) { in lookup_int() 658 lookup_str(char *prefix, int row, char **valp, int is_vol) in lookup_str() argument 698 *valp = val_arr[0]; in lookup_str() 700 if (nvlist_lookup_string(mibcache[row], prefix, valp) != 0) { in lookup_str() 712 lookup_bitstr(char *prefix, int row, uchar_t **valp, uint_t *nelem, int is_vol) in lookup_bitstr() argument 739 if (nvlist_lookup_byte_array(mibcache[row], prefix, valp, nelem) != 0) { in lookup_bitstr() 823 fetch_single_str(struct picl_snmphdl *smd, char *prefix, int row, char **valp, in fetch_single_str() argument 838 *valp = strdup((const char *)(vp->val.str)); in fetch_single_str() [all …]
|
/titanic_44/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_transceiver.c | 25 ixgbe_transceiver_is_8472(ixgbe_t *ixgbe, boolean_t *valp) in ixgbe_transceiver_is_8472() argument 51 *valp = B_FALSE; in ixgbe_transceiver_is_8472() 53 *valp = B_TRUE; in ixgbe_transceiver_is_8472()
|
/titanic_44/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kvm_isadep.c | 305 kmt_rwmsr(uint32_t addr, uint64_t *valp, void (*rw)(uint32_t, uint64_t *)) in kmt_rwmsr() argument 315 rw(addr, valp); in kmt_rwmsr() 430 kmt_pcicfg_common(uintptr_t off, uint32_t *valp, const mdb_arg_t *argv, in kmt_pcicfg_common() argument 469 if (kmt_iorw(mdb.m_target, valp, sizeof (*valp), PCI_CONFDATA, rw) != in kmt_pcicfg_common() 470 sizeof (*valp)) { in kmt_pcicfg_common()
|
/titanic_44/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_restore_writer.c | 2329 nvlist_t *valp; in ndmp_iter_zfs() local 2438 valp = NULL; in ndmp_iter_zfs() 2439 if (nvlist_alloc(&valp, in ndmp_iter_zfs() 2441 nvlist_add_string(valp, "value", in ndmp_iter_zfs() 2443 nvlist_add_string(valp, "source", in ndmp_iter_zfs() 2446 valp) != 0) { in ndmp_iter_zfs() 2447 nvlist_free(valp); in ndmp_iter_zfs() 2450 nvlist_free(valp); in ndmp_iter_zfs() 2464 valp = NULL; in ndmp_iter_zfs() 2465 if (nvlist_alloc(&valp, in ndmp_iter_zfs() [all …]
|