Home
last modified time | relevance | path

Searched refs:flock (Results 1 – 25 of 34) sorted by relevance

12

/linux-2.4.37.9/fs/
Dlocks.c252 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 …]
Dfcntl.c282 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/
Dlocks.txt14 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
Dmandatory.txt13 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/
Dfcntl.h73 struct flock { struct
83 #define flock64 flock argument
/linux-2.4.37.9/include/asm-ia64/
Dfcntl.h73 struct flock { struct
82 # define flock64 flock argument
/linux-2.4.37.9/include/asm-x86_64/
Dfcntl.h65 struct flock { struct
76 #define flock64 flock argument
/linux-2.4.37.9/include/asm-alpha/
Dfcntl.h64 struct flock { struct
73 #define flock64 flock argument
/linux-2.4.37.9/include/asm-sparc64/
Dfcntl.h72 struct flock { struct
93 #define flock64 flock argument
/linux-2.4.37.9/include/asm-mips64/
Dfcntl.h79 typedef struct flock { struct
99 #define flock64 flock argument
/linux-2.4.37.9/include/asm-s390/
Dfcntl.h77 struct flock { struct
/linux-2.4.37.9/include/asm-sh/
Dfcntl.h69 struct flock { struct
/linux-2.4.37.9/include/asm-sh64/
Dfcntl.h69 struct flock { struct
/linux-2.4.37.9/include/asm-arm/
Dfcntl.h69 struct flock { struct
/linux-2.4.37.9/include/asm-i386/
Dfcntl.h69 struct flock { struct
/linux-2.4.37.9/include/asm-m68k/
Dfcntl.h69 struct flock { struct
/linux-2.4.37.9/include/asm-cris/
Dfcntl.h71 struct flock { struct
/linux-2.4.37.9/include/asm-sparc/
Dfcntl.h69 struct flock { struct
/linux-2.4.37.9/include/asm-parisc/
Dfcntl.h73 struct flock { struct
/linux-2.4.37.9/include/asm-ppc/
Dfcntl.h75 struct flock { struct
/linux-2.4.37.9/include/asm-ppc64/
Dfcntl.h82 struct flock { struct
/linux-2.4.37.9/include/asm-mips/
Dfcntl.h84 typedef struct flock { struct
/linux-2.4.37.9/arch/x86_64/ia32/
Dsys_ia32.c1344 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/
Dsyscall.S520 ENTRY_SAME(flock)
/linux-2.4.37.9/include/linux/
Dfs.h660 extern int fcntl_getlk(unsigned int, struct flock *);
662 struct flock *);

12