Lines Matching refs:flock
64 void compare_lock(struct flock *, short, short, int, int, pid_t);
66 void do_test(struct flock *, short, short, int, int);
127 struct flock fl; in do_child()
143 struct flock fl; in do_lock()
152 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test()
165 compare_lock(struct flock *fl, short type, short whence, int start, int len, in compare_lock()
202 struct flock fl; in unlock_file()
229 void parent_put(struct flock *l) in parent_put()
237 void parent_get(struct flock *l) in parent_get()
245 void child_put(struct flock *l) in child_put()
253 void child_get(struct flock *l) in child_get()
265 struct flock fl; in stop_child()
281 struct flock tl; in main()