Home
last modified time | relevance | path

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

/fs/lockd/
A Dclntxdr.c63 u32 *l_offset, u32 *l_len) in nlm_compute_offsets() argument
69 *l_len = 0; in nlm_compute_offsets()
239 u32 l_offset, l_len; in encode_nlm_holder() local
247 nlm_compute_offsets(lock, &l_offset, &l_len); in encode_nlm_holder()
249 *p = cpu_to_be32(l_len); in encode_nlm_holder()
256 u32 exclusive, l_offset, l_len; in decode_nlm_holder() local
282 l_len = be32_to_cpup(p); in decode_nlm_holder()
283 end = l_offset + l_len - 1; in decode_nlm_holder()
286 if (l_len == 0 || end < 0) in decode_nlm_holder()
323 u32 l_offset, l_len; in encode_nlm_lock() local
[all …]
A Dclnt4xdr.c66 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
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
331 nlm4_compute_offsets(lock, &l_offset, &l_len); in encode_nlm4_lock()
[all …]
/fs/
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()
A Dlocks.c515 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()
2251 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock()
2263 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock64()
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()
/fs/ocfs2/
A Dfile.c1988 llen = sr->l_len > 0 ? sr->l_len - 1 : sr->l_len; in __ocfs2_change_file_space()
1997 size = sr->l_start + sr->l_len; in __ocfs2_change_file_space()
2001 if (sr->l_len <= 0) { in __ocfs2_change_file_space()
2024 sr->l_len); in __ocfs2_change_file_space()
2029 sr->l_len); in __ocfs2_change_file_space()
2136 sr.l_len = (s64)len; in ocfs2_fallocate()
A Docfs2_ioctl.h24 __s64 l_len; /* len == 0 means until end of file */ member
/fs/xfs/libxfs/
A Dxfs_fs.h104 __s64 l_len; /* len == 0 means until end of file */ member
/fs/xfs/
A Dxfs_trace.h3348 __field(xfs_filblks_t, l_len)
3362 __entry->l_len = ri->ri_bmap.br_blockcount;
3375 __entry->l_len,
3415 __field(xfs_filblks_t, l_len)
3444 __entry->l_len = bi->bi_bmap.br_blockcount;
3457 __entry->l_len,

Completed in 44 milliseconds