Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 200 of 221) sorted by relevance

12

/linux-4.4.14/arch/powerpc/kernel/
Dvecemu.c38 int exp, pwr; in eexp2() local
42 exp = ((s >> 23) & 0xff) - 127; in eexp2()
43 if (exp > 7) { in eexp2()
45 if (exp == 128 && (s & 0x7fffff) != 0) in eexp2()
50 if (exp < -23) in eexp2()
55 if (exp > 0) in eexp2()
56 pwr <<= exp; in eexp2()
58 pwr >>= -exp; in eexp2()
63 exp = (pwr >> 23) + 126; in eexp2()
64 if (exp >= 254) in eexp2()
[all …]
Dsyscalls.c86 ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timeval __use… in ppc_select() argument
95 || __get_user(exp, ((fd_set __user * __user *)(buffer+3))) in ppc_select()
99 return sys_select(n, inp, outp, exp, tvp); in ppc_select()
Dsys_ppc32.c57 compat_ulong_t __user *outp, compat_ulong_t __user *exp, in ppc32_select() argument
61 return compat_sys_select((int)n, inp, outp, exp, compat_ptr(tvp_x)); in ppc32_select()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dobd_class.h187 #define __class_export_add_lock_ref(exp, lock) do {} while (0) argument
188 #define __class_export_del_lock_ref(exp, lock) do {} while (0) argument
193 struct obd_export *class_export_get(struct obd_export *exp);
194 void class_export_put(struct obd_export *exp);
197 void class_unlink_export(struct obd_export *exp);
202 void class_destroy_import(struct obd_import *exp);
207 int class_disconnect(struct obd_export *exp);
208 void class_fail_export(struct obd_export *exp);
211 static inline void class_export_rpc_inc(struct obd_export *exp) in class_export_rpc_inc() argument
213 atomic_inc(&(exp)->exp_rpc_count); in class_export_rpc_inc()
[all …]
Dlustre_export.h219 static inline __u64 *exp_connect_flags_ptr(struct obd_export *exp) in exp_connect_flags_ptr() argument
221 return &exp->exp_connect_data.ocd_connect_flags; in exp_connect_flags_ptr()
224 static inline __u64 exp_connect_flags(struct obd_export *exp) in exp_connect_flags() argument
226 return *exp_connect_flags_ptr(exp); in exp_connect_flags()
229 static inline int exp_max_brw_size(struct obd_export *exp) in exp_max_brw_size() argument
231 LASSERT(exp != NULL); in exp_max_brw_size()
232 if (exp_connect_flags(exp) & OBD_CONNECT_BRW_SIZE) in exp_max_brw_size()
233 return exp->exp_connect_data.ocd_brw_size; in exp_max_brw_size()
238 static inline int exp_connect_multibulk(struct obd_export *exp) in exp_connect_multibulk() argument
240 return exp_max_brw_size(exp) > ONE_MB_BRW_SIZE; in exp_connect_multibulk()
[all …]
Dobd.h507 struct obd_export *exp; member
967 int (*o_iocontrol)(unsigned int cmd, struct obd_export *exp, int len,
992 struct obd_export **exp, struct obd_device *src,
996 struct obd_export *exp, struct obd_device *src,
1000 int (*o_disconnect)(struct obd_export *exp);
1004 struct obd_export *exp, enum lu_cli_type type);
1008 int (*o_fid_alloc)(struct obd_export *exp, struct lu_fid *fid,
1015 int (*o_statfs)(const struct lu_env *, struct obd_export *exp,
1017 int (*o_statfs_async)(struct obd_export *exp, struct obd_info *oinfo,
1019 int (*o_packmd)(struct obd_export *exp, struct lov_mds_md **disk_tgt,
[all …]
Dlustre_mdc.h147 static inline void mdc_update_max_ea_from_body(struct obd_export *exp, in mdc_update_max_ea_from_body() argument
151 struct client_obd *cli = &exp->exp_obd->u.cli; in mdc_update_max_ea_from_body()
Dlustre_dlm.h562 void ldlm_convert_policy_to_local(struct obd_export *exp, ldlm_type_t type,
1119 void ldlm_dump_export_locks(struct obd_export *exp);
1233 int ldlm_cli_enqueue(struct obd_export *exp, struct ptlrpc_request **reqp,
1239 int ldlm_prep_enqueue_req(struct obd_export *exp,
1243 int ldlm_prep_elc_req(struct obd_export *exp,
1248 int ldlm_cli_enqueue_fini(struct obd_export *exp, struct ptlrpc_request *req,
Dlustre_log.h161 int (*lop_sync)(struct llog_ctxt *ctxt, struct obd_export *exp,
Dlustre_fid.h382 int client_fid_init(struct obd_device *obd, struct obd_export *exp,
Dlustre_sec.h1053 int sptlrpc_target_export_check(struct obd_export *exp,
Dlustre_net.h2822 struct obd_export **exp, struct obd_device *obd,
2825 int client_disconnect_export(struct obd_export *exp);
/linux-4.4.14/net/netfilter/
Dnf_conntrack_expect.c43 void nf_ct_unlink_expect_report(struct nf_conntrack_expect *exp, in nf_ct_unlink_expect_report() argument
46 struct nf_conn_help *master_help = nfct_help(exp->master); in nf_ct_unlink_expect_report()
47 struct net *net = nf_ct_exp_net(exp); in nf_ct_unlink_expect_report()
50 NF_CT_ASSERT(!timer_pending(&exp->timeout)); in nf_ct_unlink_expect_report()
52 hlist_del_rcu(&exp->hnode); in nf_ct_unlink_expect_report()
55 hlist_del(&exp->lnode); in nf_ct_unlink_expect_report()
56 master_help->expecting[exp->class]--; in nf_ct_unlink_expect_report()
58 nf_ct_expect_event_report(IPEXP_DESTROY, exp, portid, report); in nf_ct_unlink_expect_report()
59 nf_ct_expect_put(exp); in nf_ct_unlink_expect_report()
67 struct nf_conntrack_expect *exp = (void *)ul_expect; in nf_ct_expectation_timed_out() local
[all …]
Dnf_conntrack_broadcast.c28 struct nf_conntrack_expect *exp; in nf_conntrack_broadcast_help() local
58 exp = nf_ct_expect_alloc(ct); in nf_conntrack_broadcast_help()
59 if (exp == NULL) in nf_conntrack_broadcast_help()
62 exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_conntrack_broadcast_help()
63 exp->tuple.src.u.udp.port = help->helper->tuple.src.u.udp.port; in nf_conntrack_broadcast_help()
65 exp->mask.src.u3.ip = mask; in nf_conntrack_broadcast_help()
66 exp->mask.src.u.udp.port = htons(0xFFFF); in nf_conntrack_broadcast_help()
68 exp->expectfn = NULL; in nf_conntrack_broadcast_help()
69 exp->flags = NF_CT_EXPECT_PERMANENT; in nf_conntrack_broadcast_help()
70 exp->class = NF_CT_EXPECT_CLASS_DEFAULT; in nf_conntrack_broadcast_help()
[all …]
Dnf_nat_amanda.c32 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); in help()
61 nf_ct_helper_log(skb, exp->master, "all ports in use"); in help()
66 ret = nf_nat_mangle_udp_packet(skb, exp->master, ctinfo, in help()
70 nf_ct_helper_log(skb, exp->master, "cannot mangle packet"); in help()
[all …]
Dnf_nat_irc.c34 struct nf_conntrack_expect *exp) in help() argument
37 struct nf_conn *ct = exp->master; in help()
45 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in help()
46 exp->dir = IP_CT_DIR_REPLY; in help()
47 exp->expectfn = nf_nat_follow_master; in help()
50 for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) { in help()
53 exp->tuple.dst.u.tcp.port = htons(port); in help()
54 ret = nf_ct_expect_related(exp); in help()
90 nf_ct_unexpect_related(exp); in help()
Dnf_nat_tftp.c23 struct nf_conntrack_expect *exp) in help() argument
25 const struct nf_conn *ct = exp->master; in help()
27 exp->saved_proto.udp.port in help()
29 exp->dir = IP_CT_DIR_REPLY; in help()
30 exp->expectfn = nf_nat_follow_master; in help()
31 if (nf_ct_expect_related(exp) != 0) { in help()
32 nf_ct_helper_log(skb, exp->master, "cannot add expectation"); in help()
Dnf_nat_ftp.c65 struct nf_conntrack_expect *exp) in nf_nat_ftp() argument
70 struct nf_conn *ct = exp->master; in nf_nat_ftp()
78 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nf_nat_ftp()
79 exp->dir = !dir; in nf_nat_ftp()
83 exp->expectfn = nf_nat_follow_master; in nf_nat_ftp()
86 for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) { in nf_nat_ftp()
89 exp->tuple.dst.u.tcp.port = htons(port); in nf_nat_ftp()
90 ret = nf_ct_expect_related(exp); in nf_nat_ftp()
119 nf_ct_unexpect_related(exp); in nf_nat_ftp()
Dnf_conntrack_h323_main.c88 struct nf_conntrack_expect *exp) __read_mostly;
95 struct nf_conntrack_expect *exp) __read_mostly;
102 struct nf_conntrack_expect *exp) __read_mostly;
108 __be16 port, struct nf_conntrack_expect *exp)
343 struct nf_conntrack_expect *exp; in expect_t120() local
353 if ((exp = nf_ct_expect_alloc(ct)) == NULL) in expect_t120()
355 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_t120()
359 exp->flags = NF_CT_EXPECT_PERMANENT; /* Accept multiple channels */ in expect_t120()
369 port, exp); in expect_t120()
371 if (nf_ct_expect_related(exp) == 0) { in expect_t120()
[all …]
Dnf_conntrack_tftp.c35 struct nf_conntrack_expect *exp) __read_mostly;
45 struct nf_conntrack_expect *exp; in tftp_help() local
62 exp = nf_ct_expect_alloc(ct); in tftp_help()
63 if (exp == NULL) { in tftp_help()
68 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, in tftp_help()
74 nf_ct_dump_tuple(&exp->tuple); in tftp_help()
78 ret = nf_nat_tftp(skb, ctinfo, exp); in tftp_help()
79 else if (nf_ct_expect_related(exp) != 0) { in tftp_help()
83 nf_ct_expect_put(exp); in tftp_help()
Dnf_conntrack_netlink.c2354 struct nf_conntrack_expect *exp; in ctnetlink_glue_attach_expect() local
2375 exp = ctnetlink_alloc_expect((const struct nlattr * const *)cda, ct, in ctnetlink_glue_attach_expect()
2377 if (IS_ERR(exp)) in ctnetlink_glue_attach_expect()
2378 return PTR_ERR(exp); in ctnetlink_glue_attach_expect()
2380 err = nf_ct_expect_related_report(exp, portid, report); in ctnetlink_glue_attach_expect()
2382 nf_ct_expect_put(exp); in ctnetlink_glue_attach_expect()
2477 const struct nf_conntrack_expect *exp) in ctnetlink_exp_dump_expect() argument
2479 struct nf_conn *master = exp->master; in ctnetlink_exp_dump_expect()
2480 long timeout = ((long)exp->timeout.expires - (long)jiffies) / HZ; in ctnetlink_exp_dump_expect()
2491 if (ctnetlink_exp_dump_tuple(skb, &exp->tuple, CTA_EXPECT_TUPLE) < 0) in ctnetlink_exp_dump_expect()
[all …]
Dnf_nat_sip.c317 struct nf_conntrack_expect *exp) in nf_nat_sip_expected() argument
326 range.min_proto = range.max_proto = exp->saved_proto; in nf_nat_sip_expected()
327 range.min_addr = range.max_addr = exp->saved_addr; in nf_nat_sip_expected()
333 &ct->master->tuplehash[exp->dir].tuple.src.u3)) { in nf_nat_sip_expected()
336 = ct->master->tuplehash[!exp->dir].tuple.dst.u3; in nf_nat_sip_expected()
344 struct nf_conntrack_expect *exp, in nf_nat_sip_expect() argument
361 newaddr = exp->tuple.dst.u3; in nf_nat_sip_expect()
370 if (exp->tuple.dst.u.udp.port == srcport) in nf_nat_sip_expect()
373 port = ntohs(exp->tuple.dst.u.udp.port); in nf_nat_sip_expect()
375 exp->saved_addr = exp->tuple.dst.u3; in nf_nat_sip_expect()
[all …]
Dnf_conntrack_amanda.c47 struct nf_conntrack_expect *exp)
91 struct nf_conntrack_expect *exp; in amanda_help() local
143 exp = nf_ct_expect_alloc(ct); in amanda_help()
144 if (exp == NULL) { in amanda_help()
150 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, in amanda_help()
158 off - dataoff, len, exp); in amanda_help()
159 else if (nf_ct_expect_related(exp) != 0) { in amanda_help()
163 nf_ct_expect_put(exp); in amanda_help()
Dnf_conntrack_sane.c73 struct nf_conntrack_expect *exp; in help() local
139 exp = nf_ct_expect_alloc(ct); in help()
140 if (exp == NULL) { in help()
147 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in help()
152 nf_ct_dump_tuple(&exp->tuple); in help()
155 if (nf_ct_expect_related(exp) != 0) { in help()
160 nf_ct_expect_put(exp); in help()
Dnf_conntrack_irc.c40 struct nf_conntrack_expect *exp) __read_mostly;
116 struct nf_conntrack_expect *exp; in help() local
196 exp = nf_ct_expect_alloc(ct); in help()
197 if (exp == NULL) { in help()
205 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, in help()
215 exp); in help()
216 else if (nf_ct_expect_related(exp) != 0) { in help()
221 nf_ct_expect_put(exp); in help()
Dnf_conntrack_sip.c799 struct nf_conntrack_expect *exp; in refresh_signalling_expectation() local
804 hlist_for_each_entry_safe(exp, next, &help->expectations, lnode) { in refresh_signalling_expectation()
805 if (exp->class != SIP_EXPECT_SIGNALLING || in refresh_signalling_expectation()
806 !nf_inet_addr_cmp(&exp->tuple.dst.u3, addr) || in refresh_signalling_expectation()
807 exp->tuple.dst.protonum != proto || in refresh_signalling_expectation()
808 exp->tuple.dst.u.udp.port != port) in refresh_signalling_expectation()
810 if (!del_timer(&exp->timeout)) in refresh_signalling_expectation()
812 exp->flags &= ~NF_CT_EXPECT_INACTIVE; in refresh_signalling_expectation()
813 exp->timeout.expires = jiffies + expires * HZ; in refresh_signalling_expectation()
814 add_timer(&exp->timeout); in refresh_signalling_expectation()
[all …]
Dnf_conntrack_pptp.c69 struct nf_conntrack_expect *exp) __read_mostly;
103 struct nf_conntrack_expect *exp) in pptp_expectfn() argument
119 nf_nat_pptp_expectfn(ct, exp); in pptp_expectfn()
125 nf_ct_invert_tuplepr(&inv_t, &exp->tuple); in pptp_expectfn()
147 struct nf_conntrack_expect *exp; in destroy_sibling_or_exp() local
165 exp = nf_ct_expect_find_get(net, zone, t); in destroy_sibling_or_exp()
166 if (exp) { in destroy_sibling_or_exp()
167 pr_debug("unexpect_related of expect %p\n", exp); in destroy_sibling_or_exp()
168 nf_ct_unexpect_related(exp); in destroy_sibling_or_exp()
169 nf_ct_expect_put(exp); in destroy_sibling_or_exp()
Dnf_nat_helper.c192 struct nf_conntrack_expect *exp) in nf_nat_follow_master() argument
202 = ct->master->tuplehash[!exp->dir].tuple.dst.u3; in nf_nat_follow_master()
207 range.min_proto = range.max_proto = exp->saved_proto; in nf_nat_follow_master()
209 = ct->master->tuplehash[!exp->dir].tuple.src.u3; in nf_nat_follow_master()
Dnf_conntrack_helper.c393 struct nf_conntrack_expect *exp; in __nf_conntrack_helper_unregister() local
402 hlist_for_each_entry_safe(exp, next, in __nf_conntrack_helper_unregister()
404 struct nf_conn_help *help = nfct_help(exp->master); in __nf_conntrack_helper_unregister()
408 ) == me || exp->helper == me) && in __nf_conntrack_helper_unregister()
409 del_timer(&exp->timeout)) { in __nf_conntrack_helper_unregister()
410 nf_ct_unlink_expect(exp); in __nf_conntrack_helper_unregister()
411 nf_ct_expect_put(exp); in __nf_conntrack_helper_unregister()
Dnf_conntrack_ftp.c55 struct nf_conntrack_expect *exp);
399 struct nf_conntrack_expect *exp; in help() local
487 exp = nf_ct_expect_alloc(ct); in help()
488 if (exp == NULL) { in help()
528 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, cmd.l3num, in help()
537 protoff, matchoff, matchlen, exp); in help()
540 if (nf_ct_expect_related(exp) != 0) { in help()
548 nf_ct_expect_put(exp); in help()
Dnf_conntrack_core.c920 struct nf_conntrack_expect *exp = NULL; in init_conntrack() local
973 exp = nf_ct_find_expectation(net, zone, tuple); in init_conntrack()
974 if (exp) { in init_conntrack()
976 ct, exp); in init_conntrack()
980 ct->master = exp->master; in init_conntrack()
981 if (exp->helper) { in init_conntrack()
982 help = nf_ct_helper_ext_add(ct, exp->helper, in init_conntrack()
985 rcu_assign_pointer(help->helper, exp->helper); in init_conntrack()
989 ct->mark = exp->master->mark; in init_conntrack()
992 ct->secmark = exp->master->secmark; in init_conntrack()
[all …]
/linux-4.4.14/arch/m68k/math-emu/
Dfp_arith.c22 .exp = 0x7fff,
28 .exp = 0x7fff,
97 if ((diff = dest->exp - src->exp) > 0) in fp_fadd()
156 int exp; in fp_fmul() local
183 dest->exp = 0; in fp_fmul()
190 exp = dest->exp + src->exp - 0x3ffe; in fp_fmul()
196 exp -= fp_overnormalize(dest); in fp_fmul()
198 exp -= fp_overnormalize(src); in fp_fmul()
206 exp--; in fp_fmul()
211 if (exp >= 0x7fff) { in fp_fmul()
[all …]
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 …]
Dfp_emu.h48 #define IS_INF(a) ((a)->exp == 0x7fff)
104 dest->exp = 0x7fff; \
Dfp_util.S107 move.l %d1,(%a0)+ | set sign / exp
140 9: move.l %d1,(%a0)+ | fp_ext.sign, fp_ext.exp
178 9: move.l %d1,(%a0)+ | fp_ext.sign, fp_ext.exp
Dmulti_arith.h24 reg->exp += cnt; in fp_denormalize()
100 if (++reg->exp == 0x7fff) { in fp_addcarry()
/linux-4.4.14/fs/nfsd/
Dnfsfh.c28 struct svc_export *exp = expv; in nfsd_acceptable() local
33 if (exp->ex_flags & NFSEXP_NOSUBTREECHECK) in nfsd_acceptable()
37 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
49 if (tdentry != exp->ex_path.dentry) in nfsd_acceptable()
51 rv = (tdentry == exp->ex_path.dentry); in nfsd_acceptable()
84 struct svc_export *exp) in nfsd_setuser_and_check_port() argument
86 int flags = nfsexp_flags(rqstp, exp); in nfsd_setuser_and_check_port()
97 return nfserrno(nfsd_setuser(rqstp, exp)); in nfsd_setuser_and_check_port()
101 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root() argument
103 if (!(exp->ex_flags & NFSEXP_V4ROOT)) in check_pseudo_root()
[all …]
Dexport.c311 struct svc_export *exp = container_of(ref, struct svc_export, h.ref); in svc_export_put() local
312 path_put(&exp->ex_path); in svc_export_put()
313 auth_domain_put(exp->ex_client); in svc_export_put()
314 nfsd4_fslocs_free(&exp->ex_fslocs); in svc_export_put()
315 kfree(exp->ex_uuid); in svc_export_put()
316 kfree(exp); in svc_export_put()
324 struct svc_export *exp = container_of(h, struct svc_export, h); in svc_export_request() local
327 qword_add(bpp, blen, exp->ex_client->name); in svc_export_request()
328 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
444 static int secinfo_parse(char **mesg, char *buf, struct svc_export *exp) in secinfo_parse() argument
[all …]
Dexport.h79 #define EX_ISSYNC(exp) (!((exp)->ex_flags & NFSEXP_ASYNC)) argument
80 #define EX_NOHIDE(exp) ((exp)->ex_flags & NFSEXP_NOHIDE) argument
81 #define EX_WGATHER(exp) ((exp)->ex_flags & NFSEXP_GATHERED_WRITES) argument
83 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp);
84 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp);
102 static inline void exp_put(struct svc_export *exp) in exp_put() argument
104 cache_put(&exp->h, exp->cd); in exp_put()
107 static inline struct svc_export *exp_get(struct svc_export *exp) in exp_get() argument
109 cache_get(&exp->h); in exp_get()
110 return exp; in exp_get()
Dauth.c7 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) in nfsexp_flags() argument
10 struct exp_flavor_info *end = exp->ex_flavors + exp->ex_nflavors; in nfsexp_flags()
12 for (f = exp->ex_flavors; f < end; f++) { in nfsexp_flags()
16 return exp->ex_flags; in nfsexp_flags()
20 int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) in nfsd_setuser() argument
26 int flags = nfsexp_flags(rqstp, 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 …]
Dvfs.c86 struct svc_export *exp = *expp, *exp2 = NULL; in nfsd_cross_mnt() local
88 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt()
106 if (err == -ENOENT && !(exp->ex_flags & NFSEXP_V4ROOT)) in nfsd_cross_mnt()
112 (exp->ex_flags & NFSEXP_CROSSMOUNT) || EX_NOHIDE(exp2)) { in nfsd_cross_mnt()
123 exp2 = exp; in nfsd_cross_mnt()
142 …parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **exp, struct dentry **de… in nfsd_lookup_parent() argument
145 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), in nfsd_lookup_parent()
158 exp_put(*exp); in nfsd_lookup_parent()
159 *exp = exp2; in nfsd_lookup_parent()
169 int nfsd_mountpoint(struct dentry *dentry, struct svc_export *exp) in nfsd_mountpoint() argument
[all …]
Dpnfs.h57 void nfsd4_setup_layout_type(struct svc_export *exp);
67 static inline void nfsd4_setup_layout_type(struct svc_export *exp) in nfsd4_setup_layout_type() argument
Dnfs4xdr.c2098 struct svc_rqst *rqstp, struct svc_export *exp) in nfsd4_encode_fs_locations() argument
2103 struct nfsd4_fs_locations *fslocs = &exp->ex_fslocs; in nfsd4_encode_fs_locations()
2105 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2217 static int get_parent_attributes(struct svc_export *exp, struct kstat *stat) in get_parent_attributes() argument
2219 struct path path = exp->ex_path; in get_parent_attributes()
2271 struct svc_export *exp, in nfsd4_encode_fattr() argument
2297 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
2307 if (exp->ex_fslocs.migrated) { in nfsd4_encode_fattr()
2330 status = fh_compose(tempfh, exp, dentry, NULL); in nfsd4_encode_fattr()
2412 if (exp->ex_flags & NFSEXP_NOSUBTREECHECK) in nfsd4_encode_fattr()
[all …]
Dnfs4proc.c867 struct svc_export *exp; in nfsd4_secinfo() local
877 &exp, &dentry); in nfsd4_secinfo()
882 exp_put(exp); in nfsd4_secinfo()
885 secinfo->si_exp = exp; in nfsd4_secinfo()
1179 nfsd4_layout_verify(struct svc_export *exp, unsigned int layout_type) in nfsd4_layout_verify() argument
1181 if (!exp->ex_layout_type) { in nfsd4_layout_verify()
1186 if (exp->ex_layout_type != layout_type) { in nfsd4_layout_verify()
1202 struct svc_export *exp; in nfsd4_getdeviceinfo() local
1218 exp = rqst_exp_find(rqstp, map->fsid_type, map->fsid); in nfsd4_getdeviceinfo()
1219 if (IS_ERR(exp)) { in nfsd4_getdeviceinfo()
[all …]
Dnfs4layouts.c117 void nfsd4_setup_layout_type(struct svc_export *exp) in nfsd4_setup_layout_type() argument
119 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type()
121 if (!(exp->ex_flags & NFSEXP_PNFS)) in nfsd4_setup_layout_type()
127 exp->ex_layout_type = LAYOUT_BLOCK_VOLUME; in nfsd4_setup_layout_type()
Dnfs3xdr.c810 struct svc_export *exp; in compose_entry_fh() local
815 exp = cd->fh.fh_export; in compose_entry_fh()
835 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh()
/linux-4.4.14/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c77 int exp = 0; in simple_div() local
89 exp++; in simple_div()
91 *micro_frac = (rem / divisor) * pow_10(6-exp); in simple_div()
95 static void split_micro_fraction(unsigned int no, int exp, int *val1, int *val2) in split_micro_fraction() argument
97 *val1 = no/pow_10(exp); in split_micro_fraction()
98 *val2 = no%pow_10(exp) * pow_10(6-exp); in split_micro_fraction()
109 static void convert_from_vtf_format(u32 value, int size, int exp, in convert_from_vtf_format() argument
118 exp = hid_sensor_convert_exponent(exp); in convert_from_vtf_format()
119 if (exp >= 0) { in convert_from_vtf_format()
120 *val1 = sign * value * pow_10(exp); in convert_from_vtf_format()
[all …]
/linux-4.4.14/drivers/media/usb/gspca/stv06xx/
Dstv06xx_hdcs.c90 } exp; member
190 u8 exp[14]; in hdcs_set_exposure() local
194 ct = hdcs->exp.cto + hdcs->psmp + (HDCS_ADC_START_SIG_DUR + 2); in hdcs_set_exposure()
195 cp = hdcs->exp.cto + (hdcs->w * ct / 2); in hdcs_set_exposure()
198 rp = hdcs->exp.rs + cp; in hdcs_set_exposure()
208 srowexp = hdcs->w - (cycles + hdcs->exp.er + 13) / ct; in hdcs_set_exposure()
210 mnct = (hdcs->exp.er + 12 + ct - 1) / ct; in hdcs_set_exposure()
214 srowexp = cp - hdcs->exp.er - 6 - cycles; in hdcs_set_exposure()
216 mnct = (hdcs->exp.er + 5 + ct - 1) / ct; in hdcs_set_exposure()
226 exp[0] = HDCS20_CONTROL; in hdcs_set_exposure()
[all …]
/linux-4.4.14/arch/sh/kernel/cpu/sh2a/
Dfpu.c101 int exp, w; in denormal_mulf() local
108 exp = (iy & 0x7f800000) >> 23; in denormal_mulf()
117 exp += w - 126 - 46; in denormal_mulf()
118 if (exp > 0) in denormal_mulf()
119 ix = ((int) (m >> (w - 23)) & 0x007fffff) | (exp << 23); in denormal_mulf()
120 else if (exp + 22 >= 0) in denormal_mulf()
121 ix = (int) (m >> (w - 22 - exp)) & 0x007fffff; in denormal_mulf()
168 int exp, w; in denormal_muld() local
175 exp = (iy & 0x7ff0000000000000LL) >> 52; in denormal_muld()
189 exp += w - 1022 - 52 * 2; in denormal_muld()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dgenops.c57 static void obd_zombie_export_add(struct obd_export *exp);
637 struct obd_device *class_exp2obd(struct obd_export *exp) in class_exp2obd() argument
639 if (exp) in class_exp2obd()
640 return exp->exp_obd; in class_exp2obd()
645 struct obd_import *class_exp2cliimp(struct obd_export *exp) in class_exp2cliimp() argument
647 struct obd_device *obd = exp->exp_obd; in class_exp2cliimp()
656 static void class_export_destroy(struct obd_export *exp) in class_export_destroy() argument
658 struct obd_device *obd = exp->exp_obd; in class_export_destroy()
660 LASSERT_ATOMIC_ZERO(&exp->exp_refcount); in class_export_destroy()
663 CDEBUG(D_IOCTL, "destroying export %p/%s for %s\n", exp, in class_export_destroy()
[all …]
Dobd_config.c287 struct obd_export *exp; in class_setup() local
336 exp = class_new_export(obd, &obd->obd_uuid); in class_setup()
337 if (IS_ERR(exp)) { in class_setup()
338 err = PTR_ERR(exp); in class_setup()
342 obd->obd_self_export = exp; in class_setup()
343 class_export_put(exp); in class_setup()
1429 struct obd_export *exp; in uuid_key() local
1431 exp = hlist_entry(hnode, struct obd_export, exp_uuid_hash); in uuid_key()
1433 return &exp->exp_client_uuid; in uuid_key()
1443 struct obd_export *exp; in uuid_keycmp() local
[all …]
Dobd_mount.c208 struct obd_export *exp; in lustre_start_mgc() local
396 rc = obd_connect(NULL, &exp, obd, &(obd->obd_uuid), data, NULL); in lustre_start_mgc()
402 obd->u.cli.cl_mgc_mgsexp = exp; in lustre_start_mgc()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dmdc_internal.h74 int mdc_set_lock_data(struct obd_export *exp,
77 int mdc_null_inode(struct obd_export *exp, const struct lu_fid *fid);
79 int mdc_find_cbdata(struct obd_export *exp, const struct lu_fid *fid,
82 int mdc_intent_lock(struct obd_export *exp,
89 int mdc_enqueue(struct obd_export *exp, struct ldlm_enqueue_info *einfo,
94 int mdc_resource_get_unused(struct obd_export *exp, const struct lu_fid *fid,
98 int mdc_fid_alloc(struct obd_export *exp, struct lu_fid *fid,
101 int mdc_open(struct obd_export *exp, u64 ino, int type, int flags,
111 int mdc_free_lustre_md(struct obd_export *exp, struct lustre_md *md);
113 int mdc_set_open_replay_data(struct obd_export *exp,
[all …]
Dmdc_reint.c69 int mdc_resource_get_unused(struct obd_export *exp, const struct lu_fid *fid, in mdc_resource_get_unused() argument
73 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in mdc_resource_get_unused()
85 if (exp_connect_cancelset(exp) && !ns_connect_cancelset(ns)) in mdc_resource_get_unused()
89 res = ldlm_resource_get(exp->exp_obd->obd_namespace, in mdc_resource_get_unused()
103 int mdc_setattr(struct obd_export *exp, struct md_op_data *op_data, in mdc_setattr() argument
110 struct obd_device *obd = exp->exp_obd; in mdc_setattr()
122 count = mdc_resource_get_unused(exp, &op_data->op_fid1, in mdc_setattr()
124 req = ptlrpc_request_alloc(class_exp2cliimp(exp), in mdc_setattr()
137 rc = mdc_prep_elc_req(exp, req, MDS_REINT, &cancels, count); in mdc_setattr()
205 int mdc_create(struct obd_export *exp, struct md_op_data *op_data, in mdc_create() argument
[all …]
Dmdc_locks.c118 int mdc_set_lock_data(struct obd_export *exp, __u64 *lockh, void *data, in mdc_set_lock_data() argument
154 ldlm_mode_t mdc_lock_match(struct obd_export *exp, __u64 flags, in mdc_lock_match() argument
164 policy->l_inodebits.bits &= exp_connect_ibits(exp); in mdc_lock_match()
165 rc = ldlm_lock_match(class_exp2obd(exp)->obd_namespace, flags, in mdc_lock_match()
170 int mdc_cancel_unused(struct obd_export *exp, in mdc_cancel_unused() argument
178 struct obd_device *obd = class_exp2obd(exp); in mdc_cancel_unused()
187 int mdc_null_inode(struct obd_export *exp, in mdc_null_inode() argument
192 struct ldlm_namespace *ns = class_exp2obd(exp)->obd_namespace; in mdc_null_inode()
214 int mdc_find_cbdata(struct obd_export *exp, in mdc_find_cbdata() argument
222 rc = ldlm_resource_iterate(class_exp2obd(exp)->obd_namespace, &res_id, in mdc_find_cbdata()
[all …]
Dmdc_request.c76 static int mdc_getstatus(struct obd_export *exp, struct lu_fid *rootfid) in mdc_getstatus() argument
82 req = ptlrpc_request_alloc_pack(class_exp2cliimp(exp), in mdc_getstatus()
123 static int mdc_getattr_common(struct obd_export *exp, in mdc_getattr_common() argument
144 mdc_update_max_ea_from_body(exp, body); in mdc_getattr_common()
155 LASSERT(client_is_remote(exp)); in mdc_getattr_common()
165 static int mdc_getattr(struct obd_export *exp, struct md_op_data *op_data, in mdc_getattr() argument
177 req = ptlrpc_request_alloc(class_exp2cliimp(exp), &RQF_MDS_GETATTR); in mdc_getattr()
193 LASSERT(client_is_remote(exp)); in mdc_getattr()
199 rc = mdc_getattr_common(exp, req); in mdc_getattr()
207 static int mdc_getattr_name(struct obd_export *exp, struct md_op_data *op_data, in mdc_getattr_name() argument
[all …]
/linux-4.4.14/net/ipv4/netfilter/
Dnf_nat_h323.c285 struct nf_conntrack_expect *exp) in nat_t120() argument
291 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; in nat_t120()
292 exp->expectfn = nf_nat_follow_master; in nat_t120()
293 exp->dir = !dir; in nat_t120()
299 exp->tuple.dst.u.tcp.port = htons(nated_port); in nat_t120()
300 ret = nf_ct_expect_related(exp); in nat_t120()
318 nf_ct_unexpect_related(exp); in nat_t120()
323 &exp->tuple.src.u3.ip, in nat_t120()
324 ntohs(exp->tuple.src.u.tcp.port), in nat_t120()
325 &exp->tuple.dst.u3.ip, in nat_t120()
[all …]
Dnf_nat_pptp.c43 struct nf_conntrack_expect *exp) in pptp_nat_expected() argument
57 if (exp->dir == IP_CT_DIR_ORIGINAL) { in pptp_nat_expected()
61 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected()
63 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected()
70 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected()
72 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected()
94 = ct->master->tuplehash[!exp->dir].tuple.dst.u3; in pptp_nat_expected()
95 if (exp->dir == IP_CT_DIR_ORIGINAL) { in pptp_nat_expected()
97 range.min_proto = range.max_proto = exp->saved_proto; in pptp_nat_expected()
104 = ct->master->tuplehash[!exp->dir].tuple.src.u3; in pptp_nat_expected()
[all …]
Dnf_conntrack_l3proto_ipv4_compat.c283 struct nf_conntrack_expect *exp; in exp_seq_show() local
286 exp = hlist_entry(n, struct nf_conntrack_expect, hnode); in exp_seq_show()
288 if (exp->tuple.src.l3num != AF_INET) in exp_seq_show()
291 if (exp->timeout.function) in exp_seq_show()
292 seq_printf(s, "%ld ", timer_pending(&exp->timeout) in exp_seq_show()
293 ? (long)(exp->timeout.expires - jiffies)/HZ : 0); in exp_seq_show()
297 seq_printf(s, "proto=%u ", exp->tuple.dst.protonum); in exp_seq_show()
299 print_tuple(s, &exp->tuple, in exp_seq_show()
300 __nf_ct_l3proto_find(exp->tuple.src.l3num), in exp_seq_show()
301 __nf_ct_l4proto_find(exp->tuple.src.l3num, in exp_seq_show()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dsec.c1658 static int flavor_allowed(struct sptlrpc_flavor *exp, in flavor_allowed() argument
1663 if (exp->sf_rpc == SPTLRPC_FLVR_ANY || exp->sf_rpc == flvr->sf_rpc) in flavor_allowed()
1667 SPTLRPC_FLVR_POLICY(exp->sf_rpc) == in flavor_allowed()
1669 SPTLRPC_FLVR_MECH(exp->sf_rpc) == SPTLRPC_FLVR_MECH(flvr->sf_rpc)) in flavor_allowed()
1682 int sptlrpc_target_export_check(struct obd_export *exp, in sptlrpc_target_export_check() argument
1687 if (exp == NULL) in sptlrpc_target_export_check()
1692 if (exp->exp_imp_reverse == NULL) in sptlrpc_target_export_check()
1699 spin_lock(&exp->exp_lock); in sptlrpc_target_export_check()
1706 if (unlikely(exp->exp_flvr_changed) && in sptlrpc_target_export_check()
1707 flavor_allowed(&exp->exp_flvr_old[1], req)) { in sptlrpc_target_export_check()
[all …]
Dimport.c790 struct obd_export *exp; in ptlrpc_connect_interpret() local
838 exp = class_conn2export(&imp->imp_dlm_handle); in ptlrpc_connect_interpret()
852 if (!exp) { in ptlrpc_connect_interpret()
860 old_connect_flags = exp_connect_flags(exp); in ptlrpc_connect_interpret()
861 exp->exp_connect_data = *ocd; in ptlrpc_connect_interpret()
863 class_export_put(exp); in ptlrpc_connect_interpret()
1113 if (old_connect_flags != exp_connect_flags(exp) || in ptlrpc_connect_interpret()
Dservice.c1754 struct obd_export *exp; in ptlrpc_handle_rs() local
1758 exp = rs->rs_export; in ptlrpc_handle_rs()
1764 spin_lock(&exp->exp_lock); in ptlrpc_handle_rs()
1767 spin_unlock(&exp->exp_lock); in ptlrpc_handle_rs()
1792 spin_lock(&exp->exp_uncommitted_replies_lock); in ptlrpc_handle_rs()
1794 spin_unlock(&exp->exp_uncommitted_replies_lock); in ptlrpc_handle_rs()
1811 libcfs_nid2str(exp->exp_connection->c_peer.nid)); in ptlrpc_handle_rs()
1835 class_export_put(exp); in ptlrpc_handle_rs()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c489 struct obd_export **exp, in client_connect_import() argument
499 *exp = NULL; in client_connect_import()
511 *exp = class_conn2export(&conn); in client_connect_import()
531 LASSERT(*exp != NULL && (*exp)->exp_connection); in client_connect_import()
545 class_disconnect(*exp); in client_connect_import()
546 *exp = NULL; in client_connect_import()
555 int client_disconnect_export(struct obd_export *exp) in client_disconnect_export() argument
557 struct obd_device *obd = class_exp2obd(exp); in client_disconnect_export()
564 exp, exp ? exp->exp_handle.h_cookie : -1); in client_disconnect_export()
619 err = class_disconnect(exp); in client_disconnect_export()
[all …]
Dldlm_request.c333 int ldlm_cli_enqueue_fini(struct obd_export *exp, struct ptlrpc_request *req, in ldlm_cli_enqueue_fini() argument
338 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_cli_enqueue_fini()
402 if (exp->exp_lock_hash) { in ldlm_cli_enqueue_fini()
406 cfs_hash_rehash_key(exp->exp_lock_hash, in ldlm_cli_enqueue_fini()
456 !(exp_connect_flags(exp) & OBD_CONNECT_IBITS))) in ldlm_cli_enqueue_fini()
458 ldlm_convert_policy_to_local(exp, in ldlm_cli_enqueue_fini()
571 int ldlm_prep_elc_req(struct obd_export *exp, struct ptlrpc_request *req, in ldlm_prep_elc_req() argument
575 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_prep_elc_req()
635 int ldlm_prep_enqueue_req(struct obd_export *exp, struct ptlrpc_request *req, in ldlm_prep_enqueue_req() argument
638 return ldlm_prep_elc_req(exp, req, LUSTRE_DLM_VERSION, LDLM_ENQUEUE, in ldlm_prep_enqueue_req()
[all …]
Dldlm_lock.c108 void ldlm_convert_policy_to_local(struct obd_export *exp, ldlm_type_t type, in ldlm_convert_policy_to_local() argument
116 new_client = (exp_connect_flags(exp) & OBD_CONNECT_FULL20) != 0; in ldlm_convert_policy_to_local()
1895 struct obd_export *exp = lock->l_export; in _ldlm_lock_debug() local
1901 if (exp && exp->exp_connection) { in _ldlm_lock_debug()
1902 nid = libcfs_nid2str(exp->exp_connection->c_peer.nid); in _ldlm_lock_debug()
1903 } else if (exp && exp->exp_obd != NULL) { in _ldlm_lock_debug()
1904 struct obd_import *imp = exp->exp_obd->u.cli.cl_import; in _ldlm_lock_debug()
1918 exp ? atomic_read(&exp->exp_refcount) : -99, in _ldlm_lock_debug()
1940 exp ? atomic_read(&exp->exp_refcount) : -99, in _ldlm_lock_debug()
1960 exp ? atomic_read(&exp->exp_refcount) : -99, in _ldlm_lock_debug()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c131 static struct obd_uuid *lmv_get_uuid(struct obd_export *exp) in lmv_get_uuid() argument
133 struct lmv_obd *lmv = &exp->exp_obd->u.lmv; in lmv_get_uuid()
198 struct obd_export **exp, struct obd_device *obd, in lmv_connect() argument
212 *exp = NULL; in lmv_connect()
222 *exp = class_conn2export(&conn); in lmv_connect()
223 class_export_get(*exp); in lmv_connect()
225 lmv->exp = *exp; in lmv_connect()
272 static int lmv_init_ea_size(struct obd_export *exp, int easize, in lmv_init_ea_size() argument
275 struct obd_device *obd = exp->exp_obd; in lmv_init_ea_size()
553 class_export_put(lmv->exp); in lmv_check_connect()
[all …]
Dlmv_intent.c54 static int lmv_intent_remote(struct obd_export *exp, void *lmm, in lmv_intent_remote() argument
61 struct obd_device *obd = exp->exp_obd; in lmv_intent_remote()
159 int lmv_intent_open(struct obd_export *exp, struct md_op_data *op_data, in lmv_intent_open() argument
165 struct obd_device *obd = exp->exp_obd; in lmv_intent_open()
184 rc = lmv_fid_alloc(exp, &op_data->op_fid2, op_data); in lmv_intent_open()
219 rc = lmv_intent_remote(exp, lmm, lmmsize, it, &op_data->op_fid1, flags, in lmv_intent_open()
242 int lmv_intent_lookup(struct obd_export *exp, struct md_op_data *op_data, in lmv_intent_lookup() argument
248 struct obd_device *obd = exp->exp_obd; in lmv_intent_lookup()
286 rc = lmv_intent_remote(exp, lmm, lmmsize, it, NULL, flags, reqp, in lmv_intent_lookup()
292 int lmv_intent_lock(struct obd_export *exp, struct md_op_data *op_data, in lmv_intent_lock() argument
[all …]
Dlmv_internal.h53 int lmv_intent_lock(struct obd_export *exp, struct md_op_data *op_data,
59 int lmv_intent_lookup(struct obd_export *exp, struct md_op_data *op_data,
65 int lmv_intent_open(struct obd_export *exp, struct md_op_data *op_data,
75 int lmv_fid_alloc(struct obd_export *exp, struct lu_fid *fid,
/linux-4.4.14/include/net/netfilter/
Dnf_conntrack_expect.h59 static inline struct net *nf_ct_exp_net(struct nf_conntrack_expect *exp) in nf_ct_exp_net() argument
61 return nf_ct_net(exp->master); in nf_ct_exp_net()
95 void nf_ct_unlink_expect_report(struct nf_conntrack_expect *exp,
97 static inline void nf_ct_unlink_expect(struct nf_conntrack_expect *exp) in nf_ct_unlink_expect() argument
99 nf_ct_unlink_expect_report(exp, 0, 0); in nf_ct_unlink_expect()
103 void nf_ct_unexpect_related(struct nf_conntrack_expect *exp);
112 void nf_ct_expect_put(struct nf_conntrack_expect *exp);
Dnf_conntrack_ecache.h161 struct nf_conntrack_expect *exp; member
177 struct nf_conntrack_expect *exp, in nf_ct_expect_event_report() argument
181 struct net *net = nf_ct_exp_net(exp); in nf_ct_expect_event_report()
190 e = nf_ct_ecache_find(exp->master); in nf_ct_expect_event_report()
196 .exp = exp, in nf_ct_expect_event_report()
208 struct nf_conntrack_expect *exp) in nf_ct_expect_event() argument
210 nf_ct_expect_event_report(event, exp, 0, 0); in nf_ct_expect_event()
249 struct nf_conntrack_expect *exp) {} in nf_ct_expect_event() argument
251 struct nf_conntrack_expect *exp, in nf_ct_expect_event_report() argument
Dnf_conntrack_helper.h102 void (*expectfn)(struct nf_conn *ct, struct nf_conntrack_expect *exp);
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_internal.h92 int osc_create(const struct lu_env *env, struct obd_export *exp,
95 int osc_real_create(struct obd_export *exp, struct obdo *oa,
108 int osc_enqueue_base(struct obd_export *exp, struct ldlm_res_id *res_id,
117 int osc_match_base(struct obd_export *exp, struct ldlm_res_id *res_id,
122 int osc_setattr_async_base(struct obd_export *exp, struct obd_info *oinfo,
126 int osc_punch_base(struct obd_export *exp, struct obd_info *oinfo,
129 int osc_sync_base(struct obd_export *exp, struct obd_info *oinfo,
194 int osc_quotactl(struct obd_device *unused, struct obd_export *exp,
196 int osc_quotacheck(struct obd_device *unused, struct obd_export *exp,
198 int osc_quota_poll_check(struct obd_export *exp, struct if_quotacheck *qchk);
Dosc_request.c110 static int osc_packmd(struct obd_export *exp, struct lov_mds_md **lmmp, in osc_packmd() argument
140 static int osc_unpackmd(struct obd_export *exp, struct lov_stripe_md **lsmp, in osc_unpackmd() argument
144 struct obd_import *imp = class_exp2cliimp(exp); in osc_unpackmd()
149 exp->exp_obd->obd_name, lmm_bytes, in osc_unpackmd()
157 exp->exp_obd->obd_name, -EINVAL); in osc_unpackmd()
241 static int osc_getattr_async(struct obd_export *exp, struct obd_info *oinfo, in osc_getattr_async() argument
248 req = ptlrpc_request_alloc(class_exp2cliimp(exp), &RQF_OST_GETATTR); in osc_getattr_async()
271 static int osc_getattr(const struct lu_env *env, struct obd_export *exp, in osc_getattr() argument
278 req = ptlrpc_request_alloc(class_exp2cliimp(exp), &RQF_OST_GETATTR); in osc_getattr()
306 oinfo->oi_oa->o_blksize = cli_brw_size(exp->exp_obd); in osc_getattr()
[all …]
Dosc_quota.c245 int osc_quotactl(struct obd_device *unused, struct obd_export *exp, in osc_quotactl() argument
252 req = ptlrpc_request_alloc_pack(class_exp2cliimp(exp), in osc_quotactl()
286 int osc_quotacheck(struct obd_device *unused, struct obd_export *exp, in osc_quotacheck() argument
289 struct client_obd *cli = &exp->exp_obd->u.cli; in osc_quotacheck()
294 req = ptlrpc_request_alloc_pack(class_exp2cliimp(exp), in osc_quotacheck()
315 int osc_quota_poll_check(struct obd_export *exp, struct if_quotacheck *qchk) in osc_quota_poll_check() argument
317 struct client_obd *cli = &exp->exp_obd->u.cli; in osc_quota_poll_check()
/linux-4.4.14/arch/x86/math-emu/
Dreg_ld_str.c38 static u_char normalize_no_excep(FPU_REG *r, int exp, int sign) in normalize_no_excep() argument
42 setexponent16(r, exp); in normalize_no_excep()
54 int exp; in FPU_tagof() local
56 exp = exponent16(ptr) & 0x7fff; in FPU_tagof()
57 if (exp == 0) { in FPU_tagof()
65 if (exp == 0x7fff) { in FPU_tagof()
96 int exp, tag, negative; in FPU_load_double() local
106 exp = ((m64 & 0x7ff00000) >> 20) - DOUBLE_Ebias + EXTENDED_Ebias; in FPU_load_double()
108 if (exp > DOUBLE_Emax + EXTENDED_Ebias) { in FPU_load_double()
114 exp = EXP_Infinity + EXTENDED_Ebias; in FPU_load_double()
[all …]
Dfpu_emu.h120 short exp; member
171 *(short *)&(y->exp) = *(const short *)&(x->exp); in reg_copy()
175 #define exponent(x) (((*(short *)&((x)->exp)) & 0x7fff) - EXTENDED_Ebias)
176 #define setexponentpos(x,y) { (*(short *)&((x)->exp)) = \
178 #define exponent16(x) (*(short *)&((x)->exp))
179 #define setexponent16(x,y) { (*(short *)&((x)->exp)) = (y); }
180 #define addexponent(x,y) { (*(short *)&((x)->exp)) += (y); }
181 #define stdexp(x) { (*(short *)&((x)->exp)) += EXTENDED_Ebias; }
Dpoly.h87 static inline void add_two_Xsig(Xsig *dest, const Xsig *x2, long int *exp) in add_two_Xsig() argument
97 "0: xorl %%eax,%%eax;\n" "1:\n":"=g" (*exp), "=g"(*dest) in add_two_Xsig()
98 :"g"(dest), "g"(x2), "g"(exp) in add_two_Xsig()
Dfpu_tags.c63 int exp = exponent(ptr); in FPU_Special() local
65 if (exp == EXP_BIAS + EXP_UNDER) in FPU_Special()
67 else if (exp != EXP_BIAS + EXP_OVER) in FPU_Special()
DREADME70 (4) The trig, log, and exp functions are based in each case upon quasi-
191 exp() 479.1 6619.2 469.1 850.8
217 exp() 619.3 4046.4
257 exp(x) 0 .. 1 63.1 ** 62.9
260 ** The accuracy for exp() and log() is low because the FPU (emulator)
/linux-4.4.14/drivers/media/rc/img-ir/
Dimg-ir-sharp.c18 unsigned int addr, cmd, exp, chk; in img_ir_sharp_scancode() local
25 exp = (raw >> 13) & 0x1; in img_ir_sharp_scancode()
29 if (!exp) in img_ir_sharp_scancode()
44 unsigned int addr, cmd, exp = 0, chk = 0; in img_ir_sharp_filter() local
53 exp = 1; in img_ir_sharp_filter()
61 exp << 13 | in img_ir_sharp_filter()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_nfct.c144 struct nf_conntrack_expect *exp) in ip_vs_nfct_expect_callback() argument
151 if (exp->tuple.src.l3num != PF_INET) in ip_vs_nfct_expect_callback()
164 ip_vs_conn_fill_param(net_ipvs(net), exp->tuple.src.l3num, orig->dst.protonum, in ip_vs_nfct_expect_callback()
229 struct nf_conntrack_expect *exp; in ip_vs_nfct_expect_related() local
234 exp = nf_ct_expect_alloc(ct); in ip_vs_nfct_expect_related()
235 if (!exp) in ip_vs_nfct_expect_related()
238 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in ip_vs_nfct_expect_related()
244 exp->expectfn = ip_vs_nfct_expect_callback; in ip_vs_nfct_expect_related()
247 __func__, ct, ARG_TUPLE(&exp->tuple)); in ip_vs_nfct_expect_related()
248 nf_ct_expect_related(exp); in ip_vs_nfct_expect_related()
[all …]
/linux-4.4.14/kernel/
Dacct.c314 int exp, rnd; in encode_comp_t() local
316 exp = rnd = 0; in encode_comp_t()
320 exp++; in encode_comp_t()
328 exp++; in encode_comp_t()
334 exp <<= MANTSIZE; /* Shift the exponent into place */ in encode_comp_t()
335 exp += value; /* and add on the mantissa. */ in encode_comp_t()
336 return exp; in encode_comp_t()
356 int exp, rnd; in encode_comp2_t() local
358 exp = (value > (MAXFRACT2>>1)); in encode_comp2_t()
363 exp++; in encode_comp2_t()
[all …]
/linux-4.4.14/kernel/time/
Dalarmtimer.c597 ktime_t exp; in alarm_timer_set() local
614 exp = timespec_to_ktime(new_setting->it_value); in alarm_timer_set()
620 exp = ktime_add(now, exp); in alarm_timer_set()
623 alarm_start(&timr->it.alarm.alarmtimer, exp); in alarm_timer_set()
678 static int update_rmtp(ktime_t exp, enum alarmtimer_type type, in update_rmtp() argument
684 rem = ktime_sub(exp, alarm_bases[type].gettime()); in update_rmtp()
706 ktime_t exp; in alarm_timer_nsleep_restart() local
711 exp.tv64 = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
714 if (alarmtimer_do_nsleep(&alarm, exp)) in alarm_timer_nsleep_restart()
718 alarmtimer_freezerset(exp, type); in alarm_timer_nsleep_restart()
[all …]
Dposix-cpu-timers.c496 unsigned long long exp = nt->expires; in arm_timer() local
507 if (expires_gt(cputime_expires->prof_exp, expires_to_cputime(exp))) in arm_timer()
508 cputime_expires->prof_exp = expires_to_cputime(exp); in arm_timer()
511 if (expires_gt(cputime_expires->virt_exp, expires_to_cputime(exp))) in arm_timer()
512 cputime_expires->virt_exp = expires_to_cputime(exp); in arm_timer()
516 cputime_expires->sched_exp > exp) in arm_timer()
517 cputime_expires->sched_exp = exp; in arm_timer()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_obd.c200 struct obd_export **exp, struct obd_device *obd, in lov_connect() argument
215 *exp = class_conn2export(&conn); in lov_connect()
300 static int lov_disconnect(struct obd_export *exp) in lov_disconnect() argument
302 struct obd_device *obd = class_exp2obd(exp); in lov_disconnect()
331 rc = class_disconnect(exp); /* bz 9811 */ in lov_disconnect()
967 static int lov_recreate(struct obd_export *exp, struct obdo *src_oa, in lov_recreate() argument
971 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_recreate()
1021 static int lov_create(const struct lu_env *env, struct obd_export *exp, in lov_create() argument
1029 if (exp == NULL) in lov_create()
1038 lov = &exp->exp_obd->u.lov; in lov_create()
[all …]
Dlov_internal.h134 int lov_adjust_kms(struct obd_export *exp, struct lov_stripe_md *lsm,
157 int qos_prep_create(struct obd_export *exp, struct lov_request_set *set);
171 int lov_prep_getattr_set(struct obd_export *exp, struct obd_info *oinfo,
174 int lov_prep_destroy_set(struct obd_export *exp, struct obd_info *oinfo,
179 int lov_prep_setattr_set(struct obd_export *exp, struct obd_info *oinfo,
210 int lov_packmd(struct obd_export *exp, struct lov_mds_md **lmm,
212 int lov_unpackmd(struct obd_export *exp, struct lov_stripe_md **lsmp,
214 int lov_getstripe(struct obd_export *exp,
Dlov_pack.c111 int lov_packmd(struct obd_export *exp, struct lov_mds_md **lmmp, in lov_packmd() argument
114 struct obd_device *obd = class_exp2obd(exp); in lov_packmd()
332 int lov_unpackmd(struct obd_export *exp, struct lov_stripe_md **lsmp, in lov_unpackmd() argument
335 struct obd_device *obd = class_exp2obd(exp); in lov_unpackmd()
391 int lov_getstripe(struct obd_export *exp, struct lov_stripe_md *lsm, in lov_getstripe() argument
434 rc = lov_packmd(exp, &lmmk, lsm); in lov_getstripe()
486 obd_free_diskmd(exp, &lmmk); in lov_getstripe()
Dlov_request.c270 int lov_prep_getattr_set(struct obd_export *exp, struct obd_info *oinfo, in lov_prep_getattr_set() argument
274 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_prep_getattr_set()
282 set->set_exp = exp; in lov_prep_getattr_set()
351 int lov_prep_destroy_set(struct obd_export *exp, struct obd_info *oinfo, in lov_prep_destroy_set() argument
357 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_prep_destroy_set()
365 set->set_exp = exp; in lov_prep_destroy_set()
472 int lov_prep_setattr_set(struct obd_export *exp, struct obd_info *oinfo, in lov_prep_setattr_set() argument
477 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_prep_setattr_set()
485 set->set_exp = exp; in lov_prep_setattr_set()
Dlov_merge.c113 int lov_adjust_kms(struct obd_export *exp, struct lov_stripe_md *lsm, in lov_adjust_kms() argument
/linux-4.4.14/arch/parisc/math-emu/
Dcnv_float.h108 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \ argument
111 if (exp >= -2) { \
112 if (exp == 0) { \
156 inexact = Dallp2(srcB) << (2 + exp); \
160 if (exp == -2) dest = Dallp1(srcA); \
161 else Variable_shift_double(Dallp1(srcA),Dallp2(srcB),30-exp,dest); \
167 if (exp > (1 - SGL_P)) { \
168 dest = Dallp1(srcA) >> (- 2 - exp); \
169 inexact = Dallp1(srcA) << (34 + exp); \
178 if (exp == (1 - SGL_P)) { \
[all …]
Dsgl_float.h158 #define Sgl_set_exponent(sgl_value,exp) Deposit_sexponent(sgl_value,exp) argument
Ddbl_float.h246 #define Dbl_set_exponent(dbl_value, exp) Deposit_dexponent(dbl_value,exp) argument
/linux-4.4.14/kernel/sched/
Dloadavg.c100 calc_load(unsigned long load, unsigned long exp, unsigned long active) in calc_load() argument
104 newload = load * exp + active * (FIXED_1 - exp); in calc_load()
293 calc_load_n(unsigned long load, unsigned long exp, in calc_load_n() argument
296 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n()
/linux-4.4.14/include/linux/netfilter/
Dnf_conntrack_h323.h73 struct nf_conntrack_expect *exp);
79 struct nf_conntrack_expect *exp);
87 struct nf_conntrack_expect *exp);
93 struct nf_conntrack_expect *exp);
Dnf_conntrack_amanda.h10 struct nf_conntrack_expect *exp);
Dnf_conntrack_irc.h13 struct nf_conntrack_expect *exp);
Dnf_conntrack_tftp.h18 struct nf_conntrack_expect *exp);
Dnf_conntrack_ftp.h32 struct nf_conntrack_expect *exp);
Dnf_conntrack_sip.h125 struct nf_conntrack_expect *exp,
Dnf_conntrack_pptp.h323 struct nf_conntrack_expect *exp);
/linux-4.4.14/arch/m68k/fpsp040/
Dsgetem.S19 | Output: The functions return exp(X) or man(X) in fp0.
52 fmovew %d0,%fp0 |move the exp to fp0
58 bsr nrm_set |normalize (exp will go negative)
61 fmovew %d0,%fp0 |move the exp to fp0
81 movew LOCAL_EX(%a0),%d0 |get the exp (really just want sign bit)
82 orw #0x7fff,%d0 |clear old exp
83 bclrl #14,%d0 |make it the new exp +-3fff
84 movew %d0,LOCAL_EX(%a0) |move the sign & exp back to fsave stack
Dsint.S27 | 1. If exp(X) >= 63, return X.
28 | If exp(X) < 0, return +/- 0 or +/- 1, according to
31 | 2. (X is in range) set rsc = 63 - exp(X). Unnormalize the
144 cmpw #0x403e,LOCAL_EX(%a0) |check if (unbiased) exp > 63
145 bgts out_rnge |branch if exp < 63
146 cmpw #0x3ffd,LOCAL_EX(%a0) |check if (unbiased) exp < 0
147 bgt in_rnge |if 63 >= exp > 0, do calc
201 fmovex LOCAL_EX(%a0),%fp0 |if exp > 63
Ddecbin.S50 | A4. Calculate the factor 10^exp in FP1 using a table of
454 movel %d1,%d0 |copy exp to d0;use d0
455 bpls no_neg |if exp is negative,
471 | Check the sign of the adjusted exp and make the value in fp0 the
472 | same sign. If the exp was pos then multiply fp1*fp0;
479 | ( ) fp1: scaling factor - 10**(abs(exp))
485 fdivx %fp1,%fp0 |exp is negative, so divide mant by exp
488 fmulx %fp1,%fp0 |exp is positive, so multiply by exp
Dx_store.S118 | extended -> |s| exp | |1| ms mant | | ls mant |
126 | double -> |s|exp| mant | | mant |
138 lsll #4,%d0 |d0 now in proper place for dbl prec exp
151 movel %d0,LOCAL_EX(%a1) |put the new exp back on the stack
157 movel %d0,LOCAL_EX(%a1) |put the new exp back on the stack
Dscosh.S26 | y = |X|, z = exp(Y), and
33 | cosh(X) = sign(X) * exp(|X|)/2.
34 | However, invoking exp(|X|) may cause premature overflow.
Dsetox.S6 | number. setoxm1 computes exp(X)-1, and setoxm1d computes
7 | exp(X)-1 for denormalized X.
16 | exp(X) or exp(X)-1 returned in floating-point register fp0.
127 | Step 4. Approximate exp(R)-1 by a polynomial
133 | |p - (exp(R)-1)| < 2^(-68.8) for all |R| <= 0.0062.
141 | Step 5. Compute 2^(J/64)*exp(R) = 2^(J/64)*(1+p) by
152 | Step 6. Reconstruction of exp(X)
153 | exp(X) = 2^M * 2^(J/64) * exp(R).
159 | |M| <= 16380, and Scale = 2^M. Moreover, exp(X) will
163 | Hence, exp(X) may overflow or underflow or neither.
[all …]
Dround.S220 addw #0x1,LOCAL_EX(%a0) |and inc exp
306 cmpw #64,%d0 |see if exp > 64
308 bsr nrm_set |exp > 64 so exp won't exceed 0
330 lsrl %d5,%d6 |by the number in the exp, then
331 | ;set exp = 0.
333 movel #0,%d0 |same as if decremented exp to 0
346 bsr nrm_set |else exp won't go past 0
390 subw %d7,%d0 |subtract shift count from exp
393 movel %d1,LOCAL_HI(%a0) |store exp
442 subw LOCAL_EX(%a0),%d0 |diff = threshold - exp
[all …]
Dres_func.S71 bsr nrm_set |normalize number (exp will go negative)
705 bfextu ETEMP_EX(%a6){#1:#15},%d0 |get src exp (always pos)
706 bfexts FPTEMP_EX(%a6){#1:#15},%d1 |get dest exp (always neg)
744 bfextu FPTEMP_EX(%a6){#1:#15},%d0 |get dest exp (always pos)
745 bfexts ETEMP_EX(%a6){#1:#15},%d1 |get src exp (always neg)
809 bfextu ETEMP_EX(%a6){#1:#15},%d0 |get src exp (always pos)
810 bfexts FPTEMP_EX(%a6){#1:#15},%d1 |get dest exp (always neg)
818 bfextu FPTEMP_EX(%a6){#1:#15},%d0 |get dest exp (always pos)
819 bfexts ETEMP_EX(%a6){#1:#15},%d1 |get src exp (always neg)
984 bfextu ETEMP_EX(%a6){#1:#15},%d0 |get src exp (always pos)
[all …]
Dstwotox.S34 | 2**X = 2**(M') * 2**(M) * 2**(j/64) * exp(r).
50 | 10**X = 2**(M') * 2**(M) * 2**(j/64) * exp(r).
61 | 3. Calculate P where 1 + P approximates exp(r):
Dssinh.S33 | sinh(X) = sign(X) * exp(|X|)/2.
34 | However, invoking exp(|X|) may cause premature overflow.
Dbindec.S101 | As in A14 above, the exp is converted to bcd and the
187 andiw #0x7fff,%d0 |strip sign of normalized exp
203 andiw #0x7fff,%d0 |strip sign of normalized exp
247 movew FP_SCR2(%a6),%d0 |move exp to d0
251 faddw %d0,%fp0 |add in exp
Dscale.S100 addl %d0,%d1 |add src to dest exp
169 movew %d1,%d0 |use d0 for exp
Dx_operr.S163 bsr check_upper |check if exp and ms mant are special
190 bsr check_upper |check if exp and ms mant are special
Dstanh.S36 | sgn := sign(X), y := 2|X|, z := exp(Y),
Dget_op.S661 | For a norm, check if the exp <= $3fff; if so, set etemp_15
/linux-4.4.14/drivers/staging/lustre/lustre/fid/
Dfid_request.c62 struct obd_export *exp = seq->lcs_exp; in seq_client_rpc() local
69 req = ptlrpc_request_alloc_pack(class_exp2cliimp(exp), &RQF_SEQ_QUERY, in seq_client_rpc()
113 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in seq_client_rpc()
116 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in seq_client_rpc()
393 struct obd_export *exp, in seq_client_init() argument
414 seq->lcs_exp = class_export_get(exp); in seq_client_init()
426 struct obd_export *exp, enum lu_cli_type type) in client_fid_init() argument
445 rc = seq_client_init(cli->cl_seq, exp, type, prefix); in client_fid_init()
/linux-4.4.14/drivers/media/i2c/smiapp/
Dsmiapp-regs.c28 int32_t exp; in float_to_u32_mul_1000000() local
55 exp = ((int32_t)phloat >> 23) - 127; in float_to_u32_mul_1000000()
60 if (exp < 0) in float_to_u32_mul_1000000()
61 man >>= -exp; in float_to_u32_mul_1000000()
63 man <<= exp; in float_to_u32_mul_1000000()
/linux-4.4.14/drivers/misc/echo/
Decho.c125 int exp; in lms_adapt_bg() local
145 exp = *phist++ * factor; in lms_adapt_bg()
146 ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); in lms_adapt_bg()
197 int exp; in lms_adapt_bg() local
210 exp = (ec->fir_state_bg.history[i - offset1] * factor); in lms_adapt_bg()
211 ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); in lms_adapt_bg()
214 exp = (ec->fir_state_bg.history[i + offset2] * factor); in lms_adapt_bg()
215 ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); in lms_adapt_bg()
/linux-4.4.14/drivers/media/usb/gspca/
Dsn9c20x.c1439 u8 exp[8] = {sd->i2c_intf, sd->i2c_addr, in set_exposure() local
1444 exp[7] = 0x1e; in set_exposure()
1455 exp[0] |= (2 << 4); in set_exposure()
1456 exp[2] = 0x10; /* AECH */ in set_exposure()
1457 exp[3] = expo2 >> 2; in set_exposure()
1458 exp[7] = 0x10; in set_exposure()
1459 i2c_w(gspca_dev, exp); in set_exposure()
1460 exp[2] = 0x04; /* COM1 */ in set_exposure()
1461 exp[3] = expo2 & 0x0003; in set_exposure()
1462 exp[7] = 0x10; in set_exposure()
[all …]
/linux-4.4.14/fs/
Dselect.c429 unsigned long *rinp, *routp, *rexp, *inp, *outp, *exp; in do_select() local
432 inp = fds->in; outp = fds->out; exp = fds->ex; in do_select()
439 in = *inp++; out = *outp++; ex = *exp++; in do_select()
548 fd_set __user *exp, struct timespec *end_time) in core_sys_select() argument
593 (ret = get_fd_set(n, exp, fds.ex))) in core_sys_select()
612 set_fd_set(n, exp, fds.res_ex)) in core_sys_select()
623 fd_set __user *, exp, struct timeval __user *, tvp) in SYSCALL_DEFINE5() argument
640 ret = core_sys_select(n, inp, outp, exp, to); in SYSCALL_DEFINE5()
647 fd_set __user *exp, struct timespec __user *tsp, in do_pselect() argument
674 ret = core_sys_select(n, inp, outp, exp, to); in do_pselect()
[all …]
Dcompat.c1235 compat_ulong_t __user *outp, compat_ulong_t __user *exp, in compat_core_sys_select() argument
1277 (ret = compat_get_fd_set(n, exp, fds.ex))) in compat_core_sys_select()
1296 compat_set_fd_set(n, exp, fds.res_ex)) in compat_core_sys_select()
1306 compat_ulong_t __user *, outp, compat_ulong_t __user *, exp, in COMPAT_SYSCALL_DEFINE5() argument
1324 ret = compat_core_sys_select(n, inp, outp, exp, to); in COMPAT_SYSCALL_DEFINE5()
1334 compat_uptr_t exp; member
1345 compat_ptr(a.exp), compat_ptr(a.tvp)); in COMPAT_SYSCALL_DEFINE1()
1349 compat_ulong_t __user *outp, compat_ulong_t __user *exp, in do_compat_pselect() argument
1379 ret = compat_core_sys_select(n, inp, outp, exp, to); in do_compat_pselect()
1400 compat_ulong_t __user *, outp, compat_ulong_t __user *, exp, in COMPAT_SYSCALL_DEFINE6() argument
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/fld/
Dfld_request.c396 int fld_client_rpc(struct obd_export *exp, in fld_client_rpc() argument
405 LASSERT(exp != NULL); in fld_client_rpc()
407 imp = class_exp2cliimp(exp); in fld_client_rpc()
429 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in fld_client_rpc()
430 fld_enter_request(&exp->exp_obd->u.cli); in fld_client_rpc()
432 fld_exit_request(&exp->exp_obd->u.cli); in fld_client_rpc()
434 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in fld_client_rpc()
Dfld_internal.h141 int fld_client_rpc(struct obd_export *exp,
/linux-4.4.14/lib/mpi/
Dmpi-pow.c36 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm() argument
52 esize = exp->nlimbs; in mpi_powm()
55 esign = exp->sign; in mpi_powm()
59 ep = exp->d; in mpi_powm()
/linux-4.4.14/drivers/media/i2c/soc_camera/
Dmt9v022.c528 struct v4l2_ctrl *exp = mt9v022->exposure; in mt9v022_g_volatile_ctrl() local
546 range = exp->maximum - exp->minimum; in mt9v022_g_volatile_ctrl()
547 exp->val = ((data - 1) * range + 239) / 479 + exp->minimum; in mt9v022_g_volatile_ctrl()
622 struct v4l2_ctrl *exp = mt9v022->exposure; in mt9v022_s_ctrl() local
623 unsigned long range = exp->maximum - exp->minimum; in mt9v022_s_ctrl()
624 unsigned long shutter = ((exp->val - (s32)exp->minimum) * in mt9v022_s_ctrl()
Dmt9m001.c401 struct v4l2_ctrl *exp = mt9m001->exposure; in mt9m001_s_ctrl() local
449 unsigned long range = exp->maximum - exp->minimum; in mt9m001_s_ctrl()
450 unsigned long shutter = ((exp->val - (s32)exp->minimum) * 1048 + in mt9m001_s_ctrl()
Dmt9t031.c460 struct v4l2_ctrl *exp = mt9t031->exposure; in mt9t031_s_ctrl() local
517 unsigned int range = exp->maximum - exp->minimum; in mt9t031_s_ctrl()
518 unsigned int shutter = ((exp->val - (s32)exp->minimum) * 1048 + in mt9t031_s_ctrl()
/linux-4.4.14/include/math-emu/
Ddouble.h61 unsigned exp : _FP_EXPBITS_D; member
67 unsigned exp : _FP_EXPBITS_D;
135 unsigned exp : _FP_EXPBITS_D; member
139 unsigned exp : _FP_EXPBITS_D;
Dquad.h62 unsigned exp : _FP_EXPBITS_Q; member
72 unsigned exp : _FP_EXPBITS_Q;
140 unsigned exp : _FP_EXPBITS_Q; member
146 unsigned exp : _FP_EXPBITS_Q;
Dop-1.h80 X##_e = _flo.bits.exp; \
90 X##_e = _flo->bits.exp; \
103 _flo.bits.exp = X##_e; \
115 _flo->bits.exp = X##_e; \
Dsingle.h52 unsigned exp : _FP_EXPBITS_S; member
56 unsigned exp : _FP_EXPBITS_S;
Dop-2.h191 X##_e = _flo.bits.exp; \
202 X##_e = _flo->bits.exp; \
217 _flo.bits.exp = X##_e; \
230 _flo->bits.exp = X##_e; \
Dop-4.h191 X##_e = _flo.bits.exp; \
204 X##_e = _flo->bits.exp; \
215 _flo.bits.exp = X##_e; \
229 _flo->bits.exp = X##_e; \
/linux-4.4.14/drivers/watchdog/
Dtegra_wdt.c156 int exp; in tegra_wdt_get_timeleft() local
164 exp = (val >> WDT_STS_EXP_SHIFT) & WDT_STS_EXP_MASK; in tegra_wdt_get_timeleft()
170 return (((3 - exp) * wdd->timeout) + count) / 4; in tegra_wdt_get_timeleft()
/linux-4.4.14/drivers/atm/
Dfirestream.c450 unsigned char exp = -1; /* hush gcc */ in make_rate() local
477 exp = 31; in make_rate()
484 exp = 31; in make_rate()
489 exp = exp - 1; in make_rate()
521 exp += 1; in make_rate()
535 exp += 1; in make_rate()
550 exp = 0; in make_rate()
555 fs_dprintk (FS_DEBUG_QOS, "rate: man=%u, exp=%hu", man, exp); in make_rate()
558 *bits = /* (1<<14) | */ (exp<<9) | man; in make_rate()
561 *actual = (exp >= 9) in make_rate()
[all …]
Dambassador.c891 unsigned char exp = -1; // hush gcc in make_rate() local
916 exp = 31; in make_rate()
923 exp = 31; in make_rate()
928 exp = exp - 1; in make_rate()
958 exp += 1; in make_rate()
972 exp += 1; in make_rate()
987 exp = 0; in make_rate()
993 PRINTD (DBG_QOS, "rate: man=%u, exp=%hu", man, exp); in make_rate()
996 *bits = /* (1<<14) | */ (exp<<9) | man; in make_rate()
999 *actual = (exp >= 9) in make_rate()
[all …]
Dhe.c431 unsigned exp = 0; in rate_to_atmf() local
438 ++exp; in rate_to_atmf()
442 return (NONZERO | (exp << 9) | (rate & 0x1ff)); in rate_to_atmf()
655 unsigned rate_atmf, exp, man; in he_init_cs_block_rcm() local
714 exp = rate_atmf >> 5; in he_init_cs_block_rcm()
720 rate_cps = (unsigned long long) (1 << exp) * (man + 512) >> 9; in he_init_cs_block_rcm()
Diphase.c341 u32 exp, mantissa, cps;
344 exp = (rate >> M_BITS) & E_MASK;
346 if (exp == 0)
349 if (exp == M_BITS)
351 else if (exp > M_BITS)
352 cps <<= (exp - M_BITS);
354 cps >>= (M_BITS - exp);
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h75 # define LINVRNT(exp) LASSERT(exp) argument
77 # define LINVRNT(exp) ((void)sizeof !!(exp)) argument
/linux-4.4.14/lib/
Dtest-string_helpers.c340 const char *exp, in test_string_get_size_check() argument
345 if (!memcmp(res, exp, strlen(exp) + 1)) in test_string_get_size_check()
353 pr_warn("expected: '%s', got '%s'\n", exp, res); in test_string_get_size_check()
/linux-4.4.14/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c825 static int mgc_set_mgs_param(struct obd_export *exp, in mgc_set_mgs_param() argument
832 req = ptlrpc_request_alloc_pack(class_exp2cliimp(exp), in mgc_set_mgs_param()
861 static int mgc_enqueue(struct obd_export *exp, struct lov_stripe_md *lsm, in mgc_enqueue() argument
883 req = ptlrpc_request_alloc_pack(class_exp2cliimp(exp), in mgc_enqueue()
894 rc = ldlm_cli_enqueue(exp, &req, &einfo, &cld->cld_resid, NULL, flags, in mgc_enqueue()
914 static int mgc_target_register(struct obd_export *exp, in mgc_target_register() argument
921 req = ptlrpc_request_alloc_pack(class_exp2cliimp(exp), in mgc_target_register()
952 static int mgc_set_info_async(const struct lu_env *env, struct obd_export *exp, in mgc_set_info_async() argument
960 struct obd_import *imp = class_exp2cliimp(exp); in mgc_set_info_async()
981 rc = mgc_set_mgs_param(exp, msp); in mgc_set_info_async()
[all …]
/linux-4.4.14/arch/alpha/kernel/
Dtraps.c704 unsigned long exp; in s_mem_to_reg() local
706 exp = (exp_msb << 10) | exp_low; /* common case */ in s_mem_to_reg()
709 exp = 0x7ff; in s_mem_to_reg()
713 exp = 0x000; in s_mem_to_reg()
715 exp |= (0x7 << 7); in s_mem_to_reg()
718 return (sign << 63) | (exp << 52) | (frac << 29); in s_mem_to_reg()
Dosf_sys.c1092 fd_set __user *, exp, struct timeval32 __user *, tvp) in SYSCALL_DEFINE5() argument
1115 return core_sys_select(n, inp, outp, exp, to); in SYSCALL_DEFINE5()
/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_msgtype50.c189 unsigned char *mod, *exp, *inp; in ICAMEX_msg_to_type50MEX_msg() local
202 exp = meb1->exponent + sizeof(meb1->exponent) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
212 exp = meb2->exponent + sizeof(meb2->exponent) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
223 exp = meb3->exponent + sizeof(meb3->exponent) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
228 copy_from_user(exp, mex->b_key, mod_len) || in ICAMEX_msg_to_type50MEX_msg()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1644 struct obd_export *exp, int rw, in echo_client_prep_commit() argument
1696 ret = obd_preprw(env, rw, exp, oa, 1, &ioo, rnb, &lpages, in echo_client_prep_commit()
1729 ret = obd_commitrw(env, rw, exp, oa, 1, &ioo, in echo_client_prep_commit()
1749 struct obd_export *exp, in echo_client_brw_ioctl() argument
1753 struct obd_device *obd = class_exp2obd(exp); in echo_client_brw_ioctl()
1806 echo_client_enqueue(struct obd_export *exp, struct obdo *oa, in echo_client_enqueue() argument
1809 struct echo_device *ed = obd2echo_dev(exp->exp_obd); in echo_client_enqueue()
1840 echo_client_cancel(struct obd_export *exp, struct obdo *oa) in echo_client_cancel() argument
1842 struct echo_device *ed = obd2echo_dev(exp->exp_obd); in echo_client_cancel()
1853 echo_client_iocontrol(unsigned int cmd, struct obd_export *exp, int len, in echo_client_iocontrol() argument
[all …]
/linux-4.4.14/scripts/mod/
Dmodpost.c2040 static void check_for_gpl_usage(enum export exp, const char *m, const char *s) in check_for_gpl_usage() argument
2044 switch (exp) { in check_for_gpl_usage()
2065 static void check_for_unused(enum export exp, const char *m, const char *s) in check_for_unused() argument
2069 switch (exp) { in check_for_unused()
2083 struct symbol *s, *exp; in check_exports() local
2087 exp = find_symbol(s->name); in check_exports()
2088 if (!exp || exp->module == mod) in check_exports()
2096 check_for_gpl_usage(exp->export, basename, exp->name); in check_exports()
2097 check_for_unused(exp->export, basename, exp->name); in check_exports()
2149 struct symbol *s, *exp; in add_versions() local
[all …]
/linux-4.4.14/arch/ia64/include/asm/
Dbitops.h380 long exp; in ia64_fls() local
382 exp = ia64_getf_exp(d); in ia64_fls()
383 return exp - 0xffff; in ia64_fls()
/linux-4.4.14/net/atm/
Dclip.c128 unsigned long exp = cv->last_use + cv->idle_timeout; in neigh_check_cb() local
130 if (cv->idle_timeout && time_after(jiffies, exp)) { in neigh_check_cb()
740 unsigned long exp; in atmarp_info() local
750 exp = entry->neigh->used; in atmarp_info()
752 exp = clip_vcc->last_use; in atmarp_info()
754 exp = (jiffies - exp) / HZ; in atmarp_info()
757 dev->name, svc ? "SVC" : "PVC", llc ? "LLC" : "NULL", exp); in atmarp_info()
/linux-4.4.14/arch/x86/platform/uv/
Duv_time.c201 u64 exp = head->cpu[c].expires; in uv_rtc_find_next_timer() local
202 if (exp < lowest) { in uv_rtc_find_next_timer()
204 lowest = exp; in uv_rtc_find_next_timer()
/linux-4.4.14/tools/lib/traceevent/
Dparse-filter.c213 free_arg(arg->exp.left); in free_arg()
214 free_arg(arg->exp.right); in free_arg()
462 if (op->exp.right) in add_right()
464 op->exp.right = arg; in add_right()
633 op->exp.left = arg; in add_left()
736 return arg->exp.right != NULL; in check_op_done()
834 lval = test_arg(arg, arg->exp.left, error_str); in test_arg()
837 rval = test_arg(arg, arg->exp.right, error_str); in test_arg()
1749 lval = get_arg_value(event, arg->exp.left, record, err); in get_exp_value()
1750 rval = get_arg_value(event, arg->exp.right, record, err); in get_exp_value()
[all …]
/linux-4.4.14/arch/xtensa/include/asm/
Dsyscall.h22 fd_set __user *exp, struct timespec __user *tsp,
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
Dfpu.c154 int exp = 1023 - 126; in denormal_to_double() local
160 exp--; in denormal_to_double()
163 du |= (exp << 20) | (x >> 3); in denormal_to_double()
/linux-4.4.14/drivers/net/wireless/brcm80211/include/
Dbrcmu_utils.h27 #define SPINWAIT(exp, us) { \ argument
29 while ((exp) && (countdown >= 10)) {\
/linux-4.4.14/drivers/media/dvb-frontends/
Dcx24123.c443 u32 exp, nearest = 0; in cx24123_int_log2() local
448 for (exp = 1; div > exp; nearest++) in cx24123_int_log2()
449 exp += exp; in cx24123_int_log2()
Ddib9000.c2279 u32 n, s, exp; in dib9000_get_snr() local
2295 exp = ((val & 0xf) << 2); in dib9000_get_snr()
2297 exp += ((val >> 14) & 0x3); in dib9000_get_snr()
2298 if ((exp & 0x20) != 0) in dib9000_get_snr()
2299 exp -= 0x40; in dib9000_get_snr()
2300 n <<= exp + 16; in dib9000_get_snr()
2303 exp = (val & 0x3F); in dib9000_get_snr()
2304 if ((exp & 0x20) != 0) in dib9000_get_snr()
2305 exp -= 0x40; in dib9000_get_snr()
2306 s <<= exp + 16; in dib9000_get_snr()
Ddib8000.c1920 u32 ix = 0, tmp_val = 0, exp = 0, mant = 0; in dib8000_get_adc_power() local
1927 exp++; in dib8000_get_adc_power()
1928 mant = (val * 1000 / (1<<exp)); in dib8000_get_adc_power()
1930 val = (lut_1000ln_mant[ix] + 693*(exp-20) - 6908); in dib8000_get_adc_power()
3832 u32 n, s, exp; in dib8000_get_snr() local
3840 exp = (val & 0x3f); in dib8000_get_snr()
3841 if ((exp & 0x20) != 0) in dib8000_get_snr()
3842 exp -= 0x40; in dib8000_get_snr()
3843 n <<= exp+16; in dib8000_get_snr()
3850 exp = (val & 0x3f); in dib8000_get_snr()
[all …]
Ddib7000p.c2131 u32 tmp_val = 0, exp = 0, mant = 0; in dib7000p_get_adc_power() local
2143 exp++; in dib7000p_get_adc_power()
2145 mant = (pow_i * 1000 / (1 << exp)); in dib7000p_get_adc_power()
2146 dprintk(" mant = %d exp = %d", mant / 1000, exp); in dib7000p_get_adc_power()
2151 pow_i = (lut_1000ln_mant[ix] + 693 * (exp - 20) - 6908); in dib7000p_get_adc_power()
/linux-4.4.14/drivers/media/i2c/
Dsr030pc30.c162 struct v4l2_ctrl *exp; member
451 if (info->exp->is_new) { in sr030pc30_s_ctrl()
452 unsigned long expos = info->exp->val; in sr030pc30_s_ctrl()
718 info->exp = v4l2_ctrl_new_std(hdl, &sr030pc30_ctrl_ops, in sr030pc30_probe()
Dov9650.c760 static int ov965x_set_exposure(struct ov965x *ov965x, int exp) in ov965x_set_exposure() argument
764 bool auto_exposure = (exp == V4L2_EXPOSURE_AUTO); in ov965x_set_exposure()
802 v4l2_ctrl_activate(ov965x->ctrls.brightness, !exp); in ov965x_set_exposure()
/linux-4.4.14/drivers/char/
Dmmtimer.c302 u64 expires, exp, set_completion_time; in mmtimer_set_next_timer() local
324 expires = exp = t->it.mmtimer.expires; in mmtimer_set_next_timer()
333 to = ((u64)(expires - exp) / t->it.mmtimer.incr); in mmtimer_set_next_timer()
337 exp = t->it.mmtimer.expires; in mmtimer_set_next_timer()
/linux-4.4.14/net/ipv4/
Dtcp_fastopen.c303 valid_foc.exp = foc->exp; in tcp_try_fastopen()
Dtcp_metrics.c132 tm->tcpm_fastopen.cookie.exp = false; in tcpm_suck_dst()
704 cookie->exp = true; in tcp_fastopen_cache_get()
732 tfom->cookie.len <= 0 && !tfom->cookie.exp) in tcp_fastopen_cache_set()
/linux-4.4.14/net/openvswitch/
Dconntrack.c436 struct nf_conntrack_expect *exp; in ovs_ct_lookup() local
438 exp = ovs_ct_expect_find(net, &info->zone, info->family, skb); in ovs_ct_lookup()
439 if (exp) { in ovs_ct_lookup()
443 __ovs_ct_update_key(key, state, &info->zone, exp->master); in ovs_ct_lookup()
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dfpsp.S1442 cmpi.w %d0,&0x3f80 # is |exp| == $3f80?
1444 cmpi.w %d0,&0x407f # no; is |exp| == $407f?
2099 # OPERR : if ((k_factor > +17) || (dec. exp exceeds 3 digits))
6733 mov.l (%a0),%d1 # pack exp w/ upper 16 fraction
6994 # because EXPM1 is intended to evaluate exp(X)-1 #
7018 # Step 4. Approximate exp(R)-1 by a polynomial #
7025 # |p - (exp(R)-1)| < |R| * 2^(-72.7) #
7046 # Step 6. Reconstruction of exp(X)-1 #
7047 # exp(X)-1 = 2^M * ( 2^(J/64) + p - 2^(-M) ). #
7058 # Step 7. exp(X)-1 for |X| < 1/4. #
[all …]
Dfplsp.S5032 mov.l (%a0),%d1 # put exp in hi word
6692 # fp0 = exp(X) or exp(X)-1 #
6784 # Step 4. Approximate exp(R)-1 by a polynomial #
6791 # |p - (exp(R)-1)| < 2^(-68.8) for all |R| <= 0.0062. #
6799 # Step 5. Compute 2^(J/64)*exp(R) = 2^(J/64)*(1+p) by #
6811 # Step 6. Reconstruction of exp(X) #
6812 # exp(X) = 2^M * 2^(J/64) * exp(R). #
6818 # |M| <= 16380, and Scale = 2^M. Moreover, exp(X) will #
6822 # Hence, exp(X) may overflow or underflow or neither. #
6844 # Step 8. Handle exp(X) where |X| >= 16380log2. #
[all …]
/linux-4.4.14/arch/ia64/lib/
Didiv32.S58 setf.exp f7 = r2 // f7 = 2^-34
/linux-4.4.14/arch/powerpc/perf/
Dpower8-pmu.c362 unsigned int cmp, exp; in power8_get_constraint() local
365 exp = cmp >> 7; in power8_get_constraint()
367 if (exp && (cmp & 0x60) == 0) in power8_get_constraint()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dphy.c603 short exp = 0; in lin2dBd() local
612 exp = fls(mantisa) - 16; in lin2dBd()
613 if (exp > 0) in lin2dBd()
614 mantisa >>= exp; in lin2dBd()
616 mantisa <<= abs(exp); in lin2dBd()
625 dBd = ((15 + exp) << 15) + app; in lin2dBd()
/linux-4.4.14/arch/sh/math-emu/
Dmath.c481 int exp = 1023 - 126; in denormal_to_double() local
487 exp--; in denormal_to_double()
490 du |= (exp << 20) | (x >> 3); in denormal_to_double()
/linux-4.4.14/include/linux/
Dpoll.h160 fd_set __user *exp, struct timespec *end_time);
Dccp.h296 struct scatterlist *exp; member
Dmpi.h118 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod);
Dtcp.h61 bool exp; /* In RFC6994 experimental option format */ member
Dcompat.h365 compat_ulong_t __user *outp, compat_ulong_t __user *exp,
542 compat_ulong_t __user *exp,
Dsched.h162 #define CALC_LOAD(load,exp,n) \ argument
163 load *= exp; \
164 load += n*(FIXED_1-exp); \
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_queue.c279 struct v4l2_exportbuffer *exp) in uvc_export_buffer() argument
284 ret = vb2_expbuf(&queue->queue, exp); in uvc_export_buffer()
Duvcvideo.h635 struct v4l2_exportbuffer *exp);
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dxattr_cache.c280 struct obd_export *exp = sbi->ll_md_exp; in ll_xattr_find_get_lock() local
308 rc = md_enqueue(exp, &einfo, oit, op_data, &lockh, NULL, 0, NULL, 0); in ll_xattr_find_get_lock()
Dfile.c130 struct obd_export *exp = ll_i2mdexp(inode); in ll_close_inode_openhandle() local
133 struct obd_device *obd = class_exp2obd(exp); in ll_close_inode_openhandle()
208 if (exp_connect_som(exp) && !epoch_close && in ll_close_inode_openhandle()
910 static int ll_lsm_getattr(struct lov_stripe_md *lsm, struct obd_export *exp, in ll_lsm_getattr() argument
940 rc = obd_getattr_async(exp, &oinfo, set); in ll_lsm_getattr()
1256 struct obd_export *exp = ll_i2dtexp(inode); in ll_lov_recreate() local
1291 rc = obd_create(NULL, exp, oa, &lsm2, &oti); in ll_lov_recreate()
1671 struct obd_export *exp = ll_i2dtexp(inode); in ll_do_fiemap() local
1723 rc = obd_get_info(NULL, exp, sizeof(fm_key), &fm_key, &vallen, in ll_do_fiemap()
1735 struct obd_export *exp = ll_i2mdexp(inode); in ll_fid2path() local
[all …]
Ddir.c147 struct obd_export *exp = ll_i2sbi(inode)->ll_md_exp; in ll_dir_filler() local
184 rc = md_readpage(exp, op_data, page_pool, &request); in ll_dir_filler()
1049 static int copy_and_ioctl(int cmd, struct obd_export *exp, in copy_and_ioctl() argument
1064 rc = obd_iocontrol(cmd, exp, size, copy, NULL); in copy_and_ioctl()
1705 struct obd_export *exp; in ll_dir_ioctl() local
1711 exp = count ? sbi->ll_md_exp : sbi->ll_dt_exp; in ll_dir_ioctl()
1713 rc = obd_get_info(NULL, exp, sizeof(KEY_TGT_COUNT), in ll_dir_ioctl()
Dllite_lib.c1919 struct obd_export *exp = ll_s2sbi(sb)->ll_md_exp; in ll_open_cleanup() local
1935 md_close(exp, op_data, NULL, &close_req); in ll_open_cleanup()
2025 struct obd_export *exp; in ll_obd_statfs() local
2064 exp = sbi->ll_md_exp; in ll_obd_statfs()
2066 exp = sbi->ll_dt_exp; in ll_obd_statfs()
2073 rc = obd_iocontrol(IOC_OBD_STATFS, exp, len, buf, &flags); in ll_obd_statfs()
Dllite_internal.h1365 static inline void ll_set_lock_data(struct obd_export *exp, struct inode *inode, in ll_set_lock_data() argument
1384 md_set_lock_data(exp, &handle.cookie, inode, NULL); in ll_set_lock_data()
1393 md_set_lock_data(exp, &handle.cookie, inode, in ll_set_lock_data()
/linux-4.4.14/mm/
Dmempool.c47 u8 exp = (i < size - 1) ? POISON_FREE : POISON_END; in __check_element() local
49 if (obj[i] != exp) { in __check_element()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Ddebug.h213 static inline void RT_ASSERT(int exp, const char *fmt, ...) in RT_ASSERT() argument
/linux-4.4.14/Documentation/arm/nwfpe/
DNOTES1 There seems to be a problem with exp(double) and our emulator. I haven't
/linux-4.4.14/drivers/block/drbd/
Ddrbd_int.h150 #define D_ASSERT(device, exp) do { \ argument
151 if (!(exp)) \
152 drbd_err(device, "ASSERT( " #exp " ) in %s:%d\n", __FILE__, __LINE__); \
160 #define expect(exp) ({ \ argument
161 bool _bool = (exp); \
164 #exp, __func__); \
/linux-4.4.14/net/bluetooth/
Dsmp.c3458 const u8 exp[3] = { 0xaa, 0xfb, 0x0d }; in test_ah() local
3466 if (memcmp(res, exp, 3)) in test_ah()
3486 const u8 exp[16] = { in test_c1() local
3496 if (memcmp(res, exp, 16)) in test_c1()
3511 const u8 exp[16] = { in test_s1() local
3521 if (memcmp(res, exp, 16)) in test_s1()
3543 const u8 exp[16] = { in test_f4() local
3553 if (memcmp(res, exp, 16)) in test_f4()
3613 const u8 exp[16] = { in test_f6() local
3623 if (memcmp(res, exp, 16)) in test_f6()
[all …]
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
De5500_power_isa.dtsi50 power-isa-exp; // External Proxy
De500mc_power_isa.dtsi50 power-isa-exp; // External Proxy
De6500_power_isa.dtsi50 power-isa-exp; // External Proxy
/linux-4.4.14/Documentation/
Dcpu-load.txt9 Linux 2.6.18.3-exp (linmac) 02/20/2007
/linux-4.4.14/drivers/crypto/ccp/
Dccp-ops.c1572 struct ccp_dm_workarea exp, src; in ccp_run_rsa_cmd() local
1581 if (!rsa->exp || !rsa->mod || !rsa->src || !rsa->dst) in ccp_run_rsa_cmd()
1608 ret = ccp_init_dm_workarea(&exp, cmd_q, o_len, DMA_TO_DEVICE); in ccp_run_rsa_cmd()
1612 ret = ccp_reverse_set_dm_area(&exp, rsa->exp, rsa->exp_len, in ccp_run_rsa_cmd()
1616 ret = ccp_copy_to_ksb(cmd_q, &exp, op.jobid, op.ksb_key, in ccp_run_rsa_cmd()
1674 ccp_dm_free(&exp); in ccp_run_rsa_cmd()
/linux-4.4.14/arch/frv/include/asm/
Dmath-emu.h88 unsigned short exp; member
/linux-4.4.14/arch/m68k/include/asm/
Dmath-emu.h88 unsigned short exp; member
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.h265 u8 exp; member
/linux-4.4.14/kernel/rcu/
Dtree.c256 if (!__this_cpu_read(rcu_sched_data.cpu_no_qs.b.exp)) in rcu_sched_qs()
259 if (__this_cpu_read(rcu_sched_data.cpu_no_qs.b.exp)) { in rcu_sched_qs()
260 __this_cpu_write(rcu_sched_data.cpu_no_qs.b.exp, false); in rcu_sched_qs()
3672 __this_cpu_read(rcu_sched_data.cpu_no_qs.b.exp)) in sync_sched_exp_handler()
3674 __this_cpu_write(rcu_sched_data.cpu_no_qs.b.exp, true); in sync_sched_exp_handler()
4393 static const char * const exp[] = RCU_EXP_NAME_INIT; in rcu_init_one() local
4454 &rcu_exp_class[i], exp[i]); in rcu_init_one()
Dtree.h288 u8 exp; member
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_surfacedefs.h198 u8 exp; member
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce.c292 static void mce_panic(const char *msg, struct mce *final, char *exp) in mce_panic() argument
342 if (exp) in mce_panic()
343 pr_emerg(HW_ERR "Machine check: %s\n", exp); in mce_panic()
/linux-4.4.14/arch/powerpc/boot/dts/
Dmpc8349emitx.dts397 0x2 0x0 0xf9000000 0x200000 /* exp slot */

12