/linux-2.4.37.9/fs/ |
D | locks.c | 252 struct flock *l) in flock_to_posix_lock() 1109 struct file_lock *new_fl, *flock; in __get_lease() local 1122 flock = inode->i_flock; in __get_lease() 1123 if ((flock == NULL) || (flock->fl_flags & FL_LEASE) == 0) in __get_lease() 1126 for (fl = flock; fl && (fl->fl_flags & FL_LEASE); fl = fl->fl_next) in __get_lease() 1133 } else if (flock->fl_type & F_INPROGRESS) { in __get_lease() 1135 future = flock->fl_type; in __get_lease() 1136 } else if (flock->fl_type & F_WRLCK) { in __get_lease() 1156 for (fl = flock; fl && (fl->fl_flags & FL_LEASE); fl = fl->fl_next) { in __get_lease() 1170 break_time = flock->fl_break_time; in __get_lease() [all …]
|
D | fcntl.c | 282 err = fcntl_getlk(fd, (struct flock *) arg); in do_fcntl() 286 err = fcntl_setlk(fd, filp, cmd, (struct flock *) arg); in do_fcntl()
|
/linux-2.4.37.9/Documentation/ |
D | locks.txt | 14 The old flock(2) emulation in the kernel was swapped for proper BSD 15 compatible flock(2) support in the 1.3.x series of kernels. With the 29 Because sendmail was unable to use the old flock() emulation, many sendmail 30 installations use fcntl() instead of flock(). This is true of Slackware 3.0 34 file with flock(). With pre 1.3.96 kernels this could result in deadlocks that, 42 is to make flock() and fcntl() locks oblivious to each other. Both can 49 cooperative flock()/fcntl() are those that emulate flock() using
|
D | mandatory.txt | 13 processes. File locks are applied using the flock() and fcntl() system calls 101 locks using flock() never result in a mandatory lock.
|
/linux-2.4.37.9/include/asm-s390x/ |
D | fcntl.h | 73 struct flock { struct 83 #define flock64 flock argument
|
/linux-2.4.37.9/include/asm-ia64/ |
D | fcntl.h | 73 struct flock { struct 82 # define flock64 flock argument
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | fcntl.h | 65 struct flock { struct 76 #define flock64 flock argument
|
/linux-2.4.37.9/include/asm-alpha/ |
D | fcntl.h | 64 struct flock { struct 73 #define flock64 flock argument
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | fcntl.h | 72 struct flock { struct 93 #define flock64 flock argument
|
/linux-2.4.37.9/include/asm-mips64/ |
D | fcntl.h | 79 typedef struct flock { struct 99 #define flock64 flock argument
|
/linux-2.4.37.9/include/asm-s390/ |
D | fcntl.h | 77 struct flock { struct
|
/linux-2.4.37.9/include/asm-sh/ |
D | fcntl.h | 69 struct flock { struct
|
/linux-2.4.37.9/include/asm-sh64/ |
D | fcntl.h | 69 struct flock { struct
|
/linux-2.4.37.9/include/asm-arm/ |
D | fcntl.h | 69 struct flock { struct
|
/linux-2.4.37.9/include/asm-i386/ |
D | fcntl.h | 69 struct flock { struct
|
/linux-2.4.37.9/include/asm-m68k/ |
D | fcntl.h | 69 struct flock { struct
|
/linux-2.4.37.9/include/asm-cris/ |
D | fcntl.h | 71 struct flock { struct
|
/linux-2.4.37.9/include/asm-sparc/ |
D | fcntl.h | 69 struct flock { struct
|
/linux-2.4.37.9/include/asm-parisc/ |
D | fcntl.h | 73 struct flock { struct
|
/linux-2.4.37.9/include/asm-ppc/ |
D | fcntl.h | 75 struct flock { struct
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | fcntl.h | 82 struct flock { struct
|
/linux-2.4.37.9/include/asm-mips/ |
D | fcntl.h | 84 typedef struct flock { struct
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | sys_ia32.c | 1344 static inline int get_flock(struct flock *kfl, struct flock32 *ufl) in get_flock() 1356 static inline int put_flock(struct flock *kfl, struct flock32 *ufl) in put_flock() 1379 struct flock f; in sys32_fcntl() 1403 static inline int get_flock64(struct ia32_flock64 *fl32, struct flock *fl64) in get_flock64() 1416 static inline int put_flock64(struct ia32_flock64 *fl32, struct flock *fl64) in put_flock64() 1431 struct flock fl64; in sys32_fcntl64()
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | syscall.S | 520 ENTRY_SAME(flock)
|
/linux-2.4.37.9/include/linux/ |
D | fs.h | 660 extern int fcntl_getlk(unsigned int, struct flock *); 662 struct flock *);
|