Home
last modified time | relevance | path

Searched refs:l_start (Results 1 – 10 of 10) sorted by relevance

/fs/xfs/
Dxfs_ioctl.c628 bf->l_start += filp->f_pos; in xfs_ioc_space()
631 bf->l_start += XFS_ISIZE(ip); in xfs_ioc_space()
660 if (bf->l_start < 0 || in xfs_ioc_space()
661 bf->l_start > inode->i_sb->s_maxbytes || in xfs_ioc_space()
662 bf->l_start + bf->l_len < 0 || in xfs_ioc_space()
663 bf->l_start + bf->l_len >= inode->i_sb->s_maxbytes) { in xfs_ioc_space()
671 error = xfs_zero_file_space(ip, bf->l_start, bf->l_len); in xfs_ioc_space()
676 error = xfs_alloc_file_space(ip, bf->l_start, bf->l_len, in xfs_ioc_space()
681 error = xfs_free_file_space(ip, bf->l_start, bf->l_len); in xfs_ioc_space()
688 if (bf->l_start > XFS_ISIZE(ip)) { in xfs_ioc_space()
[all …]
Dxfs_ioctl32.h160 __s64 l_start __attribute__((packed)); member
Dxfs_ioctl32.c37 get_user(bf->l_start, &arg32->l_start) || in xfs_compat_flock64_copyin()
/fs/
Dfcntl.c527 (dst)->l_start = (src)->l_start; \
566 BUILD_BUG_ON(sizeof(kfl->l_start) > sizeof(ufl->l_start)); in put_compat_flock64()
603 if (flock->l_start > COMPAT_OFF_T_MAX) in fixup_compat_flock()
Dioctl.c482 sr.l_start += filp->f_pos; in ioctl_preallocate()
485 sr.l_start += i_size_read(inode); in ioctl_preallocate()
491 return vfs_fallocate(filp, FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len); in ioctl_preallocate()
Dlocks.c534 if (l->l_start > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()
536 fl->fl_start += l->l_start; in flock64_to_posix_lock()
574 .l_start = l->l_start, in flock_to_posix_lock()
2297 flock->l_start = fl->fl_start; in posix_lock_to_flock()
2309 flock->l_start = fl->fl_start; in posix_lock_to_flock64()
Dcompat_ioctl.c475 __s64 l_start __attribute__((packed)); member
494 copy_in_user(&p->l_start, &p32->l_start, sizeof(s64)) || in compat_ioctl_preallocate()
/fs/ocfs2/
Dfile.c1899 sr->l_start += f_pos; in __ocfs2_change_file_space()
1902 sr->l_start += i_size_read(inode); in __ocfs2_change_file_space()
1912 if (sr->l_start < 0 in __ocfs2_change_file_space()
1913 || sr->l_start > max_off in __ocfs2_change_file_space()
1914 || (sr->l_start + llen) < 0 in __ocfs2_change_file_space()
1915 || (sr->l_start + llen) > max_off) { in __ocfs2_change_file_space()
1919 size = sr->l_start + sr->l_len; in __ocfs2_change_file_space()
1945 ret = ocfs2_allocate_unwritten_extents(inode, sr->l_start, in __ocfs2_change_file_space()
1950 ret = ocfs2_remove_inode_range(inode, di_bh, sr->l_start, in __ocfs2_change_file_space()
2045 sr.l_start = (s64)offset; in ocfs2_fallocate()
Docfs2_ioctl.h33 __s64 l_start; member
/fs/xfs/libxfs/
Dxfs_fs.h117 __s64 l_start; member