Lines Matching refs:l_len
62 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()
322 u32 l_offset, l_len; in encode_nlm_lock() local
332 nlm_compute_offsets(lock, &l_offset, &l_len); in encode_nlm_lock()
334 *p = cpu_to_be32(l_len); in encode_nlm_lock()