Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/
H A Dlocks.c499 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 …]
H A Dremap_range.c112 loff_t end = len ? pos + len - 1 : OFFSET_MAX; in remap_verify_area()
H A Dread_write.c186 OFFSET_MAX, 0); in no_seek_end_llseek()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dbpf-prologue.c424 #define OFFSET_MAX ((1LL << 31) - 1) in bpf__gen_prologue() macro
426 if (ref->offset > OFFSET_MAX || in bpf__gen_prologue()
/OK3568_Linux_fs/kernel/fs/9p/
H A Dvfs_file.c169 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()
/OK3568_Linux_fs/kernel/fs/lockd/
H A Dxdr.c138 fl->fl_end = OFFSET_MAX; in nlm_decode_lock()
167 if (fl->fl_end == OFFSET_MAX) in nlm_encode_testres()
H A Dxdr4.c130 fl->fl_end = OFFSET_MAX; in nlm4_decode_lock()
160 if (fl->fl_end == OFFSET_MAX) in nlm4_encode_testres()
H A Dclnt4xdr.c71 if (fl->fl_end == OFFSET_MAX) in nlm4_compute_offsets()
292 fl->fl_end = OFFSET_MAX; in decode_nlm4_holder()
H A Dclntxdr.c67 if (fl->fl_end == OFFSET_MAX) in nlm_compute_offsets()
286 fl->fl_end = OFFSET_MAX; in decode_nlm_holder()
H A Dsvcsubs.c190 lock.fl_end = OFFSET_MAX; in nlm_traverse_locks()
/OK3568_Linux_fs/kernel/fs/afs/
H A 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()
/OK3568_Linux_fs/kernel/fs/nfsd/
H A Dnfs3proc.c187 if (argp->offset > (u64)OFFSET_MAX || in nfsd3_proc_write()
188 argp->offset + argp->len > (u64)OFFSET_MAX) in nfsd3_proc_write()
H A Dnfs4layouts.c197 fl->fl_end = OFFSET_MAX; in nfsd4_layout_setlease()
H A Dnfs4proc.c775 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()
H A Dnfs4state.c4973 fl->fl_end = OFFSET_MAX; in nfs4_alloc_init_lease()
6345 lock->fl_start = OFFSET_MAX; in nfs4_transform_lock_offset()
6347 lock->fl_end = OFFSET_MAX; in nfs4_transform_lock_offset()
/OK3568_Linux_fs/kernel/include/linux/
H A Dnfs_fs.h579 return min_t(u64, size, OFFSET_MAX); in nfs_size_to_loff_t()
H A Dfs.h1142 #ifndef OFFSET_MAX
1144 #define OFFSET_MAX INT_LIMIT(loff_t) macro
/OK3568_Linux_fs/kernel/fs/dlm/
H A Dplock.c91 op->info.end = OFFSET_MAX; in do_unlock_close()
/OK3568_Linux_fs/kernel/fs/erofs/
H A Dsuper.c513 inode->i_size = OFFSET_MAX; in erofs_init_managed_cache()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dproc.c675 if (fl->fl_end != OFFSET_MAX) { in nfs_lock_check_bounds()
H A Dwrite.c1279 return fl->fl_start == 0 && fl->fl_end == OFFSET_MAX && in is_whole_file_wrlock()
H A Dnfs4xdr.c1303 if (fl->fl_end == OFFSET_MAX) in nfs4_lock_length()
4952 fl->fl_end = OFFSET_MAX; in decode_lock_denied()
/OK3568_Linux_fs/kernel/fs/fuse/
H A Dfile.c2427 if (ffl->start > OFFSET_MAX || ffl->end > OFFSET_MAX || in convert_fuse_file_lock()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Ddisk-io.c2126 inode->i_size = OFFSET_MAX; in btrfs_init_btree_inode()