Home
last modified time | relevance | path

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

/arch/mips/mm/
Dmmap.c36 static unsigned long mmap_base(unsigned long rnd) in mmap_base() argument
45 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
147 unsigned long rnd; in mmap_rnd() local
151 rnd = get_random_long() & ((1UL << mmap_rnd_compat_bits) - 1); in mmap_rnd()
154 rnd = get_random_long() & ((1UL << mmap_rnd_bits) - 1); in mmap_rnd()
156 return rnd << PAGE_SHIFT; in mmap_rnd()
179 unsigned long rnd = get_random_long(); in brk_rnd() local
181 rnd = rnd << PAGE_SHIFT; in brk_rnd()
184 rnd = rnd & 0x7ffffful; in brk_rnd()
186 rnd = rnd & 0xffffffful; in brk_rnd()
[all …]
/arch/x86/mm/
Dmmap.c70 unsigned long rnd = 0; in mmap_rnd() local
75 rnd = get_random_long() & ((1UL << mmap_rnd_compat_bits) - 1); in mmap_rnd()
77 rnd = get_random_long() & ((1UL << mmap_rnd_bits) - 1); in mmap_rnd()
80 rnd = get_random_long() & ((1UL << mmap_rnd_bits) - 1); in mmap_rnd()
82 return rnd << PAGE_SHIFT; in mmap_rnd()
/arch/powerpc/mm/
Dmmap_64.c58 unsigned long rnd = 0; in mmap_rnd() local
63 rnd = get_random_long() % (1<<(23-PAGE_SHIFT)); in mmap_rnd()
65 rnd = get_random_long() % (1UL<<(30-PAGE_SHIFT)); in mmap_rnd()
67 return rnd << PAGE_SHIFT; in mmap_rnd()
/arch/arm64/mm/
Dmmap.c52 unsigned long rnd = 0; in mmap_rnd() local
57 rnd = get_random_long() & ((1UL << mmap_rnd_compat_bits) - 1); in mmap_rnd()
60 rnd = get_random_long() & ((1UL << mmap_rnd_bits) - 1); in mmap_rnd()
62 return rnd << PAGE_SHIFT; in mmap_rnd()
/arch/x86/crypto/
Dsha512-ssse3-asm.S118 .macro SHA512_Round rnd argument
128 idx = \rnd
153 .macro SHA512_2Sched_2Round_sse rnd argument
174 idx = \rnd -2
180 idx = \rnd
182 idx = \rnd - 15
226 idx = \rnd + 1
247 idx = \rnd - 7
254 idx =\rnd-16
259 movdqa %xmm0, W_t(\rnd) # Store scheduled qwords
[all …]
Dsha512-avx-asm.S126 .macro SHA512_Round rnd argument
135 idx = \rnd
160 .macro SHA512_2Sched_2Round_avx rnd argument
176 idx = \rnd - 2
178 idx = \rnd - 15
191 idx = \rnd
231 idx = \rnd - 16
233 idx = \rnd - 7
240 idx = \rnd + 1
252 idx = \rnd
/arch/arm/mm/
Dmmap.c33 static unsigned long mmap_base(unsigned long rnd) in mmap_base() argument
42 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
/arch/m68k/math-emu/
Dfp_arith.c85 if (FPDATA->rnd == FPCR_ROUND_RM) in fp_fadd()
638 fp_roundint(dest, FPDATA->rnd); in fp_fint()
683 oldround = FPDATA->rnd; in fp_fscale()
684 FPDATA->rnd = FPCR_ROUND_RZ; in fp_fscale()
686 FPDATA->rnd = oldround; in fp_fscale()
/arch/sparc/kernel/
Dsys_sparc_64.c265 unsigned long rnd = 0UL; in mmap_rnd() local
270 rnd = (val % (1UL << (23UL-PAGE_SHIFT))); in mmap_rnd()
272 rnd = (val % (1UL << (30UL-PAGE_SHIFT))); in mmap_rnd()
274 return rnd << PAGE_SHIFT; in mmap_rnd()
/arch/parisc/kernel/
Dmodule.c137 #define rnd(x) (((x)+0x1000)&~0x1fff) macro
145 #define lrsel(v,a) (((v)+rnd(a))>>11)
147 #define rrsel(v,a) ((((v)+rnd(a))&0x7ff)+((a)-rnd(a)))
/arch/m68k/ifpsp060/src/
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
2592 mov.b FPCR_MODE(%a6),%d0 # pass: rnd mode,prec
3728 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec,mode
4083 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode
6445 fmov.l %d0,%fpcr # restore users rnd mode,prec
6497 fmov.l %d0,%fpcr # restore users rnd mode,prec
6504 fmov.l %d0,%fpcr # restore users rnd mode,prec
[all …]
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
2591 mov.b FPCR_MODE(%a6),%d0 # pass: rnd mode,prec
3727 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec,mode
/arch/powerpc/kernel/
Dprocess.c1407 unsigned long rnd = 0; in brk_rnd() local
1411 rnd = (get_random_long() % (1UL<<(23-PAGE_SHIFT))); in brk_rnd()
1413 rnd = (get_random_long() % (1UL<<(30-PAGE_SHIFT))); in brk_rnd()
1415 return rnd << PAGE_SHIFT; in brk_rnd()
/arch/frv/include/asm/
Dmath-emu.h101 unsigned short rnd; member
/arch/m68k/include/asm/
Dmath-emu.h101 unsigned short rnd; member
/arch/mips/include/asm/octeon/
Dcvmx-pow-defs.h735 uint64_t rnd:8; member
737 uint64_t rnd:8;
/arch/m68k/fpsp040/
Dround.S183 |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)