Home
last modified time | relevance | path

Searched refs:pf (Results 1 – 25 of 107) sorted by relevance

12345

/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmprofile.c38 #define PFLINE(pf) ((pf)->line) argument
39 #define PFNAME(pf) ((pf)->data.f) argument
105 for(last = NIL(Pfobj_t*), pf = Pftable[n]; pf; last = pf, pf = pf->next)
240 pf = PFREGION(pf);
243 if((s = PFALLOC(pf) - PFFREE(pf)) > PFMAX(pf) )
411 for(pf = Pftable[PFTABLE]; pf; pf = pf->next)
420 PFNFREE(pf),PFFREE(pf),PFMAX(pf),alloc);
425 for(pf = list; pf; )
527 pf = PFREGION(pf);
588 pf = PFREGION(pf);
[all …]
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dfreefilter.c89 FILTER * pf in freefilter() argument
92 freefilter (pf) in freefilter()
93 FILTER *pf; in freefilter()
96 if (!pf)
98 if (pf->name)
100 if (pf->command)
114 _FILTER * pf in free_filter() argument
117 free_filter (pf) in free_filter()
118 _FILTER *pf; in free_filter()
121 if (!pf)
[all …]
H A Dgetfilter.c50 static _FILTER *pf = 0; local
68 if (pf) {
69 if (!(++pf)->name)
70 pf = 0;
72 pf = filters;
74 pf = search_filter(name);
76 if (!pf || !pf->name) {
81 flbuf.name = Strdup(pf->name);
82 flbuf.command = (pf->command? Strdup(pf->command) : 0);
83 flbuf.type = pf->type;
[all …]
H A Dinsfilter.c242 for (pf = filters; pf->name; pf++) {
286 for (pf = pfastf = pipeline, pslowf = 0; pf; pf = pf->next)
288 pslowf = pf;
571 for (pf = filters; pf->name; pf++) {
573 if (USED(pf))
585 if (CHECK(pf, FL_LEFT) && CHECK(pf, FL_RIGHT)) {
704 for (pf = pipeline; pf; pf = pf->next) {
765 for (nchars = 0, pf = pipeline; pf; pf = pf->next)
774 for (pf = pipeline; pf; pf = pf->next, *p++ = (pf? '|' : 0))
788 _FILTER *pf, in build_simple_cmd() argument
[all …]
H A Ddumpfilters.c52 register _FILTER *pf; in dumpfilters() local
64 if (filters) for (pf = filters; pf->name; pf++) { in dumpfilters()
70 p = pf->name; in dumpfilters()
79 p = pf->command; in dumpfilters()
84 (pf->type == fl_fast? FL_FAST : FL_SLOW)); in dumpfilters()
87 pty = pf->printer_types; in dumpfilters()
90 pty = pf->input_types; in dumpfilters()
93 pty = pf->output_types; in dumpfilters()
107 if (pf->printers) in dumpfilters()
108 fdprintlist (fd, pf->printers); in dumpfilters()
[all …]
H A Dsearch.c48 register _FILTER *pf; local
50 for (pf = filters; pf->name; pf++)
51 if (STREQU(pf->name, name))
53 return (pf->name? pf : 0);
H A Dloadfilters.c56 register _FILTER *pf; in loadfilters() local
84 pf = filters, nfilters = 0; in loadfilters()
86 pf++ in loadfilters()
105 pf = &filters[nfilters - 1]; in loadfilters()
110 pf->name = Strdup(filt[FL_NAME]); in loadfilters()
112 pf->command = Strdup(filt[FL_CMD]); in loadfilters()
117 pf->printer_types = sl_to_typel(list); in loadfilters()
121 pf->input_types = sl_to_typel(list); in loadfilters()
125 pf->output_types = sl_to_typel(list); in loadfilters()
139 pf->templates = sl_to_templatel(list); in loadfilters()
[all …]
H A Ddelfilter.c50 register _FILTER *pf; local
70 if (!(pf = search_filter(name))) {
75 free_filter (pf);
76 for (; pf->name; pf++)
77 *pf = *(pf+1);
H A Dtrash.c40 register _FILTER *pf; in trash_filters() local
43 for (pf = filters; pf->name; pf++) in trash_filters()
44 free_filter (pf); in trash_filters()
H A Dputfilter.c54 register _FILTER *pf; local
89 if ((pf = search_filter(name)))
90 free_filter (pf);
103 pf = filters + nfilters - 1;
109 pf = filters = (_FILTER *)Malloc(
121 *pf = _flbuf;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfpool.c261 { if(!pf)
263 else if(!pf->pool || pf->pool == &_Sfpool)
277 if(pf)
279 if((pf->mode&SF_RDWR) != pf->mode && _sfmode(pf,0,0) < 0)
290 if(f == pf || (pf && f->pool == pf->pool && f->pool != &_Sfpool) )
294 if(pf)
302 if(pf)
318 if(!pf->pool || pf->pool == &_Sfpool || pf->pool->n_sf <= 0 )
319 rv = pf;
358 rv = pf;
[all …]
/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Dfreeform.c42 FORM * pf in freeform() argument
45 freeform (pf) in freeform()
46 FORM * pf; in freeform()
49 if (!pf)
51 if (pf->chset)
53 if (pf->rcolor)
55 if (pf->comment)
57 if (pf->conttype)
59 if (pf->name)
60 Free (pf->name);
[all …]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Ddouble_decim.c229 for (e = efirst; e >= pf->bexponent + (pf->blength << 2) && in __big_decimal_to_string()
457 pf->blength = 4; in __double_to_bigfloat()
464 while (pf->bsignificand[pf->blength - 1] == 0) in __double_to_bigfloat()
465 pf->blength--; in __double_to_bigfloat()
469 __shorten(pf); in __double_to_bigfloat()
483 pf->blength = 4; in __extended_to_bigfloat()
490 while (pf->bsignificand[pf->blength - 1] == 0) in __extended_to_bigfloat()
491 pf->blength--; in __extended_to_bigfloat()
493 __shorten(pf); in __extended_to_bigfloat()
517 while (pf->bsignificand[pf->blength - 1] == 0) in __quadruple_to_bigfloat()
[all …]
H A Dfile_decim.c52 char **pechar, FILE *pf, int *pnread) in file_to_decimal() argument
62 current = ((pf->_flag & _IOWRT) ? \ in file_to_decimal()
63 ((*pf->_ptr == '\0') ? EOF : *pf->_ptr++) : \ in file_to_decimal()
64 GETC(pf)); \ in file_to_decimal()
83 if (cp >= *ppc && current != EOF && myungetc(current, pf) in file_to_decimal()
90 if (myungetc((int)(unsigned char)*cp, pf) == EOF) in file_to_decimal()
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpfilter.c263 register FILTER *pf, local
407 *ps++ = *pf;
435 store[0] = *pf;
444 pf = store;
446 pf->command = 0;
449 pf->printers = 0;
624 *ps++ = *pf;
660 store[0] = *pf;
726 _list_filter (pf);
776 (pf->command? pf->command : "")
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_tlv_layout.h206 #define TLV_TAG_PF_STATIC_VPD(pf) (0x00030000 + (pf)) argument
231 #define TLV_TAG_PF_DYNAMIC_VPD(pf) (0x10030000 + (pf)) argument
256 #define TLV_TAG_PF_DBI(pf) (0x00040000 + (pf)) argument
341 #define TLV_TAG_PF_PCIE_CONFIG(pf) (0x10080000 + (pf)) argument
581 #define TLV_TAG_VPORT_VLAN_TAG(pf) (0x10130000 + (pf)) argument
645 #define TLV_TAG_PRIVILEGE_MASK_ADD_SINGLE_PF(pf) (0x101A0000 + (pf)) argument
698 #define TLV_TAG_RATE_LIMIT(pf) (0x101b0000 + (pf)) argument
/illumos-gate/usr/src/cmd/projadd/
H A Dprojadd.pl127 my $pf;
136 $pf = [];
146 ($ret, $pf) = projf_read($pfh, $flags);
148 error(@$pf);
151 foreach (@$pf) {
167 push(@$pf, $proj);
179 projent_validate_unique_name($proj, $pf);
203 projent_validate_unique_id($proj, $pf);
280 projf_write($pfh, $pf);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddaisyforms.c118 check_form_alert(FSTATUS *pfs, _FORM *pf) in check_form_alert() argument
144 if (pf) in check_form_alert()
146 (pf->name != NULL) ? pf->name : "null"); in check_form_alert()
149 if (pf) { in check_form_alert()
150 if ((trigger = pf->alert.Q) <= 0) in check_form_alert()
159 #define NALERT pf->alert in check_form_alert()
174 pf in check_form_alert()
191 if ((pf && NALERT.shcmd) || OALERT.shcmd) in check_form_alert()
197 Return: if (pf) { in check_form_alert()
199 pfs->form = pf; in check_form_alert()
H A Dfncs.c744 if (!pf) in free_form()
746 if (pf->chset) in free_form()
747 Free (pf->chset); in free_form()
748 if (pf->rcolor) in free_form()
750 if (pf->comment) in free_form()
752 if (pf->conttype) in free_form()
754 if (pf->name) in free_form()
755 Free (pf->name); in free_form()
756 if (pf->paper) in free_form()
757 Free (pf->paper); in free_form()
[all …]
H A Ddisp3.c491 register _FORM *pf; in s_load_form() local
500 else if (!(pf = Getform(form))) { in s_load_form()
517 pf->name, in s_load_form()
522 load_sdn (&pfs->cpi, pf->cpi); in s_load_form()
523 load_sdn (&pfs->lpi, pf->lpi); in s_load_form()
524 load_sdn (&pfs->plen, pf->plen); in s_load_form()
525 load_sdn (&pfs->pwid, pf->pwid); in s_load_form()
544 check_form_alert (pfs, pf); in s_load_form()
552 } else if ((pfs = new_fstatus(pf))) { in s_load_form()
558 check_form_alert (pfs, pf); in s_load_form()
[all …]
/illumos-gate/usr/src/cmd/praudit/
H A Dmain.c55 static FILE *pf = NULL; variable
80 if (pf != NULL) { in main()
82 loadnames(pf); in main()
83 (void) fclose(pf); in main()
203 if ((pf = fopen(optarg, "r")) == NULL) { in process_options()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Ddocmd.c656 FILE *pf, *popen(); in notify() local
686 pf = popen(MAILCMD, "w"); in notify()
687 if (pf == NULL) { in notify()
696 fprintf(pf, "To:"); in notify()
698 fprintf(pf, " %s@%s", to->n_name, rhost); in notify()
700 fprintf(pf, " %s", to->n_name); in notify()
706 fprintf(pf, ", %s", to->n_name); in notify()
709 putc('\n', pf); in notify()
715 putc('\n', pf); in notify()
718 (void) fwrite(buf, 1, len, pf); in notify()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/ptm/
H A Dptm.c40 static const struct pt_flags pf[] = { variable
111 if (flag != NULL && pt_parse_flag(pf, flag, &mask) == -1) { in ptms()
113 pt_flag_usage(pf); in ptms()
117 if (not_flag != NULL && pt_parse_flag(pf, not_flag, &not_mask) == -1) { in ptms()
119 pt_flag_usage(pf); in ptms()
158 for (i = 0; pf[i].pt_name != NULL; i++) { in ptms()
169 pf[i].pt_name, pf[i].pt_descr); in ptms()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Ddlpi.c221 struct packetfilt pf; in port_dlpi_open() local
223 pf.Pf_Priority = 0; in port_dlpi_open()
224 pf.Pf_FilterLen = sizeof (bpdu_filter) / in port_dlpi_open()
226 (void) memcpy(pf.Pf_Filter, bpdu_filter, in port_dlpi_open()
228 if (strioctl(fd, PFIOCSETF, &pf, sizeof (pf)) == -1) in port_dlpi_open()
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c1172 pkgfilter_t *pf = v; in thr_pkgfilter() local
1177 cnts = fdopen(pf->cmd, "w"); in thr_pkgfilter()
1185 if (pf->len > 0) { in thr_pkgfilter()
1188 for (p = pf->buf; *p; p++) { in thr_pkgfilter()
1191 if (p > pf->buf && p[-1] == '.') in thr_pkgfilter()
1208 if (pf->len > 0 && strstr(p->line, pf->buf) == NULL) in thr_pkgfilter()
1227 umem_free(pf, sizeof (pkgfilter_t) + pf->len); in thr_pkgfilter()
1261 (void) memcpy(cpf, pf, sizeof (pkgfilter_t) + pf->len); in pkgfilter()
1281 pkgaddlines(pkgfilter_t *pf) in pkgaddlines() argument
1283 char *map = pf->buf; in pkgaddlines()
[all …]

12345