Searched defs:pv (Results 1 - 25 of 32) sorted by relevance

12

/osnet-11/usr/src/lib/librstp/common/
H A Dport.c170 register void* pv; local
176 pv = (void*) stater->next;
178 stater = (STATE_MACH_T*) pv;
H A Dstpm.c182 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;
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c367 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 Dargs.c790 static int arg_pipe(register int pv[]) argument
794 if(pipe(fd)<0 || (pv[0]=fd[0])<0 || (pv[1]=fd[1])<0)
796 pv[0] = sh_iomovefd(pv[0]);
797 pv[1] = sh_iomovefd(pv[1]);
798 shp->fdstatus[pv[0]] = IONOSEEK|IOREAD;
799 shp->fdstatus[pv[1]] = IONOSEEK|IOWRITE;
800 sh_subsavefd(pv[
810 int monitor, fd, pv[3]; local
[all...]
H A Dio.c892 int sh_pipe(register int pv[]) argument
896 if(pipe(fd)<0 || (pv[0]=fd[0])<0 || (pv[1]=fd[1])<0)
898 pv[0] = sh_iomovefd(pv[0]);
899 pv[1] = sh_iomovefd(pv[1]);
900 VALIDATE_FD(shp, pv[0]);
901 VALIDATE_FD(shp, pv[1]);
902 shp->fdstatus[pv[
910 sh_coaccept(Shell_t *shp,int *pv,int out) argument
935 sh_copipe(Shell_t *shp, int *pv, int out) argument
1060 sh_pclose(register int pv[]) argument
[all...]
/osnet-11/usr/src/lib/libpool/common/
H A Dpool_value.c67 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...]
H A Dpool_commit.c1294 pool_value_t *pv, void *user)
1304 pool_value_dprintf(pv);
1318 return (pool_put_property(TO_CONF(tgt), tgt, name, pv) ==
1329 pool_value_t *pv, void *user)
1293 clone_element(pool_conf_t *conf, pool_elem_t *pe, const char *name, pool_value_t *pv, void *user) argument
1328 clean_element(pool_conf_t *conf, pool_elem_t *pe, const char *name, pool_value_t *pv, void *user) argument
H A Dpool.c935 pool_value_t *pv = pool_value_alloc(); local
937 if (pe->pe_get_prop(pe, name, pv) != POC_INVAL) {
941 (void) pool_value_get_string(pv, &s1);
946 pool_value_free(pv);
H A Dpool_kernel.c3490 const pool_value_t *pv)
3501 if ((type = pool_value_get_type(pv)) == POC_INVAL) {
3509 if (pool_value_get_uint64(pv, &uval) == POC_INVAL) {
3518 if (pool_value_get_int64(pv, &ival) == POC_INVAL) {
3527 if (pool_value_get_double(pv, &dval) == POC_INVAL) {
3542 if (pool_value_get_bool(pv, &bval) == POC_INVAL) {
3551 if (pool_value_get_string(pv, &sval) == POC_INVAL) {
3489 pool_knl_nvlist_add_value(nvlist_t *list, const char *name, const pool_value_t *pv) argument
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dlvm.h74 struct grub_lvm_pv *pv; member in struct:grub_lvm_node
/osnet-11/usr/src/lib/libc/port/regex/
H A Dwordexp.c93 int pv[2]; /* pipe from shell stdout */ local
272 if (pipe(pv) < 0) {
286 error = posix_spawn_file_actions_adddup2(&fact, pv[1], 1);
287 if (error == 0 && pv[0] != 1)
288 error = posix_spawn_file_actions_addclose(&fact, pv[0]);
289 if (error == 0 && pv[1] != 1)
290 error = posix_spawn_file_actions_addclose(&fact, pv[1]);
300 (void) close(pv[1]);
302 (void) close(pv[0]);
307 if ((fp = fdopen(pv[
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_2xml.c208 topo_propval_t *pv)
214 switch (pv->tp_type) {
217 if (topo_prop_get_int32(node, pgname, pv->tp_name, &val,
228 if (topo_prop_get_uint32(node, pgname, pv->tp_name,
239 if (topo_prop_get_int64(node, pgname, pv->tp_name, &val,
251 if (topo_prop_get_uint64(node, pgname, pv->tp_name,
262 if (topo_prop_get_string(node, pgname, pv->tp_name,
273 if (topo_prop_get_fmri(node, pgname, pv->tp_name, &val,
292 pv->tp_name, &val, &nelem, &err) != 0)
326 begin_end_element(fp, Propval, Name, pv
207 txml_print_prop(topo_hdl_t *thp, FILE *fp, tnode_t *node, const char *pgname, topo_propval_t *pv) argument
[all...]
H A Dtopo_prop.c121 prop_method_get(tnode_t *node, topo_propval_t *pv, topo_propmethod_t *pm, argument
129 if (topo_hdl_nvalloc(pv->tp_hdl, &args, NV_UNIQUE_NAME) < 0 ||
145 topo_prop_hold(pv);
150 topo_prop_rele(pv);
154 topo_prop_rele(pv);
160 if (ret != 0 || strcmp(name, pv->tp_name) != 0)
164 if (ret != 0 || type != pv->tp_type)
168 if (pv->tp_val != NULL)
169 nvlist_free(pv->tp_val);
170 pv
179 topo_propval_t *pv = NULL; local
211 topo_propval_t *pv; local
502 topo_propval_t *pv; local
522 topo_propval_t *pv; local
768 topo_propval_t *pv; local
875 topo_propval_t *pv = NULL; local
976 topo_propval_t *pv; local
1014 topo_propval_t *pv = NULL; local
1042 topo_propval_t *pv = NULL; local
1075 topo_propval_t *pv; local
1299 propmethod_destroy(topo_hdl_t *thp, topo_propval_t *pv) argument
1315 topo_propval_destroy(topo_propval_t *pv) argument
1336 topo_prop_hold(topo_propval_t *pv) argument
1342 topo_prop_rele(topo_propval_t *pv) argument
1361 topo_propval_t *pv; local
1379 prop_val_add(tnode_t *node, nvlist_t **nvl, topo_propval_t *pv, int *err) argument
1419 topo_propval_t *pv; local
1491 topo_propval_t *pv; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dlvm.c142 struct grub_lvm_pv *pv;
157 for (pv = vg->pvs; pv; pv = pv->next)
158 if (pv->disk && pv->disk->id == disk->id
159 && pv->disk->dev->id == disk->dev->id
160 && grub_partition_get_start (pv->disk->partition)
162 && grub_disk_get_size (pv
141 struct grub_lvm_pv *pv; local
773 struct grub_lvm_pv *pv; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dnumeric.c531 Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep) argument
533 const char *s = pv;
534 const char *send = pv + len;
713 if (len == 10 && memEQ(pv, "0 but true", 10)) {
H A Ddump.c108 Perl_pv_display(pTHX_ SV *dsv, char *pv, STRLEN cur, STRLEN len, STRLEN pvlim) argument
111 int nul_terminated = len > cur && pv[cur] == '\0';
114 for (; cur--; pv++) {
119 switch (*pv) {
127 if (isPRINT(*pv))
128 sv_catpvn(dsv, pv, 1);
129 else if (cur && isDIGIT(*(pv+1)))
130 Perl_sv_catpvf(aTHX_ dsv, "\\%03o", (U8)*pv);
132 Perl_sv_catpvf(aTHX_ dsv, "\\%o", (U8)*pv);
H A Dscope.c553 Perl_save_freepv(pTHX_ char *pv) argument
556 SSPUSHPTR(pv);
709 case SAVEt_GENERIC_PVREF: /* generic pv */
717 case SAVEt_SHARED_PVREF: /* shared pv */
H A Dperl.c2434 Perl_require_pv(pTHX_ const char *pv) argument
2442 sv_catpv(sv, pv);
H A Dpp.c503 char *pv; local
514 pv = sv_reftype(sv,TRUE);
515 PUSHp(pv, strlen(pv));
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dwinreg_svc.c902 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);
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_props.c277 di_uintprop_get(topo_mod_t *mod, di_node_t n, const char *pnm, uint_t *pv) argument
279 if (hwprop2uint(n, pnm, pv) < 0)
280 if (promprop2uint(mod, n, pnm, pv) < 0)
/osnet-11/usr/src/lib/fm/topo/modules/common/usb/common/
H A Dusb.c142 usb_di_uintprop_get(topo_mod_t *mod, di_node_t n, const char *pnm, uint_t **pv) argument
144 if (usb_hwprop2uint(n, pnm, pv) < 0)
145 if (usb_promprop2int(mod, n, pnm, (int **)pv) < 0)
/osnet-11/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c1830 oversize_t *pv; /* ptr to item left of insertion point */ local
1851 pv = nx->prev_byaddr;
1853 if (pv->size) {
1855 size_pv = OVSZ_HEADER_SIZE + pv->size;
1856 endp_pv = ALIGN((uintptr_t)pv + size_pv,
1858 size_pv = endp_pv - (uintptr_t)pv;
1890 pv->size += size_lp;
1891 position_oversize_by_size(pv);
1898 insert_oversize(lp, pv->next_byaddr);
1903 pv
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Ddeliver.c1332 char *pv[MAXPV + 1]; local
1380 ** code does not check for 'pv' overflow; this places a
1406 pvp = pv;
1429 ** in the pv after it.
1450 if (pvp >= &pv[MAXPV - 3])
1453 pv[0]);
1791 if (pvp >= &pv[MAXPV - 2])
1838 if (pvp >= &pv[MAXPV])
1839 syserr("554 5.3.0 deliver: pv overflow after $u for %s",
1840 pv[
1866 printav(sm_debug_file(), pv); local
[all...]
H A Dmain.c3624 char *pv[MAXATOM + 1]; local
3626 pv[0] = NULL;
3627 status = REWRITE(pv, rs, CurEnv);
3629 "--- ruleset debug_dumpstate returns stat %d, pv: ---",
3631 for (pvp = pv; *pvp != NULL; pvp++)

Completed in 168 milliseconds

12