Home
last modified time | relevance | path

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

12345

/linux-2.4.37.9/arch/m68k/math-emu/
Dfp_arith.c96 if ((diff = dest->exp - src->exp) > 0) in fp_fadd()
155 int exp; in fp_fmul() local
182 dest->exp = 0; in fp_fmul()
189 exp = dest->exp + src->exp - 0x3ffe; in fp_fmul()
195 exp -= fp_overnormalize(dest); in fp_fmul()
197 exp -= fp_overnormalize(src); in fp_fmul()
205 exp--; in fp_fmul()
210 if (exp >= 0x7fff) { in fp_fmul()
214 dest->exp = exp; in fp_fmul()
215 if (exp < 0) { in fp_fmul()
[all …]
Dfp_log.c33 int i, exp; in fp_fsqrt() local
61 exp = dest->exp; in fp_fsqrt()
62 dest->exp = 0x3FFF; in fp_fsqrt()
63 if (!(exp & 1)) /* lowest bit of exponent is set */ in fp_fsqrt()
64 dest->exp++; in fp_fsqrt()
75 dest->exp--; /* * 1/2 */ in fp_fsqrt()
94 dest->exp--; in fp_fsqrt()
97 dest->exp += (exp - 0x3FFF) / 2; in fp_fsqrt()
199 fp_conv_long2ext(dest, (int)dest->exp - 0x3FFF); in fp_fgetexp()
219 dest->exp = 0x3FFF; in fp_fgetman()
/linux-2.4.37.9/fs/nfsd/
Dexport.c82 svc_export *exp = list_entry(p, svc_export, ex_hash); in exp_get() local
83 if (exp->ex_ino == ino && exp->ex_dev == dev) in exp_get()
84 return exp; in exp_get()
103 svc_export *exp = list_entry(p, svc_export, ex_fsid_hash); in exp_get_fsid() local
104 if (exp->ex_fsid == fsid) in exp_get_fsid()
105 return exp; in exp_get_fsid()
120 svc_export *exp = list_entry(p, svc_export, ex_hash); in exp_parent() local
121 if (is_subdir(dentry, exp->ex_dentry)) in exp_parent()
122 return exp; in exp_parent()
140 svc_export *exp = list_entry(p, svc_export, ex_hash); in exp_child() local
[all …]
Dauth.c15 nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) in nfsd_setuser() argument
23 if (exp->ex_flags & NFSEXP_ALLSQUASH) { in nfsd_setuser()
24 cred->cr_uid = exp->ex_anon_uid; in nfsd_setuser()
25 cred->cr_gid = exp->ex_anon_gid; in nfsd_setuser()
27 } else if (exp->ex_flags & NFSEXP_ROOTSQUASH) { in nfsd_setuser()
29 cred->cr_uid = exp->ex_anon_uid; in nfsd_setuser()
31 cred->cr_gid = exp->ex_anon_gid; in nfsd_setuser()
34 cred->cr_groups[i] = exp->ex_anon_gid; in nfsd_setuser()
40 current->fsuid = exp->ex_anon_uid; in nfsd_setuser()
44 current->fsgid = exp->ex_anon_gid; in nfsd_setuser()
Dnfsfh.c533 struct svc_export *exp; in fh_verify() local
590 exp = exp_get_fsid(rqstp->rq_client, fsid); in fh_verify()
592 exp = exp_get(rqstp->rq_client, xdev, xino); in fh_verify()
594 if (!exp) in fh_verify()
600 if (!rqstp->rq_secure && EX_SECURE(exp)) { in fh_verify()
609 nfsd_setuser(rqstp, exp); in fh_verify()
623 dentry = dget(exp->ex_dentry); in fh_verify()
633 dentry = find_fh_dentry(exp->ex_dentry->d_inode->i_sb, in fh_verify()
635 !(exp->ex_flags & NFSEXP_NOSUBTREECHECK)); in fh_verify()
642 dentry = find_fh_dentry(exp->ex_dentry->d_inode->i_sb, in fh_verify()
[all …]
/linux-2.4.37.9/include/linux/nfsd/
Dexport.h80 #define EX_SECURE(exp) (!((exp)->ex_flags & NFSEXP_INSECURE_PORT)) argument
81 #define EX_ISSYNC(exp) (!((exp)->ex_flags & NFSEXP_ASYNC)) argument
82 #define EX_RDONLY(exp) ((exp)->ex_flags & NFSEXP_READONLY) argument
83 #define EX_NOHIDE(exp) ((exp)->ex_flags & NFSEXP_NOHIDE) argument
84 #define EX_SUNSECURE(exp) ((exp)->ex_flags & NFSEXP_SUNSECURE) argument
85 #define EX_WGATHER(exp) ((exp)->ex_flags & NFSEXP_GATHERED_WRITES) argument
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_conntrack_amanda.c51 struct ip_conntrack_expect exp; in help() local
91 memset(&exp, 0, sizeof(exp)); in help()
92 exp.tuple.src.ip = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip; in help()
93 exp.tuple.dst.ip = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip; in help()
94 exp.tuple.dst.protonum = IPPROTO_TCP; in help()
95 exp.mask.src.ip = 0xFFFFFFFF; in help()
96 exp.mask.dst.ip = 0xFFFFFFFF; in help()
97 exp.mask.dst.protonum = 0xFFFF; in help()
98 exp.mask.dst.u.tcp.port = 0xFFFF; in help()
100 exp_amanda_info = &exp.help.exp_amanda_info; in help()
[all …]
Dip_conntrack_tftp.c44 struct ip_conntrack_expect exp; in tftp_help() local
53 memset(&exp, 0, sizeof(exp)); in tftp_help()
55 exp.tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in tftp_help()
56 exp.mask.src.ip = 0xffffffff; in tftp_help()
57 exp.mask.dst.ip = 0xffffffff; in tftp_help()
58 exp.mask.dst.u.udp.port = 0xffff; in tftp_help()
59 exp.mask.dst.protonum = 0xffff; in tftp_help()
60 exp.expectfn = NULL; in tftp_help()
63 DUMP_TUPLE(&exp.tuple); in tftp_help()
64 DUMP_TUPLE(&exp.mask); in tftp_help()
[all …]
Dipt_helper.c37 struct ip_conntrack_expect *exp; in match() local
53 exp = ct->master; in match()
55 if (!exp->expectant) { in match()
57 exp); in match()
61 if (!exp->expectant->helper) { in match()
63 exp->expectant); in match()
68 exp->expectant->helper->name, info->name); in match()
73 ret ^= !strncmp(exp->expectant->helper->name, info->name, in match()
74 strlen(exp->expectant->helper->name)); in match()
Dip_nat_amanda.c73 struct ip_conntrack_expect *exp) in amanda_data_fixup() argument
76 struct ip_conntrack_tuple t = exp->tuple; in amanda_data_fixup()
81 exp_amanda_info = &exp->help.exp_amanda_info; in amanda_data_fixup()
85 if (ip_conntrack_change_expect(exp, &t) == 0) in amanda_data_fixup()
99 struct ip_conntrack_expect *exp, in help() argument
115 if (exp->help.exp_amanda_info.offset != 0) in help()
116 if (!amanda_data_fixup(ct, pskb, ctinfo, exp)) in help()
118 exp->help.exp_amanda_info.offset = 0; in help()
Dip_conntrack_irc.c118 struct ip_conntrack_expect expect, *exp = &expect; in help() local
119 struct ip_ct_irc_expect *exp_irc_info = &exp->help.exp_irc_info; in help()
212 exp->seq = ntohl(tcph->seq) + (addr_beg_p - _data); in help()
216 exp->seq, (addr_end_p - _data), exp_irc_info->len); in help()
218 exp->tuple = ((struct ip_conntrack_tuple) in help()
222 exp->mask = ((struct ip_conntrack_tuple) in help()
226 exp->expectfn = NULL; in help()
229 NIPQUAD(exp->tuple.src.ip), in help()
230 ntohs(exp->tuple.src.u.tcp.port), in help()
231 NIPQUAD(exp->tuple.dst.ip), in help()
[all …]
Dip_conntrack_core.c176 destroy_expect(struct ip_conntrack_expect *exp) in destroy_expect() argument
178 DEBUGP("destroy_expect(%p) use=%d\n", exp, atomic_read(&exp->use)); in destroy_expect()
179 IP_NF_ASSERT(atomic_read(&exp->use) == 0); in destroy_expect()
180 IP_NF_ASSERT(!timer_pending(&exp->timeout)); in destroy_expect()
182 kfree(exp); in destroy_expect()
185 inline void ip_conntrack_expect_put(struct ip_conntrack_expect *exp) in ip_conntrack_expect_put() argument
187 IP_NF_ASSERT(exp); in ip_conntrack_expect_put()
189 if (atomic_dec_and_test(&exp->use)) { in ip_conntrack_expect_put()
191 destroy_expect(exp); in ip_conntrack_expect_put()
208 struct ip_conntrack_expect *exp; in ip_conntrack_expect_find_get() local
[all …]
Dip_nat_irc.c148 struct ip_conntrack_expect *exp, in help() argument
160 if (!exp) in help()
163 exp_irc_info = &exp->help.exp_irc_info; in help()
181 if (between(exp->seq + exp_irc_info->len, in help()
184 if (!irc_data_fixup(exp_irc_info, ct, pskb, ctinfo, exp)) in help()
192 exp->seq, exp_irc_info->len, in help()
Dip_nat_ftp.c217 struct ip_conntrack_expect *exp, in help() argument
229 if (!exp) in help()
232 exp_ftp_info = &exp->help.exp_ftp_info; in help()
249 if (between(exp->seq + exp_ftp_info->len, in help()
252 if (!ftp_data_fixup(exp_ftp_info, ct, pskb, ctinfo, exp)) in help()
259 exp->seq, exp_ftp_info->len, in help()
/linux-2.4.37.9/arch/i386/math-emu/
Dreg_ld_str.c40 static u_char normalize_no_excep(FPU_REG *r, int exp, int sign) in normalize_no_excep() argument
44 setexponent16(r, exp); in normalize_no_excep()
57 int exp; in FPU_tagof() local
59 exp = exponent16(ptr) & 0x7fff; in FPU_tagof()
60 if ( exp == 0 ) in FPU_tagof()
70 if ( exp == 0x7fff ) in FPU_tagof()
105 int exp, tag, negative; in FPU_load_double() local
115 exp = ((m64 & 0x7ff00000) >> 20) - DOUBLE_Ebias + EXTENDED_Ebias; in FPU_load_double()
117 if ( exp > DOUBLE_Emax + EXTENDED_Ebias ) in FPU_load_double()
125 exp = EXP_Infinity + EXTENDED_Ebias; in FPU_load_double()
[all …]
Dfpu_emu.h122 short exp; member
170 *(short *)&(y->exp) = *(const short *)&(x->exp); in reg_copy()
174 #define exponent(x) (((*(short *)&((x)->exp)) & 0x7fff) - EXTENDED_Ebias)
175 #define setexponentpos(x,y) { (*(short *)&((x)->exp)) = \
177 #define exponent16(x) (*(short *)&((x)->exp))
178 #define setexponent16(x,y) { (*(short *)&((x)->exp)) = (y); }
179 #define addexponent(x,y) { (*(short *)&((x)->exp)) += (y); }
180 #define stdexp(x) { (*(short *)&((x)->exp)) += EXTENDED_Ebias; }
Dpoly.h91 static inline void add_two_Xsig(Xsig *dest, const Xsig *x2, long int *exp) in add_two_Xsig() argument
103 :"=g" (*exp), "=g" (*dest) \ in add_two_Xsig()
104 :"g" (dest), "g" (x2), "g" (exp) \ in add_two_Xsig()
Dfpu_tags.c71 int exp = exponent(ptr); in FPU_Special() local
73 if ( exp == EXP_BIAS+EXP_UNDER ) in FPU_Special()
75 else if ( exp != EXP_BIAS+EXP_OVER ) in FPU_Special()
/linux-2.4.37.9/include/math-emu/
Dextended.h62 unsigned long exp : _FP_EXPBITS_E; member
68 unsigned exp : _FP_EXPBITS_E;
84 X##_e = _flo.bits.exp; \
102 X##_e = _flo->bits.exp; \
120 _flo.bits.exp = X##_e; \
137 _flo->bits.exp = X##_e; \
247 unsigned exp : _FP_EXPBITS_E; member
251 unsigned exp : _FP_EXPBITS_E;
265 X##_e = _flo.bits.exp; \
281 X##_e = _flo->bits.exp; \
[all …]
/linux-2.4.37.9/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 …]
/linux-2.4.37.9/kernel/
Dacct.c238 int exp, rnd; in encode_comp_t() local
240 exp = rnd = 0; in encode_comp_t()
244 exp++; in encode_comp_t()
252 exp++; in encode_comp_t()
258 exp <<= MANTSIZE; /* Shift the exponent into place */ in encode_comp_t()
259 exp += value; /* and add on the mantissa. */ in encode_comp_t()
260 return exp; in encode_comp_t()
/linux-2.4.37.9/arch/m68k/fpsp040/
Dsgetem.S19 | Output: The functions return exp(X) or man(X) in fp0.
53 fmovew %d0,%fp0 |move the exp to fp0
59 bsr nrm_set |normalize (exp will go negative)
62 fmovew %d0,%fp0 |move the exp to fp0
82 movew LOCAL_EX(%a0),%d0 |get the exp (really just want sign bit)
83 orw #0x7fff,%d0 |clear old exp
84 bclrl #14,%d0 |make it the new exp +-3fff
85 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
145 cmpw #0x403e,LOCAL_EX(%a0) |check if (unbiased) exp > 63
146 bgts out_rnge |branch if exp < 63
147 cmpw #0x3ffd,LOCAL_EX(%a0) |check if (unbiased) exp < 0
148 bgt in_rnge |if 63 >= exp > 0, do calc
202 fmovex LOCAL_EX(%a0),%fp0 |if exp > 63
Ddecbin.S50 | A4. Calculate the factor 10^exp in FP1 using a table of
455 movel %d1,%d0 |copy exp to d0;use d0
456 bpls no_neg |if exp is negative,
472 | Check the sign of the adjusted exp and make the value in fp0 the
473 | same sign. If the exp was pos then multiply fp1*fp0;
480 | ( ) fp1: scaling factor - 10**(abs(exp))
486 fdivx %fp1,%fp0 |exp is negative, so divide mant by exp
489 fmulx %fp1,%fp0 |exp is positive, so multiply by exp
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_conntrack_helper.h40 struct ip_conntrack_expect *exp);
43 extern void ip_conntrack_unexpect_related(struct ip_conntrack_expect *exp);

12345