Home
last modified time | relevance | path

Searched refs:fe (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/freebsd-12-stable/lib/libc/sparc64/fpu/
Dfpu_qp.c43 struct fpemu fe; \
45 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); \
46 fe.fe_cx = 0; \
47 fe.fe_f1.fp_sign = a[0] >> 31; \
48 fe.fe_f1.fp_sticky = 0; \
49 fe.fe_f1.fp_class = __fpu_qtof(&fe.fe_f1, a[0], a[1], a[2], a[3]); \
50 fe.fe_f2.fp_sign = b[0] >> 31; \
51 fe.fe_f2.fp_sticky = 0; \
52 fe.fe_f2.fp_class = __fpu_qtof(&fe.fe_f2, b[0], b[1], b[2], b[3]); \
53 r = __fpu_ ## op(&fe); \
[all …]
Dfpu.c131 struct fpemu fe; in __fpu_exception() local
158 fe.fe_fsr = fsr & ~FSR_FTT_MASK; in __fpu_exception()
164 sig = __fpu_execute(uf, &fe, insn, tstate); in __fpu_exception()
167 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); in __fpu_exception()
211 __fpu_mov(struct fpemu *fe, int type, int rd, int rs2, u_int32_t nand, in __fpu_mov() argument
230 __fpu_ccmov(struct fpemu *fe, int type, int rd, int rs2, in __fpu_ccmov() argument
235 __fpu_mov(fe, type, rd, rs2, 0, 0); in __fpu_ccmov()
239 __fpu_cmpck(struct fpemu *fe) in __fpu_cmpck() argument
248 cx = fe->fe_cx; in __fpu_cmpck()
249 fsr = fe->fe_fsr | (cx << FSR_CEXC_SHIFT); in __fpu_cmpck()
[all …]
Dfpu_implode.c83 fpround(struct fpemu *fe, struct fpn *fp) in fpround() argument
104 fe->fe_cx |= FSR_NX; /* inexact */ in fpround()
107 switch (FSR_GET_RD(fe->fe_fsr)) { in fpround()
163 toinf(struct fpemu *fe, int sign) in toinf() argument
168 switch (FSR_GET_RD(fe->fe_fsr)) { in toinf()
196 __fpu_ftoi(fe, fp) in __fpu_ftoi() argument
197 struct fpemu *fe; in __fpu_ftoi()
223 fe->fe_cx |= FSR_NX;
233 fe->fe_cx = (fe->fe_cx & ~FSR_NX) | FSR_NV;
244 __fpu_ftox(fe, fp, res) in __fpu_ftox() argument
[all …]
Dfpu_compare.c95 __fpu_compare(struct fpemu *fe, int cmpe, int fcc) in __fpu_compare() argument
101 a = &fe->fe_f1; in __fpu_compare()
102 b = &fe->fe_f2; in __fpu_compare()
111 fe->fe_cx = FSR_NV; in __fpu_compare()
170 a = __fpu_sub(fe); in __fpu_compare()
177 fe->fe_fsr = (fe->fe_fsr & fcc_nmask[fcc]) | in __fpu_compare()
Dfpu_add.c66 __fpu_add(fe) in __fpu_add() argument
67 struct fpemu *fe; in __fpu_add()
69 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2, *r;
98 return (__fpu_newnan(fe));
101 rd = FSR_GET_RD(fe->fe_fsr);
118 r = &fe->fe_f3;
Dfpu_div.c155 __fpu_div(fe) in __fpu_div() argument
156 struct fpemu *fe; in __fpu_div()
158 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2;
187 return (__fpu_newnan(fe));
198 fe->fe_cx = FSR_DZ;
Dfpu_mul.c103 __fpu_mul(fe) in __fpu_mul() argument
104 struct fpemu *fe; in __fpu_mul()
106 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2;
132 return (__fpu_newnan(fe));
Dfpu_emu.h164 #define __fpu_sub(fe) (ISNAN(&(fe)->fe_f2) ? 0 : ((fe)->fe_f2.fp_sign ^= 1), \ argument
165 __fpu_add(fe))
/freebsd-12-stable/sys/powerpc/fpu/
Dfpu_emu.c191 struct fpemu fe; in fpu_emulate() local
196 fe.fe_fpstate = fpf; in fpu_emulate()
197 fe.fe_cx = 0; in fpu_emulate()
220 switch (fpu_execute(frame, &fe, &insn)) { in fpu_emulate()
272 fpu_execute(struct trapframe *tf, struct fpemu *fe, union instr *insn) in fpu_execute() argument
284 fs = fe->fe_fpstate; in fpu_execute()
285 fe->fe_fpscr = ((int *)&fs->fpscr)[1]; in fpu_execute()
399 fpu_explode(fe, fp = &fe->fe_f1, FTYPE_DBL, rt); in fpu_execute()
400 fpu_implode(fe, fp, type, (void *)&buf); in fpu_execute()
420 fpu_explode(fe, fp = &fe->fe_f1, type, rt); in fpu_execute()
[all …]
Dfpu_implode.c82 round(struct fpemu *fe, struct fpn *fp) in round() argument
104 fe->fe_cx |= FPSCR_XX|FPSCR_FI; /* inexact */ in round()
107 switch ((fe->fe_fpscr) & FPSCR_RN) { in round()
140 fe->fe_cx |= FPSCR_FR; in round()
166 toinf(struct fpemu *fe, int sign) in toinf() argument
171 switch ((fe->fe_fpscr) & FPSCR_RN) { in toinf()
191 fe->fe_cx |= FPSCR_OX; in toinf()
202 fpu_ftoi(struct fpemu *fe, struct fpn *fp) in fpu_ftoi() argument
228 fe->fe_cx |= FPSCR_UX; in fpu_ftoi()
238 fe->fe_cx |= FPSCR_VXCVI; in fpu_ftoi()
[all …]
Dfpu_div.c157 fpu_div(struct fpemu *fe) in fpu_div() argument
159 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2; in fpu_div()
186 fe->fe_cx |= FPSCR_VXSNAN; in fpu_div()
196 fe->fe_cx |= FPSCR_VXIDI; in fpu_div()
197 return (fpu_newnan(fe)); in fpu_div()
203 fe->fe_cx |= FPSCR_ZX; in fpu_div()
205 fe->fe_cx |= FPSCR_VXZDZ; in fpu_div()
206 return (fpu_newnan(fe)); in fpu_div()
220 fe->fe_cx = FPSCR_ZX; in fpu_div()
Dfpu_compare.c80 fpu_compare(struct fpemu *fe, int ordered) in fpu_compare() argument
85 a = &fe->fe_f1; in fpu_compare()
86 b = &fe->fe_f2; in fpu_compare()
87 r = &fe->fe_f3; in fpu_compare()
99 if (fe->fe_fpscr & FPSCR_VE || ISQNAN(a) || ISQNAN(b)) in fpu_compare()
155 fpu_sub(fe); in fpu_compare()
163 fe->fe_cx = cc; in fpu_compare()
Dfpu_add.c65 fpu_add(struct fpemu *fe) in fpu_add() argument
67 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2, *r; in fpu_add()
97 fe->fe_cx |= FPSCR_VXSNAN; in fpu_add()
103 fe->fe_cx |= FPSCR_VXISI; in fpu_add()
104 return (fpu_newnan(fe)); in fpu_add()
109 rd = ((fe->fe_fpscr) & FPSCR_RN); in fpu_add()
129 r = &fe->fe_f3; in fpu_add()
Dfpu_mul.c106 fpu_mul(struct fpemu *fe) in fpu_mul() argument
108 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2; in fpu_mul()
137 fe->fe_cx |= FPSCR_VXSNAN; in fpu_mul()
143 fe->fe_cx |= FPSCR_VXIMZ; in fpu_mul()
144 return (fpu_newnan(fe)); in fpu_mul()
Dfpu_sqrt.c193 fpu_sqrt(struct fpemu *fe) in fpu_sqrt() argument
195 struct fpn *x = &fe->fe_f1; in fpu_sqrt()
218 fe->fe_cx |= FPSCR_VXSNAN; in fpu_sqrt()
223 fe->fe_cx |= FPSCR_ZX; in fpu_sqrt()
229 fe->fe_cx |= FPSCR_VXSQRT; in fpu_sqrt()
230 return (fpu_newnan(fe)); in fpu_sqrt()
/freebsd-12-stable/lib/libc/gen/
Dpututxline.c75 struct futx fe; in utx_active_add() local
89 while (fread(&fe, sizeof(fe), 1, fp) == 1) { in utx_active_add()
90 switch (fe.fu_type) { in utx_active_add()
99 if (memcmp(fu->fu_id, fe.fu_id, sizeof(fe.fu_id)) == in utx_active_add()
101 ret = fseeko(fp, -(off_t)sizeof(fe), SEEK_CUR); in utx_active_add()
104 if (fe.fu_type != DEAD_PROCESS) in utx_active_add()
116 partial -= (off_t)sizeof(fe); in utx_active_add()
145 struct futx fe; in utx_active_remove() local
156 while (fread(&fe, sizeof(fe), 1, fp) == 1 && ret != 0) in utx_active_remove()
157 switch (fe.fu_type) { in utx_active_remove()
[all …]
/freebsd-12-stable/usr.sbin/ppp/
Dfilter.c247 struct filterent fe; in filter_Parse() local
273 memset(&fe, '\0', sizeof fe); in filter_Parse()
294 fe.f_action = action; in filter_Parse()
300 fe.f_invert = 1; in filter_Parse()
305 ncprange_init(&fe.f_src); in filter_Parse()
306 ncprange_init(&fe.f_dst); in filter_Parse()
315 ncprange_aton(&fe.f_src, ncp, *argv)) { in filter_Parse()
316 family = ncprange_family(&fe.f_src); in filter_Parse()
317 if (!ncprange_getwidth(&fe.f_src, &width)) in filter_Parse()
320 ncprange_init(&fe.f_src); in filter_Parse()
[all …]
/freebsd-12-stable/sys/netgraph/netflow/
Dnetflow_v9.c201 export9_send(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, int flags) in export9_send() argument
225 header->seq_num = htonl(atomic_fetchadd_32(&fe->flow9_seq, 1)); in export9_send()
227 header->source_id = htonl(fe->domain_id); in export9_send()
371 get_export9_dgram(priv_p priv, fib_export_p fe, struct netflow_v9_packet_opt **tt) in get_export9_dgram() argument
376 mtx_lock(&fe->export9_mtx); in get_export9_dgram()
377 if (fe->exp.item9 != NULL) { in get_export9_dgram()
378 item = fe->exp.item9; in get_export9_dgram()
379 fe->exp.item9 = NULL; in get_export9_dgram()
380 t = fe->exp.item9_opt; in get_export9_dgram()
381 fe->exp.item9_opt = NULL; in get_export9_dgram()
[all …]
Dnetflow.c173 get_export_dgram(priv_p priv, fib_export_p fe) in get_export_dgram() argument
177 mtx_lock(&fe->export_mtx); in get_export_dgram()
178 if (fe->exp.item != NULL) { in get_export_dgram()
179 item = fe->exp.item; in get_export_dgram()
180 fe->exp.item = NULL; in get_export_dgram()
182 mtx_unlock(&fe->export_mtx); in get_export_dgram()
207 return_export_dgram(priv_p priv, fib_export_p fe, item_p item, int flags) in return_export_dgram() argument
215 mtx_lock(&fe->export_mtx); in return_export_dgram()
216 if (fe->exp.item == NULL) { in return_export_dgram()
217 fe->exp.item = item; in return_export_dgram()
[all …]
/freebsd-12-stable/contrib/xz/src/liblzma/common/
Dfilter_encoder.c235 const lzma_filter_encoder *const fe in lzma_mt_block_size() local
237 if (fe->block_size != NULL) { in lzma_mt_block_size()
239 = fe->block_size(filters[i].options); in lzma_mt_block_size()
255 const lzma_filter_encoder *const fe = encoder_find(filter->id); in lzma_properties_size() local
256 if (fe == NULL) { in lzma_properties_size()
265 if (fe->props_size_get == NULL) { in lzma_properties_size()
267 *size = fe->props_size_fixed; in lzma_properties_size()
271 return fe->props_size_get(size, filter->options); in lzma_properties_size()
278 const lzma_filter_encoder *const fe = encoder_find(filter->id); in lzma_properties_encode() local
279 if (fe == NULL) in lzma_properties_encode()
[all …]
/freebsd-12-stable/sys/cam/ctl/
Dctl_frontend.c73 ctl_frontend_register(struct ctl_frontend *fe) in ctl_frontend_register() argument
84 if (strcmp(fe_tmp->name, fe->name) == 0) { in ctl_frontend_register()
90 STAILQ_INIT(&fe->port_list); in ctl_frontend_register()
93 if (fe->init != NULL) { in ctl_frontend_register()
94 if ((error = fe->init()) != 0) { in ctl_frontend_register()
96 fe->name, error); in ctl_frontend_register()
103 STAILQ_INSERT_TAIL(&softc->fe_list, fe, links); in ctl_frontend_register()
109 ctl_frontend_deregister(struct ctl_frontend *fe) in ctl_frontend_deregister() argument
115 if (fe->shutdown != NULL) { in ctl_frontend_deregister()
116 if ((error = fe->shutdown()) != 0) { in ctl_frontend_deregister()
[all …]
/freebsd-12-stable/sys/net/
Dif_vxlan.c557 struct vxlan_ftable_entry *fe, *tfe; in vxlan_ftable_flush() local
561 LIST_FOREACH_SAFE(fe, &sc->vxl_ftable[i], vxlfe_hash, tfe) { in vxlan_ftable_flush()
562 if (all || VXLAN_FE_IS_DYNAMIC(fe)) in vxlan_ftable_flush()
563 vxlan_ftable_entry_destroy(sc, fe); in vxlan_ftable_flush()
571 struct vxlan_ftable_entry *fe, *tfe; in vxlan_ftable_expire() local
577 LIST_FOREACH_SAFE(fe, &sc->vxl_ftable[i], vxlfe_hash, tfe) { in vxlan_ftable_expire()
578 if (VXLAN_FE_IS_DYNAMIC(fe) && in vxlan_ftable_expire()
579 time_uptime >= fe->vxlfe_expire) in vxlan_ftable_expire()
580 vxlan_ftable_entry_destroy(sc, fe); in vxlan_ftable_expire()
590 struct vxlan_ftable_entry *fe; in vxlan_ftable_update_locked() local
[all …]
/freebsd-12-stable/contrib/netbsd-tests/ipf/input/
Df243 c0a8 01fe eb22 0035 002b d9e6 4a82 0100
8 4500 004c fc96 2000 4011 d9ba c0a8 01fe
15 4500 004c fc96 2007 4011 d9b3 c0a8 01fe
22 4500 004d fc96 000c 4011 f9ad c0a8 01fe
/freebsd-12-stable/crypto/openssl/crypto/ec/
Dcurve25519.c761 typedef int32_t fe[10]; typedef
790 static void fe_frombytes(fe h, const uint8_t *s) in fe_frombytes()
862 static void fe_tobytes(uint8_t *s, const fe h) in fe_tobytes()
945 static void fe_copy(fe h, const fe f) in fe_copy()
951 static void fe_0(fe h) in fe_0()
957 static void fe_1(fe h) in fe_1()
975 static void fe_add(fe h, const fe f, const fe g) in fe_add()
996 static void fe_sub(fe h, const fe f, const fe g) in fe_sub()
1035 static void fe_mul(fe h, const fe f, const fe g) in fe_mul()
1265 static void fe_sq(fe h, const fe f) in fe_sq()
[all …]
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_write_disk_posix.c572 struct fixup_entry *fe; in _archive_write_disk_header() local
846 fe = current_fixup(a, archive_entry_pathname(entry)); in _archive_write_disk_header()
847 if (fe == NULL) in _archive_write_disk_header()
849 fe->filetype = archive_entry_filetype(entry); in _archive_write_disk_header()
850 fe->fixup |= TODO_MODE_BASE; in _archive_write_disk_header()
851 fe->mode = a->mode; in _archive_write_disk_header()
857 fe = current_fixup(a, archive_entry_pathname(entry)); in _archive_write_disk_header()
858 if (fe == NULL) in _archive_write_disk_header()
860 fe->filetype = archive_entry_filetype(entry); in _archive_write_disk_header()
861 fe->mode = a->mode; in _archive_write_disk_header()
[all …]

12345678910>>...13