/freebsd-10.0-release/lib/libc/sparc64/fpu/ |
H A D | fpu_qp.c | 41 struct fpemu fe; \ 43 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); \ 44 fe.fe_cx = 0; \ 45 fe.fe_f1.fp_sign = a[0] >> 31; \ 46 fe.fe_f1.fp_sticky = 0; \ 47 fe.fe_f1.fp_class = __fpu_qtof(&fe.fe_f1, a[0], a[1], a[2], a[3]); \ 48 fe.fe_f2.fp_sign = b[0] >> 31; \ 49 fe.fe_f2.fp_sticky = 0; \ 50 fe 124 struct fpemu fe; local [all...] |
H A D | fpu.c | 129 struct fpemu fe; local 156 fe.fe_fsr = fsr & ~FSR_FTT_MASK; 162 sig = __fpu_execute(uf, &fe, insn, tstate); 165 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); 209 __fpu_mov(struct fpemu *fe, int type, int rd, int rs2, u_int32_t nand, argument 228 __fpu_ccmov(struct fpemu *fe, int type, int rd, int rs2, argument 233 __fpu_mov(fe, type, rd, rs2, 0, 0); 237 __fpu_cmpck(struct fpemu *fe) argument 246 cx = fe->fe_cx; 247 fsr = fe 269 __fpu_execute(struct utrapframe *uf, struct fpemu *fe, u_int32_t insn, u_long tstate) argument [all...] |
H A D | fpu_implode.c | 83 fpround(struct fpemu *fe, struct fpn *fp) argument 104 fe->fe_cx |= FSR_NX; /* inexact */ 107 switch (FSR_GET_RD(fe->fe_fsr)) { 163 toinf(struct fpemu *fe, int sign) argument 168 switch (FSR_GET_RD(fe->fe_fsr)) { 196 __fpu_ftoi(fe, fp) 197 struct fpemu *fe; 223 fe->fe_cx |= FSR_NX; 233 fe->fe_cx = (fe [all...] |
H A D | fpu_compare.c | 93 __fpu_compare(struct fpemu *fe, int cmpe, int fcc) argument 99 a = &fe->fe_f1; 100 b = &fe->fe_f2; 109 fe->fe_cx = FSR_NV; 168 a = __fpu_sub(fe); 175 fe->fe_fsr = (fe->fe_fsr & fcc_nmask[fcc]) |
|
H A D | fpu_emu.h | 162 #define __fpu_sub(fe) (ISNAN(&(fe)->fe_f2) ? 0 : ((fe)->fe_f2.fp_sign ^= 1), \ 163 __fpu_add(fe))
|
H A D | fpu_div.c | 155 __fpu_div(fe) 156 struct fpemu *fe; 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) 104 struct fpemu *fe; 106 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2; 132 return (__fpu_newnan(fe));
|
H A D | fpu_add.c | 64 __fpu_add(fe) 65 struct fpemu *fe; 67 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2, *r; 96 return (__fpu_newnan(fe)); 99 rd = FSR_GET_RD(fe->fe_fsr); 116 r = &fe->fe_f3;
|
/freebsd-10.0-release/sys/cam/ctl/ |
H A D | ctl_frontend.c | 69 ctl_frontend_register(struct ctl_frontend *fe, int master_shelf) argument 83 fe->targ_port = -1; 99 (fe->port_type != CTL_PORT_IOCTL) ? 101 fe->num_requested_ctl_io + 20, &pool); 103 fe->targ_port = -1; 113 //fe->targ_port = port_num; 114 fe->targ_port = port_num + (master_shelf!=0 ? 0 : CTL_MAX_PORTS); 115 fe->max_initiators = CTL_MAX_INIT_PER_PORT; 116 STAILQ_INSERT_TAIL(&control_softc->fe_list, fe, links); 118 control_softc->ctl_ports[port_num] = fe; 128 ctl_frontend_deregister(struct ctl_frontend *fe) argument 160 ctl_frontend_set_wwns(struct ctl_frontend *fe, int wwnn_valid, uint64_t wwnn, int wwpn_valid, uint64_t wwpn) argument 171 ctl_frontend_online(struct ctl_frontend *fe) argument 179 ctl_frontend_offline(struct ctl_frontend *fe) argument [all...] |
H A D | ctl_frontend.h | 240 int ctl_frontend_register(struct ctl_frontend *fe, int master_SC); 246 int ctl_frontend_deregister(struct ctl_frontend *fe); 251 void ctl_frontend_set_wwns(struct ctl_frontend *fe, int wwnn_valid, 257 void ctl_frontend_online(struct ctl_frontend *fe); 262 void ctl_frontend_offline(struct ctl_frontend *fe);
|
H A D | ctl_frontend_cam_sim.c | 78 struct ctl_frontend fe; member in struct:cfcs_softc 146 struct ctl_frontend *fe; local 157 fe = &softc->fe; 159 fe->port_type = CTL_PORT_INTERNAL; 161 fe->num_requested_ctl_io = 4096; 163 fe->port_name = softc->port_name; 164 fe->port_online = cfcs_online; 165 fe->port_offline = cfcs_offline; 166 fe [all...] |
/freebsd-10.0-release/sys/powerpc/fpu/ |
H A D | fpu_emu.c | 189 static struct fpemu fe; local 194 fe.fe_fpstate = fpf; 195 fe.fe_cx = 0; 218 switch (fpu_execute(frame, &fe, &insn)) { 263 * FBfcc or STF, for instance). On return, fe->fe_fs->fs_fsr will be 270 fpu_execute(struct trapframe *tf, struct fpemu *fe, union instr *insn) argument 282 fs = fe->fe_fpstate; 283 fe->fe_fpscr = ((int *)&fs->fpscr)[1]; 393 fpu_explode(fe, fp = &fe [all...] |
H A D | fpu_implode.c | 80 round(struct fpemu *fe, struct fpn *fp) argument 102 fe->fe_cx |= FPSCR_XX|FPSCR_FI; /* inexact */ 105 switch ((fe->fe_fpscr) & FPSCR_RN) { 138 fe->fe_cx |= FPSCR_FR; 164 toinf(struct fpemu *fe, int sign) argument 169 switch ((fe->fe_fpscr) & FPSCR_RN) { 189 fe->fe_cx |= FPSCR_OX; 200 fpu_ftoi(struct fpemu *fe, struct fpn *fp) argument 226 fe->fe_cx |= FPSCR_UX; 236 fe 247 fpu_ftox(struct fpemu *fe, struct fpn *fp, u_int *res) argument 293 fpu_ftos(struct fpemu *fe, struct fpn *fp) argument 374 fpu_ftod(struct fpemu *fe, struct fpn *fp, u_int *res) argument 429 fpu_implode(struct fpemu *fe, struct fpn *fp, int type, u_int *space) argument [all...] |
H A D | fpu_compare.c | 78 fpu_compare(struct fpemu *fe, int ordered) argument 83 a = &fe->fe_f1; 84 b = &fe->fe_f2; 85 r = &fe->fe_f3; 97 if (fe->fe_fpscr & FPSCR_VE || ISQNAN(a) || ISQNAN(b)) 153 fpu_sub(fe); 161 fe->fe_cx = cc;
|
H A D | fpu_div.c | 155 fpu_div(struct fpemu *fe) argument 157 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2; 184 fe->fe_cx |= FPSCR_VXSNAN; 194 fe->fe_cx |= FPSCR_VXIDI; 195 return (fpu_newnan(fe)); 201 fe->fe_cx |= FPSCR_ZX; 203 fe->fe_cx |= FPSCR_VXZDZ; 204 return (fpu_newnan(fe)); 218 fe [all...] |
H A D | fpu_mul.c | 104 fpu_mul(struct fpemu *fe) argument 106 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2; 135 fe->fe_cx |= FPSCR_VXSNAN; 141 fe->fe_cx |= FPSCR_VXIMZ; 142 return (fpu_newnan(fe));
|
H A D | fpu_add.c | 63 fpu_add(struct fpemu *fe) argument 65 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2, *r; 95 fe->fe_cx |= FPSCR_VXSNAN; 101 fe->fe_cx |= FPSCR_VXISI; 102 return (fpu_newnan(fe)); 107 rd = ((fe->fe_fpscr) & FPSCR_RN); 127 r = &fe->fe_f3;
|
H A D | fpu_emu.h | 155 #define fpu_sub(fe) ((fe)->fe_f2.fp_sign ^= 1, fpu_add(fe))
|
/freebsd-10.0-release/lib/libc/gen/ |
H A D | pututxline.c | 73 struct futx fe; local 87 while (fread(&fe, sizeof(fe), 1, fp) == 1) { 88 switch (fe.fu_type) { 97 if (memcmp(fu->fu_id, fe.fu_id, sizeof(fe.fu_id)) == 99 ret = fseeko(fp, -(off_t)sizeof(fe), SEEK_CUR); 102 if (fe.fu_type != DEAD_PROCESS) 114 partial -= (off_t)sizeof(fe); 143 struct futx fe; local 201 struct futx fe; local [all...] |
/freebsd-10.0-release/contrib/xz/src/liblzma/common/ |
H A D | filter_encoder.c | 236 const lzma_filter_encoder *const fe 238 if (fe->chunk_size != NULL) { 240 = fe->chunk_size(filters[i].options); 257 const lzma_filter_encoder *const fe = encoder_find(filter->id); local 258 if (fe == NULL) { 267 if (fe->props_size_get == NULL) { 269 *size = fe->props_size_fixed; 273 return fe->props_size_get(size, filter->options); 280 const lzma_filter_encoder *const fe = encoder_find(filter->id); local 281 if (fe [all...] |
/freebsd-10.0-release/sys/netgraph/netflow/ |
H A D | netflow_v9.c | 199 export9_send(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, int flags) argument 223 header->seq_num = htonl(atomic_fetchadd_32(&fe->flow9_seq, 1)); 225 header->source_id = htonl(fe->domain_id); 369 get_export9_dgram(priv_p priv, fib_export_p fe, struct netflow_v9_packet_opt **tt) argument 374 mtx_lock(&fe->export9_mtx); 375 if (fe->exp.item9 != NULL) { 376 item = fe->exp.item9; 377 fe->exp.item9 = NULL; 378 t = fe->exp.item9_opt; 379 fe 444 return_export9_dgram(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, int flags) argument [all...] |
H A D | netflow.c | 204 get_export_dgram(priv_p priv, fib_export_p fe) argument 208 mtx_lock(&fe->export_mtx); 209 if (fe->exp.item != NULL) { 210 item = fe->exp.item; 211 fe->exp.item = NULL; 213 mtx_unlock(&fe->export_mtx); 238 return_export_dgram(priv_p priv, fib_export_p fe, item_p item, int flags) argument 246 mtx_lock(&fe->export_mtx); 247 if (fe->exp.item == NULL) { 248 fe 261 expire_flow(priv_p priv, fib_export_p fe, struct flow_entry *fle, int flags) argument 568 fib_export_p fe = priv_to_fib(priv, fib); local 609 fib_export_p fe; local 674 ng_netflow_flow_add(priv_p priv, fib_export_p fe, struct ip *ip, caddr_t upper_ptr, uint8_t upper_proto, uint8_t flags, unsigned int src_if_index) argument 803 ng_netflow_flow6_add(priv_p priv, fib_export_p fe, struct ip6_hdr *ip6, caddr_t upper_ptr, uint8_t upper_proto, uint8_t flags, unsigned int src_if_index) argument 1036 export_send(priv_p priv, fib_export_p fe, item_p item, int flags) argument [all...] |
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | filter.c | 245 struct filterent fe; local 271 memset(&fe, '\0', sizeof fe); 292 fe.f_action = action; 298 fe.f_invert = 1; 303 ncprange_init(&fe.f_src); 304 ncprange_init(&fe.f_dst); 313 ncprange_aton(&fe.f_src, ncp, *argv)) { 314 family = ncprange_family(&fe.f_src); 315 if (!ncprange_getwidth(&fe [all...] |
/freebsd-10.0-release/contrib/lukemftpd/src/ |
H A D | cmds.c | 593 fact_modify(const char *fact, FILE *fd, factelem *fe) argument 597 t = gmtime(&(fe->stat->st_mtime)); 605 fact_perm(const char *fact, FILE *fd, factelem *fe) argument 610 if (fe->stat->st_uid == geteuid()) { 611 rok = ((fe->stat->st_mode & S_IRUSR) != 0); 612 wok = ((fe->stat->st_mode & S_IWUSR) != 0); 613 xok = ((fe->stat->st_mode & S_IXUSR) != 0); 614 } else if (matchgroup(fe->stat->st_gid)) { 615 rok = ((fe->stat->st_mode & S_IRGRP) != 0); 616 wok = ((fe 731 fact_size(const char *fact, FILE *fd, factelem *fe) argument 739 fact_type(const char *fact, FILE *fd, factelem *fe) argument 782 fact_unique(const char *fact, FILE *fd, factelem *fe) argument 807 mlsname(FILE *fp, factelem *fe) argument [all...] |
/freebsd-10.0-release/sys/modules/fe/ |
H A D | Makefile | 3 .PATH: ${.CURDIR}/../../dev/fe
|