Searched refs:OFFSET_MAX (Results 1 – 24 of 24) sorted by relevance
424 #define OFFSET_MAX ((1LL << 31) - 1) in bpf__gen_prologue() macro426 if (ref->offset > OFFSET_MAX || in bpf__gen_prologue()
499 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()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 ? 0 : in posix_lock_to_flock64()2716 lock.fl_end = OFFSET_MAX; in locks_remove_posix()[all …]
112 loff_t end = len ? pos + len - 1 : OFFSET_MAX; in remap_verify_area()
181 OFFSET_MAX, 0); in no_seek_end_llseek()
130 fl->fl_end = OFFSET_MAX; in nlm4_decode_lock()160 if (fl->fl_end == OFFSET_MAX) in nlm4_encode_testres()
138 fl->fl_end = OFFSET_MAX; in nlm_decode_lock()167 if (fl->fl_end == OFFSET_MAX) in nlm_encode_testres()
67 if (fl->fl_end == OFFSET_MAX) in nlm_compute_offsets()286 fl->fl_end = OFFSET_MAX; in decode_nlm_holder()
71 if (fl->fl_end == OFFSET_MAX) in nlm4_compute_offsets()292 fl->fl_end = OFFSET_MAX; in decode_nlm4_holder()
190 lock.fl_end = OFFSET_MAX; in nlm_traverse_locks()
169 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()
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()
579 return min_t(u64, size, OFFSET_MAX); in nfs_size_to_loff_t()
1109 #ifndef OFFSET_MAX1111 #define OFFSET_MAX INT_LIMIT(loff_t) macro
187 if (argp->offset > (u64)OFFSET_MAX || in nfsd3_proc_write()188 argp->offset + argp->len > (u64)OFFSET_MAX) in nfsd3_proc_write()
197 fl->fl_end = OFFSET_MAX; in nfsd4_layout_setlease()
775 if (read->rd_offset >= OFFSET_MAX) in nfsd4_read()1011 if (write->wr_offset > (u64)OFFSET_MAX || in nfsd4_write()1012 write->wr_offset + write->wr_buflen > (u64)OFFSET_MAX) in nfsd4_write()
4988 fl->fl_end = OFFSET_MAX; in nfs4_alloc_init_lease()6358 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset()6360 lock->fl_end = OFFSET_MAX; in nfs4_transform_lock_offset()
327 inode->i_size = OFFSET_MAX; in erofs_init_managed_cache()
96 op->info.end = OFFSET_MAX; in do_unlock_close()
675 if (fl->fl_end != OFFSET_MAX) { in nfs_lock_check_bounds()
1279 return fl->fl_start == 0 && fl->fl_end == OFFSET_MAX && in is_whole_file_wrlock()
1303 if (fl->fl_end == OFFSET_MAX) in nfs4_lock_length()4950 fl->fl_end = OFFSET_MAX; in decode_lock_denied()
2423 if (ffl->start > OFFSET_MAX || ffl->end > OFFSET_MAX || in convert_fuse_file_lock()
2135 inode->i_size = OFFSET_MAX; in btrfs_init_btree_inode()