| /linux/arch/powerpc/kernel/ |
| H A D | vecemu.c | 41 int exp, pwr; in eexp2() local 45 exp = ((s >> 23) & 0xff) - 127; in eexp2() 46 if (exp > 7) { in eexp2() 48 if (exp == 128 && (s & 0x7fffff) != 0) in eexp2() 53 if (exp < -23) in eexp2() 58 if (exp > 0) in eexp2() 59 pwr <<= exp; in eexp2() 61 pwr >>= -exp; in eexp2() 66 exp = (pwr >> 23) + 126; in eexp2() 67 if (exp >= 254) in eexp2() [all …]
|
| /linux/arch/m68k/math-emu/ |
| H A D | fp_arith.c | 20 .exp = 0x7fff, 26 .exp = 0x7fff, 92 if ((diff = dest->exp - src->exp) > 0) in fp_fadd() 147 int exp; in fp_fmul() local 174 dest->exp = 0; in fp_fmul() 181 exp = dest->exp + src->exp - 0x3ffe; in fp_fmul() 187 exp -= fp_overnormalize(dest); in fp_fmul() 189 exp -= fp_overnormalize(src); in fp_fmul() 197 exp--; in fp_fmul() 202 if (exp >= 0x7fff) { in fp_fmul() [all …]
|
| H A D | fp_log.c | 23 .exp = 0x3fff, 29 int i, exp; in fp_fsqrt() local 57 exp = dest->exp; in fp_fsqrt() 58 dest->exp = 0x3FFF; in fp_fsqrt() 59 if (!(exp & 1)) /* lowest bit of exponent is set */ in fp_fsqrt() 60 dest->exp++; in fp_fsqrt() 72 dest->exp--; /* * 1/2 */ in fp_fsqrt() 91 dest->exp--; in fp_fsqrt() 94 dest->exp += (exp - 0x3FFF) / 2; in fp_fsqrt() 184 fp_conv_long2ext(dest, (int)dest->exp - 0x3FFF); in fp_fgetexp() [all …]
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_expect.c | 48 struct nf_conntrack_expect *exp; in nf_ct_expectation_gc() local 55 hlist_for_each_entry_safe(exp, next, &master_help->expectations, lnode) { in nf_ct_expectation_gc() 56 if (!nf_ct_exp_is_expired(exp)) in nf_ct_expectation_gc() 59 nf_ct_unlink_expect(exp); in nf_ct_expectation_gc() 65 void nf_ct_unlink_expect_report(struct nf_conntrack_expect *exp, in nf_ct_unlink_expect_report() argument 68 struct nf_conn_help *master_help = nfct_help(exp->master); in nf_ct_unlink_expect_report() 69 struct net *net = nf_ct_exp_net(exp); in nf_ct_unlink_expect_report() 74 hlist_del_rcu(&exp->hnode); in nf_ct_unlink_expect_report() 79 hlist_del_rcu(&exp->lnode); in nf_ct_unlink_expect_report() 81 master_help->expecting[exp->class]--; in nf_ct_unlink_expect_report() [all …]
|
| H A D | nf_conntrack_broadcast.c | 26 struct nf_conntrack_expect *exp; in nf_conntrack_broadcast_help() local 63 exp = nf_ct_expect_alloc(ct); in nf_conntrack_broadcast_help() 64 if (exp == NULL) in nf_conntrack_broadcast_help() 67 exp->master_tuple = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in nf_conntrack_broadcast_help() 68 exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_conntrack_broadcast_help() 72 exp->mask.src.u3.ip = mask; in nf_conntrack_broadcast_help() 73 exp->mask.src.u.udp.port = htons(0xFFFF); in nf_conntrack_broadcast_help() 75 exp->expectfn = NULL; in nf_conntrack_broadcast_help() 76 exp->flags = NF_CT_EXPECT_PERMANENT; in nf_conntrack_broadcast_help() 77 exp->class = NF_CT_EXPECT_CLASS_DEFAULT; in nf_conntrack_broadcast_help() [all …]
|
| H A D | nf_nat_amanda.c | 34 struct nf_conntrack_expect *exp) in help() argument 40 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in help() 41 exp->dir = IP_CT_DIR_ORIGINAL; in help() 45 exp->expectfn = nf_nat_follow_master; in help() 48 port = nf_nat_exp_find_port(exp, ntohs(exp->saved_proto.tcp.port)); in help() 59 nf_ct_unexpect_related(exp); in help()
|
| H A D | nf_nat_irc.c | 38 struct nf_conntrack_expect *exp) in help() argument 47 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in help() 48 exp->dir = IP_CT_DIR_REPLY; in help() 49 exp->expectfn = nf_nat_follow_master; in help() 51 port = nf_nat_exp_find_port(exp, in help() 52 ntohs(exp->saved_proto.tcp.port)); in help() 79 nf_ct_unexpect_related(exp); in help()
|
| H A D | nf_conntrack_h323_main.c | 295 struct nf_conntrack_expect *exp; in expect_t120() local 304 if ((exp = nf_ct_expect_alloc(ct)) == NULL) in expect_t120() 306 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_t120() 310 exp->flags = NF_CT_EXPECT_PERMANENT; /* Accept multiple channels */ in expect_t120() 321 dataoff, taddr, port, exp); in expect_t120() 323 if (nf_ct_expect_related(exp, 0) == 0) { in expect_t120() 325 nf_ct_dump_tuple(&exp->tuple); in expect_t120() 330 nf_ct_expect_put(exp); in expect_t120() 628 struct nf_conntrack_expect *exp; in expect_h245() local 637 if ((exp = nf_ct_expect_alloc(ct)) == NULL) in expect_h245() [all …]
|
| H A D | nf_conntrack_tftp.c | 39 struct nf_conntrack_expect *exp; in tftp_help() local 56 exp = nf_ct_expect_alloc(ct); in tftp_help() 57 if (exp == NULL) { in tftp_help() 62 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, in tftp_help() 68 nf_ct_dump_tuple(&exp->tuple); in tftp_help() 72 ret = nf_nat_tftp(skb, ct, ctinfo, exp); in tftp_help() 73 else if (nf_ct_expect_related(exp, 0) != 0) { in tftp_help() 77 nf_ct_expect_put(exp); in tftp_help()
|
| H A D | nf_nat_ftp.c | 70 struct nf_conntrack_expect *exp) in nf_nat_ftp() argument 82 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nf_nat_ftp() 83 exp->dir = !dir; in nf_nat_ftp() 87 exp->expectfn = nf_nat_follow_master; in nf_nat_ftp() 89 port = nf_nat_exp_find_port(exp, ntohs(exp->saved_proto.tcp.port)); in nf_nat_ftp() 110 nf_ct_unexpect_related(exp); in nf_nat_ftp()
|
| H A D | nf_conntrack_netlink.c | 2875 struct nf_conntrack_expect *exp; in ctnetlink_glue_attach_expect() 2901 exp = ctnetlink_alloc_expect((const struct nlattr * const *)cda, ct, in ctnetlink_glue_seqadj() 2903 if (IS_ERR(exp)) in ctnetlink_glue_seqadj() 2904 return PTR_ERR(exp); in ctnetlink_glue_seqadj() 2906 err = nf_ct_expect_related_report(exp, portid, report, 0); in ctnetlink_glue_seqadj() 2907 nf_ct_expect_put(exp); in ctnetlink_glue_seqadj() 2994 static __be32 nf_expect_get_id(const struct nf_conntrack_expect *exp) in nf_expect_get_id() 3001 a = (unsigned long)exp; 3002 b = (unsigned long)exp->helper; 3003 c = (unsigned long)exp 2864 struct nf_conntrack_expect *exp; ctnetlink_glue_attach_expect() local 2983 nf_expect_get_id(const struct nf_conntrack_expect * exp) nf_expect_get_id() argument 3004 ctnetlink_exp_dump_expect(struct sk_buff * skb,const struct nf_conntrack_expect * exp) ctnetlink_exp_dump_expect() argument 3069 ctnetlink_exp_fill_info(struct sk_buff * skb,u32 portid,u32 seq,int event,const struct nf_conntrack_expect * exp) ctnetlink_exp_fill_info() argument 3096 struct nf_conntrack_expect *exp = item->exp; ctnetlink_expect_event() local 3143 ctnetlink_exp_id(const struct nf_conntrack_expect * exp) ctnetlink_exp_id() argument 3160 struct nf_conntrack_expect *exp; ctnetlink_exp_dump_table() local 3208 struct nf_conntrack_expect *exp; ctnetlink_exp_ct_dump_table() local 3317 struct nf_conntrack_expect *exp; ctnetlink_get_expect() local 3390 expect_iter_name(struct nf_conntrack_expect * exp,void * data) expect_iter_name() argument 3403 expect_iter_all(struct nf_conntrack_expect * exp,void * data) expect_iter_all() argument 3413 struct nf_conntrack_expect *exp; ctnetlink_del_expect() local 3490 ctnetlink_parse_expect_nat(const struct nlattr * attr,struct nf_conntrack_expect * exp,u_int8_t u3) ctnetlink_parse_expect_nat() argument 3531 struct nf_conntrack_expect *exp; ctnetlink_alloc_expect() local 3606 struct nf_conntrack_expect *exp; ctnetlink_create_expect() local 3652 struct nf_conntrack_expect *exp; ctnetlink_new_expect() local [all...] |
| H A D | nf_nat_tftp.c | 26 struct nf_conntrack_expect *exp) in help() argument 28 exp->saved_proto.udp.port in help() 30 exp->dir = IP_CT_DIR_REPLY; in help() 31 exp->expectfn = nf_nat_follow_master; in help() 32 if (nf_ct_expect_related(exp, 0) != 0) { in help()
|
| /linux/fs/nfsd/ |
| H A D | nfsfh.c | 30 * if not, require that we can walk up to exp->ex_dentry 35 struct svc_export *exp = expv; in nfsd_acceptable() 40 if (exp->ex_flags & NFSEXP_NOSUBTREECHECK) in nfsd_acceptable() 44 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable() 57 if (tdentry != exp->ex_path.dentry) in nfsd_acceptable() 59 rv = (tdentry == exp->ex_path.dentry); in nfsd_acceptable() 95 struct svc_export *exp) in nfsd_originating_port_ok() 97 if (nfsexp_flags(cred, exp) & NFSEXP_INSECURE_PORT) in nfsd_originating_port_ok() 107 struct svc_export *exp) in nfsd_setuser_and_check_port() 110 if (rqstp && !nfsd_originating_port_ok(rqstp, cred, exp)) { in nfsd_setuser_and_check_port() 33 struct svc_export *exp = expv; nfsd_acceptable() local 93 nfsd_originating_port_ok(struct svc_rqst * rqstp,struct svc_cred * cred,struct svc_export * exp) nfsd_originating_port_ok() argument 105 nfsd_setuser_and_check_port(struct svc_rqst * rqstp,struct svc_cred * cred,struct svc_export * exp) nfsd_setuser_and_check_port() argument 123 check_pseudo_root(struct dentry * dentry,struct svc_export * exp) check_pseudo_root() argument 207 struct svc_export *exp; nfsd_set_fh_dentry() local 391 struct svc_export *exp = NULL; __fh_verify() local 551 _fh_update(struct svc_fh * fhp,struct svc_export * exp,struct dentry * dentry) _fh_update() argument 576 is_root_export(struct svc_export * exp) is_root_export() argument 581 exp_sb(struct svc_export * exp) exp_sb() argument 586 fsid_type_ok_for_exp(u8 fsid_type,struct svc_export * exp) fsid_type_ok_for_exp() argument 611 set_version_and_fsid_type(struct svc_fh * fhp,struct svc_export * exp,struct svc_fh * ref_fh) set_version_and_fsid_type() argument 666 fh_compose(struct svc_fh * fhp,struct svc_export * exp,struct dentry * dentry,struct svc_fh * ref_fh) fh_compose() argument 870 struct svc_export * exp = fhp->fh_export; fh_put() local 900 fsid_source_fh(const struct knfsd_fh * fh,struct svc_export * exp) fsid_source_fh() argument [all...] |
| H A D | export.c | 629 struct svc_export *exp = container_of(rcu_head, struct svc_export, in svc_export_release() 632 nfsd4_fslocs_free(&exp->ex_fslocs); in svc_export_release() 633 export_stats_destroy(exp->ex_stats); in svc_export_release() 634 kfree(exp->ex_stats); in svc_export_release() 635 kfree(exp->ex_uuid); in svc_export_release() 636 kfree(exp); 641 struct svc_export *exp = container_of(ref, struct svc_export, h.ref); in svc_export_put() 643 path_put(&exp->ex_path); in svc_export_put() 644 auth_domain_put(exp->ex_client); in svc_export_put() 645 call_rcu(&exp in svc_export_put() 627 struct svc_export *exp = container_of(rcu_head, struct svc_export, svc_export_release() local 639 struct svc_export *exp = container_of(ref, struct svc_export, h.ref); svc_export_put() local 713 struct svc_export *exp; nfsd_nl_svc_export_get_reqs_dumpit() local 847 struct svc_export exp = {}, *expp; nfsd_nl_parse_one_export() local 1092 struct svc_export *exp = container_of(h, struct svc_export, h); svc_export_request() local 1221 secinfo_parse(char ** mesg,char * buf,struct svc_export * exp) secinfo_parse() argument 1262 secinfo_parse(char ** mesg,char * buf,struct svc_export * exp) secinfo_parse() argument 1265 xprtsec_parse(char ** mesg,char * buf,struct svc_export * exp) xprtsec_parse() argument 1315 struct svc_export exp = {}, *expp; svc_export_parse() local 1473 struct svc_export *exp; svc_export_show() local 1611 svc_export_hash(struct svc_export * exp) svc_export_hash() argument 1622 svc_export_lookup(struct svc_export * exp) svc_export_lookup() argument 1677 struct svc_export *exp, key; exp_get_by_name() local 1705 struct svc_export *exp = exp_get_by_name(cd, clp, path, NULL); exp_parent() local 1729 struct svc_export *exp; exp_rootfh() local 1774 struct svc_export *exp; exp_find() local 1803 check_xprtsec_policy(struct svc_export * exp,struct svc_rqst * rqstp) check_xprtsec_policy() argument 1840 check_security_flavor(struct svc_export * exp,struct svc_rqst * rqstp,bool may_bypass_gss) check_security_flavor() argument 1899 check_nfsd_access(struct svc_export * exp,struct svc_rqst * rqstp,bool may_bypass_gss) check_nfsd_access() argument 1922 struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT); rqst_exp_get_by_name() local 1971 struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT); rqst_exp_find() local 2002 struct svc_export *exp = rqst_exp_get_by_name(rqstp, path); rqst_exp_parent() local 2034 struct svc_export *exp; exp_pseudoroot() local 2108 show_secinfo(struct seq_file * m,struct svc_export * exp) show_secinfo() argument 2160 struct svc_export *exp = container_of(cp, struct svc_export, h); e_show() local [all...] |
| H A D | auth.c | 9 int nfsexp_flags(struct svc_cred *cred, struct svc_export *exp) in nfsexp_flags() argument 12 struct exp_flavor_info *end = exp->ex_flavors + exp->ex_nflavors; in nfsexp_flags() 14 for (f = exp->ex_flavors; f < end; f++) { in nfsexp_flags() 18 return exp->ex_flags; in nfsexp_flags() 22 int nfsd_setuser(struct svc_cred *cred, struct svc_export *exp) in nfsd_setuser() argument 28 int flags = nfsexp_flags(cred, exp); in nfsd_setuser() 42 new->fsuid = exp->ex_anon_uid; in nfsd_setuser() 43 new->fsgid = exp->ex_anon_gid; in nfsd_setuser() 49 new->fsuid = exp->ex_anon_uid; in nfsd_setuser() 51 new->fsgid = exp->ex_anon_gid; in nfsd_setuser() [all …]
|
| H A D | stats.h | 55 struct svc_export *exp) in nfsd_stats_fh_stale_inc() argument 58 if (exp && exp->ex_stats) in nfsd_stats_fh_stale_inc() 59 percpu_counter_inc(&exp->ex_stats->counter[EXP_STATS_FH_STALE]); in nfsd_stats_fh_stale_inc() 73 struct svc_export *exp, s64 amount) in nfsd_stats_io_read_add() argument 76 if (exp && exp->ex_stats) in nfsd_stats_io_read_add() 77 percpu_counter_add_local(&exp->ex_stats->counter[EXP_STATS_IO_READ], in nfsd_stats_io_read_add() 92 struct svc_export *exp, s64 amount) in nfsd_stats_io_write_add() argument 95 if (exp && exp->ex_stats) in nfsd_stats_io_write_add() 96 percpu_counter_add_local(&exp->ex_stats->counter[EXP_STATS_IO_WRITE], in nfsd_stats_io_write_add()
|
| /linux/tools/perf/tests/shell/ |
| H A D | stat+csv_output.sh | 30 local exp=0 33 in "--no-args") exp=6 34 ;; "--system-wide") exp=6 35 ;; "--event") exp=6 36 ;; "--interval") exp=7 37 ;; "--per-thread") exp=7 38 ;; "--system-wide-no-aggr") exp=7 39 [ "$(uname -m)" = "s390x" ] && exp='^[6-7]$' 40 ;; "--per-core") exp=8 41 ;; "--per-socket") exp [all...] |
| /linux/drivers/media/usb/gspca/stv06xx/ |
| H A D | stv06xx_hdcs.c | 77 } exp; member 177 u8 exp[14]; in hdcs_set_exposure() local 181 ct = hdcs->exp.cto + hdcs->psmp + (HDCS_ADC_START_SIG_DUR + 2); in hdcs_set_exposure() 182 cp = hdcs->exp.cto + (hdcs->w * ct / 2); in hdcs_set_exposure() 185 rp = hdcs->exp.rs + cp; in hdcs_set_exposure() 195 srowexp = hdcs->w - (cycles + hdcs->exp.er + 13) / ct; in hdcs_set_exposure() 197 mnct = (hdcs->exp.er + 12 + ct - 1) / ct; in hdcs_set_exposure() 201 srowexp = cp - hdcs->exp.er - 6 - cycles; in hdcs_set_exposure() 203 mnct = (hdcs->exp.er + 5 + ct - 1) / ct; in hdcs_set_exposure() 213 exp[0] = HDCS20_CONTROL; in hdcs_set_exposure() [all …]
|
| /linux/arch/sh/kernel/cpu/sh2a/ |
| H A D | fpu.c | 98 int exp, w; in denormal_mulf() local 105 exp = (iy & 0x7f800000) >> 23; in denormal_mulf() 114 exp += w - 126 - 46; in denormal_mulf() 115 if (exp > 0) in denormal_mulf() 116 ix = ((int) (m >> (w - 23)) & 0x007fffff) | (exp << 23); in denormal_mulf() 117 else if (exp + 22 >= 0) in denormal_mulf() 118 ix = (int) (m >> (w - 22 - exp)) & 0x007fffff; in denormal_mulf() 165 int exp, w; in denormal_muld() local 172 exp = (iy & 0x7ff0000000000000LL) >> 52; in denormal_muld() 186 exp += w - 1022 - 52 * 2; in denormal_muld() [all …]
|
| /linux/net/ipv4/netfilter/ |
| H A D | nf_nat_h323.c | 282 struct nf_conntrack_expect *exp) in nat_t120() argument 288 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nat_t120() 289 exp->expectfn = nf_nat_follow_master; in nat_t120() 290 exp->dir = !dir; in nat_t120() 292 nated_port = nf_nat_exp_find_port(exp, nated_port); in nat_t120() 302 nf_ct_unexpect_related(exp); in nat_t120() 307 &exp->tuple.src.u3.ip, in nat_t120() 308 ntohs(exp->tuple.src.u.tcp.port), in nat_t120() 309 &exp->tuple.dst.u3.ip, in nat_t120() 310 ntohs(exp->tuple.dst.u.tcp.port)); in nat_t120() [all …]
|
| /linux/include/net/netfilter/ |
| H A D | nf_conntrack_expect.h | 76 static inline bool nf_ct_exp_is_expired(const struct nf_conntrack_expect *exp) in nf_ct_exp_is_expired() argument 78 if (READ_ONCE(exp->flags) & NF_CT_EXPECT_DEAD) in nf_ct_exp_is_expired() 81 return (__s32)(READ_ONCE(exp->timeout) - nfct_time_stamp) <= 0; in nf_ct_exp_is_expired() 84 static inline struct net *nf_ct_exp_net(struct nf_conntrack_expect *exp) in nf_ct_exp_net() argument 86 return read_pnet(&exp->net); in nf_ct_exp_net() 136 void nf_ct_unlink_expect_report(struct nf_conntrack_expect *exp, 138 static inline void nf_ct_unlink_expect(struct nf_conntrack_expect *exp) in nf_ct_unlink_expect() argument 140 nf_ct_unlink_expect_report(exp, 0, 0); in nf_ct_unlink_expect() 144 void nf_ct_unexpect_related(struct nf_conntrack_expect *exp); 158 void nf_ct_expect_put(struct nf_conntrack_expect *exp);
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | kptr_xchg_inline.c | 12 struct bpf_insn exp; in test_kptr_xchg_inline() local 43 exp = BPF_MOV64_REG(BPF_REG_0, BPF_REG_2); in test_kptr_xchg_inline() 44 if (!ASSERT_OK(memcmp(&insn[3], &exp, sizeof(exp)), "mov")) in test_kptr_xchg_inline() 47 exp = BPF_ATOMIC_OP(BPF_DW, BPF_XCHG, BPF_REG_1, BPF_REG_0, 0); in test_kptr_xchg_inline() 48 if (!ASSERT_OK(memcmp(&insn[4], &exp, sizeof(exp)), "xchg")) in test_kptr_xchg_inline()
|
| H A D | core_reloc.c | 428 struct core_reloc_type_id_output *exp = (void *)test->output; in setup_type_id_case_local() 441 exp->local_anon_struct = -1; in setup_type_id_case_local() 442 exp->local_anon_union = -1; in setup_type_id_case_local() 443 exp->local_anon_enum = -1; in setup_type_id_case_local() 444 exp->local_anon_func_proto_ptr = -1; in setup_type_id_case_local() 445 exp->local_anon_void_ptr = -1; in setup_type_id_case_local() 446 exp->local_anon_arr = -1; in setup_type_id_case_local() 458 exp->local_anon_struct = i; in setup_type_id_case_local() 462 exp->local_anon_union = i; in setup_type_id_case_local() 466 exp in setup_type_id_case_local() 426 struct core_reloc_type_id_output *exp = (void *)test->output; setup_type_id_case_local() local 497 struct core_reloc_type_id_output *exp = (void *)test->output; setup_type_id_case_success() local 521 struct core_reloc_type_id_output *exp = (void *)test->output; setup_type_id_case_failure() local 541 struct core_reloc_module_output *exp = (void *)test->output; __trigger_module_test_read() local [all...] |
| /linux/drivers/media/rc/img-ir/ |
| H A D | img-ir-sharp.c | 14 unsigned int addr, cmd, exp, chk; in img_ir_sharp_scancode() local 21 exp = (raw >> 13) & 0x1; in img_ir_sharp_scancode() 25 if (!exp) in img_ir_sharp_scancode() 40 unsigned int addr, cmd, exp = 0, chk = 0; in img_ir_sharp_filter() local 49 exp = 1; in img_ir_sharp_filter() 57 exp << 13 | in img_ir_sharp_filter()
|
| /linux/drivers/hid/amd-sfh-hid/sfh1_1/ |
| H A D | amd_sfh_desc.c | 137 int fraction, shift, mantissa, sign, exp, zeropre; in amd_sfh_float_to_int() local 141 exp = (flt32_val & ~BIT(31)) >> 23; in amd_sfh_float_to_int() 143 if (!exp && !mantissa) in amd_sfh_float_to_int() 150 exp -= 127; in amd_sfh_float_to_int() 151 if (exp < 0) { in amd_sfh_float_to_int() 152 exp = -exp; in amd_sfh_float_to_int() 153 if (exp >= BITS_PER_TYPE(u32)) in amd_sfh_float_to_int() 155 zeropre = (((BIT(23) + mantissa) * 100) >> 23) >> exp; in amd_sfh_float_to_int() 159 shift = 23 - exp; in amd_sfh_float_to_int() [all...] |