Lines Matching refs:loff_t
56 static loff_t gfs2_llseek(struct file *file, loff_t offset, int whence) in gfs2_llseek()
60 loff_t error; in gfs2_llseek()
331 static void gfs2_size_hint(struct file *filep, loff_t offset, size_t size) in gfs2_size_hint()
392 loff_t size; in gfs2_page_mkwrite()
651 static int gfs2_fsync(struct file *file, loff_t start, loff_t end, in gfs2_fsync()
724 static int fallocate_chunk(struct inode *inode, loff_t offset, loff_t len, in fallocate_chunk()
778 static void calc_max_reserv(struct gfs2_inode *ip, loff_t *len, in calc_max_reserv()
782 loff_t max = *len; in calc_max_reserv()
793 *len = ((loff_t)max_data - 3) << sdp->sd_sb.sb_bsize_shift; in calc_max_reserv()
800 static long __gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in __gfs2_fallocate()
807 loff_t bytes, max_bytes, max_blks = UINT_MAX; in __gfs2_fallocate()
809 const loff_t pos = offset; in __gfs2_fallocate()
810 const loff_t count = len; in __gfs2_fallocate()
811 loff_t bsize_mask = ~((loff_t)sdp->sd_sb.sb_bsize - 1); in __gfs2_fallocate()
812 loff_t next = (offset + len - 1) >> sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()
813 loff_t max_chunk_size = UINT_MAX & bsize_mask; in __gfs2_fallocate()
913 static long gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in gfs2_fallocate()
959 struct file *out, loff_t *ppos, in gfs2_file_splice_write()