Home
last modified time | relevance | path

Searched refs:LOCK_MAND (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/include/uapi/asm-generic/
Dfcntl.h183 #define LOCK_MAND 32 /* This is a mandatory flock ... */ macro
/linux-4.1.27/fs/
Dlocks.c355 if (cmd & LOCK_MAND) in flock_translate_cmd()
356 return cmd & (LOCK_MAND | LOCK_RW); in flock_translate_cmd()
752 if ((caller_fl->fl_type & LOCK_MAND) || (sys_fl->fl_type & LOCK_MAND)) in flock_locks_conflict()
1911 if (!unlock && !(cmd & LOCK_MAND) && in SYSCALL_DEFINE2()
2536 if (fl->fl_type & LOCK_MAND) { in lock_get_status()
2556 if (fl->fl_type & LOCK_MAND) { in lock_get_status()
/linux-4.1.27/fs/nfs/
Dfile.c918 if (fl->fl_type & LOCK_MAND) in nfs_flock()
/linux-4.1.27/fs/gfs2/
Dfile.c1095 if (fl->fl_type & LOCK_MAND) in gfs2_flock()