Searched refs:l_len (Results 1 – 12 of 12) sorted by relevance
| /linux/tools/testing/selftests/filelock/ |
| H A D | ofdlocks.c | 50 fl.l_len = 3; in main() 62 fl.l_len = 1; in main() 73 fl.l_len = 1; in main() 88 fl.l_len = 1; in main() 98 fl.l_type, fl.l_pid, fl.l_len); in main() 107 fl2.l_len = 0; in main() 117 fl.l_type, fl.l_pid, fl.l_len); in main() 124 fl.l_len = 0; in main()
|
| /linux/fs/lockd/ |
| H A D | clnt4xdr.c | 66 u64 *l_offset, u64 *l_len) in nlm4_compute_offsets() argument 72 *l_len = 0; in nlm4_compute_offsets() 74 *l_len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in nlm4_compute_offsets() 243 u64 l_offset, l_len; in encode_nlm4_holder() local 251 nlm4_compute_offsets(lock, &l_offset, &l_len); in encode_nlm4_holder() 253 xdr_encode_hyper(p, l_len); in encode_nlm4_holder() 260 u64 l_offset, l_len; in decode_nlm4_holder() local 286 xdr_decode_hyper(p, &l_len); in decode_nlm4_holder() 287 nlm4svc_set_file_lock_range(fl, l_offset, l_len); in decode_nlm4_holder() 321 u64 l_offset, l_len; in encode_nlm4_lock() local [all …]
|
| /linux/include/linux/ |
| H A D | falloc.h | 16 __s64 l_len; /* len == 0 means until end of file */ member 49 __s64 l_len __attribute__((packed)); member
|
| /linux/tools/include/uapi/asm-generic/ |
| H A D | fcntl.h | |
| /linux/include/uapi/asm-generic/ |
| H A D | fcntl.h | 198 __kernel_off_t l_len; member 212 __kernel_loff_t l_len; member
|
| /linux/arch/arm/kernel/ |
| H A D | sys_oabi-compat.c | 196 loff_t l_len; member 211 kernel->l_len = user.l_len; in get_oabi_flock() 224 user.l_len = kernel->l_len; in put_oabi_flock()
|
| /linux/fs/ |
| H A D | locks.c | 515 if (l->l_len > 0) { in flock64_to_posix_lock() 516 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock() 518 fl->fl_end = fl->fl_start + (l->l_len - 1); in flock64_to_posix_lock() 520 } else if (l->l_len < 0) { in flock64_to_posix_lock() 521 if (fl->fl_start + l->l_len < 0) in flock64_to_posix_lock() 524 fl->fl_start += l->l_len; in flock64_to_posix_lock() 548 .l_len = l->l_len, in flock_to_posix_lock() 2310 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock() 2322 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock64()
|
| H A D | ioctl.c | 290 sr.l_len); in ioctl_preallocate() 318 return vfs_fallocate(file, mode | FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len); in compat_ioctl_preallocate()
|
| /linux/fs/ocfs2/ |
| H A D | file.c | 1994 llen = sr->l_len > 0 ? sr->l_len - 1 : sr->l_len; in __ocfs2_change_file_space() 2003 size = sr->l_start + sr->l_len; in __ocfs2_change_file_space() 2007 if (sr->l_len <= 0) { in __ocfs2_change_file_space() 2030 sr->l_len); in __ocfs2_change_file_space() 2035 sr->l_len); in __ocfs2_change_file_space() 2142 sr.l_len = (s64)len; in ocfs2_fallocate()
|
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 580 .l_len = 0 } ); in os_lock_file()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_fs.h | 104 __s64 l_len; /* len == 0 means until end of file */ member
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | fs_test.c | 4245 __s64 l_len; /* len == 0 means until end of file */ member
|