Home
last modified time | relevance | path

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

/linux/rust/zerocopy/src/
H A Dsplit_at.rs98 unsafe fn split_at_unchecked(&self, l_len: usize) -> Split<&Self> { in split_at_unchecked()
100 unsafe { Split::<&Self>::new(self, l_len) } in split_at_unchecked()
160 fn split_at(&self, l_len: usize) -> Option<Split<&Self>> { in split_at()
161 MetadataOf::new_in_bounds(self, l_len).map( in split_at()
163 |l_len| { in split_at()
166 unsafe { Split::new(self, l_len.get()) } in split_at()
183 unsafe fn split_at_mut_unchecked(&mut self, l_len: usize) -> Split<&mut Self> { in split_at_mut_unchecked()
185 unsafe { Split::<&mut Self>::new(self, l_len) } in split_at_mut_unchecked()
240 fn split_at_mut(&mut self, l_len: usize) -> Option<Split<&mut Self>> { in split_at_mut()
241 MetadataOf::new_in_bounds(self, l_len).map( in split_at_mut()
[all …]
H A Dbyte_slice.rs256 let l_len = mid; in split_at_unchecked() localVariable
295 (from_raw_parts_mut(l_ptr, l_len), from_raw_parts_mut(r_ptr, r_len)) in split_at_unchecked()
/linux/tools/testing/selftests/filelock/
H A Dofdlocks.c53 fl.l_len = 3; in main()
62 fl.l_len = 1; in main()
72 fl.l_len = 1; in main()
84 fl.l_len = 1; in main()
93 fl.l_type, fl.l_pid, fl.l_len); in main()
98 fl2.l_len = 0; in main()
108 fl.l_type, fl.l_pid, fl.l_len); in main()
114 fl.l_len = 0; in main()
/linux/include/linux/
H A Dfalloc.h16 __s64 l_len; /* len == 0 means until end of file */ member
49 __s64 l_len __attribute__((packed)); member
H A Dcompat.h274 compat_off_t l_len; member
288 compat_loff_t l_len; member
/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/rust/zerocopy/src/pointer/
H A Dinner.rs300 l_len: crate::util::MetadataOf<T>, in split_at_unchecked()
305 let l_len = l_len.get(); in split_at_unchecked() localVariable
309 let left = unsafe { self.with_meta(l_len) }; in split_at_unchecked()
314 let right = unsafe { right.slice_unchecked(l_len..self.meta().get()) }; in split_at_unchecked()
/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/include/linux/sunrpc/xdrgen/
H A Dnlm3.h44 u32 l_len; member
65 u32 l_len; member
H A Dnlm4.h68 uint64 l_len; member
98 uint64 l_len; member
/linux/fs/lockd/
H A Dnlm3xdr_gen.c69 if (!xdrgen_decode_unsigned_int(xdr, &ptr->l_len)) in xdrgen_decode_nlm_holder()
113 if (!xdrgen_decode_unsigned_int(xdr, &ptr->l_len)) in xdrgen_decode_nlm_lock()
459 if (!xdrgen_encode_unsigned_int(xdr, value->l_len)) in xdrgen_encode_nlm_holder()
505 if (!xdrgen_encode_unsigned_int(xdr, value->l_len)) in xdrgen_encode_nlm_lock()
H A Dnlm4xdr_gen.c122 if (!xdrgen_decode_uint64(xdr, &ptr->l_len)) in xdrgen_decode_nlm4_holder()
184 if (!xdrgen_decode_uint64(xdr, &ptr->l_len)) in xdrgen_decode_nlm4_lock()
506 if (!xdrgen_encode_uint64(xdr, value->l_len)) in xdrgen_encode_nlm4_holder()
570 if (!xdrgen_encode_uint64(xdr, value->l_len)) in xdrgen_encode_nlm4_lock()
H A Dsvcproc.c127 lockd_set_file_lock_range3(&lock->fl, alock->l_offset, alock->l_len); in nlm_lock_to_lockd_lock()
170 lock->lock_len = xdr_lock->l_len; in nlm3svc_lookup_file()
302 holder->l_len = 0; in nlmsvc_proc_test()
304 holder->l_len = min_t(loff_t, in nlmsvc_proc_test()
H A Dsvc4proc.c122 lockd_set_file_lock_range4(&lock->fl, alock->l_offset, alock->l_len); in nlm4_lock_to_lockd_lock()
168 lock->lock_len = xdr_lock->l_len; in nlm4svc_lookup_file()
284 holder->l_len = 0; in nlm4svc_proc_test()
286 holder->l_len = conf->fl.fl_end - conf->fl.fl_start + 1; in nlm4svc_proc_test()
/linux/fs/
H A Dioctl.c290 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/arch/um/os-Linux/
H A Dfile.c580 .l_len = 0 } ); in os_lock_file()
/linux/fs/xfs/
H A Dxfs_trace.h3380 __field(xfs_filblks_t, l_len)
3394 __entry->l_len = ri->ri_bmap.br_blockcount;
3407 __entry->l_len,
3447 __field(xfs_filblks_t, l_len)
3476 __entry->l_len = bi->bi_bmap.br_blockcount;
3489 __entry->l_len,
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c4191 __s64 l_len; /* len == 0 means until end of file */ in TEST_F_FORK()
4245 __s64 l_len; /* len == 0 means until end of file */ global() member