Home
last modified time | relevance | path

Searched refs:fr (Results 1 – 25 of 156) sorted by relevance

1234567

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfmove.c116 if(fr->rsrv && (r = -fr->rsrv->slen) > 0)
120 else if((r = fr->endb - (next = fr->next)) <= 0)
124 w = fr->data == fr->tiny ? SF_GRAIN : fr->size;
127 else w = (ssize_t)(fr->extent-fr->here);
142 else if(w > fr->size && maxw > fr->size)
146 else w = ((w+fr->size-1)/fr->size)*fr->size;
173 if((r = SFRD(fr,next,w,fr->disc)) > 0)
174 fr->next = fr->endb = fr->endr = fr->data;
198 fr->endb = fr->data+w;
231 if((fr->bits&SF_SEQUENTIAL) && (fr->data))
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf_y.y25 #define DOALL(x) for (fr = frc; fr != NULL; fr = fr->fr_next) { x }
26 #define DOREM(x) for (; fr != NULL; fr = fr->fr_next) { x }
779 { DOALL(fr->fr_tcpf = 0; fr->fr_tcpfm = $3;) }
783 { DOALL(fr->fr_tcpf = 0; fr->fr_tcpfm = $3;) }
1871 for (fr = frtop; fr != NULL && fr->fr_next != NULL; fr = fr->fr_next) in newrule()
1894 for (fr = frc; fr != NULL; fr = fr->fr_next) { in setipftype()
1999 for (fr = frc; fr != NULL; fr = fr->fr_next) {
2063 fr->fr_data = malloc(fr->fr_dsize);
2242 binprint(fr, sizeof(*fr));
2244 binprint(fr->fr_data, fr->fr_dsize);
[all …]
H A Dipfcomp.c63 void printc(fr) in printc() argument
64 frentry_t *fr; in printc()
73 if ((fr->fr_type != FR_T_IPF) && (fr->fr_type != FR_T_NONE))
151 frentry_t *fr;
164 bcopy((char *)fr, (char *)f, sizeof(*fr));
822 portcmp[fr->fr_scmp], fr->fr_sport);
849 portcmp[fr->fr_dcmp], fr->fr_dport);
865 fr->fr_smask, fr->fr_saddr);
880 fr->fr_dmask, fr->fr_daddr);
1032 for (fr = fr1->fr_next; fr; fr = fr->fr_next) {
[all …]
H A Dipftest.c688 frentry_t *fr; local
697 for (fr = fg->fg_start; fr != NULL; fr = fr->fr_next) {
699 printf("%qu ",(unsigned long long)fr->fr_hits);
701 printf("%ld ", fr->fr_hits);
703 printfr(fr, ipftestioctl);
713 for (fr = fg->fg_start; fr != NULL; fr = fr->fr_next) {
715 printf("%qu ",(unsigned long long)fr->fr_hits);
717 printf("%ld ", fr->fr_hits);
719 printfr(fr, ipftestioctl);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dextras.c15 int extras(cp, fr, linenum) in extras() argument
17 struct frentry *fr;
38 fr->fr_flx |= FI_OPTIONS;
43 fr->fr_flx |= FI_LOWTTL;
44 fr->fr_mflx |= FI_LOWTTL;
48 fr->fr_flx |= FI_BADSRC;
58 fr->fr_flx |= FI_NATED;
59 fr->fr_mflx |= FI_NATED;
63 fr->fr_flx |= FI_FRAG;
64 fr->fr_mflx |= FI_FRAG;
[all …]
H A Dgetport.c8 int getport(fr, name, port) in getport() argument
9 frentry_t *fr; in getport()
17 if (fr == NULL || fr->fr_type != FR_T_IPF) {
26 if ((fr->fr_flx & FI_TCPUDP) != 0) {
42 p = getprotobynumber(fr->fr_proto);
H A Dprintfraginfo.c15 frentry_t fr; local
17 fr.fr_flags = 0xffffffff;
20 if (kmemcpy((char *)&fr, (u_long)ifr->ipfr_rule,
21 sizeof(fr)) == -1)
26 fr.fr_flags);
/illumos-gate/usr/src/lib/libficl/softcore/
H A DMakefile26 FR = softcore.fr ifbrack.fr prefix.fr ficl.fr jhlocal.fr marker.fr
27 FR += freebsd.fr ficllocal.fr oo.fr classes.fr string.fr wordsets.fr
/illumos-gate/usr/src/boot/libficl/softcore/
H A DMakefile26 FR = softcore.fr ifbrack.fr prefix.fr ficl.fr jhlocal.fr marker.fr
27 FR += freebsd.fr ficllocal.fr oo.fr classes.fr string.fr wordsets.fr
/illumos-gate/usr/src/cmd/bnu/
H A Dexpfile.c169 register char *to, *fr; local
171 to = fr = path;
172 if (*fr == '/') *to++ = *fr++;
176 if (*fr == '/') {
177 fr++;
180 if ((strncmp(fr, "./", 2) == SAME) || EQUALS(fr, ".")) {
181 fr++;
184 if ((strncmp(fr, "../", 3) == SAME) || EQUALS(fr, "..")) {
185 fr += 2;
200 if (*fr == '\0') break;
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwinsdelln.c104 fr = to - id; in winsdelln()
105 num_lines = endy - fr; in winsdelln()
113 fr = to - id; in winsdelln()
136 win->_y[to] = win->_y[fr]; in winsdelln()
137 win->_y[fr] = sw; in winsdelln()
140 _MARKS[to] = _MARKS[fr]; in winsdelln()
141 _MARKS[fr] = mk; in winsdelln()
149 _COLOR_MARKS[fr] = mk; in winsdelln()
164 begch[to] = begch[fr]; in winsdelln()
165 endch[to] = endch[fr]; in winsdelln()
[all …]
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_fault_isadep.c62 valid_frame(struct frame *fr) in valid_frame() argument
64 uintptr_t addr = (uintptr_t)fr; in valid_frame()
73 mdb_iob_printf(mdb.m_err, " mis-aligned frame (%p)\n", fr); in valid_frame()
83 struct frame *fr = (struct frame *)(sp + STACK_BIAS); in print_stack() local
87 while (fr != NULL && valid_frame(fr) && fr->fr_savpc != 0 && in print_stack()
89 print_frame((uintptr_t)fr - STACK_BIAS, fr->fr_savpc, frnum++, in print_stack()
93 ((uintptr_t)fr->fr_savfp + STACK_BIAS); in print_stack()
98 if ((uintptr_t)nfr < (uintptr_t)fr) { in print_stack()
100 " fp (%p) < sp (%p)\n", nfr, fr); in print_stack()
104 fr = nfr; in print_stack()
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkmdb_fault_isadep.c59 valid_frame(struct frame *fr) in valid_frame() argument
61 uintptr_t addr = (uintptr_t)fr; in valid_frame()
64 mdb_iob_printf(mdb.m_err, " mis-aligned frame (%p)\n", fr); in valid_frame()
74 struct frame *fr = (struct frame *)sp; in print_stack() local
77 while (fr != NULL && valid_frame(fr) && fr->fr_savpc != 0 && in print_stack()
79 print_frame(fr->fr_savpc, frnum, safe); in print_stack()
81 fr = (struct frame *)fr->fr_savfp; in print_stack()
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Ddtrace_isa.c378 if (sp == 0 || fr == NULL || in dtrace_getustack_common()
384 pc = dtrace_fulword(&fr->fr_savpc); in dtrace_getustack_common()
385 sp = dtrace_fulword(&fr->fr_savfp); in dtrace_getustack_common()
425 pc = dtrace_fuword32(&fr->fr_savpc); in dtrace_getustack_common()
426 sp = dtrace_fuword32(&fr->fr_savfp); in dtrace_getustack_common()
594 if (sp == 0 || fr == NULL || in dtrace_getufpstack()
599 pc = dtrace_fulword(&fr->fr_savpc); in dtrace_getufpstack()
600 sp = dtrace_fulword(&fr->fr_savfp); in dtrace_getufpstack()
626 pc = dtrace_fuword32(&fr->fr_savpc); in dtrace_getufpstack()
879 fp = dtrace_fulword(&fr->fr_savfp); in dtrace_getreg()
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_auth.c176 frentry_t *fr; local
213 if (fr) {
215 (char *)fr, sizeof(*fr));
216 fr->fr_grp = NULL;
219 fr->fr_ref = 1;
227 fin->fin_fr = fr;
230 if ((fr != NULL) && (fr != fra->fra_info.fin_fr)) {
259 return fr;
650 frentry_t *fr, **frp; local
683 KFREE(fr);
[all …]
H A Dfil.c1823 if (fr->fr_dcmp || fr->fr_scmp ||
1824 fr->fr_tcpf || fr->fr_tcpfm)
1835 fr->fr_icmpm, fr->fr_icmp));
2206 !ppsratecheck(&fr->fr_lastpkt, &fr->fr_curpps, fr->fr_pps)) {
3459 for (fr = fg->fg_head; fr && n; fr = fr->fr_next, n--)
3849 for (; fr; fr = fr->fr_next) {
3883 fr->fr_ifas[fr->fr_sifpidx],
3884 &fr->fr_src, &fr->fr_smsk,
3890 fr->fr_ifas[fr->fr_difpidx],
3891 &fr->fr_dst, &fr->fr_dmsk,
[all …]
H A Dip_frag.c343 frentry_t *fr; local
345 fr = fin->fin_fr;
347 fr->fr_ref++;
679 fin->fin_fr = fr;
693 return fr;
709 ipfr_t *fr; local
712 for (fr = ifs->ifs_ipfr_list; fr; fr = fr->ipfr_next)
731 ipfr_t *fr; local
734 for (fr = ifs->ifs_ipfr_natlist; fr; fr = fr->ipfr_next)
756 frentry_t *fr; local
[all …]
H A Dip_state.c673 frentry_t *fr; local
727 bcopy((char *)&ips.ips_fr, (char *)fr, sizeof(*fr));
738 fr->fr_ifas[i] = fr_resolvenic(name, fr->fr_v, ifs);
748 fr_resolvedest(&fr->fr_tif, fr->fr_v, ifs);
749 fr_resolvedest(&fr->fr_dif, fr->fr_v, ifs);
750 fr_resolvedest(&fr->fr_rif, fr->fr_v, ifs);
760 KFREE(fr);
808 frentry_t *fr; local
817 fr->fr_ref++;
1166 (fr->fr_statecnt >= fr->fr_statemax)) {
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dmdb_ia32util.c208 struct fr { in mdb_ia32_kvm_stack_iter() struct
212 } fr; in mdb_ia32_kvm_stack_iter() local
237 if ((size = mdb_tgt_aread(t, MDB_TGT_AS_VIRT_S, &fr, in mdb_ia32_kvm_stack_iter()
240 argc = kvm_argcount(t, fr.fr_savpc, size); in mdb_ia32_kvm_stack_iter()
254 struct fr tfr; in mdb_ia32_kvm_stack_iter()
281 fp = fr.fr_savfp; in mdb_ia32_kvm_stack_iter()
295 kregs[KREG_EIP] = pc = fr.fr_savpc; in mdb_ia32_kvm_stack_iter()
323 struct frame fr; in mdb_ia32_step_out() local
340 if (mdb_tgt_aread(t, MDB_TGT_AS_VIRT_S, &fr, sizeof (fr), fp) == in mdb_ia32_step_out()
341 sizeof (fr)) { in mdb_ia32_step_out()
[all …]
H A Dmdb_amd64util.c217 struct fr { in mdb_amd64_kvm_stack_iter() struct
220 } fr; in mdb_amd64_kvm_stack_iter() local
248 if (mdb_tgt_aread(t, MDB_TGT_AS_VIRT_S, &fr, sizeof (fr), fp) != in mdb_amd64_kvm_stack_iter()
249 sizeof (fr)) { in mdb_amd64_kvm_stack_iter()
262 struct fr tfr; in mdb_amd64_kvm_stack_iter()
378 fp + sizeof (fr)) != size) in mdb_amd64_kvm_stack_iter()
391 fp = fr.fr_savfp; in mdb_amd64_kvm_stack_iter()
427 struct frame fr; in mdb_amd64_step_out() local
449 if (mdb_tgt_aread(t, MDB_TGT_AS_VIRT_S, &fr, sizeof (fr), fp) == in mdb_amd64_step_out()
450 sizeof (fr)) { in mdb_amd64_step_out()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c656 cost(fr, lr) in cost() argument
657 int fr, lr; in cost()
674 LC(fr,fr).cost = 0;
738 script(fr, lr) in script() argument
739 int fr, lr; in script()
773 } while (fr < i || fr < j);
806 int fr = -1; in complex() local
815 if (fr == -1) in complex()
816 fr = i; in complex()
824 if (fr != -1) { in complex()
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c792 cost(int fr, int lr) in cost() argument
811 LC(fr, fr).cost = MOVE_COST; in cost()
815 LC(fr, nr).op = 'i'; in cost()
819 LC(nr, fr).op = 'd'; in cost()
869 script(int fr, int lr) in script() argument
904 } while (fr < i || fr < j); in script()
937 int fr = -1; in complex() local
946 if (fr == -1) in complex()
947 fr = i; in complex()
955 if (fr != -1) { in complex()
[all …]
/illumos-gate/usr/src/cmd/awk/
H A Dlib.c405 fr = fields; in fldbld()
424 *fr++ = *r++; in fldbld()
428 *fr++ = '\0'; in fldbld()
430 *fr = '\0'; in fldbld()
445 *fr = '\0'; in fldbld()
465 *fr++ = *r++; in fldbld()
466 *fr++ = '\0'; in fldbld()
470 *fr = '\0'; in fldbld()
573 char *fr; in refldbld() local
584 fr = fields; in refldbld()
[all …]
/illumos-gate/usr/src/cmd/lockstat/
H A Dlockstat.c1458 int fr; in main() local
1464 for (fr = 0; fr < g_stkdepth; fr++) { in main()
1534 int fr; in main() local
1539 for (fr = 0; fr < g_stkdepth; fr++) in main()
1625 int i, j, fr; in report_stats() local
1774 for (fr = 3; fr > 0; fr--) in report_stats()
1793 fr++; in report_stats()
1798 fr++; in report_stats()
1813 int i, fr; in report_trace() local
1845 for (fr = 3; fr > 0; fr--) in report_trace()
[all …]
/illumos-gate/usr/src/cmd/oawk/
H A Dlib.c216 wchar_t *r, *fr, sep, c; in fldbld() local
223 fr = fields; in fldbld()
238 fldtab[i].sval = fr; in fldbld()
241 *fr++ = *r++; in fldbld()
247 *fr++ = 0; in fldbld()
257 fldtab[i].sval = fr; in fldbld()
261 *fr++ = *r++; in fldbld()
262 *fr++ = 0; in fldbld()
266 *fr = 0; in fldbld()

1234567