/linux/fs/lockd/ |
A D | clnt4xdr.c | 66 u64 *l_offset, u64 *l_len) in nlm4_compute_offsets() argument 72 *l_len = 0; 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 287 xdr_decode_hyper(p, &l_len); in decode_nlm4_holder() 288 end = l_offset + l_len - 1; in decode_nlm4_holder() 291 if (l_len == 0 || end < 0) in decode_nlm4_holder() 328 u64 l_offset, l_len; in encode_nlm4_lock() local [all …]
|
A D | clntxdr.c | 62 u32 *l_offset, u32 *l_len) in nlm_compute_offsets() argument 68 *l_len = 0; in nlm_compute_offsets() 238 u32 l_offset, l_len; in encode_nlm_holder() local 246 nlm_compute_offsets(lock, &l_offset, &l_len); in encode_nlm_holder() 248 *p = cpu_to_be32(l_len); in encode_nlm_holder() 255 u32 exclusive, l_offset, l_len; in decode_nlm_holder() local 281 l_len = be32_to_cpup(p); in decode_nlm_holder() 282 end = l_offset + l_len - 1; in decode_nlm_holder() 285 if (l_len == 0 || end < 0) in decode_nlm_holder() 322 u32 l_offset, l_len; in encode_nlm_lock() local [all …]
|
/linux/include/linux/ |
A D | falloc.h | 16 __s64 l_len; /* len == 0 means until end of file */ member 42 __s64 l_len __attribute__((packed)); member
|
/linux/tools/include/uapi/asm-generic/ |
A D | fcntl.h | 199 __kernel_off_t l_len; member 214 __kernel_loff_t l_len; member
|
/linux/include/uapi/asm-generic/ |
A D | fcntl.h | 204 __kernel_off_t l_len; member 219 __kernel_loff_t l_len; member
|
/linux/arch/arm/kernel/ |
A D | sys_oabi-compat.c | 193 loff_t l_len; member 208 kernel->l_len = user.l_len; in get_oabi_flock() 221 user.l_len = kernel->l_len; in put_oabi_flock()
|
/linux/arch/powerpc/include/asm/ |
A D | compat.h | 51 compat_off_t l_len; member 63 compat_loff_t l_len; member
|
/linux/arch/sparc/include/asm/ |
A D | compat.h | 82 compat_off_t l_len; member 95 compat_loff_t l_len; member
|
/linux/arch/arm64/include/asm/ |
A D | compat.h | 72 compat_off_t l_len; member 84 compat_loff_t l_len; member
|
/linux/arch/x86/include/asm/ |
A D | compat.h | 57 compat_off_t l_len; member 73 compat_loff_t l_len; member
|
/linux/arch/mips/include/asm/ |
A D | compat.h | 62 compat_off_t l_len; member 76 compat_loff_t l_len; member
|
/linux/arch/parisc/include/asm/ |
A D | compat.h | 60 compat_off_t l_len; member 68 compat_loff_t l_len; member
|
/linux/arch/s390/include/asm/ |
A D | compat.h | 109 compat_off_t l_len; member 121 compat_loff_t l_len; member
|
/linux/fs/ |
A D | fcntl.c | 537 (dst)->l_len = (src)->l_len; \ 576 BUILD_BUG_ON(sizeof(kfl->l_len) > sizeof(ufl->l_len)); in put_compat_flock64() 614 if (flock->l_len > COMPAT_OFF_T_MAX) in fixup_compat_flock() 615 flock->l_len = COMPAT_OFF_T_MAX; in fixup_compat_flock()
|
A D | locks.c | 434 if (l->l_len > 0) { in flock64_to_posix_lock() 435 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock() 437 fl->fl_end = fl->fl_start + (l->l_len - 1); in flock64_to_posix_lock() 439 } else if (l->l_len < 0) { in flock64_to_posix_lock() 440 if (fl->fl_start + l->l_len < 0) in flock64_to_posix_lock() 443 fl->fl_start += l->l_len; in flock64_to_posix_lock() 467 .l_len = l->l_len, in flock_to_posix_lock() 2136 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock() 2148 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock64()
|
A D | ioctl.c | 295 sr.l_len); in ioctl_preallocate() 323 return vfs_fallocate(file, mode | FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len); in compat_ioctl_preallocate()
|
/linux/arch/mips/include/uapi/asm/ |
A D | fcntl.h | 68 __kernel_off_t l_len; member
|
/linux/fs/ocfs2/ |
A D | ocfs2_ioctl.h | 24 __s64 l_len; /* len == 0 means until end of file */ member
|
A D | file.c | 1978 llen = sr->l_len > 0 ? sr->l_len - 1 : sr->l_len; in __ocfs2_change_file_space() 1987 size = sr->l_start + sr->l_len; in __ocfs2_change_file_space() 1991 if (sr->l_len <= 0) { in __ocfs2_change_file_space() 2014 sr->l_len); in __ocfs2_change_file_space() 2019 sr->l_len); in __ocfs2_change_file_space() 2120 sr.l_len = (s64)len; in ocfs2_fallocate()
|
/linux/fs/xfs/ |
A D | xfs_ioctl32.h | 151 __s64 l_len __attribute__((packed)); member
|
A D | xfs_ioctl32.c | 38 get_user(bf->l_len, &arg32->l_len) || in xfs_compat_flock64_copyin()
|
A D | xfs_trace.h | 2628 __field(xfs_filblks_t, l_len) 2639 __entry->l_len = len; 2651 __entry->l_len,
|
/linux/arch/um/os-Linux/ |
A D | file.c | 583 .l_len = 0 } ); in os_lock_file()
|
/linux/fs/xfs/libxfs/ |
A D | xfs_fs.h | 118 __s64 l_len; /* len == 0 means until end of file */ member
|