Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 268) sorted by relevance

1234567891011

/linux-6.3-rc2/arch/powerpc/kernel/
A Dvecemu.c41 int exp, pwr; in eexp2() local
46 if (exp > 7) { in eexp2()
58 if (exp > 0) in eexp2()
59 pwr <<= exp; in eexp2()
81 if (exp >= 0) in eexp2()
85 exp = -exp; in eexp2()
143 exp = -exp; in elog2()
165 exp = exp - 127 + scale; in ctsxs()
181 int exp; in ctuxs() local
188 exp = exp - 127 + scale; in ctuxs()
[all …]
/linux-6.3-rc2/net/netfilter/
A Dnf_conntrack_expect.c74 struct nf_conntrack_expect *exp = from_timer(exp, t, timeout); in nf_ct_expectation_timed_out() local
187 exp = i; in nf_ct_find_expectation()
191 if (!exp) in nf_ct_find_expectation()
216 return exp; in nf_ct_find_expectation()
219 return exp; in nf_ct_find_expectation()
344 memset(&exp->mask.src.u3, 0x00, sizeof(exp->mask.src.u3)); in nf_ct_expect_init()
364 memset(&exp->saved_addr, 0, sizeof(exp->saved_addr)); in nf_ct_expect_init()
365 memset(&exp->saved_proto, 0, sizeof(exp->saved_proto)); in nf_ct_expect_init()
424 last = exp; in evict_oldest_expect()
523 if (iter(exp, data) && del_timer(&exp->timeout)) { in nf_ct_expect_iterate_destroy()
[all …]
A Dnf_conntrack_broadcast.c24 struct nf_conntrack_expect *exp; in nf_conntrack_broadcast_help() local
57 exp = nf_ct_expect_alloc(ct); in nf_conntrack_broadcast_help()
58 if (exp == NULL) in nf_conntrack_broadcast_help()
67 exp->mask.src.u3.ip = mask; in nf_conntrack_broadcast_help()
68 exp->mask.src.u.udp.port = htons(0xFFFF); in nf_conntrack_broadcast_help()
70 exp->expectfn = NULL; in nf_conntrack_broadcast_help()
71 exp->flags = NF_CT_EXPECT_PERMANENT; in nf_conntrack_broadcast_help()
72 exp->class = NF_CT_EXPECT_CLASS_DEFAULT; in nf_conntrack_broadcast_help()
73 exp->helper = NULL; in nf_conntrack_broadcast_help()
75 nf_ct_expect_related(exp, 0); in nf_conntrack_broadcast_help()
[all …]
A Dnf_nat_amanda.c33 struct nf_conntrack_expect *exp) in help() argument
39 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in help()
40 exp->dir = IP_CT_DIR_ORIGINAL; in help()
44 exp->expectfn = nf_nat_follow_master; in help()
47 port = nf_nat_exp_find_port(exp, ntohs(exp->saved_proto.tcp.port)); in help()
49 nf_ct_helper_log(skb, exp->master, "all ports in use"); in help()
54 if (!nf_nat_mangle_udp_packet(skb, exp->master, ctinfo, in help()
57 nf_ct_helper_log(skb, exp->master, "cannot mangle packet"); in help()
58 nf_ct_unexpect_related(exp); in help()
A Dnf_nat_irc.c37 struct nf_conntrack_expect *exp) in help() argument
40 struct nf_conn *ct = exp->master; in help()
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()
A Dnf_nat_ftp.c69 struct nf_conntrack_expect *exp) in nf_nat_ftp() argument
74 struct nf_conn *ct = exp->master; in nf_nat_ftp()
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()
91 nf_ct_helper_log(skb, exp->master, "all ports in use"); in nf_nat_ftp()
110 nf_ct_unexpect_related(exp); in nf_nat_ftp()
A Dnf_nat_tftp.c25 struct nf_conntrack_expect *exp) in help() argument
27 const struct nf_conn *ct = exp->master; in help()
29 exp->saved_proto.udp.port in help()
31 exp->dir = IP_CT_DIR_REPLY; in help()
32 exp->expectfn = nf_nat_follow_master; in help()
33 if (nf_ct_expect_related(exp, 0) != 0) { in help()
34 nf_ct_helper_log(skb, exp->master, "cannot add expectation"); in help()
A Dnf_conntrack_tftp.c37 struct nf_conntrack_expect *exp) __read_mostly;
47 struct nf_conntrack_expect *exp; in tftp_help() local
64 exp = nf_ct_expect_alloc(ct); in tftp_help()
65 if (exp == NULL) { in tftp_help()
70 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, in tftp_help()
76 nf_ct_dump_tuple(&exp->tuple); in tftp_help()
80 ret = nf_nat_tftp(skb, ctinfo, exp); in tftp_help()
81 else if (nf_ct_expect_related(exp, 0) != 0) { in tftp_help()
85 nf_ct_expect_put(exp); in tftp_help()
A Dnf_conntrack_h323_main.c326 nf_ct_expect_put(exp); in expect_t120()
665 nf_ct_expect_put(exp); in expect_h245()
781 taddr, port, exp); in expect_callforwarding()
790 nf_ct_expect_put(exp); in expect_callforwarding()
1198 if (exp && exp->master == ct) in find_expect()
1199 return exp; in find_expect()
1255 nf_ct_expect_put(exp); in expect_q931()
1316 nf_ct_expect_put(exp); in process_gcf()
1394 if (exp) { in process_rcf()
1533 nf_ct_expect_put(exp); in process_acf()
[all …]
/linux-6.3-rc2/arch/m68k/math-emu/
A Dfp_arith.c95 if ((diff = dest->exp - src->exp) > 0) in fp_fadd()
154 int exp; in fp_fmul() local
188 exp = dest->exp + src->exp - 0x3ffe; in fp_fmul()
204 exp--; in fp_fmul()
213 dest->exp = exp; in fp_fmul()
275 exp = dest->exp - src->exp + 0x3fff; in fp_fdiv()
300 dest->exp = exp; in fp_fdiv()
346 exp = dest->exp + src->exp - 0x3ffe; in fp_fsglmul()
357 dest->exp = exp; in fp_fsglmul()
413 exp = dest->exp - src->exp + 0x3fff; in fp_fsgldiv()
[all …]
A Dfp_log.c22 .exp = 0x3fff,
32 int i, exp; in fp_fsqrt() local
60 exp = dest->exp; in fp_fsqrt()
61 dest->exp = 0x3FFF; in fp_fsqrt()
62 if (!(exp & 1)) /* lowest bit of exponent is set */ in fp_fsqrt()
63 dest->exp++; in fp_fsqrt()
74 dest->exp--; /* * 1/2 */ in fp_fsqrt()
93 dest->exp--; in fp_fsqrt()
96 dest->exp += (exp - 0x3FFF) / 2; in fp_fsqrt()
195 fp_conv_long2ext(dest, (int)dest->exp - 0x3FFF); in fp_fgetexp()
[all …]
/linux-6.3-rc2/fs/nfsd/
A Dexport.c609 exp.cd = cd; in svc_export_parse()
663 err = check_export(&exp.ex_path, &exp.ex_flags, exp.ex_uuid); in svc_export_parse()
760 exp_flags(m, exp->ex_flags, exp->ex_fsid, in svc_export_show()
761 exp->ex_anon_uid, exp->ex_anon_gid, &exp->ex_fslocs); in svc_export_show()
875 ch = sunrpc_cache_lookup_rcu(exp->cd, &exp->h, hash); in svc_export_lookup()
943 return exp; in exp_get_by_name()
963 return exp; in exp_parent()
1033 return exp; in exp_find()
1092 return exp; in rqst_exp_get_by_name()
1155 return exp; in rqst_exp_parent()
[all …]
A Dnfsfh.c30 struct svc_export *exp = expv; in nfsd_acceptable() local
158 struct svc_export *exp; in nfsd_set_fh_dentry() local
202 if (IS_ERR(exp)) { in nfsd_set_fh_dentry()
251 nfsd_acceptable, exp); in nfsd_set_fh_dentry()
279 fhp->fh_export = exp; in nfsd_set_fh_dentry()
296 exp_put(exp); in nfsd_set_fh_dentry()
340 exp = fhp->fh_export; in fh_verify()
429 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
566 exp->ex_fsid, exp->ex_uuid); in fh_compose()
710 if (exp) { in fh_put()
[all …]
A Dexport.h97 #define EX_ISSYNC(exp) (!((exp)->ex_flags & NFSEXP_ASYNC)) argument
98 #define EX_NOHIDE(exp) ((exp)->ex_flags & NFSEXP_NOHIDE) argument
99 #define EX_WGATHER(exp) ((exp)->ex_flags & NFSEXP_GATHERED_WRITES) argument
101 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp);
102 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp);
119 static inline void exp_put(struct svc_export *exp) in exp_put() argument
121 cache_put(&exp->h, exp->cd); in exp_put()
124 static inline struct svc_export *exp_get(struct svc_export *exp) in exp_get() argument
126 cache_get(&exp->h); in exp_get()
127 return exp; in exp_get()
A Dauth.c11 struct exp_flavor_info *end = exp->ex_flavors + exp->ex_nflavors; in nfsexp_flags()
13 for (f = exp->ex_flavors; f < end; f++) { in nfsexp_flags()
17 return exp->ex_flags; in nfsexp_flags()
27 int flags = nfsexp_flags(rqstp, exp); in nfsd_setuser()
43 new->fsuid = exp->ex_anon_uid; in nfsd_setuser()
44 new->fsgid = exp->ex_anon_gid; in nfsd_setuser()
50 new->fsuid = exp->ex_anon_uid; in nfsd_setuser()
52 new->fsgid = exp->ex_anon_gid; in nfsd_setuser()
60 gi->gid[i] = exp->ex_anon_gid; in nfsd_setuser()
72 new->fsuid = exp->ex_anon_uid; in nfsd_setuser()
[all …]
A Dstats.h60 static inline void nfsd_stats_fh_stale_inc(struct svc_export *exp) in nfsd_stats_fh_stale_inc() argument
63 if (exp) in nfsd_stats_fh_stale_inc()
64 percpu_counter_inc(&exp->ex_stats.counter[EXP_STATS_FH_STALE]); in nfsd_stats_fh_stale_inc()
67 static inline void nfsd_stats_io_read_add(struct svc_export *exp, s64 amount) in nfsd_stats_io_read_add() argument
70 if (exp) in nfsd_stats_io_read_add()
71 percpu_counter_add(&exp->ex_stats.counter[EXP_STATS_IO_READ], amount); in nfsd_stats_io_read_add()
74 static inline void nfsd_stats_io_write_add(struct svc_export *exp, s64 amount) in nfsd_stats_io_write_add() argument
77 if (exp) in nfsd_stats_io_write_add()
78 percpu_counter_add(&exp->ex_stats.counter[EXP_STATS_IO_WRITE], amount); in nfsd_stats_io_write_add()
/linux-6.3-rc2/drivers/media/usb/gspca/stv06xx/
A Dstv06xx_hdcs.c77 } exp; member
177 u8 exp[14]; in hdcs_set_exposure() local
218 exp[5] = rowexp >> 8; in hdcs_set_exposure()
381 hdcs->exp.cto = 4; in hdcs_probe_1x00()
382 hdcs->exp.cpo = 2; in hdcs_probe_1x00()
383 hdcs->exp.rs = 186; in hdcs_probe_1x00()
384 hdcs->exp.er = 100; in hdcs_probe_1x00()
445 hdcs->exp.cto = 3; in hdcs_probe_1020()
446 hdcs->exp.cpo = 3; in hdcs_probe_1020()
447 hdcs->exp.rs = 155; in hdcs_probe_1020()
[all …]
/linux-6.3-rc2/arch/sh/kernel/cpu/sh2a/
A Dfpu.c98 int exp, w; in denormal_mulf() local
115 if (exp > 0) in denormal_mulf()
165 int exp, w; in denormal_muld() local
187 if (exp > 0) in denormal_muld()
203 int exp; in denormal_subf1() local
230 int exp; in denormal_addf1() local
246 ++exp; in denormal_addf1()
288 int exp; in denormal_subd1() local
315 long long exp; in denormal_addd1() local
331 ++exp; in denormal_addd1()
[all …]
/linux-6.3-rc2/tools/perf/tests/shell/
A Dstat+csv_output.sh15 local exp=0
18 in "--no-args") exp=6
19 ;; "--system-wide") exp=6
20 ;; "--event") exp=6
21 ;; "--interval") exp=7
22 ;; "--per-thread") exp=7
25 ;; "--per-core") exp=8
26 ;; "--per-socket") exp=8
27 ;; "--per-node") exp=8
28 ;; "--per-die") exp=8
[all …]
/linux-6.3-rc2/net/ipv4/netfilter/
A Dnf_nat_h323.c290 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nat_t120()
292 exp->dir = !dir; in nat_t120()
309 &exp->tuple.src.u3.ip, in nat_t120()
311 &exp->tuple.dst.u3.ip, in nat_t120()
329 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nat_h245()
331 exp->dir = !dir; in nat_h245()
408 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nat_q931()
410 exp->dir = !dir; in nat_q931()
490 exp->saved_addr = exp->tuple.dst.u3; in nat_callforwarding()
492 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nat_callforwarding()
[all …]
/linux-6.3-rc2/drivers/iio/common/hid-sensors/
A Dhid-sensor-attributes.c75 int exp = 0; in simple_div() local
87 exp++; in simple_div()
118 exp = hid_sensor_convert_exponent(exp); in convert_from_vtf_format()
119 if (exp >= 0) { in convert_from_vtf_format()
139 exp = hid_sensor_convert_exponent(exp); in convert_to_vtf_format()
140 if (exp < 0) { in convert_to_vtf_format()
364 if (exp > 0) { in adjust_exponent_nano()
367 if (exp > 9) { in adjust_exponent_nano()
380 exp = abs(exp); in adjust_exponent_nano()
381 if (exp > 9) { in adjust_exponent_nano()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dcore_reloc.c438 exp->local_anon_struct = -1; in setup_type_id_case_local()
439 exp->local_anon_union = -1; in setup_type_id_case_local()
440 exp->local_anon_enum = -1; in setup_type_id_case_local()
443 exp->local_anon_arr = -1; in setup_type_id_case_local()
463 exp->local_anon_enum = i; in setup_type_id_case_local()
478 exp->local_anon_arr = i; in setup_type_id_case_local()
527 exp->targ_struct = 0; in setup_type_id_case_failure()
528 exp->targ_union = 0; in setup_type_id_case_failure()
529 exp->targ_enum = 0; in setup_type_id_case_failure()
530 exp->targ_int = 0; in setup_type_id_case_failure()
[all …]
/linux-6.3-rc2/include/net/netfilter/
A Dnf_conntrack_expect.h63 static inline struct net *nf_ct_exp_net(struct nf_conntrack_expect *exp) in nf_ct_exp_net() argument
65 return nf_ct_net(exp->master); in nf_ct_exp_net()
105 void nf_ct_unlink_expect_report(struct nf_conntrack_expect *exp,
107 static inline void nf_ct_unlink_expect(struct nf_conntrack_expect *exp) in nf_ct_unlink_expect() argument
109 nf_ct_unlink_expect_report(exp, 0, 0); in nf_ct_unlink_expect()
113 void nf_ct_unexpect_related(struct nf_conntrack_expect *exp);
114 bool nf_ct_remove_expect(struct nf_conntrack_expect *exp);
128 void nf_ct_expect_put(struct nf_conntrack_expect *exp);
/linux-6.3-rc2/arch/x86/math-emu/
A Dreg_ld_str.c43 setexponent16(r, exp); in normalize_no_excep()
55 int exp; in FPU_tagof() local
58 if (exp == 0) { in FPU_tagof()
66 if (exp == 0x7fff) { in FPU_tagof()
97 int exp, tag, negative; in FPU_load_double() local
130 exp = 0; in FPU_load_double()
159 int exp, tag, negative; in FPU_load_single() local
384 int exp; in FPU_store_double() local
452 exp++; in FPU_store_double()
569 int exp; in FPU_store_single() local
[all …]
/linux-6.3-rc2/drivers/media/rc/img-ir/
A Dimg-ir-sharp.c14 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()

Completed in 37 milliseconds

1234567891011