/external/ltp/testcases/kernel/mem/shmt/ |
shmt03.c | 51 #define K_1 1024 68 if ((shmid = shmget(key, 16 * K_1, IPC_CREAT | 0666)) < 0) { 85 *(cp1 + 5 * K_1) = '2'; 99 if ((*cp2 != '1' || *(cp2 + 5 * K_1) != '2') && 112 if (*cp2 != '1' || *(cp2 + 5 * K_1) != '2' || 113 *cp1 != '1' || *(cp1 + 5 * K_1) != '2') {
|
shmt02.c | 52 #define K_1 1024 67 if ((shmid = shmget(key, 16 * K_1, IPC_CREAT | 0666)) < 0) {
|
shmt09.c | 47 #define K_1 1024 94 if ((shmid = shmget(key, 10 * K_1, IPC_CREAT | 0666)) < 0) { 116 if ((unsigned long)sbrk(32 * K_1) >= (-4095UL)) { 122 vp = (void *)((char *)sbrk(0) - 2 * K_1); 143 vp = (void *)((char *)sbrk(0) + 256 * K_1);
|
shmt08.c | 43 #define K_1 1024 65 if ((shmid = shmget(key, 24 * K_1, IPC_CREAT | 0666)) < 0) {
|
/external/ltp/testcases/kernel/syscalls/writev/ |
writev02.c | 61 #define K_1 8192 64 #define CHUNK K_1 /* single chunk */ 68 char buf1[K_1]; 69 char buf2[K_1]; 78 char name[K_1], f_name[K_1]; 109 memset(buf_list[0], 0, K_1); 110 memset(buf_list[1], 0, K_1); 126 l_seek(fd[0], K_1, 0); 127 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1 [all...] |
writev05.c | 56 #define K_1 8192 59 #define CHUNK K_1 /* single chunk */ 63 char buf1[K_1]; 64 char buf2[K_1]; 65 char buf3[K_1]; 74 char name[K_1], f_name[K_1]; 123 memset(buf_list[0], 0, K_1); 124 memset(buf_list[1], 0, K_1); 131 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1) [all...] |
writev06.c | 52 #define K_1 1024 67 char name[K_1], f_name[K_1];
|
/external/ltp/testcases/kernel/syscalls/readv/ |
readv02.c | 52 #define K_1 1024 53 #define M_1 K_1 * K_1 54 #define G_1 M_1 * K_1 61 char buf1[K_1], buf2[K_1], buf3[K_1]; 85 char f_name[K_1]; 210 if ((nbytes = write(fd[0], buf_list[2], K_1)) != K_1) { [all...] |
readv03.c | 60 #define K_1 1024 63 char buf1[K_1]; 66 {buf1, K_1}
|
/external/ltp/testcases/kernel/mem/vmtests/ |
stack_space.c | 55 #define K_1 1024 58 #define MAXSIZE 10*K_1 98 csize = K_1;
|
data_space.c | 61 #define K_1 1024 113 max_size = K_1 * K_1;
|
/external/ltp/testcases/kernel/fs/ftest/ |
ftest01.c | 79 #define K_1 1024 141 max_size = K_1 * K_1;
|
ftest04.c | 67 #define K_1 1024 133 max_size = K_1 * K_1;
|
ftest05.c | 83 #define K_1 1024 149 max_size = K_1 * K_1;
|
ftest08.c | 68 #define K_1 1024 138 max_size = K_1 * K_1;
|
ftest03.c | 83 #define K_1 1024 161 max_size = K_1 * K_1;
|
ftest07.c | 83 #define K_1 1024 165 max_size = K_1 * K_1;
|
ftest02.c | 60 #define K_1 1024
|
ftest06.c | 78 #define K_1 1024
|