Skip to content
Snippets Groups Projects
Select Git revision
  • 1fa7b6a29c61358cc2ca6f64cef4aa0e1a7ca74c
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

page_alloc.c

Blame
  • disk-io.c 112.50 KiB
    /*
     * Copyright (C) 2007 Oracle.  All rights reserved.
     *
     * This program is free software; you can redistribute it and/or
     * modify it under the terms of the GNU General Public
     * License v2 as published by the Free Software Foundation.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * General Public License for more details.
     *
     * You should have received a copy of the GNU General Public
     * License along with this program; if not, write to the
     * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
     * Boston, MA 021110-1307, USA.
     */
    
    #include <linux/fs.h>
    #include <linux/blkdev.h>
    #include <linux/scatterlist.h>
    #include <linux/swap.h>
    #include <linux/radix-tree.h>
    #include <linux/writeback.h>
    #include <linux/buffer_head.h>
    #include <linux/workqueue.h>
    #include <linux/kthread.h>
    #include <linux/freezer.h>
    #include <linux/slab.h>
    #include <linux/migrate.h>
    #include <linux/ratelimit.h>
    #include <linux/uuid.h>
    #include <linux/semaphore.h>
    #include <asm/unaligned.h>
    #include "ctree.h"
    #include "disk-io.h"
    #include "hash.h"
    #include "transaction.h"
    #include "btrfs_inode.h"
    #include "volumes.h"
    #include "print-tree.h"
    #include "async-thread.h"
    #include "locking.h"
    #include "tree-log.h"
    #include "free-space-cache.h"
    #include "inode-map.h"
    #include "check-integrity.h"
    #include "rcu-string.h"
    #include "dev-replace.h"
    #include "raid56.h"
    #include "sysfs.h"
    
    #ifdef CONFIG_X86
    #include <asm/cpufeature.h>
    #endif
    
    static struct extent_io_ops btree_extent_io_ops;
    static void end_workqueue_fn(struct btrfs_work *work);
    static void free_fs_root(struct btrfs_root *root);
    static int btrfs_check_super_valid(struct btrfs_fs_info *fs_info,
    				    int read_only);
    static void btrfs_destroy_ordered_operations(struct btrfs_transaction *t,
    					     struct btrfs_root *root);
    static void btrfs_destroy_ordered_extents(struct btrfs_root *root);
    static int btrfs_destroy_delayed_refs(struct btrfs_transaction *trans,
    				      struct btrfs_root *root);
    static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root);
    static int btrfs_destroy_marked_extents(struct btrfs_root *root,
    					struct extent_io_tree *dirty_pages,
    					int mark);