Searched refs:lock_file_region (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/fs/doio/ |
D | doio.c | 328 int lock_file_region(char *fname, int fd, int type, int start, int nbytes); 1744 if (lock_file_region(file, fd, F_WRLCK, offset, nbytes) < 0) { in do_write() 1946 if (lock_file_region(file, fd, F_UNLCK, offset, nbytes) < 0) { in do_write() 1959 int lock_file_region(char *fname, int fd, int type, int start, int nbytes) in lock_file_region() function 2168 if (lock_file_region(lio->r_file, fd, F_WRLCK, in do_listio() 2319 if (lock_file_region(lio->r_file, fd, F_UNLCK, in do_listio() 3254 if (lock_file_region(file, fd, F_WRLCK, in do_rw() 3476 if (lock_file_region(file, fd, F_UNLCK, in do_rw() 3537 if (lock_file_region(file, fd, F_WRLCK, in do_fcntl() 3585 if (lock_file_region(file, fd, F_UNLCK, in do_fcntl()
|