Home
last modified time | relevance | path

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

1234567891011

/linux/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/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.c23 struct nf_conntrack_expect *exp; in nf_conntrack_broadcast_help() local
56 exp = nf_ct_expect_alloc(ct); in nf_conntrack_broadcast_help()
57 if (exp == NULL) in nf_conntrack_broadcast_help()
63 exp->mask.src.u3.ip = mask; in nf_conntrack_broadcast_help()
64 exp->mask.src.u.udp.port = htons(0xFFFF); in nf_conntrack_broadcast_help()
66 exp->expectfn = NULL; in nf_conntrack_broadcast_help()
67 exp->flags = NF_CT_EXPECT_PERMANENT; in nf_conntrack_broadcast_help()
68 exp->class = NF_CT_EXPECT_CLASS_DEFAULT; in nf_conntrack_broadcast_help()
69 exp->helper = NULL; in nf_conntrack_broadcast_help()
71 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 for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) { in help()
50 exp->tuple.dst.u.tcp.port = htons(port); in help()
51 res = nf_ct_expect_related(exp, 0); in help()
61 nf_ct_helper_log(skb, exp->master, "all ports in use"); in help()
66 if (!nf_nat_mangle_udp_packet(skb, exp->master, ctinfo, in help()
69 nf_ct_helper_log(skb, exp->master, "cannot mangle packet"); in help()
[all …]
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()
52 for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) { in help()
55 exp->tuple.dst.u.tcp.port = htons(port); in help()
56 ret = nf_ct_expect_related(exp, 0); in help()
91 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()
90 for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) { in nf_nat_ftp()
93 exp->tuple.dst.u.tcp.port = htons(port); in nf_nat_ftp()
94 ret = nf_ct_expect_related(exp, 0); in nf_nat_ftp()
123 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_h323_main.c366 port, exp); in expect_t120()
375 nf_ct_expect_put(exp); in expect_t120()
703 port, exp); in expect_h245()
712 nf_ct_expect_put(exp); in expect_h245()
836 nf_ct_expect_put(exp); in expect_callforwarding()
1241 if (exp && exp->master == ct) in find_expect()
1242 return exp; in find_expect()
1298 nf_ct_expect_put(exp); in expect_q931()
1359 nf_ct_expect_put(exp); in process_gcf()
1437 if (exp) { in process_rcf()
[all …]
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_netlink.c2908 if (IS_ERR(exp)) in ctnetlink_glue_attach_expect()
3034 if (ctnetlink_exp_dump_mask(skb, &exp->tuple, &exp->mask) < 0) in ctnetlink_exp_dump_expect()
3116 struct nf_conntrack_expect *exp = item->exp; in ctnetlink_expect_event() local
3352 if (!exp) in ctnetlink_get_expect()
3373 exp); in ctnetlink_get_expect()
3422 if (!exp) in ctnetlink_del_expect()
3534 if (!exp) in ctnetlink_alloc_expect()
3541 exp->flags = 0; in ctnetlink_alloc_expect()
3557 exp->master = ct; in ctnetlink_alloc_expect()
3569 return exp; in ctnetlink_alloc_expect()
[all …]
/linux/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/fs/nfsd/
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()
342 exp = fhp->fh_export; in fh_verify()
434 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
571 exp->ex_fsid, exp->ex_uuid); in fh_compose()
629 if (exp) { in fh_put()
[all …]
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 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);
120 static inline void exp_put(struct svc_export *exp) in exp_put() argument
122 cache_put(&exp->h, exp->cd); in exp_put()
125 static inline struct svc_export *exp_get(struct svc_export *exp) in exp_get() argument
127 cache_get(&exp->h); in exp_get()
128 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.h62 static inline void nfsd_stats_fh_stale_inc(struct svc_export *exp) in nfsd_stats_fh_stale_inc() argument
65 if (exp) in nfsd_stats_fh_stale_inc()
66 percpu_counter_inc(&exp->ex_stats.counter[EXP_STATS_FH_STALE]); in nfsd_stats_fh_stale_inc()
69 static inline void nfsd_stats_io_read_add(struct svc_export *exp, s64 amount) in nfsd_stats_io_read_add() argument
72 if (exp) in nfsd_stats_io_read_add()
73 percpu_counter_add(&exp->ex_stats.counter[EXP_STATS_IO_READ], amount); in nfsd_stats_io_read_add()
76 static inline void nfsd_stats_io_write_add(struct svc_export *exp, s64 amount) in nfsd_stats_io_write_add() argument
79 if (exp) in nfsd_stats_io_write_add()
80 percpu_counter_add(&exp->ex_stats.counter[EXP_STATS_IO_WRITE], amount); in nfsd_stats_io_write_add()
/linux/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/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/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()
322 &exp->tuple.src.u3.ip, in nat_t120()
324 &exp->tuple.dst.u3.ip, in nat_t120()
342 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nat_h245()
344 exp->dir = !dir; in nat_h245()
434 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nat_q931()
436 exp->dir = !dir; in nat_q931()
529 exp->saved_addr = exp->tuple.dst.u3; in nat_callforwarding()
531 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nat_callforwarding()
[all …]
/linux/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/tools/testing/selftests/bpf/prog_tests/
A Dcore_reloc.c377 exp->local_anon_struct = -1; in setup_type_id_case_local()
378 exp->local_anon_union = -1; in setup_type_id_case_local()
379 exp->local_anon_enum = -1; in setup_type_id_case_local()
382 exp->local_anon_arr = -1; in setup_type_id_case_local()
402 exp->local_anon_enum = i; in setup_type_id_case_local()
417 exp->local_anon_arr = i; in setup_type_id_case_local()
466 exp->targ_struct = 0; in setup_type_id_case_failure()
467 exp->targ_union = 0; in setup_type_id_case_failure()
468 exp->targ_enum = 0; in setup_type_id_case_failure()
469 exp->targ_int = 0; in setup_type_id_case_failure()
[all …]
/linux/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/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/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 47 milliseconds

1234567891011