Searched refs:OFFSET_MAX (Results 1 – 25 of 28) sorted by relevance
12
42 fl->fl_end = OFFSET_MAX; in nlm4svc_set_file_lock_range()112 if (fl->fl_end == OFFSET_MAX) in svcxdr_encode_holder()
96 fl->fl_end = OFFSET_MAX; in svcxdr_decode_lock()117 if (fl->fl_end == OFFSET_MAX) in svcxdr_encode_holder()
35 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()
67 if (fl->fl_end == OFFSET_MAX) in nlm_compute_offsets()286 fl->fl_end = OFFSET_MAX; in decode_nlm_holder()
186 lock.fl_end = OFFSET_MAX; in nlm_unlock_files()
71 if (fl->fl_end == OFFSET_MAX) in nlm4_compute_offsets()
162 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()
960 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()
198 fl->fl_end = OFFSET_MAX; in nfsd4_layout_setlease()
1056 if (xdr_stream_encode_u64(xdr, OFFSET_MAX) < 0) in svcxdr_encode_entry3_common()
5344 fl->fl_end = OFFSET_MAX; in nfs4_alloc_init_lease()7124 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset()7126 lock->fl_end = OFFSET_MAX; in nfs4_transform_lock_offset()
438 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()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 ? 0 : in posix_lock_to_flock64()2560 lock.fl_end = OFFSET_MAX; in locks_remove_posix()[all …]
186 OFFSET_MAX, 0); in no_seek_end_llseek()
151 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()
818 orig_end = OFFSET_MAX; in btrfs_wait_ordered_range()821 if (orig_end > OFFSET_MAX) in btrfs_wait_ordered_range()822 orig_end = OFFSET_MAX; in btrfs_wait_ordered_range()
473 partial = (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX); in afs_do_setlk()750 fl->fl_end = OFFSET_MAX; in afs_do_getlk()
636 return min_t(u64, size, OFFSET_MAX); in nfs_size_to_loff_t()
1064 #ifndef OFFSET_MAX1065 #define OFFSET_MAX type_max(loff_t) macro
339 cache->i_size = OFFSET_MAX; in squashfs_fill_super()
460 inode->i_size = OFFSET_MAX; in erofs_fscache_acquire_cookie()
717 inode->i_size = OFFSET_MAX; in erofs_init_managed_cache()
675 if (fl->fl_end != OFFSET_MAX) { in nfs_lock_check_bounds()
1312 return fl->fl_start == 0 && fl->fl_end == OFFSET_MAX && in is_whole_file_wrlock()
2497 if (ffl->start > OFFSET_MAX || ffl->end > OFFSET_MAX || in convert_fuse_file_lock()
6899 if (lock_start > OFFSET_MAX) in smb2_lock()6900 flock->fl_start = OFFSET_MAX; in smb2_lock()6905 if (lock_length > OFFSET_MAX - flock->fl_start) in smb2_lock()6906 lock_length = OFFSET_MAX - flock->fl_start; in smb2_lock()