Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/writev/
Dwritev02.c81 char *buf_list[NBUFS]; variable
106 buf_list[0] = buf1; in main()
107 buf_list[1] = buf2; in main()
109 memset(buf_list[0], 0, K_1); in main()
110 memset(buf_list[1], 0, K_1); in main()
127 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1) in main()
158 if ((nbytes = read(fd[0], buf_list[0], CHUNK)) != CHUNK) { in main()
162 if (memcmp(buf_list[0], buf_list[1], CHUNK) in main()
Dwritev05.c76 char *buf_list[NBUFS]; variable
105 buf_list[0] = buf1; in main()
106 buf_list[1] = buf2; in main()
123 memset(buf_list[0], 0, K_1); in main()
124 memset(buf_list[1], 0, K_1); in main()
131 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1) { in main()
171 if ((nbytes = read(fd[0], buf_list[0], CHUNK)) != 0) { in main()
/external/ltp/testcases/kernel/syscalls/readv/
Dreadv02.c88 char *buf_list[NBUFS]; variable
138 if (memcmp((buf_list[0] + CHUNK * 6), in main()
139 (buf_list[1] + CHUNK * 6), CHUNK * 3) != 0) { in main()
197 buf_list[0] = buf1; in setup()
198 buf_list[1] = buf2; in setup()
199 buf_list[2] = buf3; in setup()
200 buf_list[3] = NULL; in setup()
202 init_buffs(buf_list); in setup()
210 if ((nbytes = write(fd[0], buf_list[2], K_1)) != K_1) { in setup()
/external/e2fsprogs/contrib/android/
Dext2simg.c64 } *buf_list; variable
82 if (buf_list == NULL) in add_chunk()
83 buf_list = bi; in add_chunk()
85 bi->next = buf_list; in add_chunk()
86 buf_list = bi; in add_chunk()
102 while (buf_list) { in free_chunks()
103 bi = buf_list->next; in free_chunks()
104 free(buf_list); in free_chunks()
105 buf_list = bi; in free_chunks()