/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl11.c | 64 void compare_lock(struct flock *, short, short, int, int, pid_t); 152 compare_lock(struct flock *fl, short type, short whence, int start, int len, in compare_lock() function 184 compare_lock(&fl, (short)F_UNLCK, (short)0, 0, 0, (pid_t) 0); in unlock_file() 293 compare_lock(&tl, (short)F_RDLCK, (short)0, 1, 5, parent_pid); in main() 299 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main() 305 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 331 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 5, parent_pid); in main() 337 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main() 343 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 369 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 6, parent_pid); in main() [all …]
|
D | fcntl21.c | 63 void compare_lock(struct flock *, short, short, int, int, pid_t); 173 compare_lock(struct flock *fl, short type, short whence, int start, int len, in compare_lock() function 217 compare_lock(&fl, (short)F_UNLCK, (short)0, 0, 0, (pid_t) 0); in unlock_file() 342 compare_lock(&tl, (short)F_RDLCK, (short)0, 0, 0, parent_pid); in main() 373 compare_lock(&tl, (short)F_WRLCK, (short)0, 0, 0, parent_pid); in main() 412 compare_lock(&tl, (short)F_WRLCK, (short)0, 1, 5, parent_pid); in main() 418 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() 424 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 462 compare_lock(&tl, (short)F_WRLCK, (short)0, 5, 5, parent_pid); in main() 468 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() [all …]
|
D | fcntl19.c | 68 void compare_lock(struct flock *, short, short, int, int, pid_t); 166 compare_lock(struct flock *fl, short type, short whence, int start, int len, in compare_lock() function 210 compare_lock(&fl, (short)F_UNLCK, (short)0, 0, 0, (pid_t) 0); in unlock_file() 342 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main() 348 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 385 compare_lock(&tl, (short)F_WRLCK, (short)0, 11, 4, parent_pid); in main() 391 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 429 compare_lock(&tl, (short)F_WRLCK, (short)0, 13, 2, parent_pid); in main() 435 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 473 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 3, parent_pid); in main() [all …]
|
D | fcntl20.c | 64 void compare_lock(struct flock *, short, short, int, int, pid_t); 165 compare_lock(struct flock *fl, short type, short whence, int start, int len, in compare_lock() function 209 compare_lock(&fl, (short)F_UNLCK, (short)0, 0, 0, (pid_t) 0); in unlock_file() 341 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() 347 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 384 compare_lock(&tl, (short)F_RDLCK, (short)0, 11, 4, parent_pid); in main() 390 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 427 compare_lock(&tl, (short)F_RDLCK, (short)0, 13, 2, parent_pid); in main() 433 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 470 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 3, parent_pid); in main() [all …]
|