Searched refs:OFFSET_MAX (Results 1 – 23 of 23) sorted by relevance
391 fl->fl_end = OFFSET_MAX; in flock_make_lock()426 if (l->l_start > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()435 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()445 fl->fl_end = OFFSET_MAX; in flock64_to_posix_lock()518 fl->fl_end = OFFSET_MAX; in lease_init()1046 request->fl_start != 0 || request->fl_end != OFFSET_MAX)) { in posix_lock_inode()2132 if (fl->fl_end != OFFSET_MAX && fl->fl_end > OFFT_OFFSET_MAX) in posix_lock_to_flock()2136 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock()2148 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock64()2507 lock.fl_end = OFFSET_MAX; in locks_remove_posix()[all …]
186 OFFSET_MAX, 0); in no_seek_end_llseek()
95 fl->fl_end = OFFSET_MAX; in svcxdr_decode_lock()116 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()
71 if (fl->fl_end == OFFSET_MAX) in nlm4_compute_offsets()292 fl->fl_end = OFFSET_MAX; in decode_nlm4_holder()
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()
424 #define OFFSET_MAX ((1LL << 31) - 1) in bpf__gen_prologue() macro426 if (ref->offset > OFFSET_MAX || in bpf__gen_prologue()
164 if (fl->fl_end == OFFSET_MAX) in v9fs_file_do_lock()257 if (fl->fl_end == OFFSET_MAX) in v9fs_file_getlock()282 fl->fl_end = OFFSET_MAX; in v9fs_file_getlock()
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()
611 return min_t(u64, size, OFFSET_MAX); in nfs_size_to_loff_t()
1154 #ifndef OFFSET_MAX1156 #define OFFSET_MAX INT_LIMIT(loff_t) macro
91 op->info.end = OFFSET_MAX; in do_unlock_close()
674 if (fl->fl_end != OFFSET_MAX) { in nfs_lock_check_bounds()
1309 return fl->fl_start == 0 && fl->fl_end == OFFSET_MAX && in is_whole_file_wrlock()
1315 if (fl->fl_end == OFFSET_MAX) in nfs4_lock_length()4994 fl->fl_end = OFFSET_MAX; in decode_lock_denied()
198 fl->fl_end = OFFSET_MAX; in nfsd4_layout_setlease()
785 if (read->rd_offset >= OFFSET_MAX) in nfsd4_read()1021 if (write->wr_offset >= OFFSET_MAX) in nfsd4_write()
5042 fl->fl_end = OFFSET_MAX; in nfs4_alloc_init_lease()6499 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset()6501 lock->fl_end = OFFSET_MAX; in nfs4_transform_lock_offset()
615 inode->i_size = OFFSET_MAX; in erofs_init_managed_cache()
2434 if (ffl->start > OFFSET_MAX || ffl->end > OFFSET_MAX || in convert_fuse_file_lock()
6801 if (lock_start > OFFSET_MAX) in smb2_lock()6802 flock->fl_start = OFFSET_MAX; in smb2_lock()6807 if (lock_length > OFFSET_MAX - flock->fl_start) in smb2_lock()6808 lock_length = OFFSET_MAX - flock->fl_start; in smb2_lock()
2260 inode->i_size = OFFSET_MAX; in btrfs_init_btree_inode()
Completed in 139 milliseconds