• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext4/

Lines Matching defs:io_end

3475 	 * free any io_end structure allocated for buffers to be discarded
3797 ext4_io_end_t *io_end = iocb->private;
3803 if (!io_end || !size)
3806 ext_debug("ext4_end_io_dio(): io_end 0x%p"
3808 iocb->private, io_end->inode->i_ino, iocb, offset,
3812 if (io_end->flag != EXT4_IO_UNWRITTEN){
3813 ext4_free_io_end(io_end);
3821 io_end->offset = offset;
3822 io_end->size = size;
3824 io_end->iocb = iocb;
3825 io_end->result = ret;
3827 wq = EXT4_SB(io_end->inode->i_sb)->dio_unwritten_wq;
3830 queue_work(wq, &io_end->work);
3832 /* Add the io_end to per-inode completed aio dio list*/
3833 ei = EXT4_I(io_end->inode);
3835 list_add_tail(&io_end->list, &ei->i_completed_io_list);
3842 ext4_io_end_t *io_end = bh->b_private;
3847 if (!test_clear_buffer_uninit(bh) || !io_end)
3850 if (!(io_end->inode->i_sb->s_flags & MS_ACTIVE)) {
3852 io_end->inode->i_ino);
3853 ext4_free_io_end(io_end);
3857 io_end->flag = EXT4_IO_UNWRITTEN;
3858 inode = io_end->inode;
3860 /* Add the io_end to per-inode completed io list*/
3862 list_add_tail(&io_end->list, &EXT4_I(inode)->i_completed_io_list);
3867 queue_work(wq, &io_end->work);
3877 ext4_io_end_t *io_end;
3883 io_end = ext4_init_io_end(inode, GFP_ATOMIC);
3884 if (!io_end) {
3890 io_end->offset = offset;
3891 io_end->size = size;
3897 io_end->page = page;
3898 get_page(io_end->page);
3900 bh->b_private = io_end;
3952 * Here for async case, we allocate an io_end structure to
3979 * The io_end structure takes a reference to the inode,
3984 * In the successful AIO DIO case, the io_end structure will be