Home
last modified time | relevance | path

Searched refs:randomsize (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/fs/fs-bench/
Drandom-del-create.c95 int randomsize; in create_file() local
101 if ((randomsize = box_muler(0, MAXFSIZE)) < 0) { in create_file()
102 randomsize = MAXFSIZE; in create_file()
104 if (write(fd, wbuf, randomsize) < 0) { in create_file()
110 disk_space_pool -= randomsize; in create_file()
Drandom-access-del-create.c97 int randomsize; in create_file() local
103 if ((randomsize = box_muler(0, MAXFSIZE)) < 0) { in create_file()
104 randomsize = MAXFSIZE; in create_file()
106 if (write(fd, wbuf, randomsize) < 0) { in create_file()
112 disk_space_pool -= randomsize; in create_file()
Dcreate-files.c103 int randomsize; in create_file() local
109 if ((randomsize = box_muler(0, MAXFSIZE)) < 0) { in create_file()
110 randomsize = MAXFSIZE; in create_file()
112 if (write(fd, wbuf, randomsize) < 0) { in create_file()
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
Dmain.c335 int randomsize; in create_file() local
345 if ((randomsize = gen_random_file_size(0, MAXFSIZE)) < 0) { in create_file()
346 randomsize = MAXFSIZE; in create_file()
348 if (write(fileHandle, wbuf, randomsize) < 0) { in create_file()