Home
last modified time | relevance | path

Searched refs:OFFSET_MAX (Results 1 – 25 of 28) sorted by relevance

12

/linux-5.19.10/fs/lockd/
Dxdr.c96 fl->fl_end = OFFSET_MAX; in svcxdr_decode_lock()
117 if (fl->fl_end == OFFSET_MAX) in svcxdr_encode_holder()
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()
60 OFFSET_MAX; in nlm4svc_retrieve_args()
Dclntxdr.c67 if (fl->fl_end == OFFSET_MAX) in nlm_compute_offsets()
286 fl->fl_end = OFFSET_MAX; in decode_nlm_holder()
Dclnt4xdr.c71 if (fl->fl_end == OFFSET_MAX) in nlm4_compute_offsets()
292 fl->fl_end = OFFSET_MAX; in decode_nlm4_holder()
Dxdr4.c101 if (fl->fl_end == OFFSET_MAX) in svcxdr_encode_holder()
Dsvcsubs.c186 lock.fl_end = OFFSET_MAX; in nlm_unlock_files()
/linux-5.19.10/fs/nfsd/
Dnfs3proc.c160 if (argp->offset > (u64)OFFSET_MAX) in nfsd3_proc_read()
161 argp->offset = (u64)OFFSET_MAX; in nfsd3_proc_read()
162 if (argp->offset + argp->count > (u64)OFFSET_MAX) in nfsd3_proc_read()
163 argp->count = (u64)OFFSET_MAX - argp->offset; in nfsd3_proc_read()
208 if (argp->offset > (u64)OFFSET_MAX || in nfsd3_proc_write()
209 argp->offset + argp->len > (u64)OFFSET_MAX) in nfsd3_proc_write()
Dnfs4proc.c959 if (read->rd_offset > (u64)OFFSET_MAX) in nfsd4_read()
960 read->rd_offset = (u64)OFFSET_MAX; in nfsd4_read()
961 if (read->rd_offset + read->rd_length > (u64)OFFSET_MAX) in nfsd4_read()
962 read->rd_length = (u64)OFFSET_MAX - read->rd_offset; in nfsd4_read()
1194 if (write->wr_offset > (u64)OFFSET_MAX || in nfsd4_write()
1195 write->wr_offset + write->wr_buflen > (u64)OFFSET_MAX) in nfsd4_write()
Dnfs4layouts.c198 fl->fl_end = OFFSET_MAX; in nfsd4_layout_setlease()
Dnfs3xdr.c1063 if (xdr_stream_encode_u64(xdr, OFFSET_MAX) < 0) in svcxdr_encode_entry3_common()
Dnfs4state.c5196 fl->fl_end = OFFSET_MAX; in nfs4_alloc_init_lease()
6732 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset()
6734 lock->fl_end = OFFSET_MAX; in nfs4_transform_lock_offset()
/linux-5.19.10/tools/perf/util/
Dbpf-prologue.c424 #define OFFSET_MAX ((1LL << 31) - 1) in bpf__gen_prologue() macro
426 if (ref->offset > OFFSET_MAX || in bpf__gen_prologue()
/linux-5.19.10/fs/
Dlocks.c449 fl->fl_end = OFFSET_MAX; in flock_make_lock()
484 if (l->l_start > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()
493 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()
503 fl->fl_end = OFFSET_MAX; in flock64_to_posix_lock()
576 fl->fl_end = OFFSET_MAX; in lease_init()
1119 request->fl_start != 0 || request->fl_end != OFFSET_MAX)) { in posix_lock_inode()
2217 if (fl->fl_end != OFFSET_MAX && fl->fl_end > OFFT_OFFSET_MAX) in posix_lock_to_flock()
2221 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock()
2233 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock64()
2592 lock.fl_end = OFFSET_MAX; in locks_remove_posix()
[all …]
Dread_write.c186 OFFSET_MAX, 0); in no_seek_end_llseek()
/linux-5.19.10/fs/9p/
Dvfs_file.c163 if (fl->fl_end == OFFSET_MAX) in v9fs_file_do_lock()
256 if (fl->fl_end == OFFSET_MAX) in v9fs_file_getlock()
281 fl->fl_end = OFFSET_MAX; in v9fs_file_getlock()
/linux-5.19.10/fs/afs/
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()
/linux-5.19.10/fs/dlm/
Dplock.c96 op->info.end = OFFSET_MAX; in do_unlock_close()
/linux-5.19.10/include/linux/
Dnfs_fs.h607 return min_t(u64, size, OFFSET_MAX); in nfs_size_to_loff_t()
Dfs.h1117 #ifndef OFFSET_MAX
1119 #define OFFSET_MAX INT_LIMIT(loff_t) macro
/linux-5.19.10/fs/erofs/
Dfscache.c458 inode->i_size = OFFSET_MAX; in erofs_fscache_register_cookie()
Dsuper.c629 inode->i_size = OFFSET_MAX; in erofs_init_managed_cache()
/linux-5.19.10/fs/nfs/
Dproc.c675 if (fl->fl_end != OFFSET_MAX) { in nfs_lock_check_bounds()
Dwrite.c1307 return fl->fl_start == 0 && fl->fl_end == OFFSET_MAX && in is_whole_file_wrlock()
/linux-5.19.10/fs/fuse/
Dfile.c2465 if (ffl->start > OFFSET_MAX || ffl->end > OFFSET_MAX || in convert_fuse_file_lock()
/linux-5.19.10/fs/ksmbd/
Dsmb2pdu.c6837 if (lock_start > OFFSET_MAX) in smb2_lock()
6838 flock->fl_start = OFFSET_MAX; in smb2_lock()
6843 if (lock_length > OFFSET_MAX - flock->fl_start) in smb2_lock()
6844 lock_length = OFFSET_MAX - flock->fl_start; in smb2_lock()

12