Home
last modified time | relevance | path

Searched refs:BSIZE (Results 1 – 11 of 11) sorted by relevance

/external/ltp/testcases/kernel/fs/lftest/
Dlftest.c40 #define BSIZE 1048576L macro
41 char buf[BSIZE];
54 printf("usage:<# of %ld buffers to write>\n", BSIZE); in main()
62 for (i = 1; i < BSIZE; i++) in main()
64 buf[BSIZE - 1] = 'Z'; in main()
70 if (write(fd, buf, BSIZE) == -1) in main()
78 if (lseek(fd, (i + 1) * BSIZE, 0) == -1) in main()
/external/ltp/testcases/kernel/fs/fs_di/
Dcreate_datafile.c37 #define BSIZE 1048576L macro
43 char buf[BSIZE]; in main()
49 BSIZE); in main()
55 for (i = 1; i < BSIZE; i++) in main()
57 buf[BSIZE - 1] = 'Z'; in main()
63 if (write(fd, buf, BSIZE) == -1) in main()
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs04_create_file.c37 #define BSIZE 1048576L macro
43 char buf[BSIZE]; in main()
49 BSIZE); in main()
55 for (i = 1; i < BSIZE; i++) in main()
57 buf[BSIZE - 1] = 'Z'; in main()
63 if (write(fd, buf, BSIZE) == -1) in main()
/external/e2fsprogs/tests/f_extent_htree/
Dscript13 BSIZE=1024
21 NUM=$(((BSIZE / (NAMELEN + 8)) * (BSIZE / 12) * 2))
33 echo "mke2fs -b $BSIZE -O dir_index,extent -E no_copy_xattrs -d$SRC -N$NUM $TMPFILE $NUM" >> $OUT
34 $MKE2FS -b $BSIZE -O dir_index,extent -E no_copy_xattrs -d$SRC -N$NUM $TMPFILE $NUM >> $OUT 2>&1
/external/ltp/testcases/kernel/syscalls/memset/
Dmemset01.c46 #undef BSIZE
47 #define BSIZE 4096 macro
52 char buf[BSIZE];
103 for (i = 0; i < BSIZE; i++) in fill()
/external/ltp/testcases/kernel/syscalls/memcpy/
Dmemcpy01.c51 #undef BSIZE
52 #define BSIZE 4096 macro
61 char buf[BSIZE];
143 for (i = 0; i < BSIZE; i++) in clearit()
/external/ltp/testcases/kernel/syscalls/memcmp/
Dmemcmp01.c46 #undef BSIZE
47 #define BSIZE 4096 macro
52 char buf[BSIZE];
194 for (i = 0; i < BSIZE; i++) in clearit()
/external/ltp/testcases/kernel/fs/doio/
Diogen.c73 #ifndef BSIZE
75 #define BSIZE DEV_BSIZE macro
77 #define BSIZE 512 macro
477 Mintrans, (Mintrans + BSIZE - 1) / BSIZE); in startup_info()
481 Maxtrans, (Maxtrans + BSIZE - 1) / BSIZE); in startup_info()
489 Rawmult, (Rawmult + BSIZE - 1) / BSIZE); in startup_info()
619 random_range(Mintrans, Maxtrans, BSIZE, NULL); in form_iorequest()
1014 rec->f_riou = BSIZE; in get_file_info()
1056 rec->f_riou = BSIZE; in get_file_info()
1057 rec->f_length = BSIZE; in get_file_info()
[all …]
Dwrite_log.c76 #ifndef BSIZE
78 #define BSIZE DEV_BSIZE macro
81 #define BSIZE 512 macro
266 char buf[BSIZE * 32], *bufend, *cp, *bufstart; in wlog_scan_backward()
Dgrowfiles.c320 #ifndef BSIZE
322 #define BSIZE 1024 macro
324 #define BSIZE 512 macro
430 bytes_to_consume *= BSIZE; in main()
Ddoio.c2340 char errbuf[BSIZE]; in do_ssdio()