| /freebsd-12.1/lib/libc/sparc64/fpu/ |
| H A D | fpu_qp.c | 46 fe.fe_cx = 0; \ 55 fe.fe_fsr |= fe.fe_cx << FSR_AEXC_SHIFT; \ 67 fe.fe_cx = 0; \ 71 c[0] = __fpu_ftoq(&fe, &fe.fe_f1, c); \ 72 fe.fe_fsr |= fe.fe_cx << FSR_AEXC_SHIFT; \ 84 fe.fe_cx = 0; \ 88 u.a = __fpu_fto ## fname(&fe, &fe.fe_f1, ## __VA_ARGS__); \ 89 fe.fe_fsr |= fe.fe_cx << FSR_AEXC_SHIFT; \ 117 fe.fe_fsr |= fe.fe_cx << FSR_AEXC_SHIFT; \ 129 fe.fe_cx = 0; in _Qp_sqrt() [all …]
|
| H A D | fpu.c | 350 __fpu_explode(fe, &fe->fe_f1, type, rs1); in __fpu_execute() 351 __fpu_explode(fe, &fe->fe_f2, type, rs2); in __fpu_execute() 355 __fpu_explode(fe, &fe->fe_f1, type, rs1); in __fpu_execute() 356 __fpu_explode(fe, &fe->fe_f2, type, rs2); in __fpu_execute() 369 __fpu_explode(fe, &fe->fe_f1, type, rs2); in __fpu_execute() 373 __fpu_explode(fe, &fe->fe_f1, type, rs1); in __fpu_execute() 374 __fpu_explode(fe, &fe->fe_f2, type, rs2); in __fpu_execute() 378 __fpu_explode(fe, &fe->fe_f1, type, rs1); in __fpu_execute() 379 __fpu_explode(fe, &fe->fe_f2, type, rs2); in __fpu_execute() 383 __fpu_explode(fe, &fe->fe_f1, type, rs1); in __fpu_execute() [all …]
|
| H A D | fpu_implode.c | 196 __fpu_ftoi(fe, fp) in __fpu_ftoi() argument 197 struct fpemu *fe; in __fpu_ftoi() 233 fe->fe_cx = (fe->fe_cx & ~FSR_NX) | FSR_NV; 245 struct fpemu *fe; in __fpu_ftox() 286 fe->fe_cx = (fe->fe_cx & ~FSR_NX) | FSR_NV; 298 __fpu_ftos(fe, fp) in __fpu_ftos() argument 299 struct fpemu *fe; in __fpu_ftos() 369 if (toinf(fe, sign)) 386 struct fpemu *fe; in __fpu_ftod() 448 struct fpemu *fe; in __fpu_ftoq() [all …]
|
| H A D | fpu_compare.c | 95 __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()
|
| H A D | fpu_add.c | 66 __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;
|
| H A D | fpu_div.c | 155 __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;
|
| H A D | fpu_mul.c | 103 __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));
|
| H A D | fpu_emu.h | 164 #define __fpu_sub(fe) (ISNAN(&(fe)->fe_f2) ? 0 : ((fe)->fe_f2.fp_sign ^= 1), \ argument 165 __fpu_add(fe))
|
| /freebsd-12.1/sys/powerpc/fpu/ |
| H A D | fpu_emu.c | 452 fpu_explode(fe, &fe->fe_f1, type, ra); in fpu_execute() 453 fpu_explode(fe, &fe->fe_f2, type, rb); in fpu_execute() 490 fpu_explode(fe, &fe->fe_f1, type, ra); in fpu_execute() 491 fpu_explode(fe, &fe->fe_f2, type, rb); in fpu_execute() 524 fe->fe_fpscr &= fe->fe_cx; in fpu_execute() 588 fe->fe_fpscr = (fe->fe_fpscr&~mask) | in fpu_execute() 626 fpu_explode(fe, &fe->fe_f1, type, ra); in fpu_execute() 627 fpu_explode(fe, &fe->fe_f2, type, rb); in fpu_execute() 633 fpu_explode(fe, &fe->fe_f1, type, ra); in fpu_execute() 634 fpu_explode(fe, &fe->fe_f2, type, rb); in fpu_execute() [all …]
|
| H A D | fpu_implode.c | 140 fe->fe_cx |= FPSCR_FR; in round() 191 fe->fe_cx |= FPSCR_OX; in toinf() 228 fe->fe_cx |= FPSCR_UX; in fpu_ftoi() 238 fe->fe_cx |= FPSCR_VXCVI; in fpu_ftoi() 276 fe->fe_cx |= FPSCR_UX; in fpu_ftox() 286 fe->fe_cx |= FPSCR_VXCVI; in fpu_ftox() 347 fe->fe_cx |= FPSCR_UX; in fpu_ftos() 360 if (toinf(fe, sign)) in fpu_ftos() 406 fe->fe_cx |= FPSCR_UX; in fpu_ftod() 415 if (toinf(fe, sign)) { in fpu_ftod() [all …]
|
| H A D | fpu_div.c | 157 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()
|
| H A D | fpu_compare.c | 80 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()
|
| H A D | fpu_add.c | 65 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()
|
| H A D | fpu_mul.c | 106 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()
|
| H A D | fpu_sqrt.c | 193 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.1/lib/libc/gen/ |
| H A D | pututxline.c | 75 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() 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() 161 if (memcmp(fu->fu_id, fe.fu_id, sizeof(fe.fu_id)) != 0) in utx_active_remove() 203 struct futx fe; in utx_lastlogin_add() local 217 while (fread(&fe, sizeof fe, 1, fp) == 1) { in utx_lastlogin_add() [all …]
|
| /freebsd-12.1/usr.sbin/ppp/ |
| H A D | filter.c | 247 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() 320 ncprange_init(&fe.f_src); in filter_Parse() 372 switch (fe.f_proto) { in filter_Parse() 397 filter_Op2Nam(fe.f_srcop), fe.f_srcport); in filter_Parse() 399 filter_Op2Nam(fe.f_dstop), fe.f_dstport); in filter_Parse() [all …]
|
| /freebsd-12.1/sys/netgraph/netflow/ |
| H A D | netflow_v9.c | 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() 424 (fe->sent_packets >= priv->templ_packets + fe->templ_last_pkt)) { in get_export9_dgram() 427 fe->templ_last_pkt = fe->sent_packets; in get_export9_dgram() 453 mtx_lock(&fe->export9_mtx); in return_export9_dgram() 455 fe->exp.item9 = item; in return_export9_dgram() [all …]
|
| H A D | netflow.c | 179 item = fe->exp.item; in get_export_dgram() 180 fe->exp.item = NULL; in get_export_dgram() 217 fe->exp.item = item; in return_export_dgram() 575 if (fe != NULL) in ng_netflow_fib_init() 584 fe->fib = fib; in ng_netflow_fib_init() 585 fe->domain_id = fib; in ng_netflow_fib_init() 612 fib_export_p fe; in ng_netflow_cache_flush() local 661 export_send(priv, fe, fe->exp.item, NG_QUEUE); in ng_netflow_cache_flush() 664 export9_send(priv, fe, fe->exp.item9, in ng_netflow_cache_flush() 715 r.fib = fe->fib; in ng_netflow_flow_add() [all …]
|
| /freebsd-12.1/contrib/xz/src/liblzma/common/ |
| H A D | filter_encoder.c | 235 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() 279 if (fe == NULL) in lzma_properties_encode() 282 if (fe->props_encode == NULL) in lzma_properties_encode() [all …]
|
| /freebsd-12.1/sys/cam/ctl/ |
| H A D | ctl_frontend.c | 73 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() 115 if (fe->shutdown != NULL) { in ctl_frontend_deregister() 116 if ((error = fe->shutdown()) != 0) { in ctl_frontend_deregister() 118 fe->name, error); in ctl_frontend_deregister() 134 struct ctl_frontend *fe; in ctl_frontend_find() local [all …]
|
| H A D | ctl_frontend.h | 265 int ctl_frontend_register(struct ctl_frontend *fe); 271 int ctl_frontend_deregister(struct ctl_frontend *fe); 299 void ctl_port_online(struct ctl_port *fe); 304 void ctl_port_offline(struct ctl_port *fe);
|
| /freebsd-12.1/sys/net/ |
| H A D | if_vxlan.c | 601 if (fe != NULL) { in vxlan_ftable_update_locked() 630 if (fe == NULL) in vxlan_ftable_update_locked() 716 fe = malloc(sizeof(*fe), M_VXLAN, M_ZERO | M_NOWAIT); in vxlan_ftable_entry_alloc() 718 return (fe); in vxlan_ftable_entry_alloc() 725 free(fe, M_VXLAN); in vxlan_ftable_entry_free() 799 return (fe); in vxlan_ftable_entry_lookup() 820 fe->vxlfe_flags); in vxlan_ftable_entry_dump() 2133 if (fe == NULL) in vxlan_ctrl_ftable_entry_add() 2163 if (fe != NULL) { in vxlan_ctrl_ftable_entry_rem() 2459 fe = NULL; in vxlan_transmit() [all …]
|
| /freebsd-12.1/contrib/netbsd-tests/ipf/input/ |
| H A D | f24 | 3 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.1/crypto/openssl/crypto/ec/ |
| H A D | curve25519.c | 945 static void fe_copy(fe h, const fe f) in fe_copy() 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() 1397 static void fe_invert(fe out, const fe z) in fe_invert() 1502 static void fe_neg(fe h, const fe f) in fe_neg() 1574 static void fe_sq2(fe h, const fe f) in fe_sq2() 1717 static void fe_pow22523(fe out, const fe z) in fe_pow22523() 1789 fe X; [all …]
|