Searched refs:exp (Results 1 - 25 of 264) sorted by relevance

1234567891011

/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/macc/macc_1.0/
H A Dia_css_macc_param.h23 s32 exp; member in struct:sh_css_isp_macc_params
H A Dia_css_macc.host.c34 to->exp = from->exp;
48 "config.exp=%d\n",
49 config->exp);
/linux-master/lib/math/
H A Dint_pow.c15 * @exp: power to be raised to
17 * Computes: pow(base, exp), i.e. @base raised to the @exp power
19 u64 int_pow(u64 base, unsigned int exp) argument
23 while (exp) {
24 if (exp & 1)
26 exp >>= 1;
/linux-master/tools/perf/tests/shell/
H A Dstat+csv_output.sh31 local exp=0
34 in "--no-args") exp=6
35 ;; "--system-wide") exp=6
36 ;; "--event") exp=6
37 ;; "--interval") exp=7
38 ;; "--per-thread") exp=7
39 ;; "--system-wide-no-aggr") exp=7
40 [ "$(uname -m)" = "s390x" ] && exp='^[6-7]$'
41 ;; "--per-core") exp=8
42 ;; "--per-socket") exp
[all...]
/linux-master/arch/powerpc/kernel/
H A Dvecemu.c41 int exp, pwr; local
45 exp = ((s >> 23) & 0xff) - 127;
46 if (exp > 7) {
48 if (exp == 128 && (s & 0x7fffff) != 0)
53 if (exp < -23)
58 if (exp > 0)
59 pwr <<= exp; local
61 pwr >>= -exp;
66 exp = (pwr >> 23) + 126;
67 if (exp >
96 int exp, mant, lz, frac; local
159 int exp, mant; local
181 int exp; local
209 int exp; local
224 int exp, mask; local
245 int exp, half; local
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/macc/macc1_5/
H A Dia_css_macc1_5_param.h25 s32 exp; member in struct:sh_css_isp_macc1_5_params
H A Dia_css_macc1_5_types.h49 * OutU = (data00 * InU + data01 * InV) >> (13 - exp)
50 * OutV = (data10 * InU + data11 * InV) >> (13 - exp)
52 * default/ineffective: (exp=1)
59 MACC1_5: s[macc_config.exp].[13-macc_config.exp], [-8192,8191]
70 u8 exp; /** Common exponent of ia_css_macc_table. member in struct:ia_css_macc1_5_config
/linux-master/net/netfilter/
H A Dnf_nat_amanda.c33 struct nf_conntrack_expect *exp)
39 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port;
40 exp->dir = IP_CT_DIR_ORIGINAL;
44 exp->expectfn = nf_nat_follow_master;
47 port = nf_nat_exp_find_port(exp, ntohs(exp->saved_proto.tcp.port));
49 nf_ct_helper_log(skb, exp->master, "all ports in use");
54 if (!nf_nat_mangle_udp_packet(skb, exp->master, ctinfo,
57 nf_ct_helper_log(skb, exp
28 help(struct sk_buff *skb, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int matchoff, unsigned int matchlen, struct nf_conntrack_expect *exp) argument
[all...]
H A Dnf_conntrack_broadcast.c24 struct nf_conntrack_expect *exp; local
57 exp = nf_ct_expect_alloc(ct);
58 if (exp == NULL)
61 exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple;
65 exp->tuple.src.u.udp.port = helper->tuple.src.u.udp.port;
67 exp->mask.src.u3.ip = mask;
68 exp->mask.src.u.udp.port = htons(0xFFFF);
70 exp->expectfn = NULL;
71 exp->flags = NF_CT_EXPECT_PERMANENT;
72 exp
[all...]
H A Dnf_nat_tftp.c25 struct nf_conntrack_expect *exp)
27 const struct nf_conn *ct = exp->master;
29 exp->saved_proto.udp.port
31 exp->dir = IP_CT_DIR_REPLY;
32 exp->expectfn = nf_nat_follow_master;
33 if (nf_ct_expect_related(exp, 0) != 0) {
34 nf_ct_helper_log(skb, exp->master, "cannot add expectation");
23 help(struct sk_buff *skb, enum ip_conntrack_info ctinfo, struct nf_conntrack_expect *exp) argument
H A Dnf_nat_irc.c37 struct nf_conntrack_expect *exp)
40 struct nf_conn *ct = exp->master;
47 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port;
48 exp->dir = IP_CT_DIR_REPLY;
49 exp->expectfn = nf_nat_follow_master;
51 port = nf_nat_exp_find_port(exp,
52 ntohs(exp->saved_proto.tcp.port));
79 nf_ct_unexpect_related(exp);
32 help(struct sk_buff *skb, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int matchoff, unsigned int matchlen, struct nf_conntrack_expect *exp) argument
H A Dnf_conntrack_expect.c47 void nf_ct_unlink_expect_report(struct nf_conntrack_expect *exp, argument
50 struct nf_conn_help *master_help = nfct_help(exp->master);
51 struct net *net = nf_ct_exp_net(exp);
55 WARN_ON(timer_pending(&exp->timeout));
57 hlist_del_rcu(&exp->hnode);
62 hlist_del_rcu(&exp->lnode);
63 master_help->expecting[exp->class]--;
65 nf_ct_expect_event_report(IPEXP_DESTROY, exp, portid, report);
66 nf_ct_expect_put(exp);
74 struct nf_conntrack_expect *exp local
119 nf_ct_remove_expect(struct nf_conntrack_expect *exp) argument
177 struct nf_conntrack_expect *i, *exp = NULL; local
231 struct nf_conntrack_expect *exp; local
287 nf_ct_unexpect_related(struct nf_conntrack_expect *exp) argument
312 nf_ct_expect_init(struct nf_conntrack_expect *exp, unsigned int class, u_int8_t family, const union nf_inet_addr *saddr, const union nf_inet_addr *daddr, u_int8_t proto, const __be16 *src, const __be16 *dst) argument
372 struct nf_conntrack_expect *exp; local
378 nf_ct_expect_put(struct nf_conntrack_expect *exp) argument
385 nf_ct_expect_insert(struct nf_conntrack_expect *exp) argument
420 struct nf_conntrack_expect *exp, *last = NULL; local
513 struct nf_conntrack_expect *exp; local
539 struct nf_conntrack_expect *exp; local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dkptr_xchg_inline.c12 struct bpf_insn exp; local
42 exp = BPF_MOV64_REG(BPF_REG_0, BPF_REG_2);
43 if (!ASSERT_OK(memcmp(&insn[3], &exp, sizeof(exp)), "mov"))
46 exp = BPF_ATOMIC_OP(BPF_DW, BPF_XCHG, BPF_REG_1, BPF_REG_0, 0);
47 if (!ASSERT_OK(memcmp(&insn[4], &exp, sizeof(exp)), "xchg"))
/linux-master/fs/nfsd/
H A Dexport.h98 #define EX_ISSYNC(exp) (!((exp)->ex_flags & NFSEXP_ASYNC))
99 #define EX_NOHIDE(exp) ((exp)->ex_flags & NFSEXP_NOHIDE)
100 #define EX_WGATHER(exp) ((exp)->ex_flags & NFSEXP_GATHERED_WRITES)
102 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp);
103 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp);
120 static inline void exp_put(struct svc_export *exp) argument
122 cache_put(&exp
125 exp_get(struct svc_export *exp) argument
[all...]
H A Dstats.h37 struct svc_export *exp)
40 if (exp && exp->ex_stats)
41 percpu_counter_inc(&exp->ex_stats->counter[EXP_STATS_FH_STALE]);
45 struct svc_export *exp, s64 amount)
48 if (exp && exp->ex_stats)
49 percpu_counter_add(&exp->ex_stats->counter[EXP_STATS_IO_READ], amount);
53 struct svc_export *exp, s64 amount)
56 if (exp
36 nfsd_stats_fh_stale_inc(struct nfsd_net *nn, struct svc_export *exp) argument
44 nfsd_stats_io_read_add(struct nfsd_net *nn, struct svc_export *exp, s64 amount) argument
52 nfsd_stats_io_write_add(struct nfsd_net *nn, struct svc_export *exp, s64 amount) argument
[all...]
H A Dauth.c8 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) argument
11 struct exp_flavor_info *end = exp->ex_flavors + exp->ex_nflavors;
13 for (f = exp->ex_flavors; f < end; f++) {
17 return exp->ex_flags;
21 int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) argument
27 int flags = nfsexp_flags(rqstp, exp);
41 new->fsuid = exp->ex_anon_uid;
42 new->fsgid = exp->ex_anon_gid;
48 new->fsuid = exp
[all...]
H A Dexport.c356 struct svc_export *exp = container_of(ref, struct svc_export, h.ref); local
357 path_put(&exp->ex_path);
358 auth_domain_put(exp->ex_client);
359 nfsd4_fslocs_free(&exp->ex_fslocs);
360 export_stats_destroy(exp->ex_stats);
361 kfree(exp->ex_stats);
362 kfree(exp->ex_uuid);
363 kfree_rcu(exp, ex_rcu);
376 struct svc_export *exp = container_of(h, struct svc_export, h); local
379 qword_add(bpp, blen, exp
508 secinfo_parse(char **mesg, char *buf, struct svc_export *exp) argument
549 secinfo_parse(char **mesg, char *buf, struct svc_export *exp) argument
552 xprtsec_parse(char **mesg, char *buf, struct svc_export *exp) argument
602 struct svc_export exp = {}, *expp; local
759 struct svc_export *exp; local
896 svc_export_hash(struct svc_export *exp) argument
907 svc_export_lookup(struct svc_export *exp) argument
962 struct svc_export *exp, key; local
990 struct svc_export *exp = exp_get_by_name(cd, clp, path, NULL); local
1014 struct svc_export *exp; local
1059 struct svc_export *exp; local
1073 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp) argument
1135 struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT); local
1166 struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT); local
1200 struct svc_export *exp = rqst_exp_get_by_name(rqstp, path); local
1230 struct svc_export *exp; local
1303 show_secinfo(struct seq_file *m, struct svc_export *exp) argument
1355 struct svc_export *exp = container_of(cp, struct svc_export, h); local
[all...]
H A Dnfsfh.c25 * if not, require that we can walk up to exp->ex_dentry
30 struct svc_export *exp = expv; local
35 if (exp->ex_flags & NFSEXP_NOSUBTREECHECK)
39 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) {
52 if (tdentry != exp->ex_path.dentry)
54 rv = (tdentry == exp->ex_path.dentry);
103 struct svc_export *exp)
105 int flags = nfsexp_flags(rqstp, exp);
116 return nfserrno(nfsd_setuser(rqstp, exp));
120 struct dentry *dentry, struct svc_export *exp)
102 nfsd_setuser_and_check_port(struct svc_rqst *rqstp, struct svc_export *exp) argument
119 check_pseudo_root(struct svc_rqst *rqstp, struct dentry *dentry, struct svc_export *exp) argument
158 struct svc_export *exp; local
331 struct svc_export *exp = NULL; local
411 _fh_update(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry) argument
431 is_root_export(struct svc_export *exp) argument
436 exp_sb(struct svc_export *exp) argument
441 fsid_type_ok_for_exp(u8 fsid_type, struct svc_export *exp) argument
466 set_version_and_fsid_type(struct svc_fh *fhp, struct svc_export *exp, struct svc_fh *ref_fh) argument
521 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, struct svc_fh *ref_fh) argument
701 struct svc_export * exp = fhp->fh_export; local
[all...]
/linux-master/arch/m68k/math-emu/
H A Dfp_arith.c20 .exp = 0x7fff,
26 .exp = 0x7fff,
92 if ((diff = dest->exp - src->exp) > 0)
147 int exp; local
174 dest->exp = 0;
181 exp = dest->exp + src->exp - 0x3ffe;
187 exp
224 int exp; local
303 int exp; local
359 int exp; local
[all...]
H A Dfp_log.c23 .exp = 0x3fff,
29 int i, exp; local
57 exp = dest->exp;
58 dest->exp = 0x3FFF;
59 if (!(exp & 1)) /* lowest bit of exponent is set */
60 dest->exp++;
72 dest->exp--; /* * 1/2 */
91 dest->exp--;
94 dest->exp
[all...]
/linux-master/include/linux/sched/
H A Dloadavg.h21 #define EXP_1 1884 /* 1/exp(5sec/1min) as fixed-point */
22 #define EXP_5 2014 /* 1/exp(5sec/5min) */
23 #define EXP_15 2037 /* 1/exp(5sec/15min) */
29 calc_load(unsigned long load, unsigned long exp, unsigned long active) argument
33 newload = load * exp + active * (FIXED_1 - exp);
40 extern unsigned long calc_load_n(unsigned long load, unsigned long exp,
/linux-master/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_hdcs.c77 } exp; member in struct:hdcs
177 u8 exp[14]; local
181 ct = hdcs->exp.cto + hdcs->psmp + (HDCS_ADC_START_SIG_DUR + 2);
182 cp = hdcs->exp.cto + (hdcs->w * ct / 2);
185 rp = hdcs->exp.rs + cp;
195 srowexp = hdcs->w - (cycles + hdcs->exp.er + 13) / ct;
197 mnct = (hdcs->exp.er + 12 + ct - 1) / ct;
201 srowexp = cp - hdcs->exp.er - 6 - cycles;
203 mnct = (hdcs->exp.er + 5 + ct - 1) / ct;
213 exp[
[all...]
/linux-master/drivers/staging/media/atomisp/include/hmm/
H A Dhmm_common.h29 #define var_equal_return(var1, var2, exp, fmt, arg ...) \
34 return exp;\
65 #define check_null_return(ptr, exp, fmt, arg ...) \
66 var_equal_return(ptr, NULL, exp, fmt, ## arg)
/linux-master/include/net/netfilter/
H A Dnf_conntrack_expect.h63 static inline struct net *nf_ct_exp_net(struct nf_conntrack_expect *exp) argument
65 return nf_ct_net(exp->master);
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) argument
109 nf_ct_unlink_expect_report(exp, 0, 0);
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-master/drivers/media/rc/img-ir/
H A Dimg-ir-sharp.c14 unsigned int addr, cmd, exp, chk; local
21 exp = (raw >> 13) & 0x1;
25 if (!exp)
40 unsigned int addr, cmd, exp = 0, chk = 0; local
49 exp = 1;
57 exp << 13 |

Completed in 175 milliseconds

1234567891011