Searched defs:flock (Results 1 - 4 of 4) sorted by relevance

/external/kernel-headers/original/asm-mips/
H A Dfcntl.h37 * The flavours of struct flock. "struct flock" is the ABI compliant
38 * variant. Finally struct flock64 is the LFS variant of struct flock. As
40 * contain all the same fields as struct flock.
45 struct flock { struct
/external/clang/test/Sema/
H A Dwarn-type-safety.c115 struct flock { }; struct
118 static const int F_SETLK_tag __attribute__(( type_tag_for_datatype(fcntl,struct flock *) )) = F_SETLK;
122 void test_argument_with_type_tag(struct flock *f)
127 fcntl(0, F_SETLK, 10); // expected-warning {{argument type 'int' doesn't match specified 'fcntl' type tag that requires 'struct flock *'}}
128 fcntl(0, F_DUPFD, f); // expected-warning {{argument type 'struct flock *' doesn't match specified 'fcntl' type tag that requires 'int'}}
/external/kernel-headers/original/asm-generic/
H A Dfcntl.h142 /* for old implementation of bsd flock () */
148 /* operations for bsd flock(), also used by the kernel implementation */
155 #define LOCK_MAND 32 /* This is a mandatory flock ... */
167 struct flock { struct
/external/kernel-headers/original/linux/
H A Dfs.h791 extern int fcntl_getlk(struct file *, struct flock __user *);
793 struct flock __user *);
1081 int (*flock) (struct file *, int, struct file_lock *); member in struct:file_operations

Completed in 125 milliseconds