Home
last modified time | relevance | path

Searched refs:OFFSET_MAX (Results 1 - 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/fs/
H A Dlocks.c499 fl->fl_end = OFFSET_MAX; in flock_make_lock()
534 if (l->l_start > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()
543 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()
553 fl->fl_end = OFFSET_MAX; in flock64_to_posix_lock()
626 fl->fl_end = OFFSET_MAX; in lease_init()
1156 request->fl_start != 0 || request->fl_end != OFFSET_MAX)) { in posix_lock_inode()
1218 * is OFFSET_MAX, end + 1 will become negative. in posix_lock_inode()
2325 if (fl->fl_end != OFFSET_MAX && fl->fl_end > OFFT_OFFSET_MAX) in posix_lock_to_flock()
2329 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock()
2341 flock->l_len = fl->fl_end == OFFSET_MAX in posix_lock_to_flock64()
[all...]
H A Dremap_range.c112 loff_t end = len ? pos + len - 1 : OFFSET_MAX; in remap_verify_area()
/kernel/linux/linux-6.6/fs/
H A Dlocks.c438 fl->fl_end = OFFSET_MAX; in flock_make_lock()
471 if (l->l_start > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()
480 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()
490 fl->fl_end = OFFSET_MAX; in flock64_to_posix_lock()
563 fl->fl_end = OFFSET_MAX; in lease_init()
1121 request->fl_start != 0 || request->fl_end != OFFSET_MAX)) { in posix_lock_inode()
1195 * is OFFSET_MAX, end + 1 will become negative. in posix_lock_inode()
2183 if (fl->fl_end != OFFSET_MAX && fl->fl_end > OFFT_OFFSET_MAX) in posix_lock_to_flock()
2187 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock()
2199 flock->l_len = fl->fl_end == OFFSET_MAX in posix_lock_to_flock64()
[all...]
/kernel/linux/linux-6.6/fs/9p/
H A Dvfs_file.c151 if (fl->fl_end == OFFSET_MAX) in v9fs_file_do_lock()
244 if (fl->fl_end == OFFSET_MAX) in v9fs_file_getlock()
269 fl->fl_end = OFFSET_MAX; in v9fs_file_getlock()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dbpf-prologue.c424 #define OFFSET_MAX ((1LL << 31) - 1) in bpf__gen_prologue() macro
426 if (ref->offset > OFFSET_MAX || in bpf__gen_prologue()
/kernel/linux/linux-5.10/fs/lockd/
H A Dxdr.c138 fl->fl_end = OFFSET_MAX; in nlm_decode_lock()
167 if (fl->fl_end == OFFSET_MAX) in nlm_encode_testres()
H A Dclnt4xdr.c71 if (fl->fl_end == OFFSET_MAX) in nlm4_compute_offsets()
292 fl->fl_end = OFFSET_MAX; in decode_nlm4_holder()
H A Dxdr4.c130 fl->fl_end = OFFSET_MAX; in nlm4_decode_lock()
160 if (fl->fl_end == OFFSET_MAX) in nlm4_encode_testres()
H A Dclntxdr.c67 if (fl->fl_end == OFFSET_MAX) in nlm_compute_offsets()
286 fl->fl_end = OFFSET_MAX; in decode_nlm_holder()
H A Dsvcsubs.c190 lock.fl_end = OFFSET_MAX; in nlm_traverse_locks()
/kernel/linux/linux-6.6/fs/lockd/
H A Dxdr4.c42 fl->fl_end = OFFSET_MAX; in nlm4svc_set_file_lock_range()
112 if (fl->fl_end == OFFSET_MAX) in svcxdr_encode_holder()
H A Dxdr.c96 fl->fl_end = OFFSET_MAX; in svcxdr_decode_lock()
117 if (fl->fl_end == OFFSET_MAX) in svcxdr_encode_holder()
H A Dsvc4proc.c35 if (lock->lock_start > OFFSET_MAX || in nlm4svc_retrieve_args()
36 (lock->lock_len && ((lock->lock_len - 1) > (OFFSET_MAX - lock->lock_start)))) in nlm4svc_retrieve_args()
61 OFFSET_MAX; in nlm4svc_retrieve_args()
H A Dclntxdr.c67 if (fl->fl_end == OFFSET_MAX) in nlm_compute_offsets()
286 fl->fl_end = OFFSET_MAX; in decode_nlm_holder()
H A Dsvcsubs.c186 lock.fl_end = OFFSET_MAX; in nlm_unlock_files()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfs3proc.c162 if (argp->offset > (u64)OFFSET_MAX) in nfsd3_proc_read()
163 argp->offset = (u64)OFFSET_MAX; in nfsd3_proc_read()
164 if (argp->offset + argp->count > (u64)OFFSET_MAX) in nfsd3_proc_read()
165 argp->count = (u64)OFFSET_MAX - argp->offset; in nfsd3_proc_read()
200 if (argp->offset > (u64)OFFSET_MAX || in nfsd3_proc_write()
201 argp->offset + argp->len > (u64)OFFSET_MAX) in nfsd3_proc_write()
H A Dnfs4proc.c960 if (read->rd_offset > (u64)OFFSET_MAX) in nfsd4_read()
961 read->rd_offset = (u64)OFFSET_MAX; in nfsd4_read()
962 if (read->rd_offset + read->rd_length > (u64)OFFSET_MAX) in nfsd4_read()
963 read->rd_length = (u64)OFFSET_MAX - read->rd_offset; in nfsd4_read()
1191 if (write->wr_offset > (u64)OFFSET_MAX || in nfsd4_write()
1192 write->wr_offset + write->wr_buflen > (u64)OFFSET_MAX) in nfsd4_write()
/kernel/linux/linux-5.10/fs/9p/
H A Dvfs_file.c169 if (fl->fl_end == OFFSET_MAX) in v9fs_file_do_lock()
262 if (fl->fl_end == OFFSET_MAX) in v9fs_file_getlock()
287 fl->fl_end = OFFSET_MAX; in v9fs_file_getlock()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dordered-data.c821 orig_end = OFFSET_MAX; in btrfs_wait_ordered_range()
824 if (orig_end > OFFSET_MAX) in btrfs_wait_ordered_range()
825 orig_end = OFFSET_MAX; in btrfs_wait_ordered_range()
/kernel/linux/linux-5.10/fs/afs/
H A Dflock.c473 partial = (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX); in afs_do_setlk()
750 fl->fl_end = OFFSET_MAX; in afs_do_getlk()
/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfs3proc.c187 if (argp->offset > (u64)OFFSET_MAX || in nfsd3_proc_write()
188 argp->offset + argp->len > (u64)OFFSET_MAX) in nfsd3_proc_write()
/kernel/linux/linux-6.6/fs/afs/
H A Dflock.c473 partial = (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX); in afs_do_setlk()
750 fl->fl_end = OFFSET_MAX; in afs_do_getlk()
/kernel/linux/linux-5.10/include/linux/
H A Dnfs_fs.h580 return min_t(u64, size, OFFSET_MAX); in nfs_size_to_loff_t()
/kernel/linux/linux-5.10/fs/dlm/
H A Dplock.c96 op->info.end = OFFSET_MAX; in do_unlock_close()
/kernel/linux/linux-5.10/fs/erofs/
H A Dsuper.c327 inode->i_size = OFFSET_MAX; in erofs_init_managed_cache()

Completed in 37 milliseconds

123