/illumos-gate/usr/src/lib/librstp/common/ |
H A D | port.c | 170 register void* pv; local 176 pv = (void*) stater->next; 178 stater = (STATE_MACH_T*) pv;
|
H A D | stpm.c | 182 register void* pv; local 187 pv = (void*) stater->next; 189 this->machines = stater = (STATE_MACH_T*) pv; 193 pv = (void*) port->next; 195 this->ports = port = (PORT_T*) pv;
|
/illumos-gate/usr/src/cmd/pools/pooladm/ |
H A D | pooladm.c | 75 pool_value_t *pv; local 82 if ((pv = pool_value_alloc()) == NULL || 84 pv) == POC_INVAL || 85 pool_value_get_string(pv, &tgt) != PO_SUCCESS) 92 pool_value_free(pv);
|
/illumos-gate/usr/src/cmd/format/ |
H A D | add_definition.c | 316 struct dk_map2 *pv; local 319 struct dkl_partition *pv; local 338 pv = part->vtoc.v_part; 340 for (i = 0; i < NDKMAP; i++, pp++, pv++, dv++) { 344 if (pv->p_tag != dv->p_tag || 345 pv->p_flag != dv->p_flag) { 347 (int)pv->p_tag); 352 (int)pv->p_flag);
|
/illumos-gate/usr/src/cmd/avs/dsstat/ |
H A D | common.c | 181 uint32_t *pv, *cv; local 183 pv = kstat_value(pksp, name); 186 return (u32_delta(*pv, *cv));
|
/illumos-gate/usr/src/uts/sparc/v9/syscall/ |
H A D | install_utrap.c | 40 utrap_handler_t *ov, *nv, *pv, *sv, *tmp; local 86 pv = sv = kmem_zalloc((UT_PRECISE_MAXTRAPS+1) * 90 kmem_free(pv, (UT_PRECISE_MAXTRAPS+1) * 153 utrap_handler_t *ov, *nvp, *pv, *sv, *tmp; local 230 pv = sv = kmem_zalloc((UT_PRECISE_MAXTRAPS+1) * 234 kmem_free(pv, (UT_PRECISE_MAXTRAPS+1) *
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.sem.c | 60 int pv[2]; local 327 execute(t->t_dcar, wanttty, pipein, pv); 332 execute(t->t_dcdr, wanttty, pv, pipeout); 493 mypipe(int *pv) argument 499 if (pipe(pv) < 0) 501 setfd(pv[0]); 502 setfd(pv[1]); 504 pv[0] = dmove(pv[0], -1); 505 pv[ [all...] |
H A D | sh.dir.c | 225 tchar **pv; local 229 pv = justabs; 231 pv = c->vec; 246 if (pv[0][0] == '/') { 253 fullpath = strspl(*pv, slashcp); 272 for (dp = buf, p = *pv; *dp++ = *p++; ) 285 pv++; 287 } while (*pv);
|
H A D | sh.exec.c | 54 tchar *dp, **pv, **av; local 119 pv = justabs; 121 pv = v->vec; 134 if (!slash && pv[0][0] == '/' && havhash) { 141 if (pv[0][0] == 0 || eq(pv[0], S_DOT /* "." */)) { 144 dp = strspl(*pv, sav); 158 pv++; 160 } while (*pv); 373 tchar **pv; local [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | sym_hds.c | 150 unsigned char pv; local 171 pv = ASYM_ACTIVE_ACTIVE; 178 pv = SYM_ACTIVE_ACTIVE; 193 *ctprivp = kmem_alloc(sizeof (pv), 197 *((unsigned char *)*ctprivp) = pv;
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_2xml.c | 106 topo_propval_t *pv) 112 switch (pv->tp_type) { 115 if (topo_prop_get_int32(node, pgname, pv->tp_name, &val, 126 if (topo_prop_get_uint32(node, pgname, pv->tp_name, 137 if (topo_prop_get_int64(node, pgname, pv->tp_name, &val, 149 if (topo_prop_get_uint64(node, pgname, pv->tp_name, 160 if (topo_prop_get_string(node, pgname, pv->tp_name, 169 if (topo_prop_get_fmri(node, pgname, pv->tp_name, &val, 188 pv->tp_name, &val, &nelem, &err) != 0) 216 begin_end_element(fp, Propval, Name, pv 105 txml_print_prop(topo_hdl_t *thp, FILE *fp, tnode_t *node, const char *pgname, topo_propval_t *pv) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 367 int pv[2]; local 395 if(pipe(pv) < 0) 400 close(pv[1]); 407 read(pv[0],pv,1); /* wait for clone to close pipe */ 447 close(pv[0]); 449 if(pv[1] != FDSYNC) 452 if(fcntl(pv[1],F_DUPFD,FDSYNC) != FDSYNC)
|
H A D | args.c | 782 static int arg_pipe(register int pv[]) argument 785 if(pipe(fd)<0 || (pv[0]=fd[0])<0 || (pv[1]=fd[1])<0) 787 pv[0] = sh_iomovefd(pv[0]); 788 pv[1] = sh_iomovefd(pv[1]); 789 sh.fdstatus[pv[0]] = IONOSEEK|IOREAD; 790 sh.fdstatus[pv[1]] = IONOSEEK|IOWRITE; 791 sh_subsavefd(pv[ 801 int monitor, fd, pv[2]; local [all...] |
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_value.c | 67 pool_value_get_uint64(const pool_value_t *pv, uint64_t *result) argument 69 if (pv->pv_class != POC_UINT) { 73 *result = pv->pv_u.u; 82 pool_value_get_int64(const pool_value_t *pv, int64_t *result) argument 84 if (pv->pv_class != POC_INT) { 88 *result = pv->pv_u.i; 98 pool_value_get_double(const pool_value_t *pv, double *result) argument 100 if (pv->pv_class != POC_DOUBLE) { 104 *result = pv->pv_u.d; 113 pool_value_get_bool(const pool_value_t *pv, uchar_ argument 128 pool_value_get_string(const pool_value_t *pv, const char **result) argument 143 pool_value_get_type(const pool_value_t *pv) argument 153 pool_value_set_uint64(pool_value_t *pv, uint64_t val) argument 166 pool_value_set_int64(pool_value_t *pv, int64_t val) argument 180 pool_value_set_double(pool_value_t *pv, double val) argument 193 pool_value_set_bool(pool_value_t *pv, uchar_t val) argument 206 pool_value_set_string(pool_value_t *pv, const char *val) argument 245 pool_value_free(pool_value_t *pv) argument 259 pool_value_get_name(const pool_value_t *pv) argument 268 pool_value_set_name(pool_value_t *pv, const char *name) argument 289 pool_value_from_nvpair(pool_value_t *pv, nvpair_t *pn) argument 410 pool_value_dprintf(const pool_value_t *pv) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | wordexp.c | 109 int pv[2]; /* pipe from shell stdout */ local 266 if (pipe(pv) < 0) { 280 error = posix_spawn_file_actions_adddup2(&fact, pv[1], 1); 281 if (error == 0 && pv[0] != 1) 282 error = posix_spawn_file_actions_addclose(&fact, pv[0]); 283 if (error == 0 && pv[1] != 1) 284 error = posix_spawn_file_actions_addclose(&fact, pv[1]); 294 (void) close(pv[1]); 296 (void) close(pv[0]); 301 if ((fp = fdopen(pv[ [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | io.c | 120 chkpipe(int *pv) argument 122 if (pipe(pv) < 0 || pv[INPIPE] < 0 || pv[OTPIPE] < 0)
|
H A D | macro.c | 497 int pv[2]; local 504 chkpipe(pv); 505 savpipe = pv[OTPIPE]; 506 initf(pv[INPIPE]); /* read from pipe */ 507 execute(t, XEC_NOSTOP, (int)(flags & errflg), 0, pv); 508 close(pv[OTPIPE]);
|
H A D | xec.c | 378 int pv[2]; local 380 chkpipe(pv); 381 if (execute(lstptr(t)->lstlef, xflags & XEC_NOSTOP, errorflg, pf1, pv) == 0) 382 execute(lstptr(t)->lstrit, xflags, errorflg, pv, pf2); 384 closepipe(pv);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rexecd.c | 172 int pv[2], cc; local 367 (void) pipe(pv); 380 (void) close(f); (void) close(pv[1]); 383 FD_SET(pv[0], &readfrom); 384 (void) ioctl(pv[0], FIONBIO, (char *)&one); 388 if (select(MAXFD(s, pv[0])+1, &ready, NULL, 399 if (FD_ISSET(pv[0], &ready)) { 400 cc = read(pv[0], buf, sizeof (buf)); 403 FD_CLR(pv[0], &readfrom); 408 FD_ISSET(pv[ [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | config.c | 265 char *pv; local 346 pv = STRDUP(equals + 1); 348 (void *)pv); 349 config_setprop(newnode, pn, pv);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | ccp.c | 938 u_char *p0, *nakp, *rejp, *pv; local 964 pv = p; 989 pv = nakp; 1004 res = ccp_test(f->unit, pv, CILEN_DEFLATE, 1); 1012 BCOPY(pv, nakp, CILEN_DEFLATE); 1013 pv = nakp; 1018 pv[2] = DEFLATE_MAKE_OPT(nb); 1047 pv = nakp; 1061 res = ccp_test(f->unit, pv, CILEN_BSD_COMPRESS, 1); 1069 BCOPY(pv, nak [all...] |
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ops.c | 166 struct fc_ops_v *pv; local 169 for (pv = fov; pv->svc_name != NULL; ++pv) 170 if (strcmp(pv->svc_name, name) == 0) 171 return (pv->f(ap, handle, cp));
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | winreg_svc.c | 902 struct winreg_value *pv; local 935 pv = param->value; 936 pv->vc_first_is = 0; 937 pv->vc_length_is = slen; 939 (void) ndr_mbstowcs(NULL, (smb_wchar_t *)pv->value, value, slen);
|
/illumos-gate/usr/src/cmd/coreadm/ |
H A D | coreadm.c | 378 addprop(scf_propvec_t *props, int size, int count, scf_propvec_t *pv, void *ptr) argument 381 props[count] = *pv;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dof.c | 834 dof_provider_t pv; local 844 if (mdb_vread(&pv, sz, addr + sec->dofs_offset) != sz) { 849 sz = dofs[pv.dofpv_strtab].dofs_size; 852 dofs[pv.dofpv_strtab].dofs_offset) != sz) { 858 strtab + pv.dofpv_name); 860 sz = dofs[pv.dofpv_prargs].dofs_size; 864 dofs[pv.dofpv_prargs].dofs_offset) != sz) { 870 sz = dofs[pv.dofpv_proffs].dofs_size; 872 if (mdb_vread(offs, sz, addr + dofs[pv.dofpv_proffs].dofs_offset) 880 pv [all...] |