Home | History | Annotate | Download | only in common

Lines Matching refs:FLOCK

41  * The arguments in the flock structure have a different order from the
142 * The next two functions take care of converting the flock
148 #define conv_linux_flock(LINUX, FLOCK) \
150 bsd_to_##LINUX##_##FLOCK(struct LINUX##_##FLOCK *lfp, const struct flock *bfp) \
154 LINUX##_to_bsd_##FLOCK(struct flock *bfp, const struct LINUX##_##FLOCK *lfp) \
182 #define do_linux_getlk(fd, cmd, arg, LINUX, FLOCK) do { \
183 struct LINUX##_##FLOCK lfl; \
184 struct flock bfl; \
188 LINUX##_to_bsd_##FLOCK(&bfl, &lfl); \
192 bsd_to_##LINUX##_##FLOCK(&lfl, &bfl); \
196 #define do_linux_setlk(fd, cmd, arg, LINUX, FLOCK, setlk) do { \
197 struct LINUX##_##FLOCK lfl; \
198 struct flock bfl; \
202 LINUX##_to_bsd_##FLOCK(&bfl, &lfl); \