Searched refs:get_random_int (Results 1 – 25 of 44) sorted by relevance
12
152 size_t len = get_random_int() % d + 1; in test_hexdump_set()211 int rs = (get_random_int() % 2 + 1) * 16; in test_hexdump_overflow_set()215 size_t len = get_random_int() % rs + gs; in test_hexdump_overflow_set()226 rowsize = (get_random_int() % 2 + 1) * 16; in test_hexdump_init()230 rowsize = (get_random_int() % 2 + 1) * 16; in test_hexdump_init()
86 values[i] = get_random_int(); in test_heapify_all()119 temp = get_random_int(); in test_heap_push()161 temp = get_random_int(); in test_heap_pop_push()
79 sprintf(in, "%u%s", get_random_int() % 256, str); in cmdline_test_lead_int()97 sprintf(in, "%s%u", str, get_random_int() % 256); in cmdline_test_tail_int()
28 get_random_int() % w, MAX_NUMNODES); in node_random()
1059 size = (get_random_int() % 1024) + 1; in match_all_not_assigned()1068 order = (get_random_int() % 4) + 1; in match_all_not_assigned()
590 get_random_int() % (UNESCAPE_ANY + 1), true); in test_string_helpers_init()
216 sp -= get_random_int() & ~PAGE_MASK; in arch_align_stack()222 return (get_random_int() & BRK_RND_MASK) << PAGE_SHIFT; in brk_rnd()
139 addr = get_random_int(); in random_offset()142 addr |= get_random_int(); in random_offset()
213 unsigned int rand = get_random_int(); in vivid_fill_buff_noise()224 return get_random_int() % VIVID_PRESSURE_LIMIT; in get_random_pressure()275 dev->tch_pat_random = get_random_int(); in vivid_fillbuff_tch()
54 static inline unsigned int get_random_int(void) in get_random_int() function
70 choose_random_kstack_offset(get_random_int() & 0x1FF); in invoke_syscall()
560 sp -= get_random_int() & ~PAGE_MASK; in arch_align_stack()
289 return (get_random_int() & BRK_RND_MASK) << PAGE_SHIFT; in brk_rnd()
242 rnd = get_random_int() & MMAP_RND_MASK; in mmap_rnd()249 return (get_random_int() & MMAP_RND_MASK) << PAGE_SHIFT; in arch_mmap_rnd()
82 base += get_random_int() & (VDSO_RANDOMIZE_SIZE - 1); in vdso_base()
40 return (get_random_int() & MMAP_RND_MASK) << PAGE_SHIFT; in arch_mmap_rnd()
155 bloom->hash_seed = get_random_int(); in bloom_map_alloc()
106 offset = get_random_int() % (((end - start) >> PAGE_SHIFT) + 1); in vdso_random_addr()
402 r = get_random_int() % (n + 1); in get_random_order()541 struct ww_mutex *lock = stress->locks + (get_random_int() % nlocks); in stress_one_work()
56 (get_random_int() % 1024 + 1) * PAGE_SIZE; in get_module_load_offset()
362 sp -= get_random_int() % 8192; in arch_align_stack()
371 offset = get_random_int() % slots; in sigpage_addr()
330 offset = get_random_int() % (((end - start) >> PAGE_SHIFT) + 1); in vdso_addr()
137 i915_selftest.random_seed = get_random_int(); in __run_selftests()
357 offset = get_random_int() & (PTRS_PER_PTE - 1); in vdso_addr()
Completed in 35 milliseconds