Home
last modified time | relevance | path

Searched refs:l_len (Results 1 – 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/fs/lockd/
Dclntxdr.c62 u32 *l_offset, u32 *l_len) in nlm_compute_offsets() argument
68 *l_len = 0; in nlm_compute_offsets()
70 *l_len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); 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()
[all …]
Dclnt4xdr.c66 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
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()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dfalloc.h16 __s64 l_len; /* len == 0 means until end of file */ member
42 __s64 l_len __attribute__((packed)); member
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
Dfcntl.h199 __kernel_off_t l_len; member
214 __kernel_loff_t l_len; member
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dfcntl.h200 __kernel_off_t l_len; member
215 __kernel_loff_t l_len; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
Dfcntl.h154 __kernel_off_t l_len; member
168 __kernel_loff_t l_len; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
Dfcntl.h139 __kernel_off_t l_len; member
152 __kernel_loff_t l_len; member
/kernel/linux/linux-5.10/arch/arm/kernel/
Dsys_oabi-compat.c190 loff_t l_len; member
208 kernel.l_len = user.l_len; in do_locks()
220 user.l_len = kernel.l_len; in do_locks()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dcompat.h55 compat_off_t l_len; member
67 compat_loff_t l_len; member
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dcompat.h83 compat_off_t l_len; member
96 compat_loff_t l_len; member
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dcompat.h73 compat_off_t l_len; member
85 compat_loff_t l_len; member
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dcompat.h61 compat_off_t l_len; member
69 compat_loff_t l_len; member
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dcompat.h57 compat_off_t l_len; member
71 compat_loff_t l_len; member
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dcompat.h56 compat_off_t l_len; member
72 compat_loff_t l_len; member
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dfcntl.h68 __kernel_off_t l_len; member
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dcompat.h110 compat_off_t l_len; member
122 compat_loff_t l_len; member
/kernel/linux/linux-5.10/fs/
Dfcntl.c536 (dst)->l_len = (src)->l_len; \
575 BUILD_BUG_ON(sizeof(kfl->l_len) > sizeof(ufl->l_len)); in put_compat_flock64()
613 if (flock->l_len > COMPAT_OFF_T_MAX) in fixup_compat_flock()
614 flock->l_len = COMPAT_OFF_T_MAX; in fixup_compat_flock()
Dlocks.c542 if (l->l_len > 0) { in flock64_to_posix_lock()
543 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()
545 fl->fl_end = fl->fl_start + (l->l_len - 1); in flock64_to_posix_lock()
547 } else if (l->l_len < 0) { in flock64_to_posix_lock()
548 if (fl->fl_start + l->l_len < 0) in flock64_to_posix_lock()
551 fl->fl_start += l->l_len; in flock64_to_posix_lock()
575 .l_len = l->l_len, in flock_to_posix_lock()
2329 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock()
2341 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock64()
Dioctl.c495 sr.l_len); in ioctl_preallocate()
523 return vfs_fallocate(file, mode | FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len); in compat_ioctl_preallocate()
/kernel/linux/linux-5.10/fs/ocfs2/
Docfs2_ioctl.h34 __s64 l_len; /* len == 0 means until end of file */ member
Dfile.c1978 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()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_ioctl32.h153 __s64 l_len __attribute__((packed)); member
Dxfs_ioctl32.c38 get_user(bf->l_len, &arg32->l_len) || in xfs_compat_flock64_copyin()
/kernel/linux/linux-5.10/arch/um/os-Linux/
Dfile.c583 .l_len = 0 } ); in os_lock_file()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_fs.h118 __s64 l_len; /* len == 0 means until end of file */ member

12