Lines Matching refs:iocb
92 ext4_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext4_file_write_iter() argument
94 struct file *file = iocb->ki_filp; in ext4_file_write_iter()
95 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_write_iter()
98 int o_direct = iocb->ki_flags & IOCB_DIRECT; in ext4_file_write_iter()
108 !is_sync_kiocb(iocb) && in ext4_file_write_iter()
109 (iocb->ki_flags & IOCB_APPEND || in ext4_file_write_iter()
110 ext4_unaligned_aio(inode, from, iocb->ki_pos))) { in ext4_file_write_iter()
117 ret = generic_write_checks(iocb, from); in ext4_file_write_iter()
128 if (iocb->ki_pos >= sbi->s_bitmap_maxbytes) { in ext4_file_write_iter()
132 iov_iter_truncate(from, sbi->s_bitmap_maxbytes - iocb->ki_pos); in ext4_file_write_iter()
135 iocb->private = &overwrite; in ext4_file_write_iter()
138 loff_t pos = iocb->ki_pos; in ext4_file_write_iter()
171 ret = __generic_file_write_iter(iocb, from); in ext4_file_write_iter()
177 err = generic_write_sync(file, iocb->ki_pos - ret, ret); in ext4_file_write_iter()