Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/filelock/
H A Dofdlocks.c50 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 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
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 Dfalloc.h16 __s64 l_len; /* len == 0 means until end of file */ member
48 __s64 l_len __attribute__((packed)); member
/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/include/uapi/asm-generic/
H A Dfcntl.h198 __kernel_off_t l_len; member
212 __kernel_loff_t l_len; member
/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c196 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 Dfcntl.c650 (dst)->l_len = (src)->l_len; \
689 BUILD_BUG_ON(sizeof(kfl->l_len) > sizeof(ufl->l_len)); in put_compat_flock64()
727 if (flock->l_len > COMPAT_OFF_T_MAX) in fixup_compat_flock()
728 flock->l_len = COMPAT_OFF_T_MAX; in fixup_compat_flock()
H A Dioctl.c291 sr.l_len); in ioctl_preallocate()
319 return vfs_fallocate(file, mode | FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len); in compat_ioctl_preallocate()
/linux/fs/ocfs2/
H A Docfs2_ioctl.h24 __s64 l_len; /* len == 0 means until end of file */ member
/linux/arch/um/os-Linux/
H A Dfile.c595 .l_len = 0 } ); in os_lock_file()
/linux/fs/xfs/libxfs/
H A Dxfs_fs.h104 __s64 l_len; /* len == 0 means until end of file */ member
/linux/fs/xfs/
H A Dxfs_trace.h3112 __field(xfs_filblks_t, l_len)
3126 __entry->l_len = ri->ri_bmap.br_blockcount;
3139 __entry->l_len,
3179 __field(xfs_filblks_t, l_len)
3208 __entry->l_len = bi->bi_bmap.br_blockcount;
3221 __entry->l_len,