/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmprofile.c | 35 #define PFHASH(pf) ((pf)->data.data.hash) argument 36 #define PFVM(pf) ((pf)->data.data.vm) argument 37 #define PFFILE(pf) ((pf)->data.data.fm.file) argument 38 #define PFLINE(pf) ((pf)->line) argument 39 #define PFNAME(pf) ((pf)->data.f) argument 40 #define PFNALLOC(pf) ((pf)->data.data.nalloc) argument 41 #define PFALLOC(pf) ((pf)->data.data.alloc) argument 42 #define PFNFREE(pf) ((pf)->data.data.nfree) argument 43 #define PFFREE(pf) ((pf)->data.data.free) argument 44 #define PFREGION(pf) ((pf)->data.data.region) argument [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/filters/ |
H A D | freefilter.c | 89 FILTER * pf in freefilter() argument 92 freefilter (pf) in freefilter() 93 FILTER *pf; in freefilter() 96 if (!pf) 98 if (pf->name) 99 Free (pf->name); 100 if (pf->command) 101 Free (pf->command); 102 freelist (pf->printers); 103 freelist (pf->printer_types); [all …]
|
H A D | getfilter.c | 50 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 D | insfilter.c | 240 register _FILTER * pf; local 242 for (pf = filters; pf->name; pf++) { 244 pf->mark = FL_CLEAR; 246 if (printer && !searchlist(printer, pf->printers)) 247 pf->mark = FL_SKIP; 251 pf->printer_types)) 252 pf->mark = FL_SKIP; 272 register _FILTER * pf; local 286 for (pf = pfastf = pipeline, pslowf = 0; pf; pf = pf->next) 287 if (pf->type == fl_slow) { [all …]
|
H A D | dumpfilters.c | 52 register _FILTER *pf; in dumpfilters() local 64 if (filters) for (pf = filters; pf->name; pf++) { in dumpfilters() 70 p = pf->name; in dumpfilters() 73 if ((p = fw_zDblQte (pf->command)) != NULL) { 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() [all …]
|
H A D | search.c | 48 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 D | loadfilters.c | 56 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() 111 pf->type = s_to_filtertype(filt[FL_TYPE]); in loadfilters() 112 pf->command = Strdup(filt[FL_CMD]); in loadfilters() 114 pf->printers = getlist(DFLT(FL_PRTRS), LP_WS, LP_SEP); in loadfilters() 117 pf->printer_types = sl_to_typel(list); in loadfilters() 121 pf->input_types = sl_to_typel(list); in loadfilters() [all …]
|
H A D | delfilter.c | 50 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 D | trash.c | 40 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 D | putfilter.c | 54 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 D | sfpool.c | 246 Sfio_t* sfpool(reg Sfio_t* f, reg Sfio_t* pf, reg int mode) in sfpool() argument 248 Sfio_t* sfpool(f,pf,mode) in sfpool() 250 reg Sfio_t* pf; 261 { if(!pf) 263 else if(!pf->pool || pf->pool == &_Sfpool) 264 return pf; 265 else return pf->pool->sf[0]; 277 if(pf) 278 { SFMTXLOCK(pf); 279 if((pf->mode&SF_RDWR) != pf->mode && _sfmode(pf,0,0) < 0) [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/forms/ |
H A D | freeform.c | 42 FORM * pf in freeform() argument 45 freeform (pf) in freeform() 46 FORM * pf; in freeform() 49 if (!pf) 51 if (pf->chset) 52 Free (pf->chset); 53 if (pf->rcolor) 54 Free (pf->rcolor); 55 if (pf->comment) 56 Free (pf->comment); [all …]
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | double_decim.c | 175 __big_decimal_to_string(_big_float *pf, int sticky, decimal_mode *pm, in __big_decimal_to_string() argument 183 i = pf->blength - 1; in __big_decimal_to_string() 185 e = pf->bexponent = -DECIMAL_STRING_LENGTH - 2; in __big_decimal_to_string() 187 e = pf->bexponent + (i << 2); in __big_decimal_to_string() 188 d = pf->bsignificand[i]; in __big_decimal_to_string() 229 for (e = efirst; e >= pf->bexponent + (pf->blength << 2) && in __big_decimal_to_string() 233 i = pf->blength - 1; in __big_decimal_to_string() 234 j = 3 - ((e - pf->bexponent) & 3); in __big_decimal_to_string() 236 __four_digits_quick(pf->bsignificand[i], s); in __big_decimal_to_string() 247 __four_digits_quick(pf->bsignificand[i], pd->ds + is); in __big_decimal_to_string() [all …]
|
H A D | file_decim.c | 52 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 D | lpfilter.c | 263 register FILTER *pf, local 406 for (ps = store; (pf = getfilter(filter)); ) 407 *ps++ = *pf; 434 if ((pf = getfilter(filter))) { 435 store[0] = *pf; 444 pf = store; 445 pf->name = strdup(filter); 446 pf->command = 0; 447 pf->type = fl_slow; 448 pf->printer_types = 0; [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_tlv_layout.h | 206 #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 D | projadd.pl | 127 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 D | daisyforms.c | 118 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 D | fncs.c | 742 free_form(register _FORM *pf) in free_form() argument 744 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() 749 Free (pf->rcolor); in free_form() 750 if (pf->comment) in free_form() 751 Free (pf->comment); in free_form() 752 if (pf->conttype) in free_form() 753 Free (pf->conttype); in free_form() [all …]
|
H A D | disp3.c | 491 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 D | main.c | 55 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 D | docmd.c | 656 FILE *pf, *popen(); in notify() local 686 pf = popen(MAILCMD, "w"); in notify() 687 if (pf == NULL) { in notify() 695 fprintf(pf, "From: rdist (Remote distribution program)\n"); 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() 704 fprintf(pf, ", %s@%s", to->n_name, rhost); in notify() 706 fprintf(pf, ", %s", to->n_name); in notify() 709 putc('\n', pf); in notify() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ptm/ |
H A D | ptm.c | 40 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, ¬_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 D | dlpi.c | 221 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 D | pkgserv.c | 1172 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() 1249 pkgfilter(pkgfilter_t *pf, door_desc_t *dp) in pkgfilter() argument 1259 cpf = umem_alloc(sizeof (pkgfilter_t) + pf->len, UMEM_NOFAIL); in pkgfilter() 1261 (void) memcpy(cpf, pf, sizeof (pkgfilter_t) + pf->len); in pkgfilter() [all …]
|