Home
last modified time | relevance | path

Searched refs:random_range (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/fs/doio/
Diogen.c595 sc = Syscall_List[random_range(0, Nsyscalls - 1, 1, NULL)]; in form_iorequest()
600 opcode = random_range(0, 1, 1, NULL) ? LO_READ : LO_WRITE; in form_iorequest()
601 cmd = random_range(0, 1, 1, NULL) ? LC_START : LC_WAIT; in form_iorequest()
607 Byte_Patterns[random_range in form_iorequest()
619 random_range(Mintrans, Maxtrans, BSIZE, NULL); in form_iorequest()
632 fptr = &File_List[random_range(0, Nfiles - 1, 1, NULL)]; in form_iorequest()
633 flags = Flag_List[random_range(0, Nflags - 1, 1, NULL)]; in form_iorequest()
662 offset = random_range(laststart, lastend, 1, NULL); in form_iorequest()
675 length = random_range(minlength, maxlength, mult, &errp); in form_iorequest()
697 length = random_range(minlength, maxlength, mult, &errp); in form_iorequest()
[all …]
Dgrowfiles.c1201 (int)random_range(tmp, unlink_inter_ran, 1, NULL); in main()
1422 Open_flags[random_range in main()
1999 random_range(min_size, max_size, mult_size, &errmsg); in growfile()
2105 random_range(min_lseek, fsize, 1, NULL); in growfile()
2109 random_range(min_lseek, fsize + grow_incr, in growfile()
2126 random_range(min_lseek, in growfile()
2131 random_range(min_lseek, max_lseek, 1, NULL); in growfile()
2404 random_range(min_lseek, new_offset, 1, in shrinkfile()
2408 random_range(min_lseek, max_lseek, 1, NULL); in shrinkfile()
Ddoio.c1466 addr += random_range(0, wtob(1) - 1, 1, NULL); in do_read()
1489 addr += random_range(0, wtob(1) - 1, 1, NULL); in do_read()
1692 addr += random_range(0, wtob(1) - 1, 1, NULL); in do_write()
1719 addr += random_range(0, wtob(1) - 1, 1, NULL); in do_write()
2133 addr += random_range(0, wtob(1) - 1, 1, NULL); in do_listio()
3212 random_range(0, MPP_BUMP, 1, NULL) * sizeof(int); in do_rw()
3214 addr += random_range(0, wtob(1) - 1, 1, NULL); in do_rw()
/external/ltp/include/old/
Drandom_range.h39 long random_range ( int, int, int, char ** );
/external/ltp/lib/
Drandom_range.c278 long random_range(int min, int max, int mult, char **errp) in random_range() function
654 bit = random_range(1, nbits, 1, NULL); in random_bit()
858 lret = random_range(imin, imax, imult, NULL);
/external/ltp/
Dgen.bp116 "lib/random_range.c",