Home
last modified time | relevance | path

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

/arch/x86/mm/
Dmmap.c80 static unsigned long mmap_base(unsigned long rnd, unsigned long task_size, in mmap_base() argument
103 return PAGE_ALIGN(task_size - gap - rnd); in mmap_base()
106 static unsigned long mmap_legacy_base(unsigned long rnd, in mmap_legacy_base() argument
109 return __TASK_UNMAPPED_BASE(task_size) + rnd; in mmap_legacy_base()
/arch/powerpc/mm/
Dmmap.c41 unsigned long shift, rnd; in arch_mmap_rnd() local
48 rnd = get_random_long() % (1ul << shift); in arch_mmap_rnd()
50 return rnd << PAGE_SHIFT; in arch_mmap_rnd()
65 static inline unsigned long mmap_base(unsigned long rnd, in mmap_base() argument
80 return PAGE_ALIGN(DEFAULT_MAP_WINDOW - gap - rnd); in mmap_base()
/arch/s390/mm/
Dmmap.c44 static unsigned long mmap_base_legacy(unsigned long rnd) in mmap_base_legacy() argument
46 return TASK_UNMAPPED_BASE + rnd; in mmap_base_legacy()
49 static inline unsigned long mmap_base(unsigned long rnd, in mmap_base() argument
72 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
/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/m68k/math-emu/
Dfp_arith.c83 if (FPDATA->rnd == FPCR_ROUND_RM) in fp_fadd()
636 fp_roundint(dest, FPDATA->rnd); in fp_fint()
681 oldround = FPDATA->rnd; in fp_fscale()
682 FPDATA->rnd = FPCR_ROUND_RZ; in fp_fscale()
684 FPDATA->rnd = oldround; in fp_fscale()
/arch/parisc/kernel/
Dsys_parisc.c219 unsigned long rnd = 0; in mmap_rnd() local
222 rnd = get_random_int() & MMAP_RND_MASK; in mmap_rnd()
224 return rnd << PAGE_SHIFT; in mmap_rnd()
Dmodule.c117 #define rnd(x) (((x)+0x1000)&~0x1fff) macro
125 #define lrsel(v,a) (((v)+rnd(a))>>11)
127 #define rrsel(v,a) ((((v)+rnd(a))&0x7ff)+((a)-rnd(a)))
/arch/sparc/kernel/
Dsys_sparc_64.c268 unsigned long rnd = 0UL; in mmap_rnd() local
273 rnd = (val % (1UL << (23UL-PAGE_SHIFT))); in mmap_rnd()
275 rnd = (val % (1UL << (30UL-PAGE_SHIFT))); in mmap_rnd()
277 return rnd << PAGE_SHIFT; in mmap_rnd()
/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/m68k/include/asm/
Dmath-emu.h102 unsigned short rnd; member
/arch/powerpc/kernel/
Dprocess.c2154 unsigned long rnd = 0; in brk_rnd() local
2158 rnd = (get_random_long() % (1UL<<(23-PAGE_SHIFT))); in brk_rnd()
2160 rnd = (get_random_long() % (1UL<<(30-PAGE_SHIFT))); in brk_rnd()
2162 return rnd << PAGE_SHIFT; in brk_rnd()
/arch/mips/include/asm/octeon/
Dcvmx-pow-defs.h572 uint64_t rnd:8; member
574 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)