| /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/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/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/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/lib/libc/port/gen/ |
| H A D | getspent_r.c | 114 getfield(constp *nextp, constp limit, int uns, void *valp) argument 153 *((unsigned int *)valp) = (unsigned int)ux; 160 *((int *)valp) = (int)x;
|
| /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/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/1394/ |
| H A D | s1394_cmp.c | 160 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/ntxn/ |
| H A D | unm_nic_init.c | 211 do_rom_fast_read(unm_adapter *adapter, int addr, int *valp) argument 228 unm_nic_reg_read(adapter, UNM_ROMUSB_ROM_RDATA, valp); 233 rom_fast_read(struct unm_adapter_s *adapter, int addr, int *valp) argument 243 ret = do_rom_fast_read(adapter, addr, valp);
|
| /illumos-gate/usr/src/uts/common/io/ |
| H A D | tty_common.c | 551 termioval(char **sp, uint_t *valp, char *ep) argument 558 *valp = 0; 570 *valp = (*valp * 16) + digit;
|
| /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/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/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
| H A D | asn1_encode.c | 332 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/picl/plugins/sun4v/lib/snmp/ |
| H A D | asn1.c | 136 uchar_t *p, *valp; local 168 valp = (uchar_t *)&ival; 170 p[i] = valp[sizeof (int) - valsz + i];
|
| /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/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/uts/common/avs/ns/nsctl/ |
| H A D | nsc_disk.c | 145 nsc_partsize(nsc_fd_t *fd, nsc_size_t *valp) argument 147 *valp = 0; 148 return (*fd->sf_aio->partsize)(fd->sf_cd, valp); 153 nsc_maxfbas(nsc_fd_t *fd, int flag, nsc_size_t *valp) argument 155 *valp = 0; 156 return (*fd->sf_aio->maxfbas)(fd->sf_cd, flag, valp);
|
| /illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
| H A D | av1394_cmp.c | 722 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 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
|
| H A D | espi.c | 373 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/lib/krb5/kadm5/ |
| H A D | alt_prof.c | 212 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 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/cmd/cmd-inet/usr.sbin/in.routed/ |
| H A D | parms.c | 449 char **valp, 457 if (0 > parse_quote(valp, "| ,", delimp, buf, bufsize) || 448 parse_ts(time_t *tp, char **valp, char *val0, char *delimp, char *buf, uint_t bufsize) argument
|
| /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)) {
|