Searched defs:valp (Results 1 - 25 of 119) sorted by relevance

12345

/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_getpropval.c41 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/libc/port/sys/
H A Deventfd.c58 eventfd_read(int fd, eventfd_t *valp) argument
60 return (read(fd, valp, sizeof (*valp)) < sizeof (*valp) ? -1 : 0);
H A Dzone.c85 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/cmd/audio/utilities/
H A Ddevice_ctl.c143 * 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/uts/common/io/softmac/
H A Dsoftmac_stat.c216 softmac_get_kstat(kstat_t *ksp, char *name, uint64_t *valp) argument
233 *valp = (uint64_t)(knp->value.ui32);
238 *valp = knp->value.ui64;
244 *valp = (uint64_t)knp->value.ul;
252 *valp = LINK_DUPLEX_FULL;
254 *valp = LINK_DUPLEX_HALF;
256 *valp = LINK_DUPLEX_UNKNOWN;
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_transceiver.c25 ixgbe_transceiver_is_8472(ixgbe_t *ixgbe, boolean_t *valp) argument
51 *valp = B_FALSE;
53 *valp = B_TRUE;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_ndd.c186 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/uts/common/inet/
H A Dnd.c60 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/1394/
H A Ds1394_cmp.c160 s1394_cmp_read(s1394_target_t *target, t1394_cmp_reg_t reg, uint32_t *valp) argument
170 *valp = cmp->cmp_ompr_val;
175 *valp = cmp->cmp_impr_val;
/illumos-gate/usr/src/uts/common/io/
H A Dtty_common.c552 termioval(char **sp, uint_t *valp, char *ep) argument
559 *valp = 0;
571 *valp = (*valp * 16) + digit;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetspent_r.c115 getfield(constp *nextp, constp limit, int uns, void *valp) argument
154 *((unsigned int *)valp) = (unsigned int)ux;
161 *((int *)valp) = (int)x;
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_init.c215 do_rom_fast_read(unm_adapter *adapter, int addr, int *valp) argument
232 unm_nic_reg_read(adapter, UNM_ROMUSB_ROM_RDATA, valp);
237 rom_fast_read(struct unm_adapter_s *adapter, int addr, int *valp) argument
247 ret = do_rom_fast_read(adapter, addr, valp);
/illumos-gate/usr/src/cmd/pathchk/
H A Dpathchk.c132 * otherwise. If pathconf() succeeded, then *valp contains the
136 checkPathConf(const char *path, int type, long *valp) argument
139 *valp = pathconf(path, type);
140 if ((*valp == -1) && (errno != 0) && (errno != EACCES)) {
147 *valp = _POSIX_PATH_MAX;
149 *valp = _POSIX_NAME_MAX;
156 *valp);
159 return ((*valp == -1) && (errno != 0));
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dnis_common.c125 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/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_encode.c332 get_nullterm_sequence_len(const void *valp, const struct atype_info *seq) argument
344 eltptr = (const char *) valp + i * seq->size;
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_ip_route.c67 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/cmd/fm/fminject/common/
H A Dinj_string.c93 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/io/1394/targets/av1394/
H A Dav1394_cmp.c722 av1394_pcr_remote_read(av1394_inst_t *avp, int ph, uint32_t *valp) argument
739 *valp = cmd->cmd_u.q.quadlet_data;
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dcphy.h101 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
H A Despi.c373 t1_espi_get_mon_t204(adapter_t *adapter, u32 *valp, u8 wait) argument
388 for (i = 0 ; i < nport; i++, valp++) {
393 *valp = t1_read_reg_4(adapter, A_ESPI_SCH_TOKEN3);
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkvm_isadep.c296 kmt_rwmsr(uint32_t addr, uint64_t *valp, void (*rw)(uint32_t, uint64_t *)) argument
306 rw(addr, valp);
408 kmt_pcicfg_common(uintptr_t off, uint32_t *valp, const mdb_arg_t *argv, argument
447 if (kmt_iorw(mdb.m_target, valp, sizeof (*valp), PCI_CONFDATA, rw) !=
448 sizeof (*valp)) {
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dasn1.c126 uchar_t *p, *valp; local
158 valp = (uchar_t *)&ival;
160 p[i] = valp[sizeof (int) - valsz + i];
/illumos-gate/usr/src/lib/libdemangle/common/
H A Drust.c395 uint64_t *restrict valp)
454 *valp = v;
394 rustdem_parse_num(rustdem_state_t *restrict st, strview_t *restrict svp, uint64_t *restrict valp) argument
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dalt_prof.c212 char *valp; local
225 valp = values[idx];
226 kret = string_to_boolean (valp, &val);
257 char *valp; local
266 valp = values[idx];
267 kret = krb5_string_to_deltat(valp, deltatp);
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_entity.c288 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...]

Completed in 177 milliseconds

12345