Searched refs:randomsize (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/fs/fs-bench/ |
D | random-del-create.c | 95 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()
|
D | random-access-del-create.c | 97 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()
|
D | create-files.c | 103 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/ |
D | main.c | 335 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()
|