/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | eventfd.c | 58 eventfd_read(int fd, eventfd_t *valp) argument 60 return (read(fd, valp, sizeof (*valp)) < sizeof (*valp) ? -1 : 0);
|
H A D | zone.c | 85 zone_getattr(zoneid_t zoneid, int attr, void *valp, size_t size) argument 91 attr, valp, size); 98 zone_setattr(zoneid_t zoneid, int attr, void *valp, size_t size) argument 100 return (syscall(SYS_zone, ZONE_SETATTR, zoneid, attr, valp, size));
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_gld_v3.c | 115 sfxge_gld_getstat(void *arg, unsigned int id, uint64_t *valp) argument 132 *valp = (uint64_t)speed * 1000000ull; 142 *valp = LINK_DUPLEX_UNKNOWN; 146 *valp = LINK_DUPLEX_HALF; 150 *valp = LINK_DUPLEX_FULL; 161 *valp = sfxge_phy_dfl_cap_test64(sp, EFX_PHY_CAP_40000FDX); 164 *valp = sfxge_phy_dfl_cap_test64(sp, EFX_PHY_CAP_10000FDX); 167 *valp = sfxge_phy_dfl_cap_test64(sp, EFX_PHY_CAP_1000FDX); 170 *valp = sfxge_phy_dfl_cap_test64(sp, EFX_PHY_CAP_1000HDX); 173 *valp 552 sfxge_gld_priv_prop_get(sfxge_t *sp, const char *name, unsigned int size, void *valp) argument 614 sfxge_gld_priv_prop_set(sfxge_t *sp, const char *name, unsigned int size, const void *valp) argument 752 sfxge_gld_getprop(void *arg, const char *name, mac_prop_id_t id, unsigned int size, void *valp) argument 956 sfxge_gld_setprop(void *arg, const char *name, mac_prop_id_t id, unsigned int size, const void *valp) argument [all...] |
/illumos-gate/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) argument 64 *valp = MDE_PROP_VALUE(mdep);
|
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_process.c | 657 char *valp = NULL; local 696 valp = outer_ref->datum; 697 if (!valp) { 702 assert(valp == *outer_ref->backptr); 706 valp = NDS_MALLOC(nds, n_alloc, outer_ref); 707 if (!valp) { 712 *outer_ref->backptr = valp; 713 outer_ref->datum = valp; 747 char *valp = NULL; local 786 valp 838 char *valp = NULL; local 966 char *valp = NULL; local 1167 char *valp = NULL; local 1813 char *valp = (char *)ref->datum; local 1840 char *valp; local 1915 char *valp; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | findfp.c | 274 ** valp -- structure to obtain info from 285 sm_io_setinfo(fp, what, valp) 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); 345 ** valp -- structure to place obtained info into 349 ** - when valp==NULL and request expects otherwise 358 sm_io_getinfo(fp, what, valp) 361 void *valp; [all...] |
H A D | smstdio.c | 244 ** valp -- memory location of info to set 253 sm_stdiosetinfo(fp, what, valp) 256 void *valp; 273 ** valp -- memory location to place info 282 sm_stdiogetinfo(fp, what, valp) 285 void *valp;
|
H A D | stdio.c | 297 ** valp -- location of data used for setting 305 sm_stdsetinfo(fp, what, valp) 308 void *valp; 313 return sm_stdsetmode(fp, (const int *)valp); 327 ** valp -- location to place found info 330 ** Success: may or may not place info in 'valp' depending 337 sm_stdgetinfo(fp, what, valp) 340 void *valp; 345 return sm_stdgetmode(fp, (int *)valp);
|
H A D | strio.c | 397 ** valp -- location to data for doing set 405 sm_strsetinfo(fp, what, valp) 408 void *valp; 413 return sm_strsetmode(fp, (int *) valp); 428 ** valp -- location to return information in 436 sm_strgetinfo(fp, what, valp) 439 void *valp; 444 return sm_strgetmode(fp, (int *) valp);
|
/illumos-gate/usr/src/cmd/pathchk/ |
H A D | pathchk.c | 133 * otherwise. If pathconf() succeeded, then *valp contains the 137 checkPathConf(const char *path, int type, long *valp) argument 140 *valp = pathconf(path, type); 141 if ((*valp == -1) && (errno != 0) && (errno != EACCES)) { 148 *valp = _POSIX_PATH_MAX; 150 *valp = _POSIX_NAME_MAX; 157 *valp); 160 return ((*valp == -1) && (errno != 0));
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_ndd.c | 186 char *valp; local 199 valp = (char *)mp->b_cont->b_rptr; 204 if (strcmp(valp, "?") == 0) { 233 name = valp; 234 valp = (char *)mp1->b_rptr; 293 (void) snprintf(valp, avail, "%d", new_value); 309 valp += size_out; 310 *valp++ = '\0'; /* need \0\0 */ 311 *valp++ = '\0'; 312 mp1->b_wptr = (uchar_t *)valp; 330 char *valp, *name, *new_valuep; local [all...] |
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | device_ctl.c | 143 * The 'valp' argument is always a pointer to an unsigned int. 147 audio__setval(int fd, unsigned int *valp, unsigned int which) argument 193 *up = *valp; 195 *cp = (unsigned char) *valp; 203 *valp = *up; 205 *valp = (unsigned)*cp; 215 audio__setgain(int fd, double *valp, unsigned int which) argument 221 if ((*valp < 0.) || (*valp > 1.)) 225 x = ((unsigned)(*valp * (AUDIO_MAX_GAI [all...] |
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_string.c | 93 inj_strtoll(const char *str, int width, longlong_t *valp) argument 115 if (valp != NULL) 116 *valp = val; 122 inj_strtoull(const char *str, int width, u_longlong_t *valp) argument 143 if (valp != NULL) 144 *valp = val;
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | nd.c | 60 char *valp; local 84 valp = (char *)mp1->b_rptr; 88 if (mi_strcmp(nde->nde_name, valp) == 0) 92 while (*valp++) 94 if (!*valp || valp >= (char *)mp1->b_wptr) 95 valp = NULL; 122 if (valp) { 126 err = (*nde->nde_set_pfi)(q, mp1, valp,
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | cphy.h | 101 unsigned int *valp) 103 return cphy->mdio_read(cphy->adapter, cphy->addr, mmd, reg, valp); 113 unsigned int *valp) 115 return mdio_read(cphy, 0, reg, valp); 100 mdio_read(struct cphy *cphy, int mmd, int reg, unsigned int *valp) argument 112 simple_mdio_read(struct cphy *cphy, int reg, unsigned int *valp) argument
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_stat.c | 207 softmac_get_kstat(kstat_t *ksp, char *name, uint64_t *valp) argument 224 *valp = (uint64_t)(knp->value.ui32); 229 *valp = knp->value.ui64; 235 *valp = (uint64_t)knp->value.ul; 243 *valp = LINK_DUPLEX_FULL; 245 *valp = LINK_DUPLEX_HALF; 247 *valp = LINK_DUPLEX_UNKNOWN;
|
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_ip_route.c | 67 char *valp; member in struct:mib_item_s 179 last_item->valp = (char *)malloc(req->len); 187 databuf.buf = last_item->valp; 215 if (item->valp) 216 free(item->valp); 282 mip = (mib2_ip_t *)(void *)item->valp; 299 map = (mib2_ipAddrEntry_t *)(void *)item->valp; 300 while ((char *)map < item->valp + item->length) { 365 for (rp = (mib2_ipRouteEntry_t *)(void *)item->valp; 366 (char *)rp < item->valp [all...] |
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_entity.c | 288 boolean_t *valp) 312 *valp = B_FALSE; 340 *valp = B_FALSE; 346 *valp = B_FALSE; 356 *valp = B_FALSE; 363 *valp = (srp->isr_state & mask) != 0; 401 ipmi_entity_present(ipmi_handle_t *ihp, ipmi_entity_t *ep, boolean_t *valp) argument 480 *valp = B_FALSE; 487 *valp = (srp->isr_state & mask) != 0; 521 *valp 287 ipmi_entity_present_sdr(ipmi_handle_t *ihp, ipmi_sdr_t *sdrp, boolean_t *valp) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cpu_event.h | 202 cpu_idle_prop_value_t *valp); 244 cpu_idle_callback_context_t ctx, cpu_idle_prop_value_t *valp);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 121 void *valp; member in struct:mib_item_s 839 last_item->valp = malloc((int)req->len); 840 if (last_item->valp == NULL) 849 databuf.buf = (char *)last_item->valp; 885 if (lastitem->valp != NULL) 886 free(lastitem->valp); 947 (localp[c]).valp = (uintptr_t *)malloc( 949 if ((localp[c]).valp == NULL) { 953 (void *) memcpy((localp[c]).valp, 954 item->valp, [all...] |
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 296 mcamd_propcode_t code, mcamd_prop_t *valp) 314 *valp = *(uint64_t *)((uintptr_t)node + offset); 325 mcamd_prop_t *valp; local 330 valp = va_arg(ap, mcamd_prop_t *); 331 if (!mcamd_get_numprop(hdl, node, code, valp)) 354 mcamd_regcode_t code, uint32_t *valp) 372 *valp = *(uint32_t *)((uintptr_t)node + offset); 383 uint32_t *valp; local 388 valp = va_arg(ap, uint32_t *); 389 if (!mcamd_get_cfgreg(hdl, node, code, valp)) 295 mcamd_get_numprop(mcamd_hdl_t *hdl, mcamd_node_t *node, mcamd_propcode_t code, mcamd_prop_t *valp) argument 353 mcamd_get_cfgreg(struct mcamd_hdl *hdl, mcamd_node_t *node, mcamd_regcode_t code, uint32_t *valp) argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | nis_common.c | 125 massage_netdb(const char **valp, int *vallenp) argument 129 const char *val = *valp; 145 *valp = first; 150 _nss_nis_ypmatch(domain, map, key, valp, vallenp, ypstatusp) 154 char **valp; 168 (grrr)key, (int)strlen(key), valp, vallenp, 0); 186 _nss_nis_ypmatch_rsvdport(domain, map, key, valp, vallenp, ypstatusp) 190 char **valp; 204 (grrr)key, strlen(key), valp, vallenp, 0);
|
/illumos-gate/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; local 834 sz = sizeof (*valp) * CPU_IDLE_VALUE_GROUP_SIZE * max_ncpus; 837 valp = (cpu_idle_prop_value_t *)P2ROUNDUP(buf, 840 for (i = 0; i < CPU_IDLE_VALUE_GROUP_SIZE; i++, prop++, valp++) { 841 prop->value = valp; 898 cpu_idle_prop_value_t *valp; local 916 valp = prop->value; 918 prop->value = valp; 1006 cpu_idle_callback_context_t ctx, cpu_idle_prop_value_t *valp) 1005 cpu_idle_prop_get_value(cpu_idle_prop_handle_t hdl, cpu_idle_callback_context_t ctx, cpu_idle_prop_value_t *valp) argument 1112 cpu_idle_prop_update_intr_cnt(void *arg, uint64_t seqnum, cpu_idle_prop_value_t *valp) argument [all...] |
/illumos-gate/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 *)) argument 315 rw(addr, valp); 430 kmt_pcicfg_common(uintptr_t off, uint32_t *valp, const mdb_arg_t *argv, argument 469 if (kmt_iorw(mdb.m_target, valp, sizeof (*valp), PCI_CONFDATA, rw) != 470 sizeof (*valp)) {
|
/illumos-gate/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) argument 644 *valp = (int)val_arr[0]; 646 if (nvlist_lookup_int32(mibcache[row], prefix, valp) != 0) { 658 lookup_str(char *prefix, int row, char **valp, int is_vol) argument 698 *valp = val_arr[0]; 700 if (nvlist_lookup_string(mibcache[row], prefix, valp) != 0) { 712 lookup_bitstr(char *prefix, int row, uchar_t **valp, uint_t *nelem, int is_vol) argument 739 if (nvlist_lookup_byte_array(mibcache[row], prefix, valp, nelem) != 0) { 823 fetch_single_str(struct picl_snmphdl *smd, char *prefix, int row, char **valp, argument 838 *valp 846 fetch_single_bitstr(struct picl_snmphdl *smd, char *prefix, int row, uchar_t **valp, uint_t *nelem, int *snmp_syserr) argument [all...] |