Searched refs:OFFSET_MAX (Results 1 – 17 of 17) sorted by relevance
302 fl->fl_end = OFFSET_MAX; in flock_make_lock()349 fl->fl_end = OFFSET_MAX; in flock_to_posix_lock()397 fl->fl_end = OFFSET_MAX; in flock64_to_posix_lock()456 fl->fl_end = OFFSET_MAX; in lease_init()820 request->fl_start != 0 || request->fl_end != OFFSET_MAX)) { in __posix_lock_file()1667 if (fl->fl_end != OFFSET_MAX && fl->fl_end > OFFT_OFFSET_MAX) in posix_lock_to_flock()1671 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock()1683 flock->l_len = fl->fl_end == OFFSET_MAX ? 0 : in posix_lock_to_flock64()2008 lock.fl_end = OFFSET_MAX; in locks_remove_posix()2041 .fl_end = OFFSET_MAX, in locks_remove_flock()[all …]
263 if (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX) in afs_do_setlk()449 if (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX) in afs_do_unlk()502 fl->fl_end = OFFSET_MAX; in afs_do_getlk()559 fl->fl_end = OFFSET_MAX; in afs_flock()
174 if (fl->fl_end == OFFSET_MAX) in v9fs_file_do_lock()250 if (fl->fl_end == OFFSET_MAX) in v9fs_file_getlock()264 fl->fl_end = OFFSET_MAX; in v9fs_file_getlock()340 fl->fl_end = OFFSET_MAX; in v9fs_file_flock_dotl()
69 fl->fl_end != OFFSET_MAX); in nlm4_compute_offsets()72 if (fl->fl_end == OFFSET_MAX) in nlm4_compute_offsets()319 fl->fl_end = OFFSET_MAX; in decode_nlm4_holder()
65 fl->fl_end != OFFSET_MAX); in nlm_compute_offsets()68 if (fl->fl_end == OFFSET_MAX) in nlm_compute_offsets()313 fl->fl_end = OFFSET_MAX; in decode_nlm_holder()
145 fl->fl_end = OFFSET_MAX; in nlm_decode_lock()174 if (fl->fl_end == OFFSET_MAX) in nlm_encode_testres()
131 fl->fl_end = OFFSET_MAX; in nlm4_decode_lock()161 if (fl->fl_end == OFFSET_MAX) in nlm4_encode_testres()
188 lock.fl_end = OFFSET_MAX; in nlm_traverse_locks()
592 if (size > (__u64) OFFSET_MAX - 1) in nfs_size_to_loff_t()593 return OFFSET_MAX - 1; in nfs_size_to_loff_t()
1117 #ifndef OFFSET_MAX1119 #define OFFSET_MAX INT_LIMIT(loff_t) macro
649 if (read->rd_offset >= OFFSET_MAX) in nfsd4_read()855 if (write->wr_offset >= OFFSET_MAX) in nfsd4_write()
2649 fl->fl_end = OFFSET_MAX; in nfs4_alloc_init_lease()3631 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset()3633 lock->fl_end = OFFSET_MAX; in nfs4_transform_lock_offset()
694 if (fl->fl_end != OFFSET_MAX) { in nfs_lock_check_bounds()
872 fl->fl_end = OFFSET_MAX; in nfs_flock()
1116 if (fl->fl_end == OFFSET_MAX) in nfs4_lock_length()4300 fl->fl_end = OFFSET_MAX; in decode_lock_denied()
1424 if (ffl->start > OFFSET_MAX || ffl->end > OFFSET_MAX || in convert_fuse_file_lock()
1708 fs_info->btree_inode->i_size = OFFSET_MAX; in open_ctree()