Home
last modified time | relevance | path

Searched refs:LOCK_MAND (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/trace/beauty/
H A Dflock.c7 #ifndef LOCK_MAND
8 #define LOCK_MAND 32 macro
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
H A Dflock.c7 #ifndef LOCK_MAND
8 #define LOCK_MAND 32 macro
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
H A Dfcntl.h183 #define LOCK_MAND 32 /* This is a mandatory flock ... */ macro
/kernel/linux/linux-5.10/include/uapi/asm-generic/
H A Dfcntl.h184 #define LOCK_MAND 32 /* This is a mandatory flock ... */ macro
/kernel/linux/linux-6.6/include/uapi/asm-generic/
H A Dfcntl.h184 * LOCK_MAND support has been removed from the kernel. We leave the symbols
187 #define LOCK_MAND 32 /* This is a mandatory flock ... */ macro
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/
H A Dfcntl.h184 * LOCK_MAND support has been removed from the kernel. We leave the symbols
187 #define LOCK_MAND 32 /* This is a mandatory flock ... */ macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
H A Dfcntl.h126 #define LOCK_MAND 32 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
H A Dfcntl.h140 #define LOCK_MAND 32 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
H A Dfcntl.h140 #define LOCK_MAND 32 macro
/kernel/linux/linux-5.10/fs/
H A Dlocks.c113 * Leases and LOCK_MAND
464 if (cmd & LOCK_MAND) in flock_translate_cmd()
465 return cmd & (LOCK_MAND | LOCK_RW); in flock_translate_cmd()
945 if ((caller_fl->fl_type & LOCK_MAND) || (sys_fl->fl_type & LOCK_MAND)) in flock_locks_conflict()
2213 * - %LOCK_MAND -- a 'mandatory' flock.
2216 * %LOCK_MAND can be combined with %LOCK_READ or %LOCK_WRITE to allow other
2234 if (!unlock && !(cmd & LOCK_MAND) && in SYSCALL_DEFINE2()
2878 if (fl->fl_type & LOCK_MAND) { in lock_get_status()
2898 if (fl->fl_type & LOCK_MAND) { in lock_get_status()
[all...]
/kernel/linux/linux-5.10/fs/ceph/
H A Dlocks.c305 if (fl->fl_type & LOCK_MAND) in ceph_flock()
/kernel/linux/linux-5.10/fs/nfs/
H A Dfile.c840 * The NFSv4 protocol doesn't support LOCK_MAND, which is not part of in nfs_flock()
841 * any standard. In principle we might be able to support LOCK_MAND in nfs_flock()
845 if (fl->fl_type & LOCK_MAND) in nfs_flock()
/kernel/linux/linux-5.10/fs/gfs2/
H A Dfile.c1356 if (fl->fl_type & LOCK_MAND) in gfs2_flock()
/kernel/linux/linux-6.6/fs/
H A Dlocks.c2065 * - %LOCK_MAND -- a 'mandatory' flock. (DEPRECATED)
2067 * %LOCK_MAND support has been removed from the kernel.
2076 * LOCK_MAND locks were broken for a long time in that they never in SYSCALL_DEFINE2()
2083 if (cmd & LOCK_MAND) { in SYSCALL_DEFINE2()
2084 pr_warn_once("%s(%d): Attempt to set a LOCK_MAND lock via flock(2). This support has been removed and the request ignored.\n", current->comm, current->pid); in SYSCALL_DEFINE2()

Completed in 18 milliseconds