Searched refs:l_len (Results 1 – 13 of 13) sorted by relevance
| /linux/tools/testing/selftests/filelock/ |
| H A D | ofdlocks.c | 53 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 D | falloc.h | 16 __s64 l_len; /* len == 0 means until end of file */ member 49 __s64 l_len __attribute__((packed)); member
|
| H A D | compat.h | 274 compat_off_t l_len; member 288 compat_loff_t l_len; member
|
| /linux/tools/include/uapi/asm-generic/ |
| H A D | fcntl.h | |
| /linux/include/uapi/asm-generic/ |
| H A D | fcntl.h | 210 __kernel_off_t l_len; 224 __kernel_loff_t l_len; 198 __kernel_off_t l_len; global() member 212 __kernel_loff_t l_len; global() member
|
| /linux/arch/arm/kernel/ |
| H A D | sys_oabi-compat.c | 196 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 D | fcntl.c | 661 (dst)->l_len = (src)->l_len; \ 700 BUILD_BUG_ON(sizeof(kfl->l_len) > sizeof(ufl->l_len)); in put_compat_flock64() 730 * -EOVERFLOW in that case. l_len could be too big, in which case we just 738 if (flock->l_len > COMPAT_OFF_T_MAX) in fixup_compat_flock() 739 flock->l_len = COMPAT_OFF_T_MAX; in fixup_compat_flock()
|
| H A D | ioctl.c | 290 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/fs/ocfs2/ |
| H A D | file.c | 2000 llen = sr->l_len > 0 ? sr->l_len - 1 : sr->l_len; in __ocfs2_change_file_space() 2009 size = sr->l_start + sr->l_len; in __ocfs2_change_file_space() 2013 if (sr->l_len <= 0) { in __ocfs2_change_file_space() 2036 sr->l_len); in __ocfs2_change_file_space() 2041 sr->l_len); in __ocfs2_change_file_space() 2148 sr.l_len = (s64)len;
|
| /linux/fs/lockd/ |
| H A D | svc4proc.c | 122 lockd_set_file_lock_range4(&lock->fl, alock->l_offset, alock->l_len); in nlm4_lock_to_nlm_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/arch/um/os-Linux/ |
| H A D | file.c | 580 .l_len = 0 } ); in os_lock_file()
|
| /linux/fs/xfs/ |
| H A D | xfs_trace.h | 3380 __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 D | fs_test.c | 4005 __s64 l_len; /* len == 0 means until end of file */ 4245 __s64 l_len; /* len == 0 means until end of file */ global() member
|