/arch/mips/mm/ |
D | mmap.c | 36 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 arch_mmap_rnd() local 149 rnd = get_random_long(); in arch_mmap_rnd() 150 rnd <<= PAGE_SHIFT; in arch_mmap_rnd() 152 rnd &= 0xfffffful; in arch_mmap_rnd() 154 rnd &= 0xffffffful; in arch_mmap_rnd() 156 return rnd; in arch_mmap_rnd() 177 unsigned long rnd = get_random_long(); in brk_rnd() local 179 rnd = rnd << PAGE_SHIFT; in brk_rnd() [all …]
|
/arch/powerpc/mm/ |
D | mmap.c | 58 unsigned long rnd; in arch_mmap_rnd() local 62 rnd = get_random_long() % (1<<(23-PAGE_SHIFT)); in arch_mmap_rnd() 64 rnd = get_random_long() % (1UL<<(30-PAGE_SHIFT)); in arch_mmap_rnd() 66 return rnd << PAGE_SHIFT; in arch_mmap_rnd() 69 static inline unsigned long mmap_base(unsigned long rnd) in mmap_base() argument 78 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
|
/arch/x86/mm/ |
D | mmap.c | 70 unsigned long rnd; in arch_mmap_rnd() local 74 rnd = get_random_long() & ((1UL << mmap_rnd_compat_bits) - 1); in arch_mmap_rnd() 76 rnd = get_random_long() & ((1UL << mmap_rnd_bits) - 1); in arch_mmap_rnd() 79 rnd = get_random_long() & ((1UL << mmap_rnd_bits) - 1); in arch_mmap_rnd() 81 return rnd << PAGE_SHIFT; in arch_mmap_rnd() 84 static unsigned long mmap_base(unsigned long rnd) in mmap_base() argument 93 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
|
/arch/arm64/mm/ |
D | mmap.c | 53 unsigned long rnd; in arch_mmap_rnd() local 57 rnd = get_random_long() & ((1UL << mmap_rnd_compat_bits) - 1); in arch_mmap_rnd() 60 rnd = get_random_long() & ((1UL << mmap_rnd_bits) - 1); in arch_mmap_rnd() 61 return rnd << PAGE_SHIFT; in arch_mmap_rnd() 64 static unsigned long mmap_base(unsigned long rnd) in mmap_base() argument 73 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
/arch/arm/mm/ |
D | mmap.c | 33 static unsigned long mmap_base(unsigned long rnd) in mmap_base() argument 42 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base() 174 unsigned long rnd; in arch_mmap_rnd() local 176 rnd = get_random_long() & ((1UL << mmap_rnd_bits) - 1); in arch_mmap_rnd() 178 return rnd << PAGE_SHIFT; in arch_mmap_rnd()
|
/arch/s390/mm/ |
D | mmap.c | 65 static unsigned long mmap_base_legacy(unsigned long rnd) in mmap_base_legacy() argument 67 return TASK_UNMAPPED_BASE + rnd; in mmap_base_legacy() 70 static inline unsigned long mmap_base(unsigned long rnd) in mmap_base() argument 79 return STACK_TOP - stack_maxrandom_size() - rnd - gap; in mmap_base()
|
/arch/x86/crypto/ |
D | sha512-ssse3-asm.S | 118 .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 …]
|
D | sha512-avx-asm.S | 126 .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/parisc/kernel/ |
D | sys_parisc.c | 229 unsigned long rnd = 0; in mmap_rnd() local 237 rnd = get_random_int() % (1<<8); in mmap_rnd() 239 rnd = get_random_int() % (1<<28); in mmap_rnd() 241 return rnd << PAGE_SHIFT; in mmap_rnd()
|
D | module.c | 137 #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/math-emu/ |
D | fp_arith.c | 85 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/ |
D | sys_sparc_64.c | 264 unsigned long rnd = 0UL; in mmap_rnd() local 269 rnd = (val % (1UL << (23UL-PAGE_SHIFT))); in mmap_rnd() 271 rnd = (val % (1UL << (30UL-PAGE_SHIFT))); in mmap_rnd() 273 return rnd << PAGE_SHIFT; in mmap_rnd()
|
/arch/m68k/ifpsp060/src/ |
D | fplsp.S | 584 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 …]
|
D | fpsp.S | 941 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 …]
|
D | pfpsp.S | 940 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/ |
D | process.c | 1651 unsigned long rnd = 0; in brk_rnd() local 1655 rnd = (get_random_long() % (1UL<<(23-PAGE_SHIFT))); in brk_rnd() 1657 rnd = (get_random_long() % (1UL<<(30-PAGE_SHIFT))); in brk_rnd() 1659 return rnd << PAGE_SHIFT; in brk_rnd()
|
/arch/frv/include/asm/ |
D | math-emu.h | 101 unsigned short rnd; member
|
/arch/m68k/include/asm/ |
D | math-emu.h | 101 unsigned short rnd; member
|
/arch/mips/include/asm/octeon/ |
D | cvmx-pow-defs.h | 741 uint64_t rnd:8; member 743 uint64_t rnd:8;
|
/arch/m68k/fpsp040/ |
D | round.S | 183 |Jump table for adding 1 to the l-bit indexed by rnd prec
|
D | setox.S | 115 | N = rnd-to-int( X*64/log2 (1+eps) ), |eps|<=2^(-24)
|