Home
last modified time | relevance | path

Searched refs:rnd (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/kernel/
Dacct.c238 int exp, rnd; in encode_comp_t() local
240 exp = rnd = 0; in encode_comp_t()
242 rnd = value & (1 << (EXPSIZE - 1)); /* Round up? */ in encode_comp_t()
250 if (rnd && (++value > MAXFRACT)) { in encode_comp_t()
/linux-2.4.37.9/arch/m68k/math-emu/
Dfp_arith.c84 if (FPDATA->rnd == FPCR_ROUND_RM) in fp_fadd()
637 fp_roundint(dest, FPDATA->rnd); in fp_fint()
682 oldround = FPDATA->rnd; in fp_fscale()
683 FPDATA->rnd = FPCR_ROUND_RZ; in fp_fscale()
685 FPDATA->rnd = oldround; in fp_fscale()
/linux-2.4.37.9/net/sched/
Dsch_netem.c122 unsigned long rnd; in tabledist() local
127 rnd = get_crandom(state); in tabledist()
131 return (rnd % (2*sigma)) - sigma + mu; in tabledist()
133 t = dist->table[rnd % dist->size]; in tabledist()
/linux-2.4.37.9/arch/m68k/ifpsp060/src/
Dpfpsp.S940 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
1531 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
1843 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
2088 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
3674 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
3702 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec,mode
6358 cmpi.b %d1, &s_mode # is rnd prec = sgl?
6823 mov.l %d1, -(%sp) # save rnd prec,mode on stack
6835 mov.l 0x4(%sp),%d0 # pass rnd prec.
6842 andi.w &0xc0,%d1 # extract rnd prec
[all …]
Dfplsp.S584 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
641 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
700 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
761 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
818 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
877 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
938 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
995 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
1054 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
1115 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
[all …]
Dfpsp.S941 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
1532 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
1844 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
2089 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
3675 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
3703 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec,mode
6558 fmov.l %d0,%fpcr # restore users rnd mode,prec
6783 fmov.l %d0,%fpcr # load user's rnd mode/prec
6878 # N = rnd-to-int( X*64/log2 (1+eps) ), |eps|<=2^(-24) #
8727 mov.l %d0,-(%sp) # save rnd prec,mode
[all …]
/linux-2.4.37.9/net/netlink/
Daf_netlink.c81 u32 rnd; member
112 return &hash->table[jhash_1word(pid, hash->rnd) & hash->mask]; in nl_pid_hashfn()
248 get_random_bytes(&hash->rnd, sizeof(hash->rnd)); in nl_pid_hash_rehash()
/linux-2.4.37.9/include/asm-m68k/
Dmath-emu.h101 unsigned short rnd; member
/linux-2.4.37.9/net/ipv4/
Dtcp_ipv4.c874 static __inline__ u32 tcp_v4_synq_hash(u32 raddr, u16 rport, u32 rnd) in tcp_v4_synq_hash() argument
876 return (jhash_2words(raddr, (u32) rport, rnd) & (TCP_SYNQ_HSIZE - 1)); in tcp_v4_synq_hash()
/linux-2.4.37.9/net/ipv6/
Dtcp_ipv6.c374 static u32 tcp_v6_synq_hash(struct in6_addr *raddr, u16 rport, u32 rnd) in tcp_v6_synq_hash() argument
384 c += rnd; in tcp_v6_synq_hash()
/linux-2.4.37.9/arch/m68k/fpsp040/
Dround.S184 |Jump table for adding 1 to the l-bit indexed by rnd prec
Dsetox.S115 | N = rnd-to-int( X*64/log2 (1+eps) ), |eps|<=2^(-24)