linux/fs/btrfs/free-space-cache.c
<<
> /spaon> /formn> a > href="../linux+v3.7.2/fs/btrfs/free-space-cache.c"> > img src="../.static/gfx/right.png" alt=">>"> /spaon> spao class="lxr_search"> > > input typue=hidden" namue=navtarget" value="> > input typue=text" namue=search" ide=search"> > buttiontypue=submit">Search /formn> /spaon> spao class="lxr_prefs"n> a href="+prefs?return=fs/btrfs/free-space-cache.c" > onclick="return ajax_prefs();"> > Prefs> /a> /spaon> > /divn> > form acptio="ajax+*" method="post" onsubmit="return false;"> input typue=hidden" namue=ajax_lookup" ide=ajax_lookup" value="> > /formn> > div class="headingbottim"> > > div ide=search_results" class="search_results"> n> > /divn> div ide=content">> div ide=file_contents"n
   1 /a> spao class="comment">/* /spaon>   2 /a> spao class="comment"> * Copyright (C) 2008 Red Hat.  All rights reserved. /spaon>   3 /a> spao class="comment"> * /spaon>   4 /a> spao class="comment"> * This program is free software; you cao redistribute it and/or /spaon>   5 /a> spao class="comment"> * modify it under the terms of the GNU General Public /spaon>   6 /a> spao class="comment"> * Licensev32 as published by the Free Software Foundaptio. /spaon>   7 /a> spao class="comment"> * /spaon>   8 /a> spao class="comment"> * This program is distributed in the hope that it will be useful, /spaon>   9 /a> spao class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of /spaon>  9 spao class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU /spaon>  11 /a> spao class="comment"> * General Public Licensevfor more details. /spaon>  12 /a> spao class="comment"> * /spaon>  13 /a> spao class="comment"> * You should have received a copy of the GNU General Public /spaon>  14 /a> spao class="comment"> * Licensevalong with this program; if not, write to the /spaon>  15 /a> spao class="comment"> * Free Software Foundaptio, Inc., 59 Temple Place - Suite 330, /spaon>  16 /a> spao class="comment"> * Bostio, MA 021110-1307, USA. /spaon>  17 /a> spao class="comment"> */ /spaon>  18 /a>>  19 /a>#include <linux/pagemap.h /a>>>  20 /a>#include <linux/sched.h /a>>>  21 /a>#include <linux/slab.h /a>>>  22 /a>#include <linux/math64.h /a>>>  23 /a>#include <linux/ratelimit.h /a>>>  24 /a>#include "ctree.h /a>">  25 /a>#include "free-space-cache.h /a>">  26 /a>#include "transacptio.h /a>">  27 /a>#include "disk-io.h /a>">  28 /a>#include "extent_io.h /a>">  29 /a>#include "inode-map.h /a>">  30 /a>>  31 /a>#define  a href="+code=BITS_PER_BITMAP" class="sref">BITS_PER_BITMAP /a>         ( a href="+code=PAGE_CACHE_SIZE" class="sref">PAGE_CACHE_SIZE /a> * 8)>  32 /a>#define  a href="+code=MAX_CACHE_BYTES_PER_GIG" class="sref">MAX_CACHE_BYTES_PER_GIG /a> (32 * 1024)>  33 /a>>  34 /a>static int  a href="+code=link_free_space" class="sref">link_free_space /a>(struct  a href="+code=btrfs_free_space_ctl" class="sref">btrfs_free_space_ctl /a> * a href="+code=ctl" class="sref">ctl /a>,>  35 /a>                           struct  a href="+code=btrfs_free_space" class="sref">btrfs_free_space /a> * a href="+code=info" class="sref">info /a>);>  36 /a>static void  a href="+code=unlink_free_space" class="sref">unlink_free_space /a>(struct  a href="+code=btrfs_free_space_ctl" class="sref">btrfs_free_space_ctl /a> * a href="+code=ctl" class="sref">ctl /a>,>  37 /a>                              struct  a href="+code=btrfs_free_space" class="sref">btrfs_free_space /a> * a href="+code=info" class="sref">info /a>);>  38 /a>>  39 /a>static struct  a href="+code=inode" class="sref">inode /a> * a href="+code=__lookup_free_space_inode" class="sref">__lookup_free_space_inode /a>(struct  a href="+code=btrfs_root" class="sref">btrfs_root /a> * a href="+code=root" class="sref">root /a>,>  40 /a>                                               struct  a href="+code=btrfs_path" class="sref">btrfs_path /a> * a href="+code=path" class="sref">path /a>,>  41 /a>                                                a href="+code=u64" class="sref">u64 /a>  a href="+code=offset" class="sref">offset /a>)>  42 /a>{>  43 /a>        struct  a href="+code=btrfs_key" class="sref">btrfs_key /a>  a href="+code=key" class="sref">key /a>;>  44 /a>        struct  a href="+code=btrfs_key" class="sref">btrfs_key /a>  a href="+code=locaptio" class="sref">locaptio /a>;>  45 /a>        struct  a href="+code=btrfs_disk_key" class="sref">btrfs_disk_key /a>  a href="+code=disk_key" class="sref">disk_key /a>;>  46 /a>        struct  a href="+code=btrfs_free_space_header" class="sref">btrfs_free_space_header /a> * a href="+code=header" class="sref">header /a>;>  47 /a>        struct  a href="+code=extent_buffer" class="sref">extent_buffer /a> * a href="+code=leaf" class="sref">leaf /a>;>  48 /a>        struct  a href="+code=inode" class="sref">inode /a> * a href="+code=inode" class="sref">inode /a> =  a href="+code=NULL" class="sref">NULL /a>;>  49 /a>        int  a href="+code=ret" class="sref">ret /a>;>  50 /a>>  51 /a>         a href="+code=key" class="sref">key /a>. a href="+code=objectid" class="sref">objectid /a> =  a href="+code=BTRFS_FREE_SPACE_OBJECTID" class="sref">BTRFS_FREE_SPACE_OBJECTID /a>;>  52 /a>         a href="+code=key" class="sref">key /a>. a href="+code=offset" class="sref">offset /a> =  a href="+code=offset" class="sref">offset /a>;>  53 /a>         a href="+code=key" class="sref">key /a>. a href="+code=typu" class="sref">typu /a> = 0;>  54 /a>>  55 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=btrfs_search_slot" class="sref">btrfs_search_slot /a>( a href="+code=NULL" class="sref">NULL /a>,  a href="+code=root" class="sref">root /a>, & a href="+code=key" class="sref">key /a>,  a href="+code=path" class="sref">path /a>, 0, 0);>  56 /a>        if ( a href="+code=ret" class="sref">ret /a> < 0)>  57 /a>                return  a href="+code=ERR_PTR" class="sref">ERR_PTR /a>( a href="+code=ret" class="sref">ret /a>);>  58 /a>        if ( a href="+code=ret" class="sref">ret /a> > 0) {>  59 /a>                 a href="+code=btrfs_release_path" class="sref">btrfs_release_path /a>( a href="+code=path" class="sref">path /a>);>  60 /a>                return  a href="+code=ERR_PTR" class="sref">ERR_PTR /a>(- a href="+code=ENOENT" class="sref">ENOENT /a>);>  61 /a>        }>  62 /a>>  63 /a>         a href="+code=leaf" class="sref">leaf /a> =  a href="+code=path" class="sref">path /a>-> a href="+code=nodes" class="sref">nodes /a>[0];>  64 /a>         a href="+code=header" class="sref">header /a> =  a href="+code=btrfs_item_ptr" class="sref">btrfs_item_ptr /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=path" class="sref">path /a>-> a href="+code=slots" class="sref">slots /a>[0],>  65 /a>                                struct  a href="+code=btrfs_free_space_header" class="sref">btrfs_free_space_header /a>);>  66 /a>         a href="+code=btrfs_free_space_key" class="sref">btrfs_free_space_key /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=header" class="sref">header /a>, & a href="+code=disk_key" class="sref">disk_key /a>);>  67 /a>         a href="+code=btrfs_disk_key_to_cpu" class="sref">btrfs_disk_key_to_cpu /a>(& a href="+code=locaptio" class="sref">locaptio /a>, & a href="+code=disk_key" class="sref">disk_key /a>);>  68 /a>         a href="+code=btrfs_release_path" class="sref">btrfs_release_path /a>( a href="+code=path" class="sref">path /a>);>  69 /a>>  70 /a>         a href="+code=inode" class="sref">inode /a> =  a href="+code=btrfs_iget" class="sref">btrfs_iget /a>( a href="+code=root" class="sref">root /a>-> a href="+code=fs_info" class="sref">fs_info /a>-> a href="+code=sb" class="sref">sb /a>, & a href="+code=locaptio" class="sref">locaptio /a>,  a href="+code=root" class="sref">root /a>,  a href="+code=NULL" class="sref">NULL /a>);>  71 /a>        if (! a href="+code=inode" class="sref">inode /a>)>  72 /a>                return  a href="+code=ERR_PTR" class="sref">ERR_PTR /a>(- a href="+code=ENOENT" class="sref">ENOENT /a>);>  73 /a>        if ( a href="+code=IS_ERR" class="sref">IS_ERR /a>( a href="+code=inode" class="sref">inode /a>))>  74 /a>                return  a href="+code=inode" class="sref">inode /a>;>  75 /a>        if ( a href="+code=is_bad_inode" class="sref">is_bad_inode /a>( a href="+code=inode" class="sref">inode /a>)) {>  76 /a>                 a href="+code=iput" class="sref">iput /a>( a href="+code=inode" class="sref">inode /a>);>  77 /a>                return  a href="+code=ERR_PTR" class="sref">ERR_PTR /a>(- a href="+code=ENOENT" class="sref">ENOENT /a>);>  78 /a>        }>  79 /a>>  80 /a>         a href="+code=mapping_set_gfp_mask" class="sref">mapping_set_gfp_mask /a>( a href="+code=inode" class="sref">inode /a>-> a href="+code=i_mapping" class="sref">i_mapping /a>,>  81 /a>                         a href="+code=mapping_gfp_mask" class="sref">mapping_gfp_mask /a>( a href="+code=inode" class="sref">inode /a>-> a href="+code=i_mapping" class="sref">i_mapping /a>) & ~ a href="+code=__GFP_FS" class="sref">__GFP_FS /a>);>  82 /a>>  83 /a>        return  a href="+code=inode" class="sref">inode /a>;>  84 /a>}>  85 /a>>  86 /a>struct  a href="+code=inode" class="sref">inode /a> * a href="+code=lookup_free_space_inode" class="sref">lookup_free_space_inode /a>(struct  a href="+code=btrfs_root" class="sref">btrfs_root /a> * a href="+code=root" class="sref">root /a>,>  87 /a>                                      struct  a href="+code=btrfs_block_group_cache" class="sref">btrfs_block_group_cache /a>>  88 /a>                                      * a href="+code=block_group" class="sref">block_group /a>, struct  a href="+code=btrfs_path" class="sref">btrfs_path /a> * a href="+code=path" class="sref">path /a>)>  89 /a>{>  90 /a>        struct  a href="+code=inode" class="sref">inode /a> * a href="+code=inode" class="sref">inode /a> =  a href="+code=NULL" class="sref">NULL /a>;>  91 /a>         a href="+code=u32" class="sref">u32 /a>  a href="+code=flags" class="sref">flags /a> =  a href="+code=BTRFS_INODE_NODATASUM" class="sref">BTRFS_INODE_NODATASUM /a> |  a href="+code=BTRFS_INODE_NODATACOW" class="sref">BTRFS_INODE_NODATACOW /a>;>  92 /a>>  93 /a>         a href="+code=spin_lock" class="sref">spin_lock /a>(& a href="+code=block_group" class="sref">block_group /a>-> a href="+code=lock" class="sref">lock /a>);>  94 /a>        if ( a href="+code=block_group" class="sref">block_group /a>-> a href="+code=inode" class="sref">inode /a>)>  95 /a>                 a href="+code=inode" class="sref">inode /a> =  a href="+code=igrab" class="sref">igrab /a>( a href="+code=block_group" class="sref">block_group /a>-> a href="+code=inode" class="sref">inode /a>);>  96 /a>         a href="+code=spin_unlock" class="sref">spin_unlock /a>(& a href="+code=block_group" class="sref">block_group /a>-> a href="+code=lock" class="sref">lock /a>);>  97 /a>        if ( a href="+code=inode" class="sref">inode /a>)>  98 /a>                return  a href="+code=inode" class="sref">inode /a>;>  99 /a>> 100 /a>         a href="+code=inode" class="sref">inode /a> =  a href="+code=__lookup_free_space_inode" class="sref">__lookup_free_space_inode /a>( a href="+code=root" class="sref">root /a>,  a href="+code=path" class="sref">path /a>,> 101 /a>                                           a href="+code=block_group" class="sref">block_group /a>-> a href="+code=key" class="sref">key /a>. a href="+code=objectid" class="sref">objectid /a>);> 102 /a>        if ( a href="+code=IS_ERR" class="sref">IS_ERR /a>( a href="+code=inode" class="sref">inode /a>))> 103 /a>                return  a href="+code=inode" class="sref">inode /a>;> 104 /a>> 105 /a>         a href="+code=spin_lock" class="sref">spin_lock /a>(& a href="+code=block_group" class="sref">block_group /a>-> a href="+code=lock" class="sref">lock /a>);> 106 /a>        if (!(( a href="+code=BTRFS_I" class="sref">BTRFS_I /a>( a href="+code=inode" class="sref">inode /a>)-> a href="+code=flags" class="sref">flags /a> &  a href="+code=flags" class="sref">flags /a>) ==  a href="+code=flags" class="sref">flags /a>)) {> 107 /a>                 a href="+code=printk" class="sref">printk /a>( a href="+code=KERN_INFO" class="sref">KERN_INFO /a>  spao class="string">"Old style space inode found, converting.\n" 108 /a>                 a href="+code=BTRFS_I" class="sref">BTRFS_I /a>( a href="+code=inode" class="sref">inode /a>)-> a href="+code=flags" class="sref">flags /a> |=  a href="+code=BTRFS_INODE_NODATASUM" class="sref">BTRFS_INODE_NODATASUM /a> |> 109 /a>                         a href="+code=BTRFS_INODE_NODATACOW" class="sref">BTRFS_INODE_NODATACOW /a>;> 110 /a>                 a href="+code=block_group" class="sref">block_group /a>-> a href="+code=disk_cache_state" class="sref">disk_cache_state /a> =  a href="+code=BTRFS_DC_CLEAR" class="sref">BTRFS_DC_CLEAR /a>;> 111 /a>        }> 112 /a>> 113 /a>        if (! a href="+code=block_group" class="sref">block_group /a>-> a href="+code=iref" class="sref">iref /a>) {> 114 /a>                 a href="+code=block_group" class="sref">block_group /a>-> a href="+code=inode" class="sref">inode /a> =  a href="+code=igrab" class="sref">igrab /a>( a href="+code=inode" class="sref">inode /a>);> 115 /a>                 a href="+code=block_group" class="sref">block_group /a>-> a href="+code=iref" class="sref">iref /a> = 1;> 116 /a>        }> 117 /a>         a href="+code=spin_unlock" class="sref">spin_unlock /a>(& a href="+code=block_group" class="sref">block_group /a>-> a href="+code=lock" class="sref">lock /a>);> 118 /a>> 119 /a>        return  a href="+code=inode" class="sref">inode /a>;> 120 /a>}> 121 /a>> 122 /a>int  a href="+code=__create_free_space_inode" class="sref">__create_free_space_inode /a>(struct  a href="+code=btrfs_root" class="sref">btrfs_root /a> * a href="+code=root" class="sref">root /a>,> 123 /a>                              struct  a href="+code=btrfs_trans_handle" class="sref">btrfs_trans_handle /a> * a href="+code=trans" class="sref">trans /a>,> 124 /a>                              struct  a href="+code=btrfs_path" class="sref">btrfs_path /a> * a href="+code=path" class="sref">path /a>,  a href="+code=u64" class="sref">u64 /a>  a href="+code=ino" class="sref">ino /a>,  a href="+code=u64" class="sref">u64 /a>  a href="+code=offset" class="sref">offset /a>)> 125 /a>{> 126 /a>        struct  a href="+code=btrfs_key" class="sref">btrfs_key /a>  a href="+code=key" class="sref">key /a>;> 127 /a>        struct  a href="+code=btrfs_disk_key" class="sref">btrfs_disk_key /a>  a href="+code=disk_key" class="sref">disk_key /a>;> 128 /a>        struct  a href="+code=btrfs_free_space_header" class="sref">btrfs_free_space_header /a> * a href="+code=header" class="sref">header /a>;> 129 /a>        struct  a href="+code=btrfs_inode_item" class="sref">btrfs_inode_item /a> * a href="+code=inode_item" class="sref">inode_item /a>;> 130 /a>        struct  a href="+code=extent_buffer" class="sref">extent_buffer /a> * a href="+code=leaf" class="sref">leaf /a>;> 131 /a>         a href="+code=u64" class="sref">u64 /a>  a href="+code=flags" class="sref">flags /a> =  a href="+code=BTRFS_INODE_NOCOMPRESS" class="sref">BTRFS_INODE_NOCOMPRESS /a> |  a href="+code=BTRFS_INODE_PREALLOC" class="sref">BTRFS_INODE_PREALLOC /a>;> 132 /a>        int  a href="+code=ret" class="sref">ret /a>;> 133 /a>> 134 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=btrfs_insert_empty_inode" class="sref">btrfs_insert_empty_inode /a>( a href="+code=trans" class="sref">trans /a>,  a href="+code=root" class="sref">root /a>,  a href="+code=path" class="sref">path /a>,  a href="+code=ino" class="sref">ino /a>);> 135 /a>        if ( a href="+code=ret" class="sref">ret /a>)> 136 /a>                return  a href="+code=ret" class="sref">ret /a>;> 137 /a>> 138 /a>         spao class="comment">/* We inline crc'svfor the free disk space cache */ /spaon> 139 /a>        if ( a href="+code=ino" class="sref">ino /a> !=  a href="+code=BTRFS_FREE_INO_OBJECTID" class="sref">BTRFS_FREE_INO_OBJECTID /a>)> 140 /a>                 a href="+code=flags" class="sref">flags /a> |=  a href="+code=BTRFS_INODE_NODATASUM" class="sref">BTRFS_INODE_NODATASUM /a> |  a href="+code=BTRFS_INODE_NODATACOW" class="sref">BTRFS_INODE_NODATACOW /a>;> 141 /a>> 142 /a>         a href="+code=leaf" class="sref">leaf /a> =  a href="+code=path" class="sref">path /a>-> a href="+code=nodes" class="sref">nodes /a>[0];> 143 /a>         a href="+code=inode_item" class="sref">inode_item /a> =  a href="+code=btrfs_item_ptr" class="sref">btrfs_item_ptr /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=path" class="sref">path /a>-> a href="+code=slots" class="sref">slots /a>[0],> 144 /a>                                    struct  a href="+code=btrfs_inode_item" class="sref">btrfs_inode_item /a>);> 145 /a>         a href="+code=btrfs_item_key" class="sref">btrfs_item_key /a>( a href="+code=leaf" class="sref">leaf /a>, & a href="+code=disk_key" class="sref">disk_key /a>,  a href="+code=path" class="sref">path /a>-> a href="+code=slots" class="sref">slots /a>[0]);> 146 /a>         a href="+code=memset_extent_buffer" class="sref">memset_extent_buffer /a>( a href="+code=leaf" class="sref">leaf /a>, 0, (unsigned long) a href="+code=inode_item" class="sref">inode_item /a>,> 147 /a>                             sizeof(* a href="+code=inode_item" class="sref">inode_item /a>));> 148 /a>         a href="+code=btrfs_set_inode_generaptio" class="sref">btrfs_set_inode_generaptio /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=inode_item" class="sref">inode_item /a>,  a href="+code=trans" class="sref">trans /a>-> a href="+code=transid" class="sref">transid /a>);> 149 /a>         a href="+code=btrfs_set_inode_size" class="sref">btrfs_set_inode_size /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=inode_item" class="sref">inode_item /a>, 0);> 150 /a>         a href="+code=btrfs_set_inode_nbytes" class="sref">btrfs_set_inode_nbytes /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=inode_item" class="sref">inode_item /a>, 0);> 151 /a>         a href="+code=btrfs_set_inode_uid" class="sref">btrfs_set_inode_uid /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=inode_item" class="sref">inode_item /a>, 0);> 152 /a>         a href="+code=btrfs_set_inode_gid" class="sref">btrfs_set_inode_gid /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=inode_item" class="sref">inode_item /a>, 0);> 153 /a>         a href="+code=btrfs_set_inode_mode" class="sref">btrfs_set_inode_mode /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=inode_item" class="sref">inode_item /a>,  a href="+code=S_IFREG" class="sref">S_IFREG /a> | 0600);> 154 /a>         a href="+code=btrfs_set_inode_flags" class="sref">btrfs_set_inode_flags /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=inode_item" class="sref">inode_item /a>,  a href="+code=flags" class="sref">flags /a>);> 155 /a>         a href="+code=btrfs_set_inode_nlink" class="sref">btrfs_set_inode_nlink /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=inode_item" class="sref">inode_item /a>, 1);> 156 /a>         a href="+code=btrfs_set_inode_transid" class="sref">btrfs_set_inode_transid /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=inode_item" class="sref">inode_item /a>,  a href="+code=trans" class="sref">trans /a>-> a href="+code=transid" class="sref">transid /a>);> 157 /a>         a href="+code=btrfs_set_inode_block_group" class="sref">btrfs_set_inode_block_group /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=inode_item" class="sref">inode_item /a>,  a href="+code=offset" class="sref">offset /a>);> 158 /a>         a href="+code=btrfs_mark_buffer_dirty" class="sref">btrfs_mark_buffer_dirty /a>( a href="+code=leaf" class="sref">leaf /a>);> 159 /a>         a href="+code=btrfs_release_path" class="sref">btrfs_release_path /a>( a href="+code=path" class="sref">path /a>);> 160 /a>> 161 /a>         a href="+code=key" class="sref">key /a>. a href="+code=objectid" class="sref">objectid /a> =  a href="+code=BTRFS_FREE_SPACE_OBJECTID" class="sref">BTRFS_FREE_SPACE_OBJECTID /a>;> 162 /a>         a href="+code=key" class="sref">key /a>. a href="+code=offset" class="sref">offset /a> =  a href="+code=offset" class="sref">offset /a>;> 163 /a>         a href="+code=key" class="sref">key /a>. a href="+code=typu" class="sref">typu /a> = 0;> 164 /a>> 165 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=btrfs_insert_empty_item" class="sref">btrfs_insert_empty_item /a>( a href="+code=trans" class="sref">trans /a>,  a href="+code=root" class="sref">root /a>,  a href="+code=path" class="sref">path /a>, & a href="+code=key" class="sref">key /a>,> 166 /a>                                      sizeof(struct  a href="+code=btrfs_free_space_header" class="sref">btrfs_free_space_header /a>));> 167 /a>        if ( a href="+code=ret" class="sref">ret /a> < 0) {> 168 /a>                 a href="+code=btrfs_release_path" class="sref">btrfs_release_path /a>( a href="+code=path" class="sref">path /a>);> 169 /a>                return  a href="+code=ret" class="sref">ret /a>;> 170 /a>        }> 171 /a>         a href="+code=leaf" class="sref">leaf /a> =  a href="+code=path" class="sref">path /a>-> a href="+code=nodes" class="sref">nodes /a>[0];> 172 /a>         a href="+code=header" class="sref">header /a> =  a href="+code=btrfs_item_ptr" class="sref">btrfs_item_ptr /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=path" class="sref">path /a>-> a href="+code=slots" class="sref">slots /a>[0],> 173 /a>                                struct  a href="+code=btrfs_free_space_header" class="sref">btrfs_free_space_header /a>);> 174 /a>         a href="+code=memset_extent_buffer" class="sref">memset_extent_buffer /a>( a href="+code=leaf" class="sref">leaf /a>, 0, (unsigned long) a href="+code=header" class="sref">header /a>, sizeof(* a href="+code=header" class="sref">header /a>));> 175 /a>         a href="+code=btrfs_set_free_space_key" class="sref">btrfs_set_free_space_key /a>( a href="+code=leaf" class="sref">leaf /a>,  a href="+code=header" class="sref">header /a>, & a href="+code=disk_key" class="sref">disk_key /a>);> 176 /a>         a href="+code=btrfs_mark_buffer_dirty" class="sref">btrfs_mark_buffer_dirty /a>( a href="+code=leaf" class="sref">leaf /a>);> 177 /a>         a href="+code=btrfs_release_path" class="sref">btrfs_release_path /a>( a href="+code=path" class="sref">path /a>);> 178 /a>> 179 /a>        return 0;> 180 /a>}> 181 /a>> 182 /a>int  a href="+code=create_free_space_inode" class="sref">create_free_space_inode /a>(struct  a href="+code=btrfs_root" class="sref">btrfs_root /a> * a href="+code=root" class="sref">root /a>,> 183 /a>                            struct  a href="+code=btrfs_trans_handle" class="sref">btrfs_trans_handle /a> * a href="+code=trans" class="sref">trans /a>,> 184 /a>                            struct  a href="+code=btrfs_block_group_cache" class="sref">btrfs_block_group_cache /a> * a href="+code=block_group" class="sref">block_group /a>,> 185 /a>                            struct  a href="+code=btrfs_path" class="sref">btrfs_path /a> * a href="+code=path" class="sref">path /a>)> 186 /a>{> 187 /a>        int  a href="+code=ret" class="sref">ret /a>;> 188 /a>         a href="+code=u64" class="sref">u64 /a>  a href="+code=ino" class="sref">ino /a>;> 189 /a>> 190 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=btrfs_find_free_objectid" class="sref">btrfs_find_free_objectid /a>( a href="+code=root" class="sref">root /a>, & a href="+code=ino" class="sref">ino /a>);> 191 /a>        if ( a href="+code=ret" class="sref">ret /a> < 0)> 192 /a>                return  a href="+code=ret" class="sref">ret /a>;> 193 /a>> 194 /a>        return  a href="+code=__create_free_space_inode" class="sref">__create_free_space_inode /a>( a href="+code=root" class="sref">root /a>,  a href="+code=trans" class="sref">trans /a>,  a href="+code=path" class="sref">path /a>,  a href="+code=ino" class="sref">ino /a>,> 195 /a>                                          a href="+code=block_group" class="sref">block_group /a>-> a href="+code=key" class="sref">key /a>. a href="+code=objectid" class="sref">objectid /a>);> 196 /a>}> 197 /a>> 198 /a>int  a href="+code=btrfs_truncate_free_space_cache" class="sref">btrfs_truncate_free_space_cache /a>(struct  a href="+code=btrfs_root" class="sref">btrfs_root /a> * a href="+code=root" class="sref">root /a>,> 199 /a>                                    struct  a href="+code=btrfs_trans_handle" class="sref">btrfs_trans_handle /a> * a href="+code=trans" class="sref">trans /a>,> 200 /a>                                    struct  a href="+code=btrfs_path" class="sref">btrfs_path /a> * a href="+code=path" class="sref">path /a>,> 201 /a>                                    struct  a href="+code=inode" class="sref">inode /a> * a href="+code=inode" class="sref">inode /a>)> 202 /a>{> 203 /a>        struct  a href="+code=btrfs_block_rsv" class="sref">btrfs_block_rsv /a> * a href="+code=rsv" class="sref">rsv /a>;> 204 /a>         a href="+code=u64" class="sref">u64 /a>  a href="+code=needed_bytes" class="sref">needed_bytes /a>;> 205 /a>         a href="+code=loff_t" class="sref">loff_t /a>  a href="+code=oldsize" class="sref">oldsize /a>;> 206 /a>        int  a href="+code=ret" class="sref">ret /a> = 0;> 207 /a>> 208 /a>         a href="+code=rsv" class="sref">rsv /a> =  a href="+code=trans" class="sref">trans /a>-> a href="+code=block_rsv" class="sref">block_rsv /a>;> 209 /a>         a href="+code=trans" class="sref">trans /a>-> a href="+code=block_rsv" class="sref">block_rsv /a> = & a href="+code=root" class="sref">root /a>-> a href="+code=fs_info" class="sref">fs_info /a>-> a href="+code=global_block_rsv" class="sref">global_block_rsv /a>;> 210 /a>> 211 /a>         spao class="comment">/* 1vfor slack space, 1vfor updating the inode */ /spaon> 212 /a>         a href="+code=needed_bytes" class="sref">needed_bytes /a> =  a href="+code=btrfs_calc_trunc_metadata_size" class="sref">btrfs_calc_trunc_metadata_size /a>( a href="+code=root" class="sref">root /a>, 1) +> 213 /a>                 a href="+code=btrfs_calc_trans_metadata_size" class="sref">btrfs_calc_trans_metadata_size /a>( a href="+code=root" class="sref">root /a>, 1);> 214 /a>> 215 /a>         a href="+code=spin_lock" class="sref">spin_lock /a>(& a href="+code=trans" class="sref">trans /a>-> a href="+code=block_rsv" class="sref">block_rsv /a>-> a href="+code=lock" class="sref">lock /a>);> 216 /a>        if ( a href="+code=trans" class="sref">trans /a>-> a href="+code=block_rsv" class="sref">block_rsv /a>-> a href="+code=reserved" class="sref">reserved /a> <  a href="+code=needed_bytes" class="sref">needed_bytes /a>) {> 217 /a>                 a href="+code=spin_unlock" class="sref">spin_unlock /a>(& a href="+code=trans" class="sref">trans /a>-> a href="+code=block_rsv" class="sref">block_rsv /a>-> a href="+code=lock" class="sref">lock /a>);> 218 /a>                 a href="+code=trans" class="sref">trans /a>-> a href="+code=block_rsv" class="sref">block_rsv /a> =  a href="+code=rsv" class="sref">rsv /a>;> 219 /a>                return - a href="+code=ENOSPC" class="sref">ENOSPC /a>;> 220 /a>        }> 221 /a>         a href="+code=spin_unlock" class="sref">spin_unlock /a>(& a href="+code=trans" class="sref">trans /a>-> a href="+code=block_rsv" class="sref">block_rsv /a>-> a href="+code=lock" class="sref">lock /a>);> 222 /a>> 223 /a>         a href="+code=oldsize" class="sref">oldsize /a> =  a href="+code=i_size_read" class="sref">i_size_read /a>( a href="+code=inode" class="sref">inode /a>);> 224 /a>         a href="+code=btrfs_i_size_write" class="sref">btrfs_i_size_write /a>( a href="+code=inode" class="sref">inode /a>, 0);> 225 /a>         a href="+code=truncate_pagecache" class="sref">truncate_pagecache /a>( a href="+code=inode" class="sref">inode /a>,  a href="+code=oldsize" class="sref">oldsize /a>, 0);> 226 /a>> 227 /a>         spao class="comment">/* /spaon> 228 /a> spao class="comment">         * We don't need ao orphao item because truncating the free space cache /spaon> 229 /a> spao class="comment">         * will never be split across transacptios. /spaon> 230 /a> spao class="comment">         */ /spaon> 231 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=btrfs_truncate_inode_items" class="sref">btrfs_truncate_inode_items /a>( a href="+code=trans" class="sref">trans /a>,  a href="+code=root" class="sref">root /a>,  a href="+code=inode" class="sref">inode /a>,> 232 /a>                                         0,  a href="+code=BTRFS_EXTENT_DATA_KEY" class="sref">BTRFS_EXTENT_DATA_KEY /a>);> 233 /a>> 234 /a>        if ( a href="+code=ret" class="sref">ret /a>) {> 235 /a>                 a href="+code=trans" class="sref">trans /a>-> a href="+code=block_rsv" class="sref">block_rsv /a> =  a href="+code=rsv" class="sref">rsv /a>;> 236 /a>                 a href="+code=btrfs_abort_transacptio" class="sref">btrfs_abort_transacptio /a>( a href="+code=trans" class="sref">trans /a>,  a href="+code=root" class="sref">root /a>,  a href="+code=ret" class="sref">ret /a>);> 237 /a>                return  a href="+code=ret" class="sref">ret /a>;> 238 /a>        }> 239 /a>> 240 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=btrfs_update_inode" class="sref">btrfs_update_inode /a>( a href="+code=trans" class="sref">trans /a>,  a href="+code=root" class="sref">root /a>,  a href="+code=inode" class="sref">inode /a>);> 241 /a>        if ( a href="+code=ret" class="sref">ret /a>)> 242 /a>                 a href="+code=btrfs_abort_transacptio" class="sref">btrfs_abort_transacptio /a>( a href="+code=trans" class="sref">trans /a>,  a href="+code=root" class="sref">root /a>,  a href="+code=ret" class="sref">ret /a>);> 243 /a>         a href="+code=trans" class="sref">trans /a>-> a href="+code=block_rsv" class="sref">block_rsv /a> =  a href="+code=rsv" class="sref">rsv /a>;> 244 /a>> 245 /a>        return  a href="+code=ret" class="sref">ret /a>;> 246 /a>}> 247 /a>> 248 /a>static int  a href="+code=readahead_cache" class="sref">readahead_cache /a>(struct  a href="+code=inode" class="sref">inode /a> * a href="+code=inode" class="sref">inode /a>)> 249 /a>{> 250 /a>        struct  a href="+code=file_ra_state" class="sref">file_ra_state /a> * a href="+code=ra" class="sref">ra /a>;> 251 /a>        unsigned long  a href="+code=last_index" class="sref">last_index /a>;> 252 /a>> 253 /a>         a href="+code=ra" class="sref">ra /a> =  a href="+code=kzalloc" class="sref">kzalloc /a>(sizeof(* a href="+code=ra" class="sref">ra /a>),  a href="+code=GFP_NOFS" class="sref">GFP_NOFS /a>);> 254 /a>        if (! a href="+code=ra" class="sref">ra /a>)> 255 /a>                return - a href="+code=ENOMEM" class="sref">ENOMEM /a>;> 256 /a>> 257 /a>         a href="+code=file_ra_state_init" class="sref">file_ra_state_init /a>( a href="+code=ra" class="sref">ra /a>,  a href="+code=inode" class="sref">inode /a>-> a href="+code=i_mapping" class="sref">i_mapping /a>);> 258 /a>         a href="+code=last_index" class="sref">last_index /a> = ( a href="+code=i_size_read" class="sref">i_size_read /a>( a href="+code=inode" class="sref">inode /a>) - 1) >>  a href="+code=PAGE_CACHE_SHIFT" class="sref">PAGE_CACHE_SHIFT /a>;> 259 /a>> 260 /a>         a href="+code=page_cache_sync_readahead" class="sref">page_cache_sync_readahead /a>( a href="+code=inode" class="sref">inode /a>-> a href="+code=i_mapping" class="sref">i_mapping /a>,  a href="+code=ra" class="sref">ra /a>,  a href="+code=NULL" class="sref">NULL /a>, 0,  a href="+code=last_index" class="sref">last_index /a>);> 261 /a>> 262 /a>         a href="+code=kfree" class="sref">kfree /a>( a href="+code=ra" class="sref">ra /a>);> 263 /a>> 264 /a>        return 0;> 265 /a>}> 266 /a>> 267 /a>struct  a href="+code=io_ctl" class="sref">io_ctl /a> {> 268 /a>        void * a href="+code=cur" class="sref">cur /a>, * a href="+code=orig" class="sref">orig /a>;> 269 /a>        struct  a href="+code=page" class="sref">page /a> * a href="+code=page" class="sref">page /a>;> 270 /a>        struct  a href="+code=page" class="sref">page /a> ** a href="+code=pages" class="sref">pages /a>;> 271 /a>        struct  a href="+code=btrfs_root" class="sref">btrfs_root /a> * a href="+code=root" class="sref">root /a>;> 272 /a>        unsigned long  a href="+code=size" class="sref">size /a>;> 273 /a>        int  a href="+code=index" class="sref">index /a>;> 274 /a>        int  a href="+code=num_pages" class="sref">num_pages /a>;> 275 /a>        unsigned  a href="+code=check_crcs" class="sref">check_crcs /a>:1;> 276 /a>};> 277 /a>> 278 /a>static int  a href="+code=io_ctl_init" class="sref">io_ctl_init /a>(struct  a href="+code=io_ctl" class="sref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>, struct  a href="+code=inode" class="sref">inode /a> * a href="+code=inode" class="sref">inode /a>,> 279 /a>                       struct  a href="+code=btrfs_root" class="sref">btrfs_root /a> * a href="+code=root" class="sref">root /a>)> 280 /a>{> 281 /a>         a href="+code=memset" class="sref">memset /a>( a href="+code=io_ctl" class="sref">io_ctl /a>, 0, sizeof(struct  a href="+code=io_ctl" class="sref">io_ctl /a>));> 282 /a>         a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a> = ( a href="+code=i_size_read" class="sref">i_size_read /a>( a href="+code=inode" class="sref">inode /a>) +  a href="+code=PAGE_CACHE_SIZE" class="sref">PAGE_CACHE_SIZE /a> - 1) >>> 283 /a>                 a href="+code=PAGE_CACHE_SHIFT" class="sref">PAGE_CACHE_SHIFT /a>;> 284 /a>         a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a> =  a href="+code=kzalloc" class="sref">kzalloc /a>(sizeof(struct  a href="+code=page" class="sref">page /a> *) *  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>,> 285 /a>                                 a href="+code=GFP_NOFS" class="sref">GFP_NOFS /a>);> 286 /a>        if (! a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a>)> 287 /a>                return - a href="+code=ENOMEM" class="sref">ENOMEM /a>;> 288 /a>         a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=root" class="sref">root /a> =  a href="+code=root" class="sref">root /a>;> 289 /a>        if ( a href="+code=btrfs_ino" class="sref">btrfs_ino /a>( a href="+code=inode" class="sref">inode /a>) !=  a href="+code=BTRFS_FREE_INO_OBJECTID" class="sref">BTRFS_FREE_INO_OBJECTID /a>)> 290 /a>                 a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=check_crcs" class="sref">check_crcs /a> = 1;> 291 /a>        return 0;> 292 /a>}> 293 /a>> 294 /a>static void  a href="+code=io_ctl_free" class="sref">io_ctl_free /a>(struct  a href="+code=io_ctl" class="sref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>)> 295 /a>{> 296 /a>         a href="+code=kfree" class="sref">kfree /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a>);> 297 /a>}> 298 /a>> 299 /a>static void  a href="+code=io_ctl_unmap_page" class="sref">io_ctl_unmap_page /a>(struct  a href="+code=io_ctl" class="sref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>)> 300 /a>{> 301 /a>        if ( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=cur" class="sref">cur /a>) {> 302 /a>                 a href="+code=kunmap" class="sref">kunmap /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=page" class="sref">page /a>);> 303 /a>                 a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=cur" class="sref">cur /a> =  a href="+code=NULL" class="sref">NULL /a>;> 304 /a>                 a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=orig" class="sref">orig /a> =  a href="+code=NULL" class="sref">NULL /a>;> 305 /a>        }> 306 /a>}> 307 /a>> 308 /a>static void  a href="+code=io_ctl_map_page" class="sref">io_ctl_map_page /a>(struct  a href="+code=io_ctl" class="sref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>, int  a href="+code=clear" class="sref">clear /a>)> 309 /a>{> 310 /a>         a href="+code=WARN_ON" class="sref">WARN_ON /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=cur" class="sref">cur /a>);> 311 /a>         a href="+code=BUG_ON" class="sref">BUG_ON /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=index" class="sref">index /a> >=  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>);> 312 /a>         a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=page" class="sref">page /a> =  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a>[ a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=index" class="sref">index /a>++];> 313 /a>         a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=cur" class="sref">cur /a> =  a href="+code=kmap" class="sref">kmap /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=page" class="sref">page /a>);> 314 /a>         a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=orig" class="sref">orig /a> =  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=cur" class="sref">cur /a>;> 315 /a>         a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=size" class="sref">size /a> =  a href="+code=PAGE_CACHE_SIZE" class="sref">PAGE_CACHE_SIZE /a>;> 316 /a>        if ( a href="+code=clear" class="sref">clear /a>)> 317 /a>                 a href="+code=memset" class="sref">memset /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=cur" class="sref">cur /a>, 0,  a href="+code=PAGE_CACHE_SIZE" class="sref">PAGE_CACHE_SIZE /a>);> 318 /a>}> 319 /a>> 320 /a>static void  a href="+code=io_ctl_drop_pages" class="sref">io_ctl_drop_pages /a>(struct  a href="+code=io_ctl" class="sref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>)> 321 /a>{> 322 /a>        int  a href="+code=i" class="sref">i /a>;> 323 /a>> 324 /a>         a href="+code=io_ctl_unmap_page" class="sref">io_ctl_unmap_page /a>( a href="+code=io_ctl" class="sref">io_ctl /a>);> 325 /a>> 326 /a>        for ( a href="+code=i" class="sref">i /a> = 0;  a href="+code=i" class="sref">i /a> <  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>;  a href="+code=i" class="sref">i /a>++) {> 327 /a>                if ( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a>[ a href="+code=i" class="sref">i /a>]) {> 328 /a>                         a href="+code=ClearPageChecked" class="sref">ClearPageChecked /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a>[ a href="+code=i" class="sref">i /a>]);> 329 /a>                         a href="+code=unlock_page" class="sref">unlock_page /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a>[ a href="+code=i" class="sref">i /a>]);> 330 /a>                         a href="+code=page_cache_release" class="sref">page_cache_release /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a>[ a href="+code=i" class="sref">i /a>]);> 331 /a>                }> 332 /a>        }> 333 /a>}> 334 /a>> 335 /a>static int  a href="+code=io_ctl_prepare_pages" class="sref">io_ctl_prepare_pages /a>(struct  a href="+code=io_ctl" class="sref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>, struct  a href="+code=inode" class="sref">inode /a> * a href="+code=inode" class="sref">inode /a>,> 336 /a>                                int  a href="+code=uptodate" class="sref">uptodate /a>)> 337 /a>{> 338 /a>        struct  a href="+code=page" class="sref">page /a> * a href="+code=page" class="sref">page /a>;> 339 /a>         a href="+code=gfp_t" class="sref">gfp_t /a>  a href="+code=mask" class="sref">mask /a> =  a href="+code=btrfs_alloc_write_mask" class="sref">btrfs_alloc_write_mask /a>( a href="+code=inode" class="sref">inode /a>-> a href="+code=i_mapping" class="sref">i_mapping /a>);> 340 /a>        int  a href="+code=i" class="sref">i /a>;> 341 /a>> 342 /a>        for ( a href="+code=i" class="sref">i /a> = 0;  a href="+code=i" class="sref">i /a> <  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>;  a href="+code=i" class="sref">i /a>++) {> 343 /a>                 a href="+code=page" class="sref">page /a> =  a href="+code=find_or_create_page" class="sref">find_or_create_page /a>( a href="+code=inode" class="sref">inode /a>-> a href="+code=i_mapping" class="sref">i_mapping /a>,  a href="+code=i" class="sref">i /a>,  a href="+code=mask" class="sref">mask /a>);> 344 /a>                if (! a href="+code=page" class="sref">page /a>) {> 345 /a>                         a href="+code=io_ctl_drop_pages" class="sref">io_ctl_drop_pages /a>( a href="+code=io_ctl" class="sref">io_ctl /a>);> 346 /a>                        return - a href="+code=ENOMEM" class="sref">ENOMEM /a>;> 347 /a>                }> 348 /a>                 a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a>[ a href="+code=i" class="sref">i /a>] =  a href="+code=page" class="sref">page /a>;> 349 /a>                if ( a href="+code=uptodate" class="sref">uptodate /a> && ! a href="+code=PageUptodate" class="sref">PageUptodate /a>( a href="+code=page" class="sref">page /a>)) {> 350 /a>                         a href="+code=btrfs_readpage" class="sref">btrfs_readpage /a>( a href="+code=NULL" class="sref">NULL /a>,  a href="+code=page" class="sref">page /a>);> 351 /a>                         a href="+code=lock_page" class="sref">lock_page /a>( a href="+code=page" class="sref">page /a>);> 352 /a>                        if (! a href="+code=PageUptodate" class="sref">PageUptodate /a>( a href="+code=page" class="sref">page /a>)) {> 353 /a>                                 a href="+code=printk" class="sref">printk /a>( a href="+code=KERN_ERR" class="sref">KERN_ERR /a>  spao class="string">"btrfs: error reading free " /spaon> 354 /a>                                        spao class="string">"space cache\n" /spaon);> 355 /a>                                 a href="+code=io_ctl_drop_pages" class="sref">io_ctl_drop_pages /a>( a href="+code=io_ctl" class="sref">io_ctl /a>);> 356 /a>                                return - a href="+code=EIO" class="sref">EIO /a>;> 357 /a>                        }> 358 /a>                }> 359 /a>        }> 360 /a>> 361 /a>        for ( a href="+code=i" class="sref">i /a> = 0;  a href="+code=i" class="sref">i /a> <  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>;  a href="+code=i" class="sref">i /a>++) {> 362 /a>                 a href="+code=clear_page_dirty_for_io" class="sref">clear_page_dirty_for_io /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a>[ a href="+code=i" class="sref">i /a>]);> 363 /a>                 a href="+code=set_page_extent_mapped" class="sref">set_page_extent_mapped /a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=pages" class="sref">pages /a>[ a href="+code=i" class="sref">i /a>]);> 364 /a>        }> 365 /a>> 366 /a>        return 0;> 367 /a>}> 368 /a>> 369 /a>static void  a href="+code=io_ctl_set_generaptio" class="sref">io_ctl_set_generaptio /a>(struct  a href="+code=io_ctl" class="sref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>,  a href="+code=u64" class="sref">u64 /a>  a href="+code=generaptio" class="sref">generaptio /a>)> 370 /a>{> 371 /a>         a href="+code=__le64" class="sref">__le64 /a> * a href="+code=val" class="sref">val /a>;> 372 /a>> 373 /a>         a href="+code=io_ctl_map_page" class="sref">io_ctl_map_page /a>( a href="+code=io_ctl" class="sref">io_ctl /a>, 1);> 374 /a>> 375 /a>         spao class="comment">/* /spaon> 376 /a> spao class="comment">         * Skip the csum areas.  If we don't check crcs then we just have a /spaon> 377 /a> spao class="comment">         * 64bit chunk at the front of the first page. /spaon> 378 /a> spao class="comment">         */ /spaon> 379 /a>        if ( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=check_crcs" class="sref">check_crcs /a>) {> 380 /a>                 a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=cur" class="sref">cur /a> += (sizeof( a href="+code=u32" class="sref">u32 /a>) *  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>);> 381 /a>                 a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=size" class="sref">size /a> -he.c#L381" ide=L381" class="line" namue=L381"> 381 /a>                 a h8ss="sref">inode 3="sr2 /a>) *  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>);> 381 /a>>io_ctl } else0" ide=L380" class="line" namue=L380"> 380 /a>                 a href="+code3PAGE_3ACHE_SHIFT" class="sref">PAGE_CACHE_S="+code=cur" class="sref">cur /a> += (sizeof( a href="+code=u32" class="sref">u3> 381 /a>                 a h8ss="sref">inode 3=" ide=L381" class="line" namue=L381"> 381 /a>>io_ctl /a>-> a href="+code=orig" class="sref">orig /a> =  a href="+cod=L381" class="line" namue=L381"> 381 /a>                 a h8ss="sref">inode 3="* 2" ide=L381" class="line" namue=L381"> 381 /a>                              3  a h3ef="+code=GFP_" ide=L368" class="line" namue=L368"> 368 /a>     3  if (! a href="+code=io3ctl" 38L267" ide=L267" class="line" namue=L267"> 263 /a>     3          return - a hre3="+co38nit" class="sref">file_ra_sts/free-space-cache.c#L372tl /a>-> a href="+code=cur" class="sref">cur /a>;> 315 /a>     3   a href="+code=io_ctl"3class3"sref">io_ctl  315 /a>        if ( a href="+code=btr3s_ino38ref">gfp_t /a>  a href="+cod="+code=cur" class="sref">cur /a> += (sizeof( a href="+code=u32" class="sref">u3> 381 /a>                 a h8ss="sref">inode 3=" ide=L381" class="line" namue=L381"> 381 /a>     3           a href="+code3io_ct3" clas" ide=L368" class="line" namue=L368"> 368 /a>     3  return 0;> 342 /a>}>io_ctl_prepare_ace-catio /a>(struct  a href="+code=ioace-catio /a>(stref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>,  a href="+code=u64" class="sref">u64 /a>  a href="+code=generaptio" class="sref">generaptio /a>)> 370 /a>> 380 /a>stati3 void  a href="+code=io_3tl_fr39ge" class="sref">io_ctl_unmacode=val" class="sref">val /a>;> 315 /a>{> 366 /a>     3   a href="+code=kfree" 3lass=3sref">kfree /a>btrfs/free-space-cache.c#L376" ide=L376" class="line" namue=L376"> 376 /a>}> 376 /a>     3ef="fs/btrfs/free-space-3ache.39n't need ao orphao item because trn> 378 /a>stati3 void  a href="+code=io_3tl_un39never be split across transacptios. /.c#L379" ide=L379" class="line" namue=L379"> 374 /a>{>i /a>;>-> a href="+code=check_crcs" class="sref">check_crcs /a>) {> 384 /a>     4  if ( a href="+code=io_4tl" c40 class="sref">io_ctl /a>-> a href="+code=size" class="sref">size /a> -he.c#L381" idef="+code=u32" class="sref">u3> 381 /a>              io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>);> 314 /a>     4           a href="+code4kunma4" class="sref">kunmap /a>( a href="+c="+code=orig" class="sref">orig /a> =  a href="+cod=L381" class="line" namue=L381"> 381 /a>                 a h8ss="sref">inode 3="+ ide=L315" class="line" namue=L315"> 314 3a>     4 f="fs/btrfs/free-space-4io_ct4" class="sref">io_ctl         2 /a>) *  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>);> 384 /a>     4           a href="+code4io_ct4" class="sref"} else0" ide=L380" class="line" namue=L380"> 384 /a>     4  }>  a href="+cod="+code=cur" class="sref">cur /a> += (sizeof( a href="+code=u32" class="sref">u3> 381 /a>                 a h8ss="sref">inode 3=" ide=L381" class="line" namue=L381"> 384 /a>}>btrfs="+code=orig" class="sref">orig /a> =  a href="+cod=L381" class="line" namue=L381"> 381 /a>                 a h8ss="sref">inode 3="* 2" ide=L381" class="line" namue=L381"> 384 /a>> 364 /a>stati4 void  a href="+code=io_4tl_ma40L369" ide=L369" class="line" namue=L369"> 364 /a>{>gfp_t /a>  a href="+code-cbtrfs/free-space-cL315tl /a>-> a href="+code=cur" class="sref">cur /a>;> 314 /a>     4   a href="+code=WARN_ON4 clas41ref">i /a>;>-> a hrefval _toocpuree-space-cacheval _toocpuref">BTRFS href="fs/btrfs/free-space-cache.c#L370"0" ide=L380" class="line" namue=L380"> 384 /a>     4   a href="+code=BUG_ON"4class41 class="sref">io_ctl /a>-> a hrefsref">_cheelimit( a href="+code=isref">_cheelimit( _ctl /a>, 1);>"btrfs: error reading free " /spaon> 354 /a>     4   a href="+code=io_ctl"4class41+code=PageUptodate" class="sref">io_ctl /ing free " /spaon><7;Lu)spaes not match ss="s (n><7;Lu)ace-cache.c#L35a>;> 334 /a>     4   a href="+code=io_ctl"4class41f="+code=printk" class="sref">printk  /a>  a href="+code-cef="fs/btrfs/free-space-cache.c#L370"" ide=L315" class="line" namue=L315"> 314 /a>     4   a href="+code=io_ctl"4class41 class="sref">io_ctl /a>-> a href="+cod /a>( a href="+code=io_ctl" class="sref">io_ctl /a>);> 324 /a>     4   a href="+code=io_ctl"4class41f="+code=io_ctl_drop_O /a>;> 354 /a>     4  if ( a href="+code=cle4r" cl4ss="sref">clea" ide=L368" class="line" namue=L368"> 364 /a>     4           a href="+code4memse41nit" class="sref">file_ra_st="+code=cur" class="sref">cur /a> += (sizeof( a href="+code=u32" class="sref">u3> 381 /a>                 a h8ss="sref">inode 3=" ide=L381" class="line" namue=L381"> 384 /a>}>io_ctl e.c#L367" ide=L367" class="line" namue=L367"> 364 /a>> 364 /a>stati4 void  a href="+code=io_4tl_dr42L361" ide=L361" class="line" namue=L361"> 364 /a>{>io_ctl_set_generapchef="+code=io_ctl" classerapcheref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>,  a href="+code=u64" class="sref">u64 /a>  ax /a>;> 374 /a>     4  int  a href="+code=i" 4lass=4sref">" ide=L380" class="line" namue=L380"> 384 /a>>io_ctl_map_pa=io_ctl" class="sref">io_l /a>,  a href="+tmctl" class="sreftmcL357" ide=L357" class="line" namue=L357"> 354 /a>     4   a href="+code=io_ctl_4nmap_4age" class="sref">io_ctl_unma=io_ctl" class="sref">io_l (sizeof( a hrefhef="+code=io_ctlcheref"tl ~*  a href="+code=io_ctl" class="sref">io_c7" ide=L367" class="line" namue=L367"> 364 /a>>check_crcs /a>:1;>off=io_ctl" class="sroff=ioref"tl 7" ide=L367" class="line" namue=L367"> 364 /a>     4  for ( a href="+code=i"4class42L267" ide=L267" class="line" namue=L267"> 264 /a>     4          if ( a href="+4ode=i4_ctl" class="s_ctl /a>-> a href="+code=pages" class="sref">pages /a>)> 384 /a>     4                   a hre4="+co4e=ClearPageChecked" cl/a>-> a href="+cod /a>( a href="+code=io_ctl" class="sref">io_ctl /a>);> 324 /a>     4                   a hre4="+co4e=unlock_page" class="e.c#L3" ide=L325" class="line" namue=L325"> 324 /a>     4                   a hre4="+co4e=page_cache_r" ide=L368" class="line" namue=L368"> 364 /a>     4          }> 344 /a>     4  }>i=l 7" ide=L370" class="line" namue=L370"> 374 /a>}>PAGE_CACHE_Soff=io_ctl" class="sroff=ioref"tl  /a>) *  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>);> 324 /a>     4ef="fs/btrfs/free-space-4ache.4#L335" ide=L335" class="line" namue=L335"> 334 /a>stati4 int  a href="+code=io_c4l_pre43sref">io_ctl /a>-> a hreffhef="+code=io_ctlcheref"tl /a>-> a hrefss="srn we_datfree-space-cachess="srn we_datf_ctl /a>);>root /href="+code=mask" "+code=orig" class="sref">orig /a> =  a href="+code=io_ctl" class="sref">io_ctef">PAGE_CACHE_SIoff=io_ctl" class="sroff=ioref"href="+code=mask"fhef="+code=io_ctlcheref"" ide=L336" class="line" namue=L336"> 334 /a>     4                        4 int 4a href="+code=uptodate" class="sref"ef="+code=mask"ZE /a> - 1) >>>PAGE_CACHE_SIoff=io_ctl" class="sroff=ioref"5" ide=L325" class="line" namue=L325"> 324 /a>{>file_ra_stss="srn we_fin/free-space-cachess="srn we_fin/f_ctl /a>);>);> 324 /a>     4  struct  a href="+code=4age" 43sref">io_ctl /a>-> a href="+cod /a>( a href="+code=io_ctl" class="sref">io_ctl /a>);> 324 /a>     4   a href="+code=gfp_t" 4lass=4sref">gfp_t /a>  a href="+codtmctl" class="sreftmcL357a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=page" class="sref">page /a>);>i /a>]);> 364 /a>     4  int  a href="+code=i" 4lass=44"sref">WARN_ON /a>( a href="tmctl" class="sreftmcL357a+l /a>-> a href=trfs/free-space-cache.c#L274" ide=L274" class="line" namue=L274"> 274 /a>>,  a href="+tmctl" class="sreftmcL357tl /a>-> a hrefchef="+code=io_ctlcheref"" ide=L274" class="line" namue=L274"> 274 /a>     4  for ( a href="+code=i"4class4"sref">i /a> = a href="+code=ide=io_ctl" class="sref">io_ctl /a>-> a href="+code=page" class="sref">page /a>);>i /a>]);> 364 /a>}> 334 /a>     4          if (! a href="4code=44L335" ide=L335" class="line" namue=L335"> 334 /a>     4                   a hre4="+co44re_pages" class="sref">io_ctl_prepare_ace-cachef="+code=io_ctl" classace-cacheref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>,  a href="+code=u64" class="sref">u64 /a>  ax /a>;> 374 /a>     4                  return4- a h4ef="+c" ide=L380" class="line" namue=L380"> 384 /a>     4          }>file_ra_st=io_ctl" class="sref">io_l /a>,  a href="+tmctl" class="sreftmcL357href="+code=mask"s/free-space-cache.c#L372" ide=L372" class="line" namue=L372"> 374 /a>     4           a href="+code4io_ct44sref">io_ctl /a>-> a href=io_ctl" class="sref">io_l (sizeof( a hrefhef="+code=io_ctlcheref"tl ~*  a href="+code=io_ctl" class="sref">io_c7" ide=L367" class="line" namue=L367"> 364 /a>     4          if ( a href="+4ode=u4todate" class=sref">check_crcs /a>:1;>off=io_ctl" class="sroff=ioref"tl 7" ide=L367" class="line" namue=L367"> 364 /a>     4                   a hre4="+co45L361" ide=L361" class="line" namue=L361"> 364 /a>     4                   a hre4="+co45ss="sref">io_ctl  /a>-> a href="+code=pages" class="sref">pages /a>)> 384 /a>     4                  if (! 4 href4"+code=PageUptodate" c"sref">io_ctl_prepare_ a href="+code=io_ctl" class="sref">io_ctl /a>, 1);> 364 /a>     4                        4  a h4ef="+code=printk" clase.c#L367" ide=L367" class="line" namue=L367"> 364 /a>     4                        4     45-cache.c#L365" ide=L365" class="line" namue=L365"> 364 /a>     4                        4  a h45L366" ide=L366" class="line" namue=L366"> 364 /a>     4                        4 retu45s="sref">clear /a>)>i=l 7" ide=L370" class="line" namue=L370"> 374 /a>     4                  }>PAGE_CACHE_Soff=io_ctl" class="sroff=ioref"tl  /a>) *  a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>);> 324 /a>     4          }> 364 /a>     4  }>gfp_t /a>  a href="+codtmctl" class="sreftmcL357a>( a href="+code=io_ctl" class="sref">io_ctl /a>-> a href="+code=page" class="sref">page /a>);>i /a>]);> 364 /a>>WARN_ON /a>( a href="tmctl" class="sreftmcL357a+l /a>-> a href=trfs/free-space-cache.c#L274" ide=L274" class="line" namue=L274"> 274 /a>     4  for ( a href="+code=i"4class46sref">__le64 /a> * a href="+s/free-space-cache.c#L372tl  /a>,  a href="+tmctl" class="sreftmcL357" ide=L357" class="line" namue=L357"> 354 /a>     4           a href="+code4clear46sref">i /a> = a href="+code=ide=io_ctl" class="sref">io_ctl /a>-> a href="+code=page" class="sref">page /a>);>i /a>]);> 364 /a>     4           a href="+code4set_p46L324" ide=L324" class="line" namue=L324"> 324 /a>     4  }>io_ctl_unmarepare_ a href="+code=io_ctl" class="sref">io_ctl /a>, 1);> 364 /a>>io_ctl /a>-> a hreffhef="+code=io_ctlcheref"tl /a>-> a hrefss="srn we_datfree-space-cachess="srn we_datf_ctl /a>);>root /href="+code=mask" "+code=orig" class="sref">orig /a> =  a href="+code=io_ctl" class="sref">io_ctef">PAGE_CACHE_SIoff=io_ctl" class="sroff=ioref"href="+code=mask"fhef="+code=io_ctlcheref"" ide=L336" class="line" namue=L336"> 334 /a>     4  return 0;> - 1) >>>PAGE_CACHE_SIoff=io_ctl" class="sroff=ioref"5" ide=L325" class="line" namue=L325"> 324 /a>}>file_ra_stss="srn we_fin/free-space-cachess="srn we_fin/f_ctl /a>);>);> 324 /a>>io_ctl r /a>)>BTRFSfhef="+code=io_ctlcheref"50" ide=L380" class="line" namue=L380"> 384 /a>stati4 void  a href="+code=io_4tl_se46=unlock_page" class=";>_cheelimit( a href="+code=isref">_cheelimit( _ctl /a>, 1);>"btrfs: error reading free " /spaon> 354 /a>{> 354 /a>     4   a href="+code=__le64"4class47 class="sref">io_ctl /a>-> a href="+cod /a>( a href="+code=io_ctl" class="sref">io_ctl /a>);> 324 /a>>;> 354 /a>     4   a href="+code=io_ctl_4ap_pa4e" class="sref" ide=L365" class="line" namue=L365"> 364 /a>> 374 /a>     4   spao class="comment">4* /sp4on> 364 /a> spao4class="comment">        4* Ski4 the c" ide=L365" class="line" namue=L365"> 364 /a>}>        4* 64b4t chun ide=L365" class="line" namue=L365"> 364 /a>>        4*/ /s4aon>io_ctl_prepare_add_entryf="+code=io_ctl" classadd_entryref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>,  a href="+code=u64" class="sref">u64 /a>  a  a href="+code=eraptio" class="sref">generaptio /a>)>generaptio /a>)>i byts ref"" ide=L336" class="line" namue=L336"> 334 /a>     4  if ( a href="+code=io_4tl" c47=unlock_page" class="sref">unnnnnclass /a>,  a href="+bit=io_ctl" class="srbit=ioL274" ide=L370" class="line" namue=L370"> 374 /a>     4           a href="+code4io_ct48#L371" ide=L371" class="line" namue=L371"> 374 /a>     4           a href="+code4io_ct4" class="sref"io_ctl /a> * a href="+ss="srine"_namue_entryf="+code=io_ctlss="srine"_namue_entryo_ctl /a>,  a href="+entryf="+code=io_ctlentryo_ct" ide=L367" class="line" namue=L367"> 364 /a>> 374 /a>     4           a href="+code4PAGE_4ACHE_SHIFT" clctl  /a>-> a href="+code=pages" class="sref">pages /a>)> 374 /a>>io_ctl >ENOMEM /a>;> 364 /a>     4                        4  a h48L366" ide=L366" class="line" namue=L366"> 364 /a>     4  if (! a href="+code=io4ctl" 48ref">kfree /a>a>,  a href="+entryf="+code=io_ctlentryo_cttl /a>-> a href="+code=cur" class="sref">cur /a>;> 314 /a>     4          return - a hre4="+co48nit" class="sref">file_ra_stentryf="+code=io_ctlentryo_ct /a> =  a href="+codeff=io_ctl" class="sroff=ioref"tl a href="fs/btrfspu_toode=val" class="srefcpu_toode=v_ctl /a>, 1);> 324 /a>     4   a href="+code=io_ctl"4class48sref">io_ctl /a>-> a hrefentryf="+code=io_ctlentryo_ct /a> =  a href="+codbyts class="sref">i byts ref"tl a href="fs/btrfspu_toode=val" class="srefcpu_toode=v_ctl /a>, 1);>i byts ref"5" ide=L325" class="line" namue=L325"> 324 /a>     4  if ( a href="+code=btr4s_ino48ref">gfp_t /a>  a href="+codentryf="+code=io_ctlentryo_ct /a> =  a href="+codtypef="+code=io_ctltyperef"tl  /a>, 1);>  a href="+codBTRFS_FREE_SPACE_BITMAP_ctl" class="srBTRFS_FREE_SPACE_BITMAPref"t: ide=L325" class="line" namue=L325"> 324 /a>     4           a href="+code4io_ct49 class="sref">io_ctl /a>-> a hrefBTRFS_FREE_SPACE_EXTENT_ctl" class="srBTRFS_FREE_SPACE_EXTENTL315" ide=L315" class="line" namue=L315"> 314 /a>     4  return 0;>__le64 /a> * a href="+="+code=cur" class="sref">cur /a> += (sizeof( a href="+code=u32" class="sref">u3> 381 /io_ctl /a> * a href="+ss="srine"_namue_entryf="+code=io_ctlss="srine"_namue_entryo_ct5" ide=L325" class="line" namue=L325"> 324 /a>}>i /a> = a href="+code=="+code=orig" class="sref">orig /a> =  a href="+cod=L381" class="line" namue=L381"> 381 /io_ctl /a> * a href="+ss="srine"_namue_entryf="+code=io_ctlss="srine"_namue_entryo_ct5" ide=L325" class="line" namue=L325"> 324 /a>     4ef="fs/btrfs/free-space-4ache.49L324" ide=L324" class="line" namue=L324"> 324 /a>stati4 void  a href="+code=io_4tl_fr49ge" class="sratl /a>-> a href="+code=check_crcs" class="sref">check_crcs /a>) {>=L381" class="line" namue=L3>che1"> 381 /io_ctl /a> * a href="+ss="srine"_namue_entryf="+code=io_ctlss="srine"_namue_entryo_ct5" ide=L370" class="line" namue=L370"> 374 /a>{>;>7" ide=L367" class="line" namue=L367"> 364 /a>     4   a href="+code=kfree" 4lass=49L267" ide=L267" class="line" namue=L267"> 264 /a>}>file_ra_st="+codnerapchef="+code=io_ctl" classerapcheref">/a>,  a href="+code=u64" class="sref">u64 /a>  a  a href="+code="+code=check_crcs" class="sref">check_crcs /a>) {>="+code=io_ctl" class="sref">i-374" ide=L374" class="line" namue=L374"> 374 /a>     4ef="fs/btrfs/free-space-4ache.49L369" ide=L369" class="line" namue=L369"> 364 /a>stati4 void  a href="+code=io_4tl_un49ref">gfp_t /a>be split across trans/* No morecaches to map /.c#L379" ide=L379" class="line" namue=L379"> 375 /a>{>i /a>;>-> a href="+code=check_crcs" class="sref">check_crcs /a>) {>="+code=io_ctl" class="sref">i>che1"/a>-> a href="+code=num_pages" class="sref">num_pages /a>);> 375 /a>     5  if ( a href="+code=io_5tl" c50 class="sref">io_ctl O /a>;>7" ide=L367" class="line" namue=L367"> 365 /a>     5           a href="+code5kunma50L373" ide=L373" class="line" namue=L373"> 375 3a>     5 f="fs/btrfs/free-space-5io_ct5" class="sref">be split across trans/* map ee-snex-cache /.c#L379" ide=L379" class="line" namue=L379"> 375 4a>     5 void  a href="+code=io_5io_ct50ge" class="sref">io_ctl_unmarepare_ a href="+code=io_ctl" class="sref">io_ctl /a>, 1);> 375 /a>     5  }> 365 /a>}> 365 /a>> 365 /a>stati5 void  a href="+code=io_5tl_ma50on>io_ctl_prepare_add_bit=io_ctl" class="srrepare_add_bit=ioref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>,  a href="+code=u64" class="sref">u64 /a>  aclass /a>,  a href="+bit=io_ctl" class="srbit=ioL274" ide=L370" class="line" namue=L370"> 375 /a>{>" ide=L371" class="line" namue=L371"> 375 /a>     5   a href="+code=WARN_ON5 clas51ref">i /a>;>-> a href="+code=pages" class="sref">pages /a>)> 375 /a>     5   a href="+code=BUG_ON"5class51 class="sref">io_ctl >ENOMEM /a>;> 365 /a>     5   a href="+code=io_ctl"5class51L373" ide=L373" class="line" namue=L373"> 375 /a>     5   a href="+code=io_ctl"5class51 class="sref">be split across trans/*c#L379" ide=L379" class="line" namue=L379"> 375 /a>     5   a href="+code=io_ctl"5class51 clas;t need ao orphao item because tre a /sareon> 375 /a>     5   a href="+code=io_ctl"5class51f="+c;t need ao orphao item because trmap ee-snex-con/sifree-recis any left.c#L378" ide=L378" class="line" namue=L378"> 375 /a>     5  if ( a href="+code=cle5r" cl51the csum areas.  If we don't chec.c#L379" ide=L379" class="line" namue=L379"> 375 /a>     5           a href="+code5memse51ctl" class="s_ctl/a> * a href="+="+code=cur" class="sref">cur /a> += (sizeof( a href="+code=u32" class="sref"class="sref">BTRFS "+code=orig" class="sref">orig /a> =  a href="+code=io_ctl" class="sref">io_c50" ide=L380" class="line" namue=L380"> 385 /a>}>-> a href="+cod erapchef="+code=io_ctl" classerapcheref">/a>,  a href="+code=u64" class="sref">u64 /a>  a  a href="+code="+code=check_crcs" class="sref">check_crcs /a>) {>="+code=io_ctl" class="sref">i-374" ide=L374" class="line" namue=L374"> 375 /a>>uptodate /a> &&a="+code=check_crcs" class="sref">check_crcs /a>) {>="+code=io_ctl" class="sref">i>che1"/a>-> a href="+code=num_pages" class="sref">num_pages /a>);> 375 /a>stati5 void  a href="+code=io_5tl_dr52=btrfs_readpage" class="sref">ENOMEM /a>;> 365 /a>{>io_ctl /a>-> a href="+cod  a href="+code=io_ctl" class="sref">io_ctl /a>, 1);> 365 /a>     5  int  a href="+code=i" 5lass=52sref">io_ctl } ide=L364" class="line" namue=L364"> 365 /a>     5ef="fs/btrfs/free-space-5ache.52L324" ide=L324" class="line" namue=L324"> 325 /a>     5   a href="+code=io_ctl_5nmap_5age" class="sref">io_ctl_unmamemcpyf="+code=io_ctlmemcpy_ctl /a>, 1);> - 1) >>> 365 /a>     5ef="fs/btrfs/free-space-5ache.52sref">io_ctl /a>-> a href="+cod erapchef="+code=io_ctl" classerapcheref">/a>,  a href="+code=u64" class="sref">u64 /a>  a  a href="+code="+code=check_crcs" class="sref">check_crcs /a>) {>="+code=io_ctl" class="sref">i-374" ide=L374" class="line" namue=L374"> 375 /a>     5  for ( a href="+code=i"5class52s="sref">clear /a>)>check_crcs /a>) {>="+code=io_ctl" class="sref">i>ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>;  a href="+code=i" class="sref">i /a>++) {" ide=L370" class="line" namue=L370"> 375 /a>     5          if ( a href="+5ode=i52btrfs/free-space-cachf">PAGE_CACHE_S="+cod  a href="+code=io_ctl" class="sref">io_ctl /a>, 1);> 365 /a>}>io_ctl e.c#L367" ide=L367" class="line" namue=L367"> 365 /a>     5                   a hre5="+co52L320"" ide=L368" class="line" namue=L368"> 365 /a>     5                   a hre5="+co53L361" ide=L361" class="line" namue=L361"> 365 /a>     5          }>io_ctl_set_genzero_remaining="+code=i" class="sreset_genzero_remaining="+codref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>,  a href="+code=u64" class="sref">u64 /a> " ide=L370" class="line" namue=L370"> 375 /a>     5  }>" ide=L380" class="line" namue=L380"> 385 /a>}>be split across trans/*c#L379" ide=L379" class="line" namue=L379"> 375 /a>     5ef="fs/btrfs/free-space-5ache.53 clas;t need ao orphao item because tre a /n> 375 /a>     5 int  a href="+code=io_c5l_pre53f="+c;t need ao orphao item because trneed eoenrc ee-sache.c#L378" ide=L378" class="line" namue=L378"> 375 /a>     5                        5 int 53the csum areas.  If we don't chec.c#L379" ide=L379" class="line" namue=L379"> 375 /a>{>cur /a> += (sizeof( a href="+code=u32" class="sref"class="sref">BTRFS "+code=orig" class="sref">orig /a> =  a href="+code=io_ctl" class="sref">io_c5 ide=L379" class="line" namue=L379"> 375 /a>}>-> a href="+cod erapchef="+code=io_ctl" classerapcheref">/a>,  a href="+code=u64" class="sref">u64 /a>  a  a href="+code="+code=check_crcs" class="sref">check_crcs /a>) {>="+code=io_ctl" class="sref">i-374" ide=L374" class="line" namue=L379"> 375 /a>     5   a href="+code=gfp_t" 5lass=5sref">gfp_t /aelse ide=L374" class="line" namue=L379"> 375 /a>     5  int  a href="+code=i" 5lass=54 class="sref">io_ctl /a>-> a href="+cod /a>( a href="+code=io_ctl" class="sref">io_ctl /a>);> 325 /a>> 345 /a>     5  for ( a href="+code=i"5class5"sref">i /a> =while/a>)>check_crcs /a>) {>="+code=io_ctl" class="sref">i>ctl /a>-> a href="+code=num_pages" class="sref">num_pages /a>;  a href="+code=i" class="sref">i /a>++) {"0" ide=L380" class="line" namue=L380"> 385 /a>}>PAGE_CACHE_S="+cod_ a href="+code=io_ctl" class="sref">io_ctl /a>, 1);> 375 /a>     5          if (! a href="5code=54 class="sref">io_ctl /a>-> a href="+cod erapchef="+code=io_ctl" classerapcheref">/a>,  a href="+code=u64" class="sref">u64 /a>  a  a href="+code="+code=check_crcs" class="sref">check_crcs /a>) {>="+code=io_ctl" class="sref">i-374" ide=L374" class="line" namue=L379"> 375 /a>     5                   a hre5="+co54f="+code=GFP_" ide=L368" class="line" namue=L368"> 365 /a>     5                  return5- a h54the c" ide=L365" class="line" namue=L365"> 365 /a>     5          }> 365 /a>     5           a href="+code5io_ct54on>io_ctl_prepare_read_entryf="+code=io_ctl" classread_entryref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>,  a href="+code=u64" class="sref">u64 /a>   ide=L365" class="line" namue=L365"> 365 /a>     5          if ( a href="+5ode=u54=unlock_page" class="sref">unnnnnio_ctl /a> * a href="+ss="srine"_namue_ctl" class="srbs="srine"_namueo_ctl /a>,  a href="+entryf="+code=io_ctlentryo_cthref="+code=mask"=8f="+code=io_ctlu8o_ctl /a>,  a href="+typef="+code=io_ctltyperef"5 ide=L379" class="line" namue=L379"> 375 /a>     5                   a hre5="+co55#L371" ide=L371" class="line" namue=L371"> 375 /a>     5                   a hre5="+co55 class="sref"io_ctl /a> * a href="+ss="srine"_namue_entryf="+code=io_ctlss="srine"_namue_entryo_ctl /a>,  a href="+ef="+code=io_ctleo_ct" ide=L367" class="line" namue=L367"> 365 /a>     5                  if (! 5 href5"+code=PageUptass="sref">io_ctl_prio_ctl" class="srrioref"" ide=L367" class="line" namue=L367"> 365 /a>}> 325 /a>     5                        5     55ge" class="sratl  /a>-> a href="+code=pages" class="sref">pages /a>)> 385 /a>     5                        5  a h55f="+code=io_ctl_drop_>  a href="+codrio_ctl" class="srrioref"tl /a>-> a href="+cod_ace-cachef="+code=io_ctl" classace-cacheref">/a>,  a href="+code=u64" class="sref">u64 /a>  a  a href="+code="+code=check_crcs" class="sref">check_crcs /a>) {>="+code=io_ctl" class="sref">4" ide=L374" class="line" namue=L379"> 375 /a>     5                        5 retu55 href="+code=uptodate_ctl/a> * a href="+rio_ctl" class="srrioref"5 ide=L379" class="line" namue=L379"> 375 /a>     5                  }>io_ctl_prio_ctl" class="srrioref"" ide=L367" class="line" namue=L367"> 365 /a>     5          }> 365 /a>     5  }> ide=L368" class="line" namue=L368"> 365 /a>>WARN_ON /a>( a href="ef="+code=io_ctleo_cttl /a>-> a href="+code=cur" class="sref">cur /a>;> 315 /a>     5  for ( a href="+code=i"5class56sref">__le64 /a> * a href="+entryf="+code=io_ctlentryo_ct /a> =  a href="+codeff=io_ctl" class="sroff=ioref"tl a href="fs/btrfval _toocpuree-space-cacheval _toocpuref">N /a>( a href="ef="+code=io_ctleo_ct /a> =  a href="+codeff=io_ctl" class="sroff=ioref"4" ide=L374" class="line" namue=L379"> 375 /a>     5           a href="+code5clear56sref">i /a> = a href="+code=entryf="+code=io_ctlentryo_ct /a> =  a href="+codbyts class="sref">i byts ref"tl a href="fs/btrfval _toocpuree-space-cacheval _toocpuref">N /a>( a href="ef="+code=io_ctleo_ct /a> =  a href="+codbyts class="sref">i byts ref"5" ide=L325" class="line" namue=L325"> 325 /a>     5           a href="+code5set_p56CHE_SHIFT" cl /a>,  a href="+typef="+code=io_ctltyperef"tl a href="fs/btrfef="+code=io_ctleo_ct /a> =  a href="+codtypef="+code=io_ctltyperef"" ide=L325" class="line" namue=L325"> 325 /a>     5  }>io_ctl_unmareparee=cur" class="sref">cur /a> += (sizeof( a href="+code=u32" class="sref">u3> 381 /io_ctl /a> * a href="+ss="srine"_namue_entryf="+code=io_ctlss="srine"_namue_entryo_ct5" ide=L325" class="line" namue=L325"> 325 /a>>io_ctl /a>-> a href="+code=orig" class="sref">orig /a> =  a href="+cod=L381" class="line" namue=L381"> 381 /io_ctl /a> * a href="+ss="srine"_namue_entryf="+code=io_ctlss="srine"_namue_entryo_ct5" ide=L325" class="line" namue=L325"> 325 /a>     5  return 0;> 265 /a>}>cur /a> += (sizeof( a hre=L381" class="line" namue=L3>che1"> 381 /io_ctl /a> * a href="+ss="srine"_namue_entryf="+code=io_ctlss="srine"_namue_entryo_ct5" ide=L370" class="line" namue=L370"> 375 /a>> 365 /a>stati5 void  a href="+code=io_5tl_se56ref"> ide=L368" class="line" namue=L368"> 365 /a>{>WARN_ON /a>( a href="="+cod /a>( a href="+code=io_ctl" class="sref">io_ctl /a>);> 325 /a>     5   a href="+code=__le64"5class57L342" ide=L342" class="line" namue=L342"> 345 /a>> 365 /a>     5   a href="+code=io_ctl_5ap_pa57#L334" ide=L334" class="line" namue=L334"> 335 /a>> 375 /a>     5   spao class="comment">5* /sp57re_pages" class="sref">io_ctl_prepare_read_bit=io_ctl" class="srrepare_read_bit=ioref">io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl /a>,  a href="+code=u64" class="sref">u64 /a>   ide=L365" class="line" namue=L365"> 365 /a> spao5class="comment">        5* Ski57 href="+code=uptodate" class="sref"io_ctl /a> * a href="+ss="srine"_namue_ctl" class="srbs="srine"_namueo_ctl /a>,  a href="+entryf="+code=io_ctlentryo_ct" ide=L370" class="line" namue=L370"> 375 /a>}>        5* 64b5t chun" ide=L380" class="line" namue=L380"> 385 /a>>        5*/ /s57sref">io_ctl rss="sref">io_ctl_prio_ctl" class="srrioref"" ide=L367" class="line" namue=L367"> 365 /a>     5  if ( a href="+code=io_5tl" c57ref"> ide=L368" class="line" namue=L368"> 365 /a>     5           a href="+code5io_ct58"sref">WARN_ON /a>( a href="rio_ctl" class="srrioref"tl /a>-> a href="+cod_ace-cachef="+code=io_ctl" classace-cacheref">/a>,  a href="+code=u64" class="sref">u64 /a>  a  a href="+code="+code=check_crcs" class="sref">check_crcs /a>) {>="+code=io_ctl" class="sref">4" ide=L374" class="line" namue=L368"> 365 /a>     5           a href="+code5io_ct58ss="sref">io_ctl /a> * a href="+rio_ctl" class="srrioref"5 ide=L379" class="line" namue=L379"> 375 /a>>;>"sref">io_ctl_prio_ctl" class="srrioref"" ide=L367" class="line" namue=L367"> 365 /a>     5           a href="+code5PAGE_58L324" ide=L324" class="line" namue=L324"> 325 /a>>io_ctl_unmamemcpyf="+code=io_ctlmemcpy_ctl /a>, 1);> - 1) >>> 365 /a>     5                        5  a h58sref">io_ctl /a>-> a href="+cod /a>( a href="+code=io_ctl" class="sref">io_ctl /a>);> 325 /a>     5  if (! a href="+code=io5ctl" 58L267" ide=L267" class="line" namue=L267"> 265 /a>     5          return - a hre5="+co58nit" class="se.c#L367" ide=L367" class="line" namue=L367"> 365 /a>     5   a href="+code=io_ctl"5class58sref"" ide=L334" class="line" namue=L334"> 335 /a>     5  if ( a href="+code=btr5s_ino58ref"> ide=L368" class="line" namue=L368"> 365 /a>     5           a href="+code5io_ct59 clas>be split across trans/*c#L379" ide=L379" class="line" namue=L379"> 375 /a>     5  return 0;>cheext dos after ee-sfatl wfreen havfreontiguous sectionsc#L379" ide=L379" class="line" namue=L379"> 375 /a>> 375 /a>     5ef="fs/btrfs/free-space-5ache.59L324"sum areas.  If we don&#* tace-logging"iouff"> nceait could havfrallocatcheacross weatsappears to be 2c#L379" ide=L379" class="line" namue=L379"> 375 /a>> nceawfrwould havfrmerged ee-sentries"when adding"ee-sain>cheext dosc#L379" ide=L379" class="line" namue=L379"> 375 /a>     5ref="fs/btrfs/free-space5cache59f="+c;t need ao orphao item * back to ee-sface-namue L379">  So run eeroughf="fsgamue L379" eeatswfrjustc#L379" ide=L379" class="line" namue=L379"> 375 /a>     5   a href="+code=kfree" 5lass=59the csum areas.  If we don&#*-loadcheandrmergereontiguous entries.  Teis will makef="fslogse.play"iouff"notc#L379" ide=L379" class="line" namue=L379"> 375 /a>     5ref="fs/btrfs/free-space5cache59nit" ;t need ao orphao item * blow up andrit will makeffor nicer allocator behavior.c#L378" ide=L378" class="line" namue=L378"> 375 /a>     5ef="fs/btrfs/free-space-5ache.59L369";t need ao orphao item *.c#L379" ide=L379" class="line" namue=L379"> 375 /a>stati5 void  a href="+code=io_5tl_un59ref">aptio" class="sref">io_ctl_merge_namue_tacef="+code=io_ctlmerge_namue_taceref">io_ctl /a> * a href="+ss="srine"_namue_btrfs/free-space-css="srine"_namue_btro_ctl /a>,  a href="+btrfs/free-space-c64 /a> " ide=L370" class="line" namue=L370"> 376 /a>{> 376 /a>     6  if ( a href="+code=io_6tl" c60 class="sref"io_ctl /a> * a href="+ss="srine"_namue_ctl" class="srbs="srine"_namueo_ctl /a>,  a href="+ef="+code=io_ctleo_ct,l /a>,  a href="+prevf="+code=io_ctlprevref"tl /a>-> a hrefNULLf="+code=io_ctlNULLref"" ide=L367" class="line" namue=L367"> 366 /a>     6           a href="+code6kunma602class="sref"io_ctl /a> * a href="+rb_nf="_ctl" class="srrb_nf="o_ctl /a>,  a href="+n_ctl" class="srnref"" ide=L367" class="line" namue=L367"> 366 3a>     6 f="fs/btrfs/free-space-6io_ct60L324" ide=L324" class="line" namue=L324"> 326 4a>     6 void  a href="+code=io_6io_ct60ge" c/a>,  a href="+again_ctl" class="sragaine" c: ide=L325" class="line" namue=L325"> 326 /a>     6  }>io_ctl /a>-> a hrefsain_lock1" class="line" ain_lockref">sref"/a>);> 326 /a>}>);>-> a hrefrb_firso_ctl" class="srrb_firsoref">sref"/a>);>-> a hrefn_ctl" class="srnref"" /a>-> a hrefn_ctl" class="srnref"tl /a>-> a hrefrb_nex-_ctl" class="srrb_nex-_ctl /a>);> 386 /a>>PAGE_CACHE_Sef="+code=io_ctleo_cttl /a>-> a hrefrb_entryf="+code=io_ctlrb_entry_ctl /a>);> * a href="+ss="srine"_namue_ctl" class="srbs="srine"_namueo_ct a  a href="+codeeff=io_="+code=io_ctl" claseff=io_="+co#L325" ide=L325" class="line" namue=L325"> 326 8a>>-> a hrefprevf="+code=io_ctlprevref"" ide=L370" class="line" namue=L370"> 376 9a>>ungoto /a>);> 326 /a>     6   a href="+code=WARN_ON6 clas61 class="sref">io_ctl ctl /a> * a href="+ef="+code=io_ctleo_ct /a> =  a href="+codbit=io_ctl" class="srbit=ioL274 ||";> =  a href="+codbit=io_ctl" class="srbit=ioL274" ide=L370" class="line" namue=L370"> 376 /a>     6   a href="+code=BUG_ON"6class61 class="sref">io_ctl sref">ungoto /a>);> 326 /a>     6   a href="+code=io_ctl"6class61+code=PageUptodate" cctl /a> * a href="+trevf="+code=io_ctlprevref" /a> =  a href="+codeff=io_ctl" class="sroff=ioref"tef">PAGE_CACHE_SItrevf="+code=io_ctlprevref" /a> =  a href="+codbyts class="sref">i byts ref"tll a href="fs/btrfef="+code=io_ctleo_ct /a> =  a href="+codeff=io_ctl" class="sroff=ioref"40" ide=L380" class="line" namue=L380"> 386 /a>     6   a href="+code=io_ctl"6class61CHE_SHIFT" class="sreace-cachf">PAGE_CACHE_Sun+cokrine"_namue_ctl" class="srun+cokrine"_namue_ctl /a>);> 326 4a>     6   a href="+code=io_ctl"6class61 class="sref">io_ctl ace-cachf">PAGE_CACHE_Sun+cokrine"_namue_ctl" class="srun+cokrine"_namue_ctl /a>);> 326 /a>     6   a href="+code=io_ctl"6class61f="+code=io_ctl_drop_ace-cachf">PAGE_CACHE_Strevf="+code=io_ctlprevref" /a> =  a href="+codbyts class="sref">i byts ref"t+l /a>-> a hrefef="+code=io_ctleo_ct /a> =  a href="+codbyts class="sref">i byts ref"" ide=L325" class="line" namue=L325"> 326 /a>}>i kmem_L325"rine"_ctl /a>);>  a  a href="+codeef="+code=io_ctleo_ct"" ide=L325" class="line" namue=L325"> 326 /a>>);> 326 8a>>PAGE_CACHE_Strevf="+code=io_ctlprevref"tl /a>-> a hrefNULLf="+code=io_ctlNULLref"" ide=L367" class="line" namue=L367"> 366 /a>>uace-cachf">PAGE_CACHE_S ain_un+ock1" class="line" ain_un+ockref">sref"/a>);> 326 /a>stati6 void  a href="+code=io_6tl_dr62=btrfs_readpage" class="sref"goto /a>);> 326 /a>     6ref="fs/btrfs/free-space6cache62 class="sref">io_ctl " ide=L334" class="line" namue=L334"> 336 /a>     6  int  a href="+code=i" 6lass=62sref"/a>);> 326 /a>     6ef="fs/btrfs/free-space-6ache.62CHE_SHIFT" class="sref">PAGE_CACHE_Strevf="+code=io_ctlprevref"tl /a>-> a hrefef="+code=io_ctleo_ct" ide=L367" class="line" namue=L367"> 366 /a>     6   a href="+code=io_ctl_6nmap_6age" class="sr" ide=L334" class="line" namue=L334"> 336 /a>     6ef="fs/btrfs/free-space-6ache.62sref">io_ctl /a>-> a href ain_un+ock1" class="line" ain_un+ockref">sref"/a>);> 326 /a>}> 366 /a>     6          if ( a href="+6ode=i62 chun ide=L365" class="line" namue=L365"> 366 /a>}>io_ctl_p__loadrine"_namue_b325"1" class="line"__loadrine"_namue_b325"ref">io_ctl /a> * a href="+ss="sre=root" class="srefss="sre=roo_ctl /a>,  a href="+e=root" class="sref">root /hrio_ctl /a> * a href="+cnf="_ctl" class="srinf="o_ctl /a>,  a href="+cnf="_ctl" class="srinf="o_ct  ide=L365" class="line" namue=L365"> 366 /a>     6                   a hre6="+co62=unlock_page" class="sref">unnnnnio_ctl /a> * a href="+ss="srine"_namue_btrfs/free-space-css="srine"_namue_btro_ctl /a>,  a href="+btrfs/free-space-c64 /a>   ide=L365" class="line" namue=L365"> 366 /a>     6                   a hre6="+co63=btrfs_readpage" class="sref"ge" io_ctl /a> * a href="+ss="srpathfs/free-space-css="srpatho_ctl /a>,  a href="+pathfs/free-space-cpatho_ct a  a href="+code=eraptio" class="sref">generaptio /a>)> 376 /a>     6          }> 386 /a>     6  }> * a href="+ss="srine"_namue_heade"+code=u32" classs="srine"_namue_heade"o_ctl /a>,  a href="+heade"+code=u32" clasheade"o_ct" ide=L325" class="line" namue=L325"> 326 /a>}> * a href="+ext do_buffe"+code=u32" clasext do_buffe"o_ctl /a>,  a href="+leaf_ctl" class="sr+eafo_ct" ide=L325" class="line" namue=L325"> 326 /a>     6ef="fs/btrfs/free-space-6ache.634class="sref"io_ctl /a> * a href="+code=io_ctl" class="sref">io_ctl/a> * a href="+code=io_ctl" class="sref">io_ct" ide=L325" class="line" namue=L325"> 326 /a>     6 int  a href="+code=io_c6l_pre635class="sref"io_ctl /a> * a href="+ss="srkeyf="+code=io_ctlss="srkeyo_ctl/a> * a href="+keyf="+code=io_ctlkeyo_ct" ide=L325" class="line" namue=L325"> 326 /a>}> * a href="+ss="srine"_namue_ctl" class="srbs="srine"_namueo_ctl /a>,  a href="+ef="+code=io_ctleo_ct,l /a>,  a href="+n_ctl" class="srnref"" ide=L367" class="line" namue=L367"> 366 /a>{>i bit=io ref"" ide=L367" class="line" namue=L367"> 366 /a>}>io_ctl /a>-> a href=eraptio" class="sref">generaptio /a>)>ientries_ctl" class="srn">ientriesref"" ide=L367" class="line" namue=L367"> 366 /a>     6   a href="+code=gfp_t" 6lass=6sref">gfp_t /a/a>-> a href=eraptio" class="sref">generaptio /a>)>ibit=io class="sref">i f">ibit=io ref"" ide=L367" class="line" namue=L367"> 366 /a>     6  int  a href="+code=i" 6lass=64"sref">WARN_ON /a>( a href="=eraptio" class="sref">generaptio /a>)> 366 /a>     6ef="fs/btrfs/free-space-6ache.64sref">__le64 /a> * a href="+=8f="+code=io_ctlu8o_ctl=  a href="+codtypef="+code=io_ctltyperef"" ide=L325" class="line" namue=L325"> 326 /a>     6  for ( a href="+code=i"6class64+code=PageUptass="sref">io_ctl_prio_ctl" class="srrioref"tl 7" ide=L367" class="line" namue=L367"> 366 /a>}> 326 /a>     6          if (! a href="6code=64ge" class="sref">io_ctl_unmaINIT_LIST_HEAD_ctl" class="srINIT_LIST_HEADref">sref"/a>);>i bit=io ref"5" ide=L325" class="line" namue=L325"> 326 /a>     6                   a hre6="+co64L366" ide=L366" class="line" namue=L366"> 366 /a>     6                  return6- a h64ref">kfree /a>be split across trans/* Nothing"inf="fsgamue L379", goodbye /.c#L379" ide=L379" class="line" namue=L379"> 376 /a>     6          }> 376 /a>     6           a href="+code6io_ct64=ClearPageChecked" cle.c#L367" ide=L367" class="line" namue=L367"> 366 /a>     6          if ( a href="+6ode=u64ref"> ide=L368" class="line" namue=L368"> 366 /a>     6                   a hre6="+co65"sref">WARN_ON /a>( a href="keyf="+code=io_ctlkeyo_ct.eraptio /a>)>-> a hrefBTRFS_FREE_SPACE_OBJECTID_ctl" class="srBTRFS_FREE_SPACE_OBJECTIDref"" ide=L325" class="line" namue=L325"> 326 /a>     6                   a hre6="+co65sref">__le64 /a> * a href="+keyf="+code=io_ctlkeyo_ct.eraptio /a>)> 326 /a>     6                  if (! 6 href65sref">i /a> = a href="+code=keyf="+code=io_ctlkeyo_ct.eraptio /a>)> 366 /a>}> 326 /a>     6                        6     65ge" class="sref">io_ctl_unmario_ctl" class="srrioref"tl /a>-> a hrefbs="srsearch_slroot" class="srefss="srsearch_slro_ctl /a>);>root /hrsref"/a>);> 366 /a>     6                        6  a h65f="+code=io_cctl /a> * a href="+rio_ctl" class="srrioref"i>ctl 0" ide=L370" class="line" namue=L370"> 376 /a>     6                        6 retu65 href="+code=uptodatee.c#L367" ide=L367" class="line" namue=L367"> 366 /a>     6                  }>gtl 0"0" ide=L380" class="line" namue=L380"> 386 /a>     6          }>-> a hrefss="sreeleaserpathfs/free-space-css="sreeleaserpath_ctl /a>);> 366 /a>     6  }> 366 /a>>WARN_O" ide=L365" class="line" namue=L365"> 366 /a>     6  for ( a href="+code=i"6class66L342" ide=L342" class="line" namue=L342"> 346 /a>     6           a href="+code6clear66sref">i /a> = a href="+code=rio_ctl" class="srrioref"tl -1" ide=L367" class="line" namue=L367"> 366 /a>}> 326 /a>     6  }>io_ctl_unmaleaf_ctl" class="sr+eafo_cttl /a>-> a hrefpathfs/free-space-cpatho_ct>num_pages /a>;  a hr a  class="sref">i f a  o_ct[0]" ide=L367" class="line" namue=L367"> 366 /a>     6ef="fs/btrfs/free-space-6ache.66sref">io_ctl /a>-> a hrefheade"+code=u32" clasheade"o_cttl /a>-> a hrefbs="sritem_pt"+code=u32" classs="sritem_pt"_ctl /a>);> += (sizeof( a hre=lro class="sref">i =lro o_ct[0]  ide=L365" class="line" namue=L365"> 366 /a>     6  return 0;> * a href="+ss="srine"_namue_heade"+code=u32" classs="srine"_namue_heade"o_ct4" ide=L364" class="line" namue=L364"> 366 /a>}>file_ra_stf">ientries_ctl" class="srn">ientriesref"tl /a>-> a hrefbs="srine"_namue_entries_ctl" class="srbs="srine"_namue_entries_ctl /a>);> 366 /a>     6ef="fs/btrfs/free-space-6ache.66sref">io_ctl /a>-> a hreff">ibit=io class="sref">i f">ibit=io ref"tl /a>-> a hrefbs="srine"_namue_bit=io class="sref">i bs="srine"_namue_bit=io _ctl /a>);> 366 /a>     6 void  a href="+code=io_6tl_se66ref">gfp_t /a/a>-> a hrefgenerationaptio" class="sgenerationref"tl /a>-> a hrefbs="srine"_namue_generationaptio" class="sbs="srine"_namue_generation_ctl /a>);> 366 /a>{>WARN_ON /a>( a href="ss="sreeleaserpathfs/free-space-css="sreeleaserpath_ctl /a>);> 366 /a>     6   a href="+code=__le64"6class67L342" ide=L342" class="line" namue=L342"> 346 /a>> += (sizeof( a hregenerationaptio" class="sgenerationref"tclass="sref">BTRFSgenerationaptio" class="sgenerationref""0" ide=L380" class="line" namue=L380"> 386 /a>     6   a href="+code=io_ctl_6ap_pa67CHE_SHIFT" class="sref">PAGE_CACHE_Strintk1" class="line"trintk_ctl /a>);>"ass=":sface-namue inf=" generation (%llu) did"c#L379" ide=L379" class="line" namue=L379"> 376 /a>>io_ctl ace-cac=be split acrio_ing">"cnot matchsface-namue L379" generation (%llu)\n"c#L379"  ide=L365" class="line" namue=L365"> 366 /a>     6   spao class="comment">6* /sp67f="+code=io_ctl_drop_ace-cac(unsig>chelongelong)/a> * a href="+BTRFS_I_ctl" class="srBTRFS_I_ctl /a>);> += (sizeof( a hregenerationaptio" class="sgenerationref"  ide=L365" class="line" namue=L365"> 366 /a>     6class="comment">        6* Ski67 href="+code=uptodate" class(unsig>chelongelong)/a> * a href="+generationaptio" class="sgenerationref""" ide=L364" class="line" namue=L364"> 366 /a>}>        6* 64b67btrfs/free-space-cache.c#L367" ide=L367" class="line" namue=L367"> 366 /a>>        6*/ /s678="+code=GFP_" ide=L368" class="line" namue=L368"> 366 /a>     6  if ( a href="+code=io_6tl" c67ref"> ide=L368" class="line" namue=L368"> 366 /a>     6           a href="+code6io_ct68"sref">WARN_O_ctl /a>-> a hreff">ientries_ctl" class="srn">ientriesref"" ide=L370" class="line" namue=L370"> 376 /a>     6           a href="+code6io_ct68 class="sref">io_ctl e.c#L367" ide=L367" class="line" namue=L367"> 366 /a>> 366 /a>     6           a href="+code6PAGE_683sref">WARN_ON /a>( a href="rio_ctl" class="srrioref"tl /a>-> a href="+cod_inio_ctl" class="sr="+cod_inioref">sref"/a>);>u64 /a>  a  a href="+code=nf="_ctl" class="srinf="o_ct a  a href="+codee=root" class="sref">root /"" ide=L364" class="line" namue=L364"> 366 /a>> 376 /a>     6                        6  a h68f="+code=io_ctl_drop_O /a>;>"sref">io_ctl_prio_ctl" class="srrioref"" ide=L367" class="line" namue=L367"> 366 /a>     6  if (! a href="+code=io6ctl" 68L267" ide=L267" class="line" namue=L267"> 266 /a>     6          return - a hre6="+co68nit" class="sref">file_ra_strio_ctl" class="srrioref"tl /a>-> a hrefreadahead_b325"1" class="line"readahead_b325"_ctl /a>);> 366 /a>> 376 /a>     6  if ( a href="+code=btr6s_ino68=unlock_page" class="goto /a>);> 366 /a>     6           a href="+code6io_ct69L361" ide=L361" class="line" namue=L361"> 366 /a>     6  return 0;>__le64 /a> * a href="+rio_ctl" class="srrioref"tl /a>-> a href="+cod_prepare="+code=i" class="sreset_genprepare="+codref">sref"/a>);>u64 /a>  a  a href="+code=nf="_ctl" class="srinf="o_ct a74" ide=L374" class="line" namue=L379"> 376 /a>> 376 /a>     6ef="fs/btrfs/free-space-6ache.69CHE_SHIFT" class="sregoto /a>);> 366 /a>> 376 /a>     6ref="fs/btrfs/free-space6cache69sref">io_ctl /a>-> a hrefrio_ctl" class="srrioref"tl /a>-> a href="+cod_ace-cachef="+code=io_ctl" classace-cacheref">sref"/a>);>u64 /a>  a04" ide=L364" class="line" namue=L364"> 366 /a>     6   a href="+code=kfree" 6lass=69s="sref">clear /a>)> 376 /a>     6ref="fs/btrfs/free-space6cache69btrfs/free-space-cachgoto /a>);> 366 /a>> 366 /a>     6 void  a href="+code=io_6tl_un69ref">gfp_t /a/a>-> a hrefrio_ctl" class="srrioref"tl /a>-> a href="+cod_ace-cagenerationaptio" class="s="+cod_ace-cagenerationref">sref"/a>);>u64 /a>  a  a href="+codegenerationaptio" class="sgenerationref""" ide=L364" class="line" namue=L364"> 367 /a>{>WARN_O_ctl>)> 377 /a>     7  if ( a href="+code=io_7tl" c70 class="sref">io_ctl goto /a>);> 367 /a>     7           a href="+code7kunma70+code ide=L367" class="line" namue=L367"> 367 3a>     7 f="fs/btrfs/free-space-7io_ct70CHE_SHIFT" clwhile/a>)>ientries_ctl" class="srn">ientriesref""0" ide=L380" class="line" namue=L380"> 387 4a>     7 void  a href="+code=io_7io_ct70 class="sref">io_ctl /a>-> a hrefef="+code=io_ctleo_cttl /a>-> a hrefkmem_L325"rzallocf="+code=io_ctlkmem_L325"rzalloc_ctl /a>);>   ide=L380" class="line" namue=L380"> 387 5a>     7 ef="fs/btrfs/free-space7e-spa70f="+code=io_ctl_drop_ace-cac="sref">io_ctl /a>-> a hrefGFP_NOFS_ctl" class="srGFP_NOFSref""" ide=L364" class="line" namue=L364"> 367 6a>     7   a href="+code=kfree" 7cache70 href="+code=uptodate_ctl /a>-> a hrefef="+code=io_ctleo_ct" ide=L364" class="line" namue=L364"> 367 7a>     7 ef="fs/btrfs/free-space7ache.70btrfs/free-space-cach>io_ctl goto /a>);> 367 8a>     7 f="fs/btrfs/free-space-7tl_ma70L369" ide=L367" class="line" namue=L367"> 367 9a>>-> a href="+cod_read_entryf="+code=io_ctl" classread_entryref">sref"/a>);>u64 /a>  a  a href="+codeef="+code=io_ctleo_ct,lsref"/a>);> 367 /a>     7   a href="+code=WARN_ON7 clas71 class="sref">io_ctl ctl /a> * a href="+rio_ctl" class="srrioref"50" ide=L380" class="line" namue=L380"> 387 /a>     7   a href="+code=BUG_ON"7class71 class="sref">io_ctl sref">un/a>-> a hrefkmem_L325"rine"class="sref">i kmem_L325"rine"_ctl /a>);>  a  a href="+codeef="+code=io_ctleo_ct"" ide=L325" class="line" namue=L325"> 327 /a>     7   a href="+code=io_ctl"7class71+code=PageUptodate" c>io_ctl goto /a>);> 367 /a>     7   a href="+code=io_ctl"7class71CHE_SHIFT" class="sre" ide=L368" class="line" namue=L368"> 367 4a>     7   a href="+code=io_ctl"7class71L375" ide=L375" class="line" namue=L375"> 377 /a>     7   a href="+code=io_ctl"7class71f="+code=io_ctl_drop__ctl /a>-> a hrefef="+code=io_ctleo_ct /a> =  a href="+codbyts class="sref">i byts ref"50" ide=L380" class="line" namue=L380"> 387 6a>     7  if ( a href="+code=cle7r" cl71 href="+code=uptodate" class==  a href="+codkmem_L325"rine"class="sref">i kmem_L325"rine"_ctl /a>);>  a  a href="+codeef="+code=io_ctleo_ct"" ide=L325" class="line" namue=L325"> 327 /a>> 367 8a>     7ref="fs/btrfs/free-space7cache71=ClearPageChecked" cl" ide=L368" class="line" namue=L368"> 367 9a>> ide=L368" class="line" namue=L368"> 367 /a>stati7 void  a href="+code=io_7tl_dr72=btrfs_readpage" clasctl /a> * a href="+typef="+code=io_ctltyperef"tll /a>-> a hrefBTRFS_FREE_SPACE_EXTENT_ctl" class="srBTRFS_FREE_SPACE_EXTENTref"50" ide=L380" class="line" namue=L380"> 387 /a>     7ref="fs/btrfs/free-space7cache72 class="sref">io_ctl " class==  a href="+codsain_lock1" class="line" ain_lockref">sref"/a>);> 327 /a>     7  int  a href="+code=i" 7lass=72+code=PageUptodate" c>io_ctl /a>-> a hrefrio_ctl" class="srrioref"tl /a>-> a href+cokrine"_namue_ctl" class="sr+cokrine"_namue_ctl /a>);> 327 /a>     7ef="fs/btrfs/free-space-7ache.72CHE_SHIFT" class="sre" class==  a href="+codsain_un+ock1" class="line" ain_un+ockref">sref"/a>);> 327 /a>     7   a href="+code=io_ctl_7nmap_72 class="sref">io_ctl ace-cac ctl /a> * a href="+rio_ctl" class="srrioref"50" ide=L380" class="line" namue=L380"> 387 /a>     7ef="fs/btrfs/free-space-7ache.72f="+code=io_ctl_drop_ace-cac="sref">if">PAGE_CACHE_Strintk1" class="line"trintk_ctl /a>);>"Duplicatcsentries"in "c#L379" ide=L379" class="line" namue=L379"> 377 /a>}>ifbe split acrio_ing">"face-namue L379", dumaing\n"c#L379"5" ide=L325" class="line" namue=L325"> 327 /a>>if">PAGE_CACHE_Skmem_L325"rine"class="sref">i kmem_L325"rine"_ctl /a>);>  a  a href="+codeef="+code=io_ctleo_ct"" ide=L325" class="line" namue=L325"> 327 /a>}>);> 367 /a>     7                   a hre7="+co72=unlock_page" class="sref">un" ide=L368" class="line" namue=L368"> 367 /a>     7                   a hre7="+co73=btrfs_readpage" clas}pelsec" ide=L380" class="line" namue=L380"> 387 /a>     7          }>io_ctl " class==  a href="+codBUG_ON_ctl" class="srBUG_ON_ctl  /a>-> a hreff">ibit=io class="sref">i f">ibit=io ref""" ide=L325" class="line" namue=L325"> 327 /a>     7  }>io_ctl /a>-> a hreff">ibit=io class="sref">i f">ibit=io ref"--" ide=L325" class="line" namue=L325"> 327 /a>     7ref="fs/btrfs/free-space7cache73CHE_SHIFT" class="sre" class==  a href="+codef="+code=io_ctleo_ct /a> =  a href="+codbit=io_ctl" class="srbit=ioL274 l /a>-> a hrefkzallocf="+code=io_ctlkzalloc_ctl /a>);> 367 /a>     7ef="fs/btrfs/free-space-7ache.73 class="sref">io_ctl ace-cac ctl  /a>-> a hrefef="+code=io_ctleo_ct /a> =  a href="+codbit=io_ctl" class="srbit=ioL274"c" ide=L380" class="line" namue=L380"> 387 /a>     7 int  a href="+code=io_c7l_pre73f="+code=io_ctl_drop_ace-cac="sref">if">PAGE_CACHE_Skmem_L325"rine"class="sref">i kmem_L325"rine"_ctl  ide=L380" class="line" namue=L380"> 387 /a>}>i /a> * a href="+ss="srine"_namue_b325"o_ctl" class="srbs="srine"_namue_b325"o/a>  a  a href="+codeef="+code=io_ctleo_ct"" ide=L325" class="line" namue=L325"> 327 /a>{>igoto /a>);> 367 /a>}> 367 /a>     7   a href="+code=gfp_t" 7lass=73odate" class="sref">uace-cachf">PAGE_CACHE_S ain_lock1" class="line" ain_lockref">sref"/a>);> 327 /a>     7  int  a href="+code=i" 7lass=74=btrfs_readpage" class="sref"/a>-> a hrefrio_ctl" class="srrioref"tl /a>-> a href+cokrine"_namue_ctl" class="sr+cokrine"_namue_ctl /a>);> 327 /a>     7ef="fs/btrfs/free-space-7ache.74 class="sref">io_ctl " class==  a href="+codftrfs/free-space-c64 /a>  /a> =  a href="+codtotalibit=io class="sref">i totalibit=io /a> ++" ide=L325" class="line" namue=L325"> 327 /a>     7  for ( a href="+code=i"7class74+code=PageUptodate" c>io_ctl /a>-> a hrefftrfs/free-space-c64 /a>  /a> =  a href="+codoo_ctl" class="srop/a>  /a> =  a href="+codrecalc_ta hshold class="sref">i recalc_ta hshold _ctl /a>);> 327 /a>     7           a href="+code7page"74CHE_SHIFT" class="sre" class==  a href="+codsain_un+ock1" class="line" ain_un+ockref">sref"/a>);> 327 /a>     7          if (! a href="7code=74 class="sref">io_ctl ace-cac ctl /a> * a href="+rio_ctl" class="srrioref"50" ide=L380" class="line" namue=L380"> 387 /a>     7                   a hre7="+co74f="+code=io_ctl_drop_ace-cac="sref">if">PAGE_CACHE_Strintk1" class="line"trintk_ctl /a>);>"Duplicatcsentries"in "c#L379" ide=L379" class="line" namue=L379"> 377 /a>     7                  return7- a h74 href="+code=uptodate" class="sref"f"sref">ifbe split acrio_ing">"face-namue L379", dumaing\n"c#L379"5" ide=L325" class="line" namue=L325"> 327 /a>     7          }>if">PAGE_CACHE_Skmem_L325"rine"class="sref">i kmem_L325"rine"_ctl /a>);>  a  a href="+codeef="+code=io_ctleo_ct"" ide=L325" class="line" namue=L325"> 327 /a>}>);> 367 /a>     7          if ( a href="+7ode=u74=unlock_page" class="sref">un" ide=L368" class="line" namue=L368"> 367 /a>     7                   a hre7="+co75=btrfs_readpage" class="sref"/a>-> a href+cst_add_tairfs/free-space-c+cst_add_tairref">sref"/a>);> =  a href="+cod+cstfs/free-space-c+csto_ct,lsref"/a>);>i bit=io ref"5" ide=L325" class="line" namue=L325"> 327 /a>     7                   a hre7="+co75 class="sref">io_ctl " ide=L334" class="line" namue=L334"> 337 /a>     7                  if (! 7 href75+code ide=L367" class="line" namue=L367"> 367 /a>}>PAGE_CACHE_Sf">ientries_ctl" class="srn">ientriesref"--" ide=L325" class="line" namue=L325"> 327 /a>     7                        7     75ge" class="sr" ide=L334" class="line" namue=L334"> 337 /a>     7                        7  a h75L366" ide=L366" class="line" namue=L366"> 367 /a>     7                        7 retu75 href="+code=/a>-> a href="+cod_un=io="+cof="+code=io_ctl" classun=io="+coref">sref"/a>);>u64 /a> 5" ide=L325" class="line" namue=L325"> 327 /a>     7                  }> 367 /a>     7          }> 377 /a>     7  }> 377 /a>>c#L379" ide=L379" class="line" namue=L379"> 377 /a>     7  for ( a href="+code=i"7class76L342";t need ao orphao item         *.c#L379" ide=L379" class="line" namue=L379"> 377 /a>     7           a href="+code7clear76sref">i /a> = a href="+code=+cst_for_e379_entry_safe_ctl" class="sr+cst_for_e379_entry_safe_ctl /a>);>PAGE_CACHE_Sf_ctl" class="srno_ct,lsref"/a>);>i bit=io ref",lf">PAGE_CACHE_S+cstfs/free-space-c+csto_ct50" ide=L380" class="line" namue=L380"> 387 /a>}>PAGE_CACHE_S+cst_ded_inio_ctl" class="sr+cst_ded_inioref">sref"/a>);> =  a href="+cod+cstfs/free-space-c+csto_ct5" ide=L325" class="line" namue=L325"> 327 /a>     7  }>io_ctl /a>-> a hrefrio_ctl" class="srrioref"tl /a>-> a href="+cod_read_bit=io_ctl" class="sr="+cod_read_bit=ioref">sref"/a>);>u64 /a>  a  a href="+codeef="+code=io_ctleo_ct"" ide=L325" class="line" namue=L325"> 327 /a>     7ef="fs/btrfs/free-space-7ache.76f="+code=io_ctl_drop__ctl>)> 377 /a>     7  return 0;>);> 367 /a>}> 337 /a>     7ef="fs/btrfs/free-space-7ache.76L369" ide=L367" class="line" namue=L367"> 367 /a>     7 void  a href="+code=io_7tl_se76ref">gfp_t /a/a>-> a href="+cod_drop="+code=i" class="sreset_gendrop="+codref">sref"/a>);>u64 /a> 5" ide=L325" class="line" namue=L325"> 327 /a>{>WARN_ON /a>( a href="merg"_namue_tne"class="sref">i merg"_namue_tne"_ctl /a>);> 327 /a>     7   a href="+code=__le64"7class77  7  return 0;> 36lass="sge7ne" namue=L342"> 346 /a>7);> 386 /a>7    677         a href="+code6PAGE_+cod_drf">if">PAGE_CACHE_S+cod_drf">ii" class="sreset_gendrop="+codref">sref"/a>);>u64 /a> 5" ide=L325" class="line" namue=L379"> 376 /a>7;>"sref">io_ctl_prio_ctl" class="srrioref"" ide=L3677 class="l7ne" namue=L365"> 366 /a>7    67  spaof="+code=uptodate" class=goto /a>);> 366 /a>7    677                      7 retu75 hrefgfp_t /a/a>-> a href="+cod_drop="+code=i" class="sreset_gendrop="+codref">sref"/a>);>u64 /a> 5" ide=L325" class="line" namue=L364"> 366 /a>7>sref"/a>);>__"sreeleamovemue_b325"o_ctl" class="sref">i merg"_namue_tne"_ctl /a>);> 366 /a>7 366 /a>7    67 if ( ree-space7cache76nit" class="s" ide=L334" class="l7ne" namue=L368"> 366 /a>7    678         a href="+code6io_ct69L361" ide=L3617 class="l7ne" namue=L370"> 376 /a>7    67      "+code=i"6class64+cco62sref"rss="sref">io_ctl_p__loadri"_namue_b325"1" class="line"__loadrine"_namue_b325"ref="srnfo href="ss="srine"_namu"srnfoss="c*f="+code=uptodat"srnfo href="ss="srinu"srnfoss=""srbs="srine"_namue_b325"o/a>   ide=L380" class="l7ne" namue=L367"> 366 /a>7io_ctl_p__loadri"sref"bdtne_groupref">iss="c*f="+code=uptodabdtne_groupo_ctl_p__loadri"dtne_grouphref="fs/rio_ctl" class="srrioref"5 ide=L379" class="l7ne" namue=L367"> 366 /a>7    67      S+cstfs/free-space-c+csto_ct50" ide=L380" class="l7ne" namue=L364"> 366 /a>7unnnnnio_ctl /a> * a href="+ss="srine"_namue_btrfs/free-space-css="srine"_namue_btro_ctl /a>,  a hrnaptio" class="sgendtne_groupo_ctl_p__loadri"dtne_grouphref * a href="+ss="snamue_btrfs/free-sref="ouo_ctl" class="srouoref"" ide=L3677 class="l7ne" namue=L379"> 376 /a>7    67              e"__loadrine"_namue_b325"ref">io_ctl /a> * a href="+ss="sre=root" class="srefss="sre=roo_ctl /a>,  a hrefnaptio" class="sget"srnfo href="ss="srinu"srnfoss="ref="ftrfs/free-space-c64s="sre=roo_ctl /a>,e-c64s="see-sref="ouo_ctl" class="srouoref"" ide=L3677 class="line" namue=L367"> 366 /a>7    678                      6 int 636clasroot /hrio_ctl /a> * a href="+cnf="_ctl" class="srinf="o_ctl /a>,  a href="ref="ouo_ctl" class="srouoref"" ide=L3677 class="line" namue=L267"> 266 /a>7    678f="fs/btrfs/free-space6cache63ctl" ef="+s" io_ctl /a> * a href="+ss="srpathfs/free-space-css="srpatho_ctl /a>,  a hrefref="ouo_ctl" class="srouoref"" ide=L3677 class="line" namue=L367"> 366 /a>7io_ctl_prio_ctl" class="srrioref"tl 7" ide=L3677 class="l7ne" namue=L379"> 376 /a>7    678oid  a href="+code=io_7tl_seboo* a href="+ss="sroo*ERN_ERee-space7cache7 splekeyo_ct.eraptio 7 splekhrefref="ouo_ctl" class="srouoref"" ide=L3677 class="l7ne" namue=L367"> 366 /a>7    679int  a href="+code=i" 6lass=64"sref">WARN_ON /a>( a href="=eraptio" cusekeyo_ct.eraptio useka hrnaptio" class="sgensref"bdtne_grouprusekeyo_ct.eraptio nsref"bdtne_groupruseki" class="sreset_gendrop=ndtne_groupo_ctl_p__loadri"dtne_grouphref,  ite 366 /a>7    679 a href="+code=__le64"6class67L342" ide=L3427 class="l7ne" namue=L379"> 376 /a>7be split across trans/*c#L379" ide=L379" class="l7ne" namue=L379"> 376 /a>7    67f="fs/btrfs/free-space-7ache.76"sref;t Ie adis "dtne group has "een mark  * ="be/frear  *for oner 6asoo  aageChe>be split across trans/*c#L379" ide=L379" class="l7ne" namue=L367"> 366 /a>7c#L379" ide=L379" class="l7ne" namue=L375"> 376 /a>7    67ef="fs a href="+code=i"7class76L342";t need ao orphao item         *.c#L379" ide=L379" class="l7ne" namue=L364"> 366 /a>7    679                      7 retusref">uace-cachf">PAGE_CACHE_S ain_lock1" class="line" ainndtne_groupo_ctl_p__loadri"dtne_grouphrefuace-cachf">PAGE_Cdtne"_lock1" class="line"tne"_lock#L325" ide=L325" class="l7ne" namue=L379"> 376 /a>7    679        }>, disk_L325"rstati     aptio" class="sgenEE_SPADC_WRITTEl " class==  a hrE_SPADC_WRITTElCACHE_S+cstfs/free-space-c+csto_ct50" ide=L380" class="l7ne" namue=L367"> 366 /a>7uace-cachf">PAGE_Cdtne"_lock1" class="line"tne"_lock#L325" ide=L325" class="l7ne" namue=L367"> 366 /a>7    679}> 367 /a>8>WARN_O" ide=L3658 class="l8ne" namue=L379"> 377 /a>8    780 a href="+code=__le64"7classss="sre" class==  a href="+codsain_un+ock1" class="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphrefuace-cachf">PAGE_Cdtne"_lock1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L367"> 367 /a>8    78          a href="+code7kunma70+code ide=L3678 class="l8ne" namue=L367"> 367 3a>8    780         a href="+code6PAGE_s="srpatho_ctl /a>,  a hrefnaptio" class="sgensref"a hres" io_ctl /a> * a href="+sa hres" io+ock1ck1" class="line"tne"_lock#L325" ide=L3258 4lass="l8ne" namue=L367"> 366 /a>8    78void  a href="3 class="sref">io_ctleaserpath_ctl /a>);> 376 /a>8    78ef="fs/btrfs/free-spacr6e-spa65=unlock_page" class="e.c#L367" ide=L3678 6lass="l8ne" namue=L364"> 366 /a>8    780                      7 retus="sr+eafo_ct a  a href="+codepathfs/free-space-rch_sle=i"it4s="sre=roo_ctl /a>,-rch_sle=i"it4s="sref="fs/7trfs/76 href="+code=uptodate14=L368"> 38 class="l8ne" namue=L364"> 367 7a>8    780        return - a hre6="+cos="sr+eafo_ct a  a href="+codepathfs/free-space-kip_S aisrefe=roo_ctl /a>,-kip_S aisreref="fs/7trfs/76 href="+code=uptodate14=L368"> 38 8lass="l8ne" namue=L367"> 366 /a>8    78f="fs/btrfs/free-space-7tl_ma70L369" ide=L3678 class="l8ne" namue=L367"> 367 9a>8 *sookuprnamue_btrfs7oot lass="sref">i merg"_o_ctlNULLref" a  a href="+codss="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphreff="leaf_ctl" class="sr+eafo_ct a  a href="+cck1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L367"> 367 /a>8    781f="fs/btrfs/free-space7cache70"sIStrintk_ctl /a>);>i merg"__> 38_read_ctl /a>);> 387 /a>8    78  a href="+code=BUG_ONge" class="sref">unnnnnio_" io_ctl /a> * a href="+snnio_" iolass="sref">i merg"_s="sr+eafo_ct a  a href="+cck1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L325"> 327 /a>8    78  a href="+code=io_ctlr6e-spa65=unlock_page" class="e.c#L367" ide=L3678 class="l8ne" namue=L367"> 367 /a>8    78  a href="+codee-space-6ache.66"sref">WARN_O" ide=L3658 class="l8ne" namue=L368"> 367 4a>8    78  a href="+code=io_ctl"7class71L375" ide=L3758 class="l8ne" namue=L375"> 377 /a>8    78  a href="+cod   return6- a h64ref">kfrWe may havbitonverteao orp_ing">and mag">fsbit=iosp_ivalid.;t need ao orphao item         *.c#L379" ide=L3798 class="l8ne" namue=L380"> 387 6a>8    781                      7 retusref">uace-cachf">PAGE_CACHE_S ain_lock1" class="line" ainndtne_groupo_ctl_p__loadri"dtne_grouphrefuace-cachf">PAGE_Cdtne"_lock1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L325"> 327 /a>8, disk_L325"rstati     aptio" class="sgenEE_SPADC_WRITTEl " class==  a hrE_SPADC_WRITTElCACHE_S+cstfs/free-space-c+csto_ct50" ide=L3808 class="l8ne" namue=L367"> 367 8a>8    78ef="fs/btrfs/free-space=__le64"7classss="sre" class==  a href="+codsain_un+ock1" class="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphrefuace-cachf">PAGE_Cdtne"_lock1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L368"> 367 9a>8unnnnnio_" io_ctl /a> * a href="+snnio_" iolass="sref">i merg"_s="sr+eafo_ct a  a href="+cck1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L368"> 367 /a>8tati78void  a href="+code=io-6ache.69CHE_SHIFT" class="sregoto /a>);> 387 /a>8    78ef="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L3658 class="l8ne" namue=L325"> 327 /a>8    782         a href="+code7clearss="sre" class==  a href="+codsain_un+ock1" class="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphrefuace-cachf">PAGE_Cdtne"_lock1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L325"> 327 /a>8    782         a href="+code6set_p66L324" ide=L3248 class="l8ne" namue=L325"> 327 /a>8    78  a href="+codde=i"6class64+code=PageUptass="sref">io_ctln - a hre6="+co__co62sref"rss="sref">io_ctl_p__loadri__co62sref"rss="sref">ilass="sref">i merg"_t"srnfo href="ss="srinu"srnfoss="ref="ftrfs/free-space-c64s="sre=roo_ctl /a>,e-c64s="see-sode=u64" class="sref">u64 /a>  a  a href="+code=nf="_ctl" classine"_namue_ctl /a>);> 387 /a>8    78f="fs/btrfs/free-space-7ache.72f="+cod="+codde=i"6class64+cio_ctlkeyo_ct a  a href="+codss="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="keahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_lock1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L379"> 377 /a>8>unnnnnio_" io_ctl /a> * a href="+snnio_" iolass="sref">i merg"_s="sr+eafo_ct a  a href="+cck1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L325"> 327 /a>8 * a hreflt;= 0f1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L325"> 327 /a>8> 367 /a>8    782="fs/btrfs/free-space-7ache.71ref"> ide=L3688 class="l8ne" namue=L368"> 367 /a>8    783int  a href="+code=i" 6lass=sref">uace-cachf">PAGE_CACHE_S ain_lock1" class="line" ain_lockref">sref"/a>);> 387 /a>8    783 a href="+code=__le64"7class7 splekeyo_ct.eraptio 7 splekhrefctl="sref">i merg"_namue_tne"_ctl /a>);>i merg"_ndtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="keahref.e.69CHE_SHIFT" cffsee-spelsecctl /a>cffseehrefc-ref="=eraptio" cusekeyo_ct.eraptio useka hrn-1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L325"> 327 /a>8    78 }> 327 /a>8    783         a href="+code6PAGE_ss="sre" class==  a href="+codsain_un+ock1" class="line" ain_un+ockref">sref"/a>);> 367 /a>8    783 a href="+code=io_ctl"7class71L375" ide=L3758 class="l8ne" namue=L380"> 387 /a>8    78int  a href="+3 class="sref">io_ct7 splekeyo_ct.eraptio 7 splekhrefE_S+cstfs/free-space-c+csto_ct50" ide=L3808 class="l8ne" namue=L380"> 387 /a>8>sref"/a>);>__"sreeleamovemue_b325"o_ctl" class="sref">i merg"_namue_tne"_ctl /a>);> 327 /a>8>i merg"_sFT" class="sref">PAGE_CACHE_Strintk1" class="line"trintk_ctl /a>);>ifbg">"Duplicatcsentries"in "c#L379" ide=L3798 class="l8ne" namue=L367"> 367 /a>8>-> a href="keahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_lock1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L368"> 367 /a>8    78  a href="+code=gfp_t"de=i"6class64+code=PageUptass="sref">io_ctl-/7trfs/76 href="+code=uptodate14=L368"> 38 class="l8ne" namue=L325"> 327 /a>8    784="fs/btrfs/free-space-6ache.66"sref">WARN_O" ide=L3658 class="l8ne" namue=L325"> 327 /a>8    78f="fs/e.69CHE_SHIFT" class="sregoto /a>);> 327 /a>8    784f="fs/btrfs/free-space6cache69+code=PageUptctl /a> * a hreflt; 0f_S+cstfs/free-space-c+csto_ct50" ide=L3808 class="l8ne" namue=L325"> 327 /a>8    78          a href="+cod   return6- a h64ref">kfrTdis t=iosp_s bogus, make sursp_t gets trear  *t need ao orphao item         *.c#L379" ide=L3798 class="l8ne" namue=L325"> 327 /a>8    78         if (! a href=         7 retusref">uace-cachf">PAGE_CACHE_S ain_lock1" class="line" ainndtne_groupo_ctl_p__loadri"dtne_grouphrefuace-cachf">PAGE_Cdtne"_lock1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L380"> 387 /a>8    78                  a hrlass="line" ainndtne_groupo_ctl_p__loadri"dtne_grouphref, disk_L325"rstati     ptio" class="sgenEE_SPADC_CLEAntk_ctl /a>);> 377 /a>8    78                 returef="+code7clearss="sre" class==  a href="+codsain_un+ock1" class="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphrefuace-cachf">PAGE_Cdtne"_lock1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L325"> 327 /a>8    78         }>io_ctl65=unlock_page" class="e.c#L367" ide=L3678 class="l8ne" namue=L325"> 327 /a>8> 367 /a>8    78         if ( a href=""sref">i merg"_sFT" class="sref">PAGE_CACHE_Strintk1" class="line"trintk_ctl /a>);>ifbs split acrbg">"Duplicatcsentries"in "c#L379" ide=L3798 class="l8ne" namue=L368"> 367 /a>8    78                  a hre7="+coptodate" class="sref"f"sref"or cdtne group sface-naue L379" generatdss="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="keahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_lock1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L325"> 327 /a>8    785f="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L3658 class="l8ne" namue=L334"> 337 /a>8    78                 if (! 7 href75+code ide=L3678 class="l8ne" namue=L367"> 367 /a>8>+plalass="sref">i merg"__> 38_read_ctl /a>);> 327 /a>8    78               6  a h68f="+code=io_ctl_drop_O /a>;>"sref">io_ctl_prio_ctl" class="srrioref"" ide=L3678 class="l8ne" namue=L334"> 337 /a>8    78      ee-space-6ache.66"sref">WARN_O" ide=L3658 class="l8ne" namue=L366"> 367 /a>8    78      e-space-6ache.66"sref">WARN_O" ide=L3658 class="l8ne" namue=L325"> 327 /a>8    78         return6- a h64ref">kfPageChe>be split across trans/*c#L379" ide=L3798 class="l8ne" namue=L365"> 367 /a>8    78       a href="+code=i"7class* __"sreelwrite_);>_L325" - write );>it acrd rnfo* ="hre>be split across trans/*c#L379" ide=L3798 class="l8ne" namue=L379"> 377 /a>8    78 }>belodes* =reeChe>be split across trans/*c#L379" ide=L3798 class="l8ne" namue=L379"> 377 /a>8ifbs split acrbwem    gosre* ="write );>reeChe>be split across trans/*c#L379" ide=L3798 class="l8ne" namue=L379"> 377 /a>8    78 for ( a href="+code=i"7class* @"dtne_group - fsbi"dtne_group "or tdis t=iosp_fp_t belodes* = a "dtne_grouphreChe>be split across trans/*c#L379" ide=L3798 class="l8ne" namue=L379"> 377 /a>8    78       a href="+code=i"7class* @trans - fsbitrans handlhreeChe>be split across trans/*c#L379" ide=L3798 class="l8ne" namue=L380"> 387 /a>8> 327 /a>8    786oid  btrfs/free-space-7ache.* @cffsee - fsbicffsee "or tde keabwe'llp_iser>reeChe>be split across trans/*c#L379" ide=L3798 class="l8ne" namue=L325"> 327 /a>8    786f="fs a href="+code=i"7classPageChe>be split across trans/*c#L379" ide=L3798 class="l8ne" namue=L379"> 377 /a>8    78 returbtrfs/free-space-7ache.* Tdis funcener"writes );>iai">ifbs split acrbree-spa = diski"or quine recovef="+eChe>be split across trans/*c#L379" ide=L3798 class="l8ne" namue=L367"> 367 /a>8>.* er"mount.  Tdis willpr6e-spa6p_fp_t was successfullp_i"writsre* sbit=iosp);>,"+eChe>be split across trans/*c#L379" ide=L3798 class="l8ne" namue=L334"> 337 /a>8    786      a href="+code=i"7class* and -1p_fp_t was notentries"are added eo ee-sL379">c#L379" ide=L3798 class="l8ne" namue=L367"> 367 /a>8    786}> 327 /a>8>_L325"ef">sref"/a>);>__"sreelwrite_);>_L325"lass=e"__loadrine"_namue_b325"ref">io_ctl /a> * a href="+ss="sre=root" class="srefss="sre=roo_ctl /a>,  a href,          6 int 636clasroot /hrio_ctl /a> * a href="+cnf="_ctl" class="srinf="o_ctl /a>,  a href="r    a href="+code6set_p66L324" ide=L3248 class="l8ne" namue=L325"> 327 /a>8    787="fs/btrfs/free-space-7ache.77777lock_page" class="sref">unnnnnio_ctl /a> * a href="+ss="srine"_namue_btrfs/free-space-css="srine"_namue_btro_ctl /a>,  a hrr    a href="+code6set_p66L324" ide=L3248 class="l8ne" namue=L342"> 346 /a>8io_ctl_p__loadri"sref"bdtne_groupref">iss="c*f="+code=uptodabdtne_groupo_ctl_p__loadri"dtne_grouphrefr    a href="+code6set_p66L324" ide=L3248 class="l8ne" namue=L380"> 386 /a>8    687         a href="+code7page"772f=+code=uptodate" class="sref"trans_handlho_ctl_p__loadri"sref"trans_handlhss="c*f="+code=uptodatrans  /a> =  a href="anshrefr    a href="+code6set_p66L324" ide=L3248 class="l8ne" namue=L379"> 376 /a>8 * a href="+ss="srpathfs/free-space-css="srpatho_ctl /a>,  a hreftdss="line" ain_u64"sref">WARN_ON /a>( a href="=eraptio" ccffsee-spelsecctl /a>cffseehreff1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L365"> 366 /a>8    68  spaoS+cstfs/free-space-c+csto_ct50" ide=L3808 class="l8ne" namue=L365"> 366 /a>8    687                      6 int 636clasrine"_namue_btrfsheada href="+ss="srineine"_namue_btrfsheada rpathfs/free-space-csheada href="+ss="srinheada rpatctl_prio_ctl" class="srrioref"" ide=L3678 class="l8ne" namue=L364"> 366 /a>8>PAGE_Cdeafrpatctl_prio_ctl" class="srrioref"" ide=L3678 class="l8ne" namue=L367"> 366 /a>8 366 /a>8    6879ss="comment"ree-space6cache63ctl" _S+csheade-cachf">PAGE_CdS+csheadrpathfs/free-space-cssos  /a> =  a hrefsoshreftdfs/free-space-cs"nf="o_ctl /a>, aef="ref="ouo_ctl" class="srouoref"" ide=L3678 class="l8ne" namue=L368"> 366 /a>8    6880="fs/btrfs/free-space6cache63ctl" ext7e-_statinf="o_ctl /a>, ext7e-_statiee-space-css="srine"_n acrd_statinf="o_ctl /a>, n acrd_stati     ptio" class="sgenNULLnf="o_ctl /a>, NULLef="ref="ouo_ctl" class="srouoref"" ide=L3678 class="l8ne" namue=L370"> 376 /a>8    6881                     6 int 636clasrine"_namueclusta href="+ss="srineine"_namueclusta ee-space-css="srine"_nlusta href="+ss="srinclusta ee-spptio" class="sgenNULLnf="o_ctl /a>, NULLef="ref="ouo_ctl" class="srouoref"" ide=L3678 class="l8ne" namue=L367"> 366 /a>8( a href="mext7e-_ioRN_ONee-space-css="srine"_unpi"nf="o_ctl /a>, unpi"ee-spptio" class="sgenNULLnf="o_ctl /a>, NULLef="ref="ouo_ctl" class="srouoref"" ide=L3678 class="l8ne" namue=L367"> 366 /a>8    6883or ( a href=ree-space6cache63ctl" "+codref">sref"/a>);>sref"/a>);> 366 /a>8PAGE_CdS+csheadrpath  6 int 636clasrio_ct_o_ctleo_ct /a> =  ario_ct_o_ctf="cref="ouo_ctl" class="srouoref"" ide=L3678 class="l8ne" namue=L379"> 376 /a>8    68              e"__loadrine"_namue_b325"refkea>-> a href="25"refkearpath  6 int 636claskea>-> a href="keahrefref="ouo_ctl" class="srouoref"" ide=L3678 class="l8ne" namue=L367"> 366 /a>8    688                      7 retu64"sref">WARN_ON /a>( a href="=eraptio" cstarsre=roo_ctl /a>,-tarshreftdss="line" ain_uext7e-_starsre=roo_ctl /a>,ext7e-_starshreftdss="line" ain_uext7e-_ende-cachf">PAGE_Cext7e-_endhreftdss="line" ain_ule"nf="o_ctl /a>, le"hrefref="ouo_ctl" class="srouoref"" ide=L3678 class="l8ne" namue=L267"> 266 /a>8    688f="fs/btrfs/fe+code=i"6class64+c class="sref">PAGE_CACf">ientriesctl65=unlock_page" class="e.c#L367" ide=L3678 class="l8ne" namue=L367"> 366 /a>8);> 376 /a>8    688oid  a href="e+code=i"6class64+code=PageUptass="sref">io_5=unlock_page" class="e.c#L367" ide=L3678 class="l8ne" namue=L367"> 366 /a>8    689int  a href="e+code=i"6class64+c r href="+ss="sriner ee-sppt-/7trfs/76 href="+code=uptodate14=L368"> 38 class="l8ne" namue=L361"> 366 /a>8    689 a href="+code=__le64"6class67L342" ide=L3428 class="l8ne" namue=L379"> 376 /a>8 =  ario_ct_o_ctf="c"k1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L379"> 376 /a>8    689         a href="+code6set_p66L324" ide=L3248 class="l8ne" namue=L367"> 366 /a>8io_cti_sizead_bief">sref"/a>);><_sizead_bilass="sref">i merg"__> 38_read_ctl /a>);> 376 /a>8    689f="fs/btrfs/free-spacr6e-spa-/7trfs/76 href="+code=uptodate14=L368"> 38 class="l8ne" namue=L364"> 366 /a>8    689     e-space-6ache.66"sref">WARN_O" ide=L3658 class="l8ne" namue=L379"> 376 /a>8    689        return - a hre6="+co="sref">io_ctl /a>-> a hrefrio_ctl" class="srris="sref">PAGE_CACHEs="srris="s+ock1" class="line" ain_uit=ioref">sref"/a>);>u64 /a>  a  a href="+code=nf="_ctl" classs="sre=roo_ctl /a>,  a href"k1" class="line"tne"_lock#L325" ide=L3258 class="l8ne" namue=L367"> 366 /a>8 366 /a>8    689}> 39 class="l9ne" namue=L364"> 367 /a>9> 377 /a>9    790 a href="+code  return6- a h64ref">kfrGes  orpclusta  "or tdis "dtne_group _fp_t ex_ctsa* need ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L367"> 367 /a>9    790f="fs/btrfs/free-space6cache69+cbdtne_groupo_ctl_p__loadri"dtne_grouphref_CACHECACHE ass="sref">io_ctdS+csempta>-> a href="dS+csempta+ock1" class="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphref =  aclusta _o_ctref="f1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L367"> 367 3a>9    790         a href="+code7set_p76CHE_SHnlusta href="+ss="srinclusta ee-spptio" class="sgendS+cse_ctl>-> a href="dS+cse_ctllass="sref">i merg"_ndtne_groupo_ctl_p__loadri"dtne_grouphref =  aclusta _o_ctref=.e.69CHE_SHIFT" nextnf="o_ctl /a>, aexthrefr    a href="+code6set_p66L324" ide=L3249 4lass="l9ne" namue=L367"> 366 /a>9    790        if (! a href=e7page"772f==========         6 int 636clasrine"_namueclusta href="+ss="srineine"_namueclusta ee-sr    a href="+code6set_p66L324" ide=L3249 5lass="l9ne" namue=L375"> 376 /a>9    79ef="fs/btrfs/free-spacccccccccccccccccccccc"sref">i merg"_ndtne_group_o_ctleo_ct /a> =  ardtne_group_o_cthref"k1" class="line"tne"_lock#L325" ide=L3259 6lass="l9ne" namue=L364"> 366 /a>9    790     e-space-6ache.66"sref">WARN_O" ide=L3659 class="l9ne" namue=L364"> 367 7a>9    790        return  return6- a h64ref">kfrLtne all code= firstoso wbit=n dtne addf=xt7e-  claly.;t need ao orphao item         *.c#L379" ide=L3799 8lass="l9ne" namue=L367"> 366 /a>9    7908       return - a hre6="+cos="srripreparet /a/a>-> a href="+cod_drpreparet /a/a+ock1" class="line" ain_uit=ioref">sref"/a>);>u64 /a>  a  a href="+code=0"k1" class="line"tne"_lock#L325" ide=L3259 9lass="l9ne" namue=L367"> 366 /a>9 ide=L3689 class="l9ne" namue=L367"> 367 /a>9    791int  a href="+code=i" 6lass=dtne_ext7e-_bita>-> a href="dtne_ext7e-_bita+ock1" class="line" ain_uEE_SPAI>-> a href="EE_SPAIlass="sref">i merg"__> 38_read_ctl /a>);>sref"/a>);><_sizead_bilass="sref">i merg"__> 38_read_ctl /a>);> 387 /a>9    79  a href="+code=BUG_ONNNNNNNNNN0E_CACHE_Sf_ctl" class=n acrd_statinf="o_ctl /a>, n acrd_stati    "k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L325"> 327 /a>9    791                if (! 7 href75+code ide=L3679 class="l9ne" namue=L367"> 367 /a>9    791         a href="+code6PAGE_"srinf="o_ctl /a>, a href="pptio" class="sgenrb_firstnf="o_ctl /a>, rb_first+ock1" class="line" ain_unamue_tne"_ctl /a>);>nnio_ctl /_cffsee    "k1" class="line"tne"_lock#L325" ide=L3259 4lass="l9ne" namue=L368"> 367 4a>9    791oid  a href="3 class="sref">io_ct"srinf="o_ctl /a>, a href="pCACHECACHE e7set_p76CHE_SHnlusta href="+ss="srinclusta ee-sf_S+cstfs/free-space-c+csto_ct50" ide=L3809 class="l9ne" namue=L375"> 377 /a>9    791f="fs/btrfs/free-spacef="+code6PAGE_"srinf="o_ctl /a>, a href="pptio" class="sgenrb_firstnf="o_ctl /a>, rb_first+ock1" class="line" ain_unlusta href="+ss="srinclusta ee-s,  a href"k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L380"> 387 6a>9    791                returef="+code7clearnlusta href="+ss="srinclusta ee-spptio" class="sgenNULLnf="o_ctl /a>, NULLef="ref="ouo_ctl" class="srouoref"" ide=L3679 class="l9ne" namue=L325"> 327 /a>9 367 8a>9    791="fs/btrfs/free-space-7tl_ma70L369" ide=L3679 class="l9ne" namue=L368"> 367 9a>9kfrMake surspwbit=n f_t our crct=io ="fsbifirsto /a/;t need ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L368"> 367 /a>9tati792f="fs/btrfs/free-space7cache70"sit=ioref">sref"/a>);> 387 /a>9    792 a href="+code=BU-space7cache70"sit=ioref">sref"/a>);>-> a href="HE_S /a/aee-spa sizeof-space7cache70"sune" namue=LN_ON /a }> 327 /a>9    792}> 327 /a>9    792         a href="+cod-6ache.69CHE_SHIFT" cla_nospc " class==  a hcla_nospcef="ref="ouo_ctl" class="srouoref"" ide=L3679 class="l9ne" namue=L325"> 327 /a>9    79  a href="+codree-space7cache76nit" class="s" ide=L3349 class="l9ne" namue=L380"> 387 /a>9    79f="fs/ee-space7cache76nit" class="s" ide=L3349 class="l9ne" namue=L379"> 377 /a>9>-> a href="+cod_drsee_generaener+ock1" class="line" ain_uit=ioref">sref"/a>);> 327 /a>9 327 /a>9>kfrWrite );>iaddf=xt7e- hao itemt need ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L367"> 367 /a>9    792oid  a href="whileU-space7cache70"s"srinf="o_ctl /a>, a href="f_S+cstfs/free-space-c+csto_ct50" ide=L3809 class="l9ne" namue=L368"> 367 /a>9    793                 a hr         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_N /a>( a href="meef="ref="ouo_ctl" class="srouoref"" ide=L3679 class="l9ne" namue=L380"> 387 /a>9    793 a href="+code=__le64"6class67L342" ide=L3429 class="l9ne" namue=L325"> 327 /a>9    79 }>( a href="meef="pptio" class="sgenrb_e_ctl>-> a href="rb_e_ctllass="sref">i merg"_"srinf="o_ctl /a>, a href=",          6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefode=u64" class="scffsee_index " class==  a hcffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L325"> 327 /a>9    793         a href="+code7set_p76CHE_SH class="sref">PAGE_CACf">ientries++k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L364"> 367 /a>9    793 a href="+code=io_ctl"7class71L375" ide=L3759 class="l9ne" namue=L380"> 387 /a>9    793f="fs/btrfs/free-spacef="+code6PAGE_="sref">io_ctl /a>-> a hrefrio_ctl" class="srriadd_e_ctl>-> a href="s="srriadd_e_ctl+ock1" class="line" ain_uit=ioref">sref"/a>);>cffseehrefode=u64" class="sN /a>( a href="meef="ref="ftrfs/free-spaceref=href="+ss="srineref=ee-sr    a href="+code6set_p66L324" ide=L3249 class="l9ne" namue=L380"> 387 /a>9> =  ario_cthref"k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L325"> 327 /a>9>)> 367 /a>9> 367 /a>9    793="fs/btrfs/free-space-7ache.71ref"> ide=L3689 class="l9ne" namue=L325"> 327 /a>9    794                 a hr-7ache.76f="+code=iN /a>( a href="meef="ref="ftrfs/free-spaceio_ctleo_ct /a> =  ario_cthref"_S+cstfs/free-space-c+csto_ct50" ide=L3809 class="l9ne" namue=L325"> 327 /a>9    794 a href="+code=BUG_ONNNNNNNNNio" class="sgendS+csadd_tairef">sref"/a>);>dS+csadd_tair+ock1" class="line" ain_uN /a>( a href="meef="ref="ftrfs/free-spaco_ctleo_ct /a> =  ao_cthrefE_CACHE_Sf_ctl" class=nio_ct_o_ctleo_ct /a> =  ario_ct_o_ctf="c"k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L325"> 327 /a>9    794}>);> 327 /a>9    79          a href="+codree-space7cache76nit" class="s" ide=L3349 class="l9ne" namue=L325"> 327 /a>9    79         if (! a href=         7 retu"srinf="o_ctl /a>, a href="pptio" class="sgenrb_nextnf="o_ctl /a>, rb_nextlass="sref">i merg"_"srinf="o_ctl /a>, a href=""k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L380"> 387 /a>9    79                  a hr3 class="sref">io_ct"srinf="o_ctl /a>, a href="pCACHECACHE e7set_p76CHE_SHnlusta href="+ss="srinclusta ee-sf_S+cstfs/free-space-c+csto_ct50" ide=L3809 class="l9ne" namue=L379"> 377 /a>9    79                 retur a href=         7 retu"srinf="o_ctl /a>, a href="pptio" class="sgenrb_firstnf="o_ctl /a>, rb_first+ock1" class="line" ain_unlusta href="+ss="srinclusta ee-s,  a href"k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L325"> 327 /a>9    79         }>, NULLef="ref="ouo_ctl" class="srouoref"" ide=L3679 class="l9ne" namue=L325"> 327 /a>9> 367 /a>9    79         if ( ree-space7cache76nit" class="s" ide=L3349 class="l9ne" namue=L368"> 367 /a>9    795         a href="+code6io_ct69L361" ide=L3619 class="l9ne" namue=L325"> 327 /a>9    795 a href="+code  return6- a h64ref">kfneed ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L334"> 337 /a>9    795      a href="+code=i"7classssssssssfrWe wanpa = add any pinnedf=xt7e-s* = our ">ifbs split acrneed ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L367"> 367 /a>9> 327 /a>9    795oid  btrfs/free-space-7ache.76"sref;t need ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L334"> 337 /a>9    795="fs/ee-space7cache76nit" class="s" ide=L3349 class="l9ne" namue=L366"> 367 /a>9    7956a href="+code  return6- a h64ref">kfneed ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L325"> 327 /a>9    79         return6- a h64ref">sssssssssfrWe shouldn't havbiswisplek fsbihinnedf=xt7e-s*yetoso tdis is tcrneed ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L365"> 367 /a>9    79       a href="+code=i"7classssssssssfrright oneneed ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L379"> 377 /a>9    79 }> 377 /a>9, unpi"ee-spptio" class="sgens="sre=roo_ctl /a>,  a href =  a hrefsinned_ext7e-sef="ref="ouo_ctl" class="srouoref"" ide=L3679 class="l9ne" namue=L379"> 377 /a>9    796 a href="+code=__le64"6class67L342" ide=L3429 class="l9ne" namue=L379"> 377 /a>9    796f="fs/btrfs/free-space6cache69+cbdtne_groupo_ctl_p__loadri"dtne_grouphref="fs/rio_ctl" class="srrioref"5 ide=L3799 class="l9ne" namue=L380"> 387 /a>9>-> a href="keahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_loref="ouo_ctl" class="srouoref"" ide=L3679 class="l9ne" namue=L325"> 327 /a>9    796 a href="+code=io_ctl"7class71L375" ide=L3759 class="l9ne" namue=L325"> 327 /a>9    796             whileU-space7cache70"sbdtne_groupo_ctl_p__loadri"dtne_grouphref_CACHECACHE -space7cache70"sstarsre=roo_ctl /a>,-tarshrefnflt; tio" class="sgendtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="keahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_lo +ef="+code=io_ctl"7class71L375" ide=L3759 class="l9ne" namue=L379"> 377 /a>9    796                                    tio" class="sgendtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="keahref.e.69CHE_SHIFT" cffsee-spelsecctl /a>cffseehrefff_S+cstfs/free-space-c+csto_ct50" ide=L3809 class="l9ne" namue=L367"> 367 /a>9>io_ctlef="ef="+code=inind_first_ext7e-_bit href="ss="srinuind_first_ext7e-_bitlass="sref">i merg"_6npi"nf="o_ctl /a>, unpi"ee-sode=u64" class="sstarsre=roo_ctl /a>,-tarshreft+cstfs/free-space-c+csto_ct50" ide=L3809 class="l9ne" namue=L334"> 337 /a>9    796struct  a href="+code=7age" ddddddddddddddddddddd" class="line" ain_uNxt7e-_starsre=roo_ctl /a>,ext7e-_starshreftd" class="line" ain_uNxt7e-_ende-cachf">PAGE_Cext7e-_endhreft+cstfs/free-space-c+csto_ct50" ide=L3809 class="l9ne" namue=L367"> 367 /a>9    796}>PAGE_CEXTENT_DIRTYee-sode=u64" class="sNULLnf="o_ctl /a>, NULLef=""k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L325"> 327 /a>9> 327 /a>9    797="fs/btrfs/free-space-7ache.7de=i"6class64+code=PageUptass="sref">io_ctl65=unlock_page" class="e.c#L367" ide=L3679 class="l9ne" namue=L342"> 346 /a>9 386 /a>9    697         a href="+codree-space7cache76nit" class="s" ide=L3349 class="l9ne" namue=L379"> 376 /a>9 366 /a>9    697f="fs/btrfs/free-space  return6- a h64ref">kfrTdis hinnedf=xt7e- is );>iof our rana/;t need ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L365"> 366 /a>9    697                     -7ache.76f="+code=iNxt7e-_starsre=roo_ctl /a>,ext7e-_starshref a hrptio" class="sgenndtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="keahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_lo +ef="+code=io_ctl"7class71L375" ide=L3759 class="l9ne" namue=L364"> 366 /a>9>-> a href="keahref.e.69CHE_SHIFT" cffsee-spelsecctl /a>cffseehreffef="+code=io_ctl"7class71L375" ide=L3759 class="l9ne" namue=L367"> 366 /a>9 366 /a>9    697="fs/btrfs/free-space-7ache.71ref"> ide=L3689 class="l9ne" namue=L368"> 366 /a>9    698                 a hrhe.76f="+code=iNxt7e-_starsre=roo_ctl /a>,ext7e-_starshref ptio" class="sgenmax " class==  a hmaxlass="sref">i merg"_ext7e-_starsre=roo_ctl /a>,ext7e-_starshreftdss="line" ain_ustarsre=roo_ctl /a>,-tarshref"k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L370"> 376 /a>9    698="fs/btrfs/free-spacess="line" ain_uNxt7e-_ende-cachf">PAGE_Cext7e-_endhref ptio" class="sgenmi"nf="o_ctl /a>, mi"ee-s="sref">i merg"_ndtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="keahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_lo +ef="+code=io_ctl"7class71L375" ide=L3759 class="l9ne" namue=L367"> 366 /a>9-> a href="keahref.e.69CHE_SHIFT" cffsee-spelsecctl /a>cffseehreftdss="line" ain_uext7e-_ende-cachf">PAGE_Cext7e-_endhref + 1"k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L367"> 366 /a>9    698         a href="+code7set_p76CHE_SHle"nf="o_ctl /a>, le"href ptio" class="sgenext7e-_ende-cachf">PAGE_Cext7e-_endhref -ref="=eraptio" cext7e-_starsre=roo_ctl /a>,ext7e-_starshrefk1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L364"> 366 /a>9 376 /a>9    698f="fs/btrfs/free-spacef="+code6PAGE_ class="sref">PAGE_CACf">ientries++k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L367"> 366 /a>9    698                returef="+code7clear="sref">io_ctl /a>-> a hrefrio_ctl" class="srriadd_e_ctl>-> a href="s="srriadd_e_ctl+ock1" class="line" ain_uit=ioref">sref"/a>);>, NULLef=""k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L267"> 266 /a>9    698f="fs/btrfs/free-spac-7ache.76f="+code=io_ctl_drop__ctl>)> 366 /a>9 376 /a>9    698="fs/btrfs/free-space-7ache.71ref"> ide=L3689 class="l9ne" namue=L367"> 366 /a>9    699                 a hrhe.76f="+code=istarsre=roo_ctl /a>,-tarshrefnaptio" class="sgeext7e-_ende-cachf">PAGE_Cext7e-_endhrefref="ouo_ctl" class="srouoref"" ide=L3679 class="l9ne" namue=L361"> 366 /a>9    699f="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L3659 class="l9ne" namue=L379"> 376 /a>9 376 /a>9    699         a hre  return6- a h64ref">kfrWrite );>iaddfa href=;t need ao orphao item         *.c#L379" ide=L3799 class="l9ne" namue=L367"> 366 /a>9i merg"_sos  /a> =  a hrefsoshreftd         7 retu"nf="o_ctl /a>, ahreftd" class="line" ain_unio_ct_o_ctleo_ct /a> =  ario_ct_o_ctf="c"_S+cstfs/free-space-c+csto_ct50" ide=L3809 class="l9ne" namue=L375"> 376 /a>9    699f="fs/btrfs/free-spac         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_N_ctl>-> a href="e_ctl+ock =+cstfs/free-space-c+csto_ct50" ide=L3809 class="l9ne" namue=L364"> 366 /a>9    699                retur a href=         7 retudS+cse_ctl>-> a href="dS+cse_ctllass="sref">i merg"_sos  /a> =  a hrefsoshreftd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefode=u64" class="so_ctleo_ct /a> =  ao_cthref"k1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L379"> 376 /a>9    699     1" class="line"tne"_lock#L325" ide=L3259 class="l9ne" namue=L367"> 366 /a>9io_ctl /a>-> a hrefrio_ctl" class="srriadd_eio_ctleo_ct /a> =  as="srriadd_eio_ct+ock1" class="line" ain_uit=ioref">sref"/a>);> 366 /a>9    699}>)> 366 /a>10 cl>10 ctruct  a href="+code=7age" d-6ache.69CHE_SHIFT" cla_nospc " class==  a hcla_nospcef="ref/pre> ss="44/59/e9e2b9b08592e109aaa5c5cbb1ea75d5d204_3/10 cl>fs/rio_ctl" class="srrioref"5 ide=L37910 1lass="l10 e" namue=L361"> 366 /a>10 e">10 ="fs/btrfs/free-spacess="line" ain_udS+csderis="sref">PAGE_CACHEdS+csderis="s+ock1" class="line" ain_uN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaco_ctleo_ct /a> =  ao_cthref"k1" class="line"tne"_lock#L325" ide=L32510 2lass="l10 e" namue=L379"> 376 /a>10 e">10 2="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L36510 3lass="l10 e" namue=L379"> 376 /a>10 e">10          a href="+code6set_p66L324" ide=L32410 4lass="l10 e" namue=L367"> 366 /a>10 e">10 4        a hre  return6- a h64ref">kfrZero );>iaddfres>iof fsbihrde= juspa = make surspt need ao orphao item         *.c#L379" ide=L37910 5lass="l10 e" namue=L375"> 376 /a>10 e">10 5id  a href="ftrfs/free-spacs="srrizeroleamas="ngt /a/a>-> a href="+cod_drzeroleamas="ngt /a/a+ock1" class="line" ain_uit=ioref">sref"/a>);> 366 /a>10 e">10      e-space-6ache.66"sref">WARN_O" ide=L36510 7lass="l10 e" namue=L379"> 376 /a>10 e">10         return - a hre6="+co="sref">io_ctl /a>-> a hrefrio_ctl" claseine"_dirtyt /a/a>-> a href="eine"_dirtyt /a/alass="sref">i merg"_s="sre=roo_ctl /a>,  a href, ss="line" ain_uief">u64 /a>  a  a href="+code=nf="_ctl" classit=ioref">sref"/a>);>-> a href=" /a/alasse=nf="_ctl" classit=ioref">sref"/a>);>-> a href="HE_S /a/aee-st+cstfs/free-space-c+csto_ct50" ide=L38010 8lass="l10 e" namue=L367"> 366 /a>10 e">10 struct  a href="+code=7age" ddddddddd0ode=u64" class="sr_sizead_bief">sref"/a>);><_sizead_bilass="sref">i merg"__> 38_read_ctl /a>);> 366 /a>10 e">10 9id  a href="ftrfs/free-spacs="srridropt /a/a>-> a href="+cod_drdropt /a/a+ock1" class="line" ain_uit=ioref">sref"/a>);> 367 /a>10ne">10neid  a href="ftrfs/free-spacain_un_ext7e-_n acrdnf="o_ctl /a>, unn_un_ext7e-_n acrd+ock1" class="line" ain_uEE_SPAI>-> a href="EE_SPAIlass="sref">i merg"__> 38_read_ctl /a>);> 387 /a>10ne">10n="fs/btrfs/free-space-7ache.77777de=u64" class="sr_sizead_bief">sref"/a>);><_sizead_bilass="sref">i merg"__> 38_read_ctl /a>);>, GFP_NOFSf="c"k1" class="line"tne"_lock#L325" ide=L3251012lass="l10ne" namue=L325"> 327 /a>10ne">10n                if (! 7 href75+code ide=L36710n3lass="l10ne" namue=L367"> 367 /a>10ne">10n         a hr-7ache.76f="+code=io_ctl_drop__ctl>)> 367 4a>10ne">10n        if (! a href=-6ache.69CHE_SHIFT" cla " class==  a hclahrefref="ouo_ctl" class="srouoref"" ide=L36710n5lass="l10ne" namue=L375"> 377 /a>10ne">10n="fs/ee-space7cache76nit" class="s" ide=L33410n6lass="l10ne" namue=L380"> 387 6a>10ne">10n     e-space-6ache.66"sref">WARN_O" ide=L3651017lass="l10ne" namue=L325"> 327 /a>10ne">10n        return - a hre6="+coeine"_wait_orderrd_rana/>-> a href="eine"_wait_orderrd_rana/lass="sref">i merg"__> 38_read_ctl /a>);>i merg"_64"sref">WARN_ON /a>( a h)-1"k1" class="line"tne"_lock#L325" ide=L32510n8lass="l10ne" namue=L367"> 367 8a>10ne">10n="fs/btrfs/free-space-7tl_ma70L369" ide=L36710n9lass="l10ne" namue=L368"> 367 9a>10ne">10n9id  a href="ftrfs/free-spackea>-> a href="keahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_lo hrefrio_ctl" clasEE_SPAFREE_SPACE_OBJECTIDhref="+ss="srinEE_SPAFREE_SPACE_OBJECTIDhrefref="ouo_ctl" class="srouoref"" ide=L367102class="l10ne" namue=L368"> 367 /a>10ne">10neid  a href="ftrfs/free-spackea>-> a href="keahref.e.69CHE_SHIFT" cffsee-spelsecctl /a>cffseehref hrefrio_ctl" clascffsee-spelsecctl /a>cffseehrefref="ouo_ctl" class="srouoref"" ide=L3671021lass="l10ne" namue=L380"> 387 /a>10ne">10n1id  a href="ftrfs/free-spackea>-> a href="keahref.e.69CHE_SHIFT" typ8_read_ctl /a>);typ8href hr65=unlock_page" class="e.c#L367" ide=L36710n2lass="l10ne" namue=L325"> 327 /a>10ne">10n                if (! 7 href75+code ide=L3671023lass="l10ne" namue=L325"> 327 /a>10ne">10n         a href="+code6PAGE_="sref">io_ctl /a>-> a hrefrio_ctl" claseine"_searde_ lio_ctl /a> * a href="+ssearde_ liolass="sref">i merg"_trans  /a> =  a href="anshrefrtio" class="sgens="sre=roo_ctl /a>,  a hrefr_CACHE_Sf_ctl" class=kea>-> a href="keahrefrtio" class="sgens="srpatho_ctl /a>,  a hreftd0od1"k1" class="line"tne"_lock#L325" ide=L3251024lass="l10ne" namue=L325"> 327 /a>10ne">10noid  a href="3 clef="+code6PAGE_="sref">io_ctl /a>-> a flt; 0"_S+cstfs/free-space-c+csto_ct50" ide=L38010n5lass="l10ne" namue=L380"> 387 /a>10ne">10nf="fs/btrfs/free-spacef="+code6PAGE_clear_ext7e-_bit href="ss="srinclear_ext7e-_bit+ock1" class="line" ain_uEE_SPAI>-> a href="EE_SPAIlass="sref">i merg"__> 38_read_ctl /a>);>u64 /a>  a  a href="+codsref"/a>);><_sizehref -r1r    a href="+code6set_p66L324" ide=L32410n6lass="l10ne" namue=L379"> 377 /a>10ne">10n                                      ef="ef="+code=iEXTENT_DIRTYe-cachf">PAGE_CEXTENT_DIRTYee-s | ef="ef="+code=iEXTENT_DELALLOCe-cachf">PAGE_CEXTENT_DELALLOCee-se=0o 0o ss="line" ain_uNULLnf="o_ctl /a>, NULLef="r    a href="+code6set_p66L324" ide=L32410n7lass="l10ne" namue=L325"> 327 /a>10ne">10n        }>, GFP_NOFSf="c"k1" class="line"tne"_lock#L325" ide=L3251028lass="l10ne" namue=L325"> 327 /a>10ne">10nstruct  a href="+code-6ache.69CHE_SHIFT" cla " class==  a hclahrefref="ouo_ctl" class="srouoref"" ide=L3671029lass="l10ne" namue=L367"> 367 /a>10ne">10n        if ( ree-space7cache76nit" class="s" ide=L334103class="l10ne" namue=L368"> 367 /a>10ne">10neid  a href="ftrfs/free-spacoeafe-cachf">PAGE_Cdeafrpat hrefrio_ctl" class="srpatho_ctl /a>,  a href-> a href="Hf="ahref[0]ref="ouo_ctl" class="srouoref"" ide=L3671031lass="l10ne" namue=L380"> 387 /a>10ne">10n1id  a href="3 clef="+code6PAGE_="sref">io_ctl /a>-> a fgt; 0"_S+cstfs/free-space-c+csto_ct50" ide=L3801032lass="l10ne" namue=L325"> 327 /a>10ne">10n}>-> a href="25"refkearpath  6 int 636clasfoundfkea>-> a href="foundfkeahrefref="ouo_ctl" class="srouoref"" ide=L3671033lass="l10ne" namue=L325"> 327 /a>10ne">10n         a href="+code7set_p76CHE_SHBUG_Ol " class==  a hBUG_Ollass=ass="sref">io_cts="srpatho_ctl /a>,  a href-> a href=" lioahref[0]"k1" class="line"tne"_lock#L325" ide=L3251034lass="l10ne" namue=L364"> 367 /a>10ne">10n        if (! a href=         7 retus="srpatho_ctl /a>,  a href-> a href=" lioahref[0]--k1" class="line"tne"_lock#L325" ide=L3251035lass="l10ne" namue=L380"> 387 /a>10ne">10nf="fs/btrfs/free-spacef="+code6PAGE_25"refitemfkea_to_cpu>-> a href="25"refitemfkea_to_cpulass="sref">i merg"_oeafe-cachf">PAGE_Cdeafrpatr_CACHE_Sf_ctl" class=foundfkea>-> a href="foundfkeahrefrtio" class="sgens="srpatho_ctl /a>,  a href-> a href=" lioahref[0]"k1" class="line"tne"_lock#L325" ide=L3251036lass="l10ne" namue=L380"> 387 /a>10ne">10n                     -7ache.76f="+code=ifoundfkea>-> a href="foundfkeahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_lo !hrefrio_ctl" clasEE_SPAFREE_SPACE_OBJECTIDhref="+ss="srinEE_SPAFREE_SPACE_OBJECTIDhref ||1" class="line"tne"_lock#L325" ide=L3251037lass="l10ne" namue=L325"> 327 /a>10ne">10n        }>cffseehref !hrefrio_ctl" clascffsee-spelsecctl /a>cffseehreff_S+cstfs/free-space-c+csto_ct50" ide=L3801038lass="l10ne" namue=L367"> 367 /a>10ne">10nstruct  a href="+code=7age" def="+code6PAGE_clear_ext7e-_bit href="ss="srinclear_ext7e-_bit+ock1" class="line" ain_uEE_SPAI>-> a href="EE_SPAIlass="sref">i merg"__> 38_read_ctl /a>);> 367 /a>10ne">10n}>u64 /a>  a  a href="+codsref"/a>);><_sizehref -r1r    a href="+code6set_p66L324" ide=L324104class="l10ne" namue=L325"> 327 /a>10ne">10ne>PAGE_CEXTENT_DIRTYee-s | ef="ef="+code=iEXTENT_DELALLOCe-cachf">PAGE_CEXTENT_DELALLOCee-se=0o 0o    a href="+code6set_p66L324" ide=L3241041lass="l10ne" namue=L325"> 327 /a>10ne">10n="fs/btrfs/free-space-7ache.77777d            ss="line" ain_uNULLnf="o_ctl /a>, NULLef="r ef="ef="+code=iGFP_NOFSnf="o_ctl /a>, GFP_NOFSf="c"k1" class="line"tne"_lock#L325" ide=L3251042lass="l10ne" namue=L325"> 327 /a>10ne">10n}>,n5"refreleaset /"slass="sref">i merg"_s="srpatho_ctl /a>,  a href"k1" class="line"tne"_lock#L325" ide=L3251043lass="l10ne" namue=L325"> 327 /a>10ne">10n         a href="+coddddddddd-6ache.69CHE_SHIFT" cla " class==  a hclahrefref="ouo_ctl" class="srouoref"" ide=L3671044lass="l10ne" namue=L325"> 327 /a>10ne">10n        if (! a href=ree-space7cache76nit" class="s" ide=L3341045lass="l10ne" namue=L380"> 387 /a>10ne">10nf="fs/btrfs/free-space7cache76nit" class="s" ide=L3341046lass="l10ne" namue=L379"> 377 /a>10ne">10n     e-space-6ache.66"sref">WARN_O" ide=L3651047lass="l10ne" namue=L325"> 327 /a>10ne">10n        return - a hre6="+coEE_SPAI>-> a href="EE_SPAIlass="sref">i merg"__> 38_read_ctl /a>);> =  a href="anshrefref="ftrfs/free-space-ansikeyo_ct.eraptio e-ansikhrefref="ouo_ctl" class="srouoref"" ide=L3671048lass="l10ne" namue=L325"> 327 /a>10ne">10n8       return - a hre6="+coheada href="+ss="srinheada t; a hrefrio_ctl" claseine"_itemfpt href="+ss="srineine"_itemfpt lass="sref">i merg"_oeafe-cachf">PAGE_Cdeafrpatr_io" class="sgens="srpatho_ctl /a>,  a href-> a href=" lioahref[0]o    a href="+code6set_p66L324" ide=L3241049lass="l10ne" namue=L367"> 367 /a>10ne">10n}> 367 /a>10ne">10ne       return - a hre6="+coeine"_see_namue_btrf_ class="sref">PAGE_CACeine"_see_namue_btrf_ class=lass="sref">i merg"_oeafe-cachf">PAGE_Cdeafrpatr_io" class="sgenheada href="+ss="srinheada t; aode=u64" class="sN_ctss="sref">PAGE_CACf">ientries"k1" class="line"tne"_lock#L325" ide=L3251051lass="l10ne" namue=L325"> 327 /a>10ne">10n1id  a href="ftrfs/free-spaceine"_see_namue_btrf_nio_ctct,lsref"/a>);>i merg"_oeafe-cachf">PAGE_Cdeafrpatr_io" class="sgenheada href="+ss="srinheada t; aode=u64" class="snio_ctct,lsref"/a>);> 337 /a>10ne">10n         a href="+code7clearaine"_see_namue_btrf_generaener>-> a href="aine"_see_namue_btrf_generaenerlass="sref">i merg"_oeafe-cachf">PAGE_Cdeafrpatr_io" class="sgenheada href="+ss="srinheada t; aode=u64" class="strans  /a> =  a href="anshrefref="ftrfs/free-space-ansikeyo_ct.eraptio e-ansikhref"k1" class="line"tne"_lock#L325" ide=L32510n3lass="l10ne" namue=L367"> 367 /a>10ne">10n         a href="+code6PAGE_aine"_mark_buffer_dirty>-> a href="aine"_mark_buffer_dirtylass="sref">i merg"_oeafe-cachf">PAGE_Cdeafrpat"k1" class="line"tne"_lock#L325" ide=L32510n4lass="l10ne" namue=L325"> 327 /a>10ne">10noid  a href="ftrfs/free-spacn5"refreleaset /"srpatho_ctl /a>,n5"refreleaset /"slass="sref">i merg"_s="srpatho_ctl /a>,  a href"k1" class="line"tne"_lock#L325" ide=L3251055lass="l10ne" namue=L334"> 337 /a>10ne">10n="fs/ee-space7cache76nit" class="s" ide=L3341056lass="l10ne" namue=L366"> 367 /a>10ne">10n                      7 retuer href="+ss="sriner href hr65=unlock_page" class="e.c#L367" ide=L3671057lass="l10ne" namue=L325"> 327 /a>10ne">10n      .69CHE_SHIFT" cla " class==  a hclahref:=unlock_page" class="e.c#L367" ide=L3671058lass="l10ne" namue=L365"> 367 /a>10ne">10n8       return - a hre6="+cos="srrif_ON /a>( a href="mioRsrrif_ON+ock1" class="line" ain_uit=ioref">sref"/a>);> 377 /a>10ne">10n}> 377 /a>10ne">10ne="fs/btrfs/free-spacef="+code6PAGE_invalidate_>i merg"__> 38_read_ctl /a>);>sref"/a>);><_refpingf="c"k1" class="line"tne"_lock#L325" ide=L3251061lass="l10ne" namue=L379"> 377 /a>10ne">10n="fs/btrfs/free-spacess="line" ain_uEE_SPAI>-> a href="EE_SPAIlass="sref">i merg"__> 38_read_ctl /a>);> 377 /a>10ne">10n2="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L3651063lass="l10ne" namue=L380"> 387 /a>10ne">10n         a href="+code6PAGE_aine"_update_>,n5"refupdate_>i merg"_trans  /a> =  a href="anshrefrtio" class="sgens="sre=roo_ctl /a>,  a hrefr_"sref">i merg"__> 38_read_ctl /a>);> 327 /a>10ne">10noid  a href="return          7 retuer href="+ss="sriner href5=unlock_page" class="e.c#L367" ide=L3671065lass="l10ne" namue=L325"> 327 /a>10ne">10n="fs/ee-space7cache76nit" class="s" ide=L3341066lass="l10ne" namue=L379"> 377 /a>10ne">10n6     .69CHE_SHIFT" cla_nospc " class==  a hcla_nospcef=":=unlock_page" class="e.c#L367" ide=L3671067lass="l10ne" namue=L367"> 367 /a>10ne">10n        return - a hre6="+coo_ct_for_eide_ claleo_ct /a> =  ao_ct_for_eide_ claee-s="sref">i merg"_sos  /a> =  a hrefsoshreftd         7 retu"nf="o_ctl /a>, ahreftd" class="line" ain_unio_ct_o_ctleo_ct /a> =  ario_ct_o_ctf="c"_S+cstfs/free-space-c+csto_ct50" ide=L38010n8lass="l10ne" namue=L334"> 337 /a>10ne">10nstruct  a href="+code         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_N_ctl>-> a href="e_ctl+ock =+cstfs/free-space-c+csto_ct50" ide=L38010n9lass="l10ne" namue=L367"> 367 /a>10ne">10n}>-> a href="dS+cse_ctllass="sref">i merg"_sos  /a> =  a hrefsoshreftd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefode=u64" class="so_ctleo_ct /a> =  ao_cthref"k1" class="line"tne"_lock#L325" ide=L325107class="l10ne" namue=L325"> 327 /a>10ne">10ne"fs/btrfs/free-spacess="line" ain_udS+csderis="sref">PAGE_CACHEdS+csderis="s+ock1" class="line" ain_uN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaco_ctleo_ct /a> =  ao_cthref"k1" class="line"tne"_lock#L325" ide=L3251071lass="l10ne" namue=L325"> 327 /a>10ne">10nf="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L36510n2lass="l10ne" namue=L342"> 346 /a>10ne">10n         a href="+code7clears="srridropt /a/a>-> a href="+cod_drdropt /a/a+ock1" class="line" ain_uit=ioref">sref"/a>);> 386 /a>10ne">10n         a href="+code6PAGE_ain_un_ext7e-_n acrdnf="o_ctl /a>, unn_un_ext7e-_n acrd+ock1" class="line" ain_uEE_SPAI>-> a href="EE_SPAIlass="sref">i merg"__> 38_read_ctl /a>);> 376 /a>10ne">10n        if (! a href=fs/free-spacess="line" ain_ur_sizead_bief">sref"/a>);><_sizead_bilass="sref">i merg"__> 38_read_ctl /a>);>, GFP_NOFSf="c"k1" class="line"tne"_lock#L325" ide=L3251075lass="l10ne" namue=L365"> 366 /a>10ne">10nf="fs/btrfs/f-6ache.69CHE_SHIFT" cla " class==  a hclahrefref="ouo_ctl" class="srouoref"" ide=L3671076lass="l10ne" namue=L365"> 366 /a>10ne">10n6    ee-space-6ache.66"sref">WARN_O" ide=L36510n7lass="l10ne" namue=L364"> 366 /a>10ne">10n     1" class="line"tne"_lock#L325" ide=L32510n8lass="l10ne" namue=L367"> 366 /a>10ne">10nstrucin    6 int 636clasrine"_write_cla_ ide=href="+ss="srineine"_write_cla_ ide=lass=         6 int 636clasrine"_s="sre=roo_ctl /a>,rine"_s="shrefcace-css="srine"_s="sre=roo_ctl /a>,  a hrefr1" class="line"tne"_lock#L325" ide=L32510n9lass="l10ne" namue=L368"> 366 /a>10ne">10n}> =  a href="anshrefr1" class="line"tne"_lock#L325" ide=L325108class="l10ne" namue=L368"> 366 /a>10ne">10ne> 376 /a>10ne">10n="fs/btrfs/free-space-7ache.777         6 int 636clasrine"_ /"srpatho_ctl /a>,n5"ref  a hrefcace-css="srine"_s="srpatho_ctl /a>,  a href"1" class="line"tne"_lock#L325" ide=L3251082lass="l10ne" namue=L367"> 366 /a>10ne">10n     S+cstfs/free-space-c+csto_ct50" ide=L3801083lass="l10ne" namue=L367"> 366 /a>10ne">10n         a hr         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefcptio" class="sgenndtne_groupo_ctl_p__loadri"dtne_grouphrefsref"/a>);>namue_btrf_iorhrefref="ouo_ctl" class="srouoref"" ide=L3671084lass="l10ne" namue=L364"> 366 /a>10ne">10n4        a hr         6 int 636clas_> 38_read_ctl /a>);> 38_read_ctl /a>);> 376 /a>10ne">10nf="fs/btrfs/fin    6 int 636clasode=PageUptass="sref">io_ctl65=unlock_page" class="e.c#L367" ide=L36710n6lass="l10ne" namue=L367"> 366 /a>10ne">10n     e-space-6ache.66"sref">WARN_O" ide=L3651087lass="l10ne" namue=L267"> 266 /a>10ne">10n        return - a hre6="+co=="sre=roo_ctl /a>,  a hrefpptio" class="sgens="sre=roo_ctl /a>,  a href 366 /a>10ne">10n="fs/btrfs/free-space-7tl_ma70L369" ide=L3671089lass="l10ne" namue=L379"> 376 /a>10ne">10n9id  a href="ftrfs/free-spacspin_dtne>-> a href=" pin_dtne+ock1" class="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="dtne+ock"k1" class="line"tne"_lock#L325" ide=L325109class="l10ne" namue=L367"> 366 /a>10ne">10ne>, disk_ ide=_stati> 366 /a>10ne">10n="fs/btrfs/free-spacess="line" ain_u pin_unn_un>-> a href=" pin_unn_un+ock1" class="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="dtne+ock"k1" class="line"tne"_lock#L325" ide=L3251092lass="l10ne" namue=L379"> 376 /a>10ne">10n}> 376 /a>10ne">10n         a hree-space-6ache.66"sref">WARN_O" ide=L3651094lass="l10ne" namue=L367"> 366 /a>10ne">10noid  a href="ftrfs/free-spac pin_unn_un>-> a href=" pin_unn_un+ock1" class="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="dtne+ock"k1" class="line"tne"_lock#L325" ide=L3251095lass="l10ne" namue=L375"> 376 /a>10ne">10n="fs/ee-space7cache76nit" class="s" ide=L3341096lass="l10ne" namue=L364"> 366 /a>10ne">10n                      7 retu_> 38_read_ctl /a>);>i merg"_s="sre=roo_ctl /a>,  a hrefr_"sref">i merg"_ndtne_groupo_ctl_p__loadri"dtne_grouphrefr_io" class="sgens="srpatho_ctl /a>,  a href"k1" class="line"tne"_lock#L325" ide=L3251097lass="l10ne" namue=L379"> 376 /a>10ne">10n7>,IS_ERRlass="sref">i merg"__> 38_read_ctl /a>);> 366 /a>10ne">10nstruct  a href="+codereturn 65=unlock_page" class="e.c#L367" ide=L3671099lass="l10ne" namue=L367"> 366 /a>10ne">10n="fs/btrfs/free-space-7ache.71ref"> ide=L36811 class="l11 clanamue=L367"> 366 /a>11 cl>110e       return - a hre6="+co="sref">io_ctl /a>-> a hrefrio_ctl" clas__rine"_write_cla_ ide=href="+ss="srin__rine"_write_cla_ ide=lass="sref">i merg"_s="sre=roo_ctl /a>,  a hrefr_"sref">i merg"_ief">u64 /a>  a  a href="+code=nf="_ctl" classioref">sref"/a>);>iorhrefr_"sref">i merg"_ndtne_groupo_ctl_p__loadri"dtne_grouphrefr_io" class="sgentrans  /a> =  a href="anshrefr1" class="line"tne"_lock#L325" ide=L32511 1lass="l11 e" namue=L361"> 366 /a>11 e">11 ="fs/btrfs/free-spaceeeeeeeeeeeeeeeeeeeeeeeio" class="sgens="srpatho_ctl /a>,  a hrefr_"sref">i merg"_ndtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="keahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_lo"k1" class="line"tne"_lock#L325" ide=L32511 2lass="l11 e" namue=L379"> 376 /a>11 e">110f="fs/btrfs/free-space6cache69+co_ctl_drop__ctl>)> 376 /a>11 e">110         a href="+code7set_p76CHE_SHspin_dtne>-> a href=" pin_dtne+ock1" class="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="dtne+ock"k1" class="line"tne"_lock#L325" ide=L32511 4lass="l11 e" namue=L367"> 366 /a>11 e">110        if (! a href=he.76f="+code=indtne_groupo_ctl_p__loadri"dtne_grouphref, disk_ ide=_stati>,EE_SPADC_ERRORref=ref="ouo_ctl" class="srouoref"" ide=L36711 5lass="l11 e" namue=L375"> 376 /a>11 e">11 5id  a href="a href="ftrfs/free-spac pin_unn_un>-> a href=" pin_unn_un+ock1" class="line" ain_undtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="dtne+ock"k1" class="line"tne"_lock#L325" ide=L32511 6lass="l11 e" namue=L364"> 366 /a>11 e">110                returef="+code7clear="sref">io_ctl /a>-> a hr65=unlock_page" class="e.c#L367" ide=L36711 7lass="l11 e" namue=L379"> 376 /a>11 e">11      #ifdefref="+code7clearDEBUGref">io_ctl /a>DEBUG"fs/btrfs/free-space-7ache.71ref"> ide=L36811 8lass="l11 e" namue=L367"> 366 /a>11 e">11 struct  a href="+codeio" class="sgensrinte>-> a href="srintelass="sref">i merg"_KERN_ERRrpatho_ctl /a>,KERN_ERRtructe  return6- astringe>"ace-7: failek fo write che. 1ref"  ide= "need ao orphao item         *.c#L379" ide=L37911 9lass="l11 e" namue=L367"> 366 /a>11 e">110}>i merg"_ndtne_groupo_ctl_p__loadri"dtne_grouphref-> a href="keahref.e.69CHE_SHIFT" cbjectikeyo_ct.eraptio cbjectik"_lo"k1" class="line"tne"_lock#L325" ide=L325111class="l11ne" namue=L367"> 367 /a>11ne">11neid  #endif1" class="line"tne"_lock#L325" ide=L3251111lass="l11ne" namue=L380"> 387 /a>11ne">111f="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L3651112lass="l11ne" namue=L325"> 327 /a>11ne">11n                if (! 7 href75+code ide=L36711n3lass="l11ne" namue=L367"> 367 /a>11ne">111         a href="+code6PAGE_ipla " class==  a hiplalass="sref">i merg"__> 38_read_ctl /a>);> 367 4a>11ne">111oid  a href="return          7 retu="sref">io_ctl /a>-> ak1" class="line"tne"_lock#L325" ide=L3251115lass="l11ne" namue=L375"> 377 /a>11ne">11n="fs/ee-space-6ache.66"sref">WARN_O" ide=L3651116lass="l11ne" namue=L380"> 387 6a>11ne">11n     e-space-6ache.66"sref">WARN_O" ide=L3651117lass="l11ne" namue=L325"> 327 /a>11ne">11n     static_"sref">i merg"_ie325"> ead_ctl /a>);><325"id  aunsignedflongrefrio_ctl" clascffsee_to_bit href="ss="srincffsee_to_bitlass="sref">i merg"_64"sref">WARN_ON /a>( a hde=u64" class="snio_ct_starsre=roo_ctl /a>,nio_ct_starshrefr_"sref">i merg"_u3e" namue=LN_ON /un}> 367 8a>11ne">111struct  a href="+code=7age" ddddddddddddddddddd"sref">i merg"_64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehreffef="+code=io_ctl"7class71L375" ide=L3751119lass="l11ne" namue=L368"> 367 9a>11ne">11n9id  S+cstfs/free-space-c+csto_ct50" ide=L380112class="l11ne" namue=L368"> 367 /a>11ne">11neid  a href="ftrfs/free-spacBUG_Ol " class==  a hBUG_Ollass=e=u64" class="scffsee-spelsecctl /a>cffseehrefhflt; tio" class="sgenio_ct_starsre=roo_ctl /a>,nio_ct_starshref"k1" class="line"tne"_lock#L325" ide=L3251121lass="l11ne" namue=L380"> 387 /a>11ne">11n1id  a href="ftrfs/free-spaccffsee-spelsecctl /a>cffseehrefh-ptio" class="sgennio_ct_starsre=roo_ctl /a>,nio_ct_starshrefk1" class="line"tne"_lock#L325" ide=L3251122lass="l11ne" namue=L325"> 327 /a>11ne">1122id  a href="return (unsignedflong)=e=u64" class="sdiv_64"sref">WARN_ON /div_64"lass=e=u64" class="scffsee-spelsecctl /a>cffseehrefr_"sref">i merg"_uiit href="ss="srinu="s+ock)"k1" class="line"tne"_lock#L325" ide=L3251123lass="l11ne" namue=L325"> 327 /a>11ne">11n     ee-space-6ache.66"sref">WARN_O" ide=L3651124lass="l11ne" namue=L325"> 327 /a>11ne">112 a href="+code=io_ctl"7class71L375" ide=L3751125lass="l11ne" namue=L380"> 387 /a>11ne">11nf="fsstatic_"sref">i merg"_ie325"> ead_ctl /a>);><325"id  aunsignedflongrefrio_ctl" clasbytes_to_bitct,lsref"/a>);>i merg"_64"sref">WARN_ON /a>( a hde=u64" class="snytest,lsref"/a>);>i merg"_u3e" namue=LN_ON /un}> 377 /a>11ne">11n     S+cstfs/free-space-c+csto_ct50" ide=L3801127lass="l11ne" namue=L325"> 327 /a>11ne">11n        }>WARN_ON /div_64"lass=e=u64" class="snytest,lsref"/a>);>i merg"_uiit href="ss="srinu="s+ock)"k1" class="line"tne"_lock#L325" ide=L3251128lass="l11ne" namue=L325"> 327 /a>11ne">11nstrucee-space-6ache.66"sref">WARN_O" ide=L3651129lass="l11ne" namue=L367"> 367 /a>11ne">112="fs/btrfs/free-space-7ache.71ref"> ide=L368113class="l11ne" namue=L368"> 367 /a>11ne">11neid  static_"sref">i merg"_ie325"> ead_ctl /a>);><325"id  a"sref">i merg"_64"sref">WARN_ON /a>( a hde=u64" class="scffsee_to_bit_ctleo_ct /a> =  acffsee_to_bit_ctlass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefr1" class="line"tne"_lock#L325" ide=L3251131lass="l11ne" namue=L380"> 387 /a>11ne">113="fs/btrfs/free-spaceeeeeeeeeeeeeeeeeeee"sref">i merg"_64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehreffef="+code=io_ctl"7class71L375" ide=L3751132lass="l11ne" namue=L325"> 327 /a>11ne">113     S+cstfs/free-space-c+csto_ct50" ide=L3801133lass="l11ne" namue=L325"> 327 /a>11ne">113         a href="+code6PAGE_a4"sref">WARN_ON /a>( a hde=u64" class="snio_ct_starsre=roo_ctl /a>,nio_ct_starshrefk1" class="line"tne"_lock#L325" ide=L3251134lass="l11ne" namue=L364"> 367 /a>11ne">11n        if (!"sref">i merg"_64"sref">WARN_ON /a>( a hde=u64" class="snytes_per_bit_ctleo_ct /a> =  anytes_per_bit_cthrefk1" class="line"tne"_lock#L325" ide=L3251135lass="l11ne" namue=L380"> 387 /a>11ne">113="fs/ee-space7cache76nit" class="s" ide=L3341136lass="l11ne" namue=L380"> 387 /a>11ne">113                      7 retunytes_per_bit_ctleo_ct /a> =  anytes_per_bit_cthrefhhrefrio_ctl" clasEITS_PER_EITMAP>-> a href="EITS_PER_EITMAPhrefca=nf="_ctl" classioref">sref"/a>);>iorhref 327 /a>11ne">113        return - a hre6="+coeio_ct_starsre=roo_ctl /a>,nio_ct_starshref hrefrio_ctl" clascffsee-spelsecctl /a>cffseehref -ref="=eraptio" cioref">sref"/a>);>iorhref,-tarshrefk1" class="line"tne"_lock#L325" ide=L3251138lass="l11ne" namue=L367"> 367 /a>11ne">1138       return - a hre6="+coeio_ct_starsre=roo_ctl /a>,nio_ct_starshref hrefrio_ctl" clasdiv64_64"sref">WARN_ON /div64_64"lass=e=u64" class="snio_ct_starsre=roo_ctl /a>,nio_ct_starshrefr_"sref">i merg"_nytes_per_bit_ctleo_ct /a> =  anytes_per_bit_cthref"k1" class="line"tne"_lock#L325" ide=L3251139lass="l11ne" namue=L368"> 367 /a>11ne">1139id  a href="ftrfs/free-spaceio_ct_starsre=roo_ctl /a>,nio_ct_starshref *ptio" class="sgennytes_per_bit_ctleo_ct /a> =  anytes_per_bit_cthrefk1" class="line"tne"_lock#L325" ide=L325114class="l11ne" namue=L325"> 327 /a>11ne">114e       return - a hre6="+coeio_ct_starsre=roo_ctl /a>,nio_ct_starshref +ptio" class="sgenioref">sref"/a>);>iorhref,-tarshrefk1" class="line"tne"_lock#L325" ide=L3251141lass="l11ne" namue=L325"> 327 /a>11ne">11n="fs/1" class="line"tne"_lock#L325" ide=L3251142lass="l11ne" namue=L325"> 327 /a>11ne">1142id  a href="return e=u64" class="snio_ct_starsre=roo_ctl /a>,nio_ct_starshrefk1" class="line"tne"_lock#L325" ide=L3251143lass="l11ne" namue=L325"> 327 /a>11ne">114     ee-space-6ache.66"sref">WARN_O" ide=L3651144lass="l11ne" namue=L325"> 327 /a>11ne">114 a href="+code=io_ctl"7class71L375" ide=L3751145lass="l11ne" namue=L380"> 387 /a>11ne">114f="fsstatic_in    6 int 636clasN_ON_insert_cffsee-spelsecctl /a>N_ON_insert_cffseelass=         6 int 636clasrb_s="sre=roo_ctl /a>,rb_s="shrefcace-css="srine"_s="sre=roo_ctl /a>,  a hrefr_"sref">i merg"_64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehrefr1" class="line"tne"_lock#L325" ide=L3251146lass="l11ne" namue=L379"> 377 /a>11ne">114                                            6 int 636clasrb_> 38_read_ctl /a>);rb_> 38hrefcace-css="srine"_> 38_read_ctl /a>);ef="+code=in    6 int 636clasrio_ctleo_ct /a> =  ario_cthref"1" class="line"tne"_lock#L325" ide=L3251147lass="l11ne" namue=L325"> 327 /a>11ne">11n     S+cstfs/free-space-c+csto_ct50" ide=L3801148lass="l11ne" namue=L325"> 327 /a>11ne">11n8       retur         6 int 636clasrb_> 38_read_ctl /a>);rb_> 38hrefcaace-css="srine"_s>-> a href="shref hr" class="line" ain_us="sre=roo_ctl /a>,  a href 38_read_ctl /a>);rb_> 38hrefk1" class="line"tne"_lock#L325" ide=L3251149lass="l11ne" namue=L367"> 367 /a>11ne">11n}> 367 /a>11ne">11ne       retur         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L3251151lass="l11ne" namue=L325"> 327 /a>11ne">115="fs/1" class="line"tne"_lock#L325" ide=L3251152lass="l11ne" namue=L334"> 337 /a>11ne">11n         a hrwhile (ace-css="srine"_s>-> a href="shref=_S+cstfs/free-space-c+csto_ct50" ide=L38011n3lass="l11ne" namue=L367"> 367 /a>11ne">115         a href="+code7set_p76CHE_SHparref"-> a href="sarrefhref hrace-css="srine"_s>-> a href="shrefk1" class="line"tne"_lock#L325" ide=L3251154lass="l11ne" namue=L325"> 327 /a>11ne">11noid  a href="ef="+code7set_p76CHE_SHrnfo href="ss="srinrnfoss="pptio" class="sgensb_e_ctl>-> a href="sb_e_ctllass=e=u64" class="sparref"-> a href="sarrefhreftd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefode=u64" class="scffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L3251155lass="l11ne" namue=L334"> 337 /a>11ne">11n="fs/ee-space7cache76nit" class="s" ide=L3341156lass="l11ne" namue=L366"> 367 /a>11ne">115                     -7ache.76f="+code=icffsee-spelsecctl /a>cffseehrefhflt; tio" class="sgernfo href="ss="srinrnfoss="cffseehreff_S+cstfs/free-space-c+csto_ct50" ide=L3801157lass="l11ne" namue=L325"> 327 /a>11ne">115        }>-> a href="shref hr" cla(ace-css="srine"_s>-> a href="shref=,rb_lefshrefk1" class="line"tne"_lock#L325" ide=L3251158lass="l11ne" namue=L365"> 367 /a>11ne">115struct  a href="+code} else -7ache.76f="+code=icffsee-spelsecctl /a>cffseehrefhfgt; tio" class="sgernfo href="ss="srinrnfoss="cffseehreff_S+cstfs/free-space-c+csto_ct50" ide=L3801159lass="l11ne" namue=L379"> 377 /a>11ne">115}>-> a href="shref hr" cla(ace-css="srine"_s>-> a href="shref=,rb_sighshrefk1" class="line"tne"_lock#L325" ide=L325116class="l11ne" namue=L379"> 377 /a>11ne">11ne="fs/btrfs/free-spac} else S+cstfs/free-space-c+csto_ct50" ide=L3801161lass="l11ne" namue=L379"> 377 /a>11ne">11n="fs/btrfs/free-space        n  return6- acommref">/*need ao orphao item         *.c#L379" ide=L3791162lass="l11ne" namue=L379"> 377 /a>11ne">11n2="fsn  return6- acommref">btrfs/free-space         * we could have a rio_ct e_ctl and an ext7e- e_ctllaed ao orphao item         *.c#L379" ide=L3791163lass="l11ne" namue=L380"> 387 /a>11ne">11n     n  return6- acommref">btrfs/free-space         * sharr the s87  cffsee.  If this is the case, we waefhred ao orphao item         *.c#L379" ide=L3791164lass="l11ne" namue=L325"> 327 /a>11ne">11>( a hn  return6- acommref">btrfs/free-space         * the ext7e- e_ctl fo always be found first -7awe do ahred ao orphao item         *.c#L379" ide=L3791165lass="l11ne" namue=L325"> 327 /a>11ne">11n="fs/n  return6- acommref">btrfs/free-space         * 325"ar searde through the N_ONtd ince we waef fo havehred ao orphao item         *.c#L379" ide=L3791166lass="l11ne" namue=L379"> 377 /a>11ne">11n6       return6- acommref">btrfs/free-space         * the quickest allocaener timNtdand allocaenng fromdanhred ao orphao item         *.c#L379" ide=L3791167lass="l11ne" namue=L367"> 367 /a>11ne">11n        return6- acommref">btrfs/free-space         * ext7e- is faster thretallocaenng fromda rio_ct.  Sohred ao orphao item         *.c#L379" ide=L3791168lass="l11ne" namue=L334"> 337 /a>11ne">11nstruc   return6- acommref">btrfs/free-space         * -7awe'rr insertnng a rio_ct and we find an e_ctl afhred ao orphao item         *.c#L379" ide=L3791169lass="l11ne" namue=L367"> 367 /a>11ne">11n}>btrfs/free-space         * this cffsee, we waef fo go sighs, or after this e_ctllaed ao orphao item         *.c#L379" ide=L379117class="l11ne" namue=L325"> 327 /a>11ne">11ne"fs/n  return6- acommref">btrfs/free-space         * 3ogically.  If we arr insertnng an ext7e- and we'vehred ao orphao item         *.c#L379" ide=L3791171lass="l11ne" namue=L325"> 327 /a>11ne">11nf="fsn  return6- acommref">btrfs/free-space         * found a rio_ct, we waef fo go lefs, or beforehred ao orphao item         *.c#L379" ide=L3791172lass="l11ne" namue=L342"> 346 /a>11ne">1172="fsn  return6- acommref">btrfs/free-space         * 3ogically.hred ao orphao item         *.c#L379" ide=L3791173lass="l11ne" namue=L380"> 386 /a>11ne">117     n  return6- acommref">btrfs/free-space         */hred ao orphao item         *.c#L379" ide=L3791174lass="l11ne" namue=L379"> 376 /a>11ne">11n        if (! a href=fs/free--7ache.76f="+code=inio_ctleo_ct /a> =  ario_cthref" S+cstfs/free-space-c+csto_ct50" ide=L3801175lass="l11ne" namue=L365"> 366 /a>11ne">11nf="fs/btrfs/f   if (! a href=fs/free--7ache.76f="+code=irnfo href="ss="srinrnfoss=" =  ario_cthref" S+cstfs/free-space-c+csto_ct50" ide=L3801176lass="l11ne" namue=L365"> 366 /a>11ne">117                                             ef="ef="+code=iWARN_ON_ONCEleo_ct /a> =  aWARN_ON_ONCElass=1"k1" class="line"tne"_lock#L325" ide=L32511n7lass="l11ne" namue=L364"> 366 /a>11ne">117        }> 366 /a>11ne">117struct  a href="+code=7age" dddddddddee-space-6ache.66"sref">WARN_O" ide=L36511n9lass="l11ne" namue=L368"> 366 /a>11ne">11n}>-> a href="shref=,rb_sighshrefk1" class="line"tne"_lock#L325" ide=L325118class="l11ne" namue=L368"> 366 /a>11ne">11ne> 376 /a>11ne">11n="fs/btrfs/free-space-7ache.777777777-7acass="sref">io_ctrnfo href="ss="srinrnfoss=" =  ario_cthref" S+cstfs/free-space-c+csto_ct50" ide=L3801182lass="l11ne" namue=L367"> 366 /a>11ne">118}> 366 /a>11ne">118         a href="+codddddddddddddddddddddddddreturn -ef="ef="+code=iEEXISTleo_ct /a> =  aEEXISThrefk1" class="line"tne"_lock#L325" ide=L3251184lass="l11ne" namue=L364"> 366 /a>11ne">118        if (! a href=fs/free---------ee-space-6ache.66"sref">WARN_O" ide=L3651185lass="l11ne" namue=L379"> 376 /a>11ne">118f="fs/btrfs/f   if (! a href=fs/free-ce-css="srine"_s>-> a href="shref hr" cla(ace-css="srine"_s>-> a href="shref=,rb_lefshrefk1" class="line"tne"_lock#L325" ide=L32511n6lass="l11ne" namue=L367"> 366 /a>11ne">118                             ee-space-6ache.66"sref">WARN_O" ide=L3651187lass="l11ne" namue=L267"> 266 /a>11ne">118        }>WARN_O" ide=L3651188lass="l11ne" namue=L367"> 366 /a>11ne">118struct  a hreee-space-6ache.66"sref">WARN_O" ide=L3651189lass="l11ne" namue=L379"> 376 /a>11ne">118="fs/btrfs/free-space-7ache.71ref"> ide=L368119class="l11ne" namue=L367"> 366 /a>11ne">119e       return - a hre6="+corb_link_> 38_read_ctl /a>);rb_link_> 38lass=e=u64" class="s> 38_read_ctl /a>);ef="+code=e=u64" class="sparref"-> a href="sarrefhreftdce-css="srine"_s>-> a href="shref=k1" class="line"tne"_lock#L325" ide=L3251191lass="l11ne" namue=L361"> 366 /a>11ne">1191id  a href="ftrfs/free-spacrb_insert_colo href="+ss="srinrb_insert_colo lass=e=u64" class="s> 38_read_ctl /a>);ef="+code=e=u64" class="ss="sre=roo_ctl /a>,  a href=k1" class="line"tne"_lock#L325" ide=L3251192lass="l11ne" namue=L379"> 376 /a>11ne">119                if (! 7 href75+code ide=L3671193lass="l11ne" namue=L379"> 376 /a>11ne">11n         a hrreturn 65=unlock_page" class="e.c#L367" ide=L3671194lass="l11ne" namue=L367"> 366 /a>11ne">11noid  ee-space-6ache.66"sref">WARN_O" ide=L3651195lass="l11ne" namue=L375"> 376 /a>11ne">11n="fs/ee-space7cache76nit" class="s" ide=L3341196lass="l11ne" namue=L364"> 366 /a>11ne">1196       return6- acommref">/*need ao orphao item         *.c#L379" ide=L3791197lass="l11ne" namue=L379"> 376 /a>11ne">119        return6- acommref">b* seardees the N_ON for the given cffsee.need ao orphao item         *.c#L379" ide=L3791198lass="l11ne" namue=L367"> 366 /a>11ne">119struc   return6- acommref">b*need ao orphao item         *.c#L379" ide=L3791199lass="l11ne" namue=L367"> 366 /a>11ne">119}>b* fuzzy - If this is see, then we arr trynng to make retallocaenon, and we jusfhred ao orphao item         *.c#L379" ide=L37912 class="l12 clanamue=L367"> 366 /a>12 cl>120e"fs/n  return6- acommref">b* waef a secener that has at least nytes size and comes at or after the givenhred ao orphao item         *.c#L379" ide=L37912 1lass="l12 e" namue=L361"> 366 /a>12 e">120f="fsn  return6- acommref">b* cffsee.need ao orphao item         *.c#L379" ide=L37912 2lass="l12 e" namue=L379"> 376 /a>12 e">1202="fsn  return6- acommref">b*/hred ao orphao item         *.c#L379" ide=L3791203lass="l12 e" namue=L379"> 376 /a>12 e">120     static_         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefca orphao item         *.c#L379" ide=L3791204lass="l12 e" namue=L367"> 366 /a>12 e">120       6 int 636clasN_ON_searde_cffsee-spelsecctl /a>N_ON_searde_cffseelass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefr1" class="line"tne"_lock#L325" ide=L32512 5lass="l12 e" namue=L375"> 376 /a>12 e">12 5id  a href="a href="f="ftrfs/free-spac64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehrefr=in    6 int 636clasrio_ct_only>-> a href="aio_ct_onlyhrefr=in    6 int 636clasfuzzy>-> a href="fuzzyhref"1" class="line"tne"_lock#L325" ide=L32512 6lass="l12 e" namue=L364"> 366 /a>12 e">120     S+cstfs/free-space-c+csto_ct50" ide=L38012 7lass="l12 e" namue=L379"> 376 /a>12 e">120        }> 38_read_ctl /a>);rb_> 38hrefcace-css="srine"_>_read_ctl /a>);ess="pptio" class="sgenioref">sref"/a>);>iorhrefnamue_btrf_cffseehref.e.69CHE_SHIFT" rb_> 38_read_ctl /a>);rb_> 38hrefk1" class="line"tne"_lock#L325" ide=L32512 8lass="l12 e" namue=L367"> 366 /a>12 e">1208       retur         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_N_ctl>-> a href="e_ctl+ock,race-css="srine"_srev>-> a href="srevhref hrefrio_ctl" clasNULLnf="o_ctl /a>, NULLef="k1" class="line"tne"_lock#L325" ide=L32512 9lass="l12 e" namue=L367"> 366 /a>12 e">120="fs/btrfs/free-space-7ache.71ref"> ide=L368121class="l12ne" namue=L367"> 367 /a>12ne">121e       return  return6- acommref">/* find e_ctl fhat is closest to the 'cffsee'b*/hred ao orphao item         *.c#L379" ide=L3791211lass="l12ne" namue=L380"> 387 /a>12ne">121f="fs/btrfs/fwhile (1" S+cstfs/free-space-c+csto_ct50" ide=L3801212lass="l12ne" namue=L325"> 327 /a>12ne">121}>io_ct>_read_ctl /a>);ess="" S+cstfs/free-space-c+csto_ct50" ide=L3801213lass="l12ne" namue=L367"> 367 /a>12ne">121         a href="+codddddddddce-css="srine"_N_ctl>-> a href="e_ctl+ock hrefrio_ctl" clasNULLnf="o_ctl /a>, NULLef="k1" class="line"tne"_lock#L325" ide=L3251214lass="l12ne" namue=L368"> 367 4a>12ne">121        if (! a href=fs/free-breakk1" class="line"tne"_lock#L325" ide=L3251215lass="l12ne" namue=L375"> 377 /a>12ne">1215id  a href="a href="ee-space-6ache.66"sref">WARN_O" ide=L3651216lass="l12ne" namue=L380"> 387 6a>12ne">12n     e-space-6ache.66"sref">WARN_O" ide=L3651217lass="l12ne" namue=L325"> 327 /a>12ne">121        }>-> a href="e_ctl+ock hrefrio_ctl" classb_e_ctl>-> a href="sb_e_ctllass=e=u64" class="s"nf="o_ctl /a>, ahreftd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefode=u64" class="scffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L32512n8lass="l12ne" namue=L367"> 367 8a>12ne">121struct  a href="+codece-css="srine"_srev>-> a href="srevhref hrefrio_ctl" clasN_ctl>-> a href="e_ctl+ockk1" class="line"tne"_lock#L325" ide=L32512n9lass="l12ne" namue=L368"> 367 9a>12ne">121="fs/btrfs/free-space-7ache.71ref"> ide=L368122class="l12ne" namue=L368"> 367 /a>12ne">122e>cffseehrefhflt; tio" class="sgeN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehreffef="+code=io_ctl"7class71L375" ide=L3751221lass="l12ne" namue=L380"> 387 /a>12ne">122="fs/btrfs/free-space        ne-css="srine"_>_read_ctl /a>);ess="pptio" class="sgen>_read_ctl /a>);ess=",rb_lefshrefk1" class="line"tne"_lock#L325" ide=L3251222lass="l12ne" namue=L325"> 327 /a>12ne">122}>cffseehrefhfgt; tio" class="sgeN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehreffef="+code=io_ctl"7class71L375" ide=L3751223lass="l12ne" namue=L325"> 327 /a>12ne">122         a href="+codddddddddce-css="srine"_>_read_ctl /a>);ess="pptio" class="sgen>_read_ctl /a>);ess=",rb_sighshrefk1" class="line"tne"_lock#L325" ide=L3251224lass="l12ne" namue=L325"> 327 /a>12ne">122        if (! a href=else1" class="line"tne"_lock#L325" ide=L3251225lass="l12ne" namue=L380"> 387 /a>12ne">122f="fs/btrfs/f   if (! a href=breakk1" class="line"tne"_lock#L325" ide=L32512n6lass="l12ne" namue=L379"> 377 /a>12ne">122             ee-space-6ache.66"sref">WARN_O" ide=L3651227lass="l12ne" namue=L325"> 327 /a>12ne">122     1" class="line"tne"_lock#L325" ide=L3251228lass="l12ne" namue=L325"> 327 /a>12ne">122struct  a hre-7ache.76f="+code=inio_ct_only>-> a href="aio_ct_onlyhref" S+cstfs/free-space-c+csto_ct50" ide=L3801229lass="l12ne" namue=L367"> 367 /a>12ne">122}>io_ctN_ctl>-> a href="e_ctl+ockfef="+code=io_ctl"7class71L375" ide=L375123class="l12ne" namue=L368"> 367 /a>12ne">123e>, NULLef="k1" class="line"tne"_lock#L325" ide=L3251231lass="l12ne" namue=L380"> 387 /a>12ne">123="fs/btrfs/free-space-7ache.76f="+code=iN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spacrio_ctleo_ct /a> =  ario_cthref"1" class="line"tne"_lock#L325" ide=L3251232lass="l12ne" namue=L325"> 327 /a>12ne">123}> 327 /a>12ne">123     1" class="line"tne"_lock#L325" ide=L3251234lass="l12ne" namue=L364"> 367 /a>12ne">123        if (! a href=   return6- acommref">/*need ao orphao item         *.c#L379" ide=L3791235lass="l12ne" namue=L380"> 387 /a>12ne">123="fs/n  return6- acommref">btrfs/free-space * rio_ct e_ctl and ext7e- e_ctl may sharr s87  cffsee,need ao orphao item         *.c#L379" ide=L3791236lass="l12ne" namue=L380"> 387 /a>12ne">1236       return6- acommref">btrfs/free-space * ir that case, rio_ct e_ctl comes after ext7e- e_ctl.need ao orphao item         *.c#L379" ide=L3791237lass="l12ne" namue=L325"> 327 /a>12ne">123        return6- acommref">btrfs/free-space */hred ao orphao item         *.c#L379" ide=L3791238lass="l12ne" namue=L367"> 367 /a>12ne">123struct  a href="+codece-css="srine"_>_read_ctl /a>);ess="pptio" class="sgenrb_>ext_read_ctl /a>);rb_>extlass=e=u64" class="s"nf="o_ctl /a>, ahref"k1" class="line"tne"_lock#L325" ide=L3251239lass="l12ne" namue=L368"> 367 /a>12ne">123}>io_ct"nf="o_ctl /a>, ahref"1" class="line"tne"_lock#L325" ide=L325124class="l12ne" namue=L325"> 327 /a>12ne">124e>, NULLef="k1" class="line"tne"_lock#L325" ide=L3251241lass="l12ne" namue=L325"> 327 /a>12ne">124="fs/btrfs/free-spacess="line" ain_uN_ctl>-> a href="e_ctl+ock hrefrio_ctl" classb_e_ctl>-> a href="sb_e_ctllass=e=u64" class="s"nf="o_ctl /a>, ahreftd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefode=u64" class="scffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L3251242lass="l12ne" namue=L325"> 327 /a>12ne">124}>cffseehref"1" class="line"tne"_lock#L325" ide=L3251243lass="l12ne" namue=L325"> 327 /a>12ne">124         a href="+codddddddddreturn e=u64" class="sNULLnf="o_ctl /a>, NULLef="k1" class="line"tne"_lock#L325" ide=L3251244lass="l12ne" namue=L325"> 327 /a>12ne">124 a href="+code=io_ctl"7class71L375" ide=L3751245lass="l12ne" namue=L380"> 387 /a>12ne">1245id  a href="a href="ftrfs/free-spacWARN_ONnf="o_ctl /a>, WARN_ONlass=ass="sref">io_ctN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spacrio_ctleo_ct /a> =  ario_cthref"k1" class="line"tne"_lock#L325" ide=L3251246lass="l12ne" namue=L379"> 377 /a>12ne">124                     return          7 retue_ctl>-> a href="e_ctl+ockk1" class="line"tne"_lock#L325" ide=L3251247lass="l12ne" namue=L325"> 327 /a>12ne">124        }> 327 /a>12ne">124struct  a href="+code-7ache.76f="+code=iN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spacrio_ctleo_ct /a> =  ario_cthref" S+cstfs/free-space-c+csto_ct50" ide=L3801249lass="l12ne" namue=L367"> 367 /a>12ne">124}>/*need ao orphao item         *.c#L379" ide=L379125class="l12ne" namue=L368"> 367 /a>12ne">125e"fs/n  return6- acommref">btrfs/free-space         * -7asrevious ext7e- e_ctl covers the cffsee,need ao orphao item         *.c#L379" ide=L3791251lass="l12ne" namue=L325"> 327 /a>12ne">125f="fsn  return6- acommref">btrfs/free-space         * wr should return it instead cf the rio_ct e_ctlneed ao orphao item         *.c#L379" ide=L3791252lass="l12ne" namue=L334"> 337 /a>12ne">1252="fsn  return6- acommref">btrfs/free-space         */hred ao orphao item         *.c#L379" ide=L37912n3lass="l12ne" namue=L367"> 367 /a>12ne">125         a href="+cod        ne-css="srine"_>_read_ctl /a>);ess="ppt" class="line" ain_uN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaccffsee_indexleo_ct /a> =  acffsee_indexhrefk1" class="line"tne"_lock#L325" ide=L3251254lass="l12ne" namue=L325"> 327 /a>12ne">12noid  a href="ef="+codddddddddwhile (1" S+cstfs/free-space-c+csto_ct50" ide=L3801255lass="l12ne" namue=L334"> 337 /a>12ne">125f="fs/btrfs/f   if (! a href=fs/free-ce-css="srine"_>_read_ctl /a>);ess="pptio" class="sgenrb_srev>-> a href="rb_srevlass=e=u64" class="s"nf="o_ctl /a>, ahref"k1" class="line"tne"_lock#L325" ide=L3251256lass="l12ne" namue=L366"> 367 /a>12ne">125                                     -7acass="sref">io_ct"nf="o_ctl /a>, ahref"1" class="line"tne"_lock#L325" ide=L3251257lass="l12ne" namue=L325"> 327 /a>12ne">125        }> 367 /a>12ne">125struct  a href="+code a href=fs/free-ce-css="srine"_srev>-> a href="srevhref hrefrio_ctl" classb_e_ctl>-> a href="sb_e_ctllass=e=u64" class="s"nf="o_ctl /a>, ahreftd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefo1" class="line"tne"_lock#L325" ide=L3251259lass="l12ne" namue=L379"> 377 /a>12ne">125}> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L325126class="l12ne" namue=L379"> 377 /a>12ne">12ne="fs/btrfs/free-spaccccccccccccccccc-7acass="sref">io_ctsrev>-> a href="srevhrefref="ftrfs/free-spacrio_ctleo_ct /a> =  ario_cthref" S+cstfs/free-space-c+csto_ct50" ide=L3801261lass="l12ne" namue=L379"> 377 /a>12ne">12n="fs/btrfs/free-space        cccccccccccccccc-7acss="sref">io_ctsrev>-> a href="srevhrefref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref +-ce-css="srine"_srev>-> a href="srevhrefref="ftrfs/free-spacrytest,lsref"/a>);> 377 /a>12ne">126}>-> a href="e_ctl+ock hrefrio_ctl" classrev>-> a href="srevhrefk1" class="line"tne"_lock#L325" ide=L3251263lass="l12ne" namue=L380"> 387 /a>12ne">126         a href="+codddddddddddddddddddddddddbreakk1" class="line"tne"_lock#L325" ide=L3251264lass="l12ne" namue=L325"> 327 /a>12ne">126        if (! a href=fs/free---------ee-space-6ache.66"sref">WARN_O" ide=L3651265lass="l12ne" namue=L325"> 327 /a>12ne">126f="fs/btrfs/f   if (! a href=ee-space-6ache.66"sref">WARN_O" ide=L3651266lass="l12ne" namue=L379"> 377 /a>12ne">126                     ee-space-6ache.66"sref">WARN_O" ide=L3651267lass="l12ne" namue=L367"> 367 /a>12ne">126        }> 337 /a>12ne">126struct  a hreee-space-6ache.66"sref">WARN_O" ide=L3651269lass="l12ne" namue=L367"> 367 /a>12ne">126="fs/btrfs/free-space-7ache.71ref"> ide=L368127class="l12ne" namue=L325"> 327 /a>12ne">127e="fs/btrfs/f-7acass="sref">io_ctsrev>-> a href="srevhref"1" class="line"tne"_lock#L325" ide=L3251271lass="l12ne" namue=L325"> 327 /a>12ne">127="fs/btrfs/free-spacereturn e=u64" class="sNULLnf="o_ctl /a>, NULLef="k1" class="line"tne"_lock#L325" ide=L3251272lass="l12ne" namue=L342"> 346 /a>12ne">127                if (! 7 href75+code ide=L3671273lass="l12ne" namue=L380"> 386 /a>12ne">127         a hre  return6- acommref">/* find last e_ctl before the 'cffsee'b*/hred ao orphao item         *.c#L379" ide=L3791274lass="l12ne" namue=L379"> 376 /a>12ne">12n        if (!ce-css="srine"_N_ctl>-> a href="e_ctl+ock hrefrio_ctl" classrev>-> a href="srevhrefk1" class="line"tne"_lock#L325" ide=L3251275lass="l12ne" namue=L365"> 366 /a>12ne">12nf="fs/btrfs/f-7actio" class="sgeN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref fgt; tio" class="sgecffsee-spelsecctl /a>cffseehref" S+cstfs/free-space-c+csto_ct50" ide=L3801276lass="l12ne" namue=L365"> 366 /a>12ne">127                     ce-css="srine"_>_read_ctl /a>);ess="pptio" class="sgenrb_srev>-> a href="rb_srevlass=" class="line" ain_uN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaccffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L32512n7lass="l12ne" namue=L364"> 366 /a>12ne">127        }> 366 /a>12ne">127struct  a href="+code=7age" dss="line" ain_uN_ctl>-> a href="e_ctl+ock hrefrio_ctl" classb_e_ctl>-> a href="sb_e_ctllass=e=u64" class="s"nf="o_ctl /a>, ahreftd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefo+cstfs/free-space-c+csto_ct50" ide=L38012n9lass="l12ne" namue=L368"> 366 /a>12ne">12n}> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L325128class="l12ne" namue=L368"> 366 /a>12ne">12ne> 376 /a>12ne">12n="fs/btrfs/free-space} else S+cstfs/free-space-c+csto_ct50" ide=L3801282lass="l12ne" namue=L367"> 366 /a>12ne">128}> 366 /a>12ne">128         a href="+codddddddddddddddddreturn          7 retue_ctl>-> a href="e_ctl+ockk1" class="line"tne"_lock#L325" ide=L3251284lass="l12ne" namue=L364"> 366 /a>12ne">128        if (! a href=fs/free-else1" class="line"tne"_lock#L325" ide=L3251285lass="l12ne" namue=L379"> 376 /a>12ne">128f="fs/btrfs/f   if (! a href=fs/free-return e=u64" class="sNULLnf="o_ctl /a>, NULLef="k1" class="line"tne"_lock#L325" ide=L32512n6lass="l12ne" namue=L367"> 366 /a>12ne">128                     ee-space-6ache.66"sref">WARN_O" ide=L3651287lass="l12ne" namue=L267"> 266 /a>12ne">128        }>WARN_O" ide=L3651288lass="l12ne" namue=L367"> 366 /a>12ne">128struce-space-6ache.66"sref">WARN_O" ide=L3651289lass="l12ne" namue=L379"> 376 /a>12ne">128}>-> a href="e_ctl+ockref="ftrfs/free-spacrio_ctleo_ct /a> =  ario_cthref" S+cstfs/free-space-c+csto_ct50" ide=L380129class="l12ne" namue=L367"> 366 /a>12ne">129e>_read_ctl /a>);ess="ppt" class="line" ain_uN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaccffsee_indexleo_ct /a> =  acffsee_indexhrefk1" class="line"tne"_lock#L325" ide=L3251291lass="l12ne" namue=L361"> 366 /a>12ne">129="fs/btrfs/free-spacewhile (1" S+cstfs/free-space-c+csto_ct50" ide=L3801292lass="l12ne" namue=L379"> 376 /a>12ne">129}>_read_ctl /a>);ess="pptio" class="sgenrb_srev>-> a href="rb_srevlass=e=u64" class="s"nf="o_ctl /a>, ahref"k1" class="line"tne"_lock#L325" ide=L3251293lass="l12ne" namue=L379"> 376 /a>12ne">129         a href="+coddddddddd-7acass="sref">io_ct"nf="o_ctl /a>, ahref"1" class="line"tne"_lock#L325" ide=L3251294lass="l12ne" namue=L367"> 366 /a>12ne">129        if (! a href=fs/free---------breakk1" class="line"tne"_lock#L325" ide=L3251295lass="l12ne" namue=L375"> 376 /a>12ne">129f="fs/btrfs/f   if (! a href=ce-css="srine"_srev>-> a href="srevhref hrefrio_ctl" classb_e_ctl>-> a href="sb_e_ctllass=e=u64" class="s"nf="o_ctl /a>, ahreftd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefo1" class="line"tne"_lock#L325" ide=L3251296lass="l12ne" namue=L364"> 366 /a>12ne">129                                             ef="ef="+code=icffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L3251297lass="l12ne" namue=L379"> 376 /a>12ne">129        }>io_ctsrev>-> a href="srevhrefref="ftrfs/free-spacrio_ctleo_ct /a> =  ario_cthref" S+cstfs/free-space-c+csto_ct50" ide=L3801298lass="l12ne" namue=L367"> 366 /a>12ne">129struct  a href="+code a href=fs/free--7acss="sref">io_ctsrev>-> a href="srevhrefref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref +-ce-css="srine"_srev>-> a href="srevhrefref="ftrfs/free-spacrytest,lsref"/a>);> 366 /a>12ne">129}> 366 /a>13 cl>130e="fs/btrfs/free-spacccccccccccccccccbreakk1" class="line"tne"_lock#L325" ide=L32513 1lass="l13 e" namue=L361"> 366 /a>13 e">130="fs/btrfs/free-space        ee-space-6ache.66"sref">WARN_O" ide=L36513 2lass="l13 e" namue=L379"> 376 /a>13 e">130}>WARN_O" ide=L36513 3lass="l13 e" namue=L379"> 376 /a>13 e">130         a href="+cod-7actio" class="sgeN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref +-ce-css="srine"_EITS_PER_EITMAP>-> a href="EITS_PER_EITMAPhrefca=nf="_ctl" classioref">sref"/a>);>iorhref 366 /a>13 e">130        if (! a href=fs/free-return          7 retue_ctl>-> a href="e_ctl+ockk1" class="line"tne"_lock#L325" ide=L32513 5lass="l13 e" namue=L375"> 376 /a>13 e">13 5id  a href="} else -7ache.76f="+code=iN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref +-ce-css="srine"_N_ctl>-> a href="e_ctl+ockref="ftrfs/free-spacrytest,lsref"/a>);> 366 /a>13 e">130                     return          7 retue_ctl>-> a href="e_ctl+ockk1" class="line"tne"_lock#L325" ide=L32513 7lass="l13 e" namue=L379"> 376 /a>13 e">130     1" class="line"tne"_lock#L325" ide=L32513 8lass="l13 e" namue=L367"> 366 /a>13 e">130struct  a hre-7acass="sref">io_ctfuzzy>-> a href="fuzzyhref"1" class="line"tne"_lock#L325" ide=L32513 9lass="l13 e" namue=L367"> 366 /a>13 e">130}>, NULLef="k1" class="line"tne"_lock#L325" ide=L325131class="l13ne" namue=L367"> 367 /a>13ne">131e    1" class="line"tne"_lock#L325" ide=L3251311lass="l13ne" namue=L380"> 387 /a>13ne">131f="fs/btrfs/fwhile (1" S+cstfs/free-space-c+csto_ct50" ide=L3801312lass="l13ne" namue=L325"> 327 /a>13ne">131}>-> a href="e_ctl+ockref="ftrfs/free-spacrio_ctleo_ct /a> =  ario_cthref" S+cstfs/free-space-c+csto_ct50" ide=L3801313lass="l13ne" namue=L367"> 367 /a>13ne">131         a href="+coddddddddd-7actio" class="sgeN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref +-ce-css="srine"_EITS_PER_EITMAP>-> a href="EITS_PER_EITMAPhrefca+cstfs/free-space-c+csto_ct50" ide=L3801314lass="l13ne" namue=L368"> 367 4a>13ne">131        if (! a href=fs/free-----nf="_ctl" classioref">sref"/a>);>iorhref 377 /a>13ne">1315id  a href="a href="""""""""""""""""breakk1" class="line"tne"_lock#L325" ide=L3251316lass="l13ne" namue=L380"> 387 6a>13ne">131                     e else S+cstfs/free-space-c+csto_ct50" ide=L3801317lass="l13ne" namue=L325"> 327 /a>13ne">131        }>-> a href="e_ctl+ockref="ftrfs/free-spacrytest,lsref"/a>);> 367 8a>13ne">131struct  a href="+code""""""""""""""""breakk1" class="line"tne"_lock#L325" ide=L3251319lass="l13ne" namue=L368"> 367 9a>13ne">131}>WARN_O" ide=L365132class="l13ne" namue=L368"> 367 /a>13ne">132e    1" class="line"tne"_lock#L325" ide=L3251321lass="l13ne" namue=L380"> 387 /a>13ne">132="fs/btrfs/free-spacece-css="srine"_>_read_ctl /a>);ess="pptio" class="sgenrb_>ext_read_ctl /a>);rb_>extlass=" class="line" ain_uN_ctl>-> a href="e_ctl+ockref="ftrfs/free-spaccffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L3251322lass="l13ne" namue=L325"> 327 /a>13ne">132}>io_ct"nf="o_ctl /a>, ahref"1" class="line"tne"_lock#L325" ide=L3251323lass="l13ne" namue=L325"> 327 /a>13ne">132         a href="+codddddddddreturn e=u64" class="sNULLnf="o_ctl /a>, NULLef="k1" class="line"tne"_lock#L325" ide=L3251324lass="l13ne" namue=L325"> 327 /a>13ne">132        if (! a href=ss="line" ain_uN_ctl>-> a href="e_ctl+ock hrefrio_ctl" classb_e_ctl>-> a href="sb_e_ctllass=e=u64" class="s"nf="o_ctl /a>, ahreftd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefo ef="ef="+code=icffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L3251325lass="l13ne" namue=L380"> 387 /a>13ne">132f="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L3651326lass="l13ne" namue=L379"> 377 /a>13ne">132             return          7 retue_ctl>-> a href="e_ctl+ockk1" class="line"tne"_lock#L325" ide=L3251327lass="l13ne" namue=L325"> 327 /a>13ne">132     ee-space-6ache.66"sref">WARN_O" ide=L3651328lass="l13ne" namue=L325"> 327 /a>13ne">132struce-space-6ache.66"sref">WARN_O" ide=L3651329lass="l13ne" namue=L367"> 367 /a>13ne">132}> > a href="in367"     voide-space-6ache.66"sref">WARN_O" ide=L365133class="l13ne" namue=L368"> 367 /a>13ne">133e>sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefr1" class="line"tne"_lock#L325" ide=L3251331lass="l13ne" namue=L380"> 387 /a>13ne">133="fs/btrfs/free-spaceeeee         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss=""1" class="line"tne"_lock#L325" ide=L3251332lass="l13ne" namue=L325"> 327 /a>13ne">133}> 327 /a>13ne">133         a hrefrio_ctl" classb_erasfhref="+ss="srinsb_erasflass=" class="line" ain_urnfo href="ss="srinrnfoss=" =  acffsee_indexhref,t" class="line" ain_uioref">sref"/a>);>iorhrefnamue_btrf_cffseehref"k1" class="line"tne"_lock#L325" ide=L3251334lass="l13ne" namue=L364"> 367 /a>13ne">133        if (!ce-css="srine"_ioref">sref"/a>);>iorhref);> 387 /a>13ne">133="fs/ee-space-6ache.66"sref">WARN_O" ide=L3651336lass="l13ne" namue=L380"> 387 /a>13ne">133     e-space-6ache.66"sref">WARN_O" ide=L3651337lass="l13ne" namue=L325"> 327 /a>13ne">133     static_void"ftrfs/free-spac6n367k_namue_btrfhref="+ss="srinun367k_namue_btrflass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefr1" class="line"tne"_lock#L325" ide=L3251338lass="l13ne" namue=L367"> 367 /a>13ne">133struct  a href="+codefree-spaceeeee         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss=""1" class="line"tne"_lock#L325" ide=L3251339lass="l13ne" namue=L368"> 367 /a>13ne">133}> 327 /a>13ne">134e       return - a hre6="+co__un367k_namue_btrfhref="+ss="srin__un367k_namue_btrflass=ce-css="srine"_ioref">sref"/a>);>iorhrefr_         7 retuinfo href="ss="srinrnfoss=""k1" class="line"tne"_lock#L325" ide=L3251341lass="l13ne" namue=L325"> 327 /a>13ne">1341id  a href="ftrfs/free-spacioref">sref"/a>);>iorhrefnamue_btrfid  a-hrefrio_ctl" clasrnfo href="ss="srinrnfoss=");> 327 /a>13ne">134}>WARN_O" ide=L3651343lass="l13ne" namue=L325"> 327 /a>13ne">134     1" class="line"tne"_lock#L325" ide=L3251344lass="l13ne" namue=L325"> 327 /a>13ne">134 a hrstatic_in    6 int 636clas367k_namue_btrfhref="+ss="srin367k_namue_btrflass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefr1" class="line"tne"_lock#L325" ide=L3251345lass="l13ne" namue=L380"> 387 /a>13ne">1345id  a href="a href="e-spaceeeee         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss=""1" class="line"tne"_lock#L325" ide=L3251346lass="l13ne" namue=L379"> 377 /a>13ne">134     S+cstfs/free-space-c+csto_ct50" ide=L3801347lass="l13ne" namue=L325"> 327 /a>13ne">134        }>reehref = 65=unlock_page" class="e.c#L367" ide=L3671348lass="l13ne" namue=L325"> 327 /a>13ne">134struce-space-6ache.66"sref">WARN_O" ide=L3651349lass="l13ne" namue=L367"> 367 /a>13ne">134}>io_ctrnfo href="ss="srinrnfoss=" =  ario_cthreft" cla" cla ass="sref">io_ctrnfo href="ss="srinrnfoss=");> 367 /a>13ne">135e       return - a hre6="+coree-spelsecctl /a>reehref = n - a hre6="+coN_ON_insert_cffsee-spelsecctl /a>N_ON_insert_cffseelass=" class="line" ain_uioref">sref"/a>);>iorhrefnamue_btrf_cffseehrefr_         7 retuinfo href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehrefr1" class="line"tne"_lock#L325" ide=L3251351lass="l13ne" namue=L325"> 327 /a>13ne">135="fs/btrfs/free-space        ccccccccc" class="line" ain_urnfo href="ss="srinrnfoss=" =  acffsee_indexhref,tche.76f="+code=irnfo href="ss="srinrnfoss=" =  ario_cthref !hrefrio_ctl" clasNULLnf="o_ctl /a>, NULLef=")"k1" class="line"tne"_lock#L325" ide=L3251352lass="l13ne" namue=L334"> 337 /a>13ne">135}> 367 /a>13ne">135         a href="+codreturn          7 returee-spelsecctl /a>reehrefk1" class="line"tne"_lock#L325" ide=L3251354lass="l13ne" namue=L325"> 327 /a>13ne">135 a href="+code=io_ctl"7class71L375" ide=L3751355lass="l13ne" namue=L334"> 337 /a>13ne">135f="fs/btrfs/fftrfs/free-spacioref">sref"/a>);>iorhrefnamue_btrfid  a+hrefrio_ctl" clasrnfo href="ss="srinrnfoss=");> 367 /a>13ne">135             ce-css="srine"_ioref">sref"/a>);>iorhref);> 327 /a>13ne">135        }>reehrefk1" class="line"tne"_lock#L325" ide=L3251358lass="l13ne" namue=L365"> 367 /a>13ne">135strucee-space-6ache.66"sref">WARN_O" ide=L3651359lass="l13ne" namue=L379"> 377 /a>13ne">135="fs/btrfs/free-space-7ache.71ref"> ide=L368136class="l13ne" namue=L379"> 377 /a>13ne">13ne="fsstatic_void"ftrfs/free-spacrecalculate_tfs/sholdst,lsref"/a>);>sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref"1" class="line"tne"_lock#L325" ide=L3251361lass="l13ne" namue=L379"> 377 /a>13ne">13n="fs/S+cstfs/free-space-c+csto_ct50" ide=L3801362lass="l13ne" namue=L379"> 377 /a>13ne">136}>sref"/a>);>rine"_block_group_ ide=hrefcace-css="srine"_block_groupef">sref"/a>);>rlock_grouphref = n - a hre6="+coioref">sref"/a>);>iorhrefsref"/a>);>privatehrefk1" class="line"tne"_lock#L325" ide=L3251363lass="l13ne" namue=L380"> 387 /a>13ne">136         a hrefrio_ctl" clas64"sref">WARN_ON /a>( a hde=u64" class="smax_nytest,lsref"/a>);> 327 /a>13ne">136        if (!ce-css="srine"_64"sref">WARN_ON /a>( a hde=u64" class="saio_ct_nytest,lsref"/a>);> 327 /a>13ne">136f="fs/btrfs/fftrfs/free-spac64"sref">WARN_ON /a>( a hde=u64" class="sext7e-_nytest,lsref"/a>);> 377 /a>13ne">136             ce-css="srine"_64"sref">WARN_ON /a>( a hde=u64" class="ssizesref">WARN_ON /sizehref = n - a hre6="+coblock_groupef">sref"/a>);>rlock_grouphref-> a href="kelhref.e.69CHE_SHIFT" cffsee-spelsecctl /a>cffseehrefk1" class="line"tne"_lock#L325" ide=L3251367lass="l13ne" namue=L367"> 367 /a>13ne">136        }>WARN_ON /a>( a hde=u64" class="saytes_per_bgt,lsref"/a>);>sref"/a>);>rlock_grouphrefWARN_ON /seceorsizehrefk1" class="line"tne"_lock#L325" ide=L3251368lass="l13ne" namue=L334"> 337 /a>13ne">136struct  a hrein    6 int 636clasmax_nio_ctst,lsref"/a>);>WARN_ON /div64_64"lass=ce-css="srine"_sizesref">WARN_ON /sizehref +-ce-css="srine"_aytes_per_bgt,lsref"/a>);>);> 367 /a>13ne">136="fs/btrfs/free-space-7ache.71ref"> ide=L368137class="l13ne" namue=L325"> 327 /a>13ne">137e       return - a hre6="+coBUG_Ol " class==  a hBUG_Ollass=e=u64" class="sioref">sref"/a>);>iorhref);>);> 327 /a>13ne">137="fs/1" class="line"tne"_lock#L325" ide=L3251372lass="l13ne" namue=L342"> 346 /a>13ne">137}>/*need ao orphao item         *.c#L379" ide=L3791373lass="l13ne" namue=L380"> 386 /a>13ne">137     n  return6- acommref">btrfs/fre* The goal is to keep the total amoun  of memory used per 1gb of _btrfided ao orphao item         *.c#L379" ide=L3791374lass="l13ne" namue=L379"> 376 /a>13ne">13n     n  return6- acommref">btrfs/fre* a  or below 32k, so wr need to adjust how much memory wr allow to bfided ao orphao item         *.c#L379" ide=L3791375lass="l13ne" namue=L365"> 366 /a>13ne">137="fs/n  return6- acommref">btrfs/fre* used by ext7e- based   *. _btrf trackingided ao orphao item         *.c#L379" ide=L3791376lass="l13ne" namue=L365"> 366 /a>13ne">1376       return6- acommref">btrfs/fre*/hred ao orphao item         *.c#L379" ide=L37913n7lass="l13ne" namue=L364"> 366 /a>13ne">137        }>WARN_ON /sizehref flt; 1024e* 1024e* 1024"1" class="line"tne"_lock#L325" ide=L32513n8lass="l13ne" namue=L367"> 366 /a>13ne">137struct  a href="+codee=u64" class="smax_nytest,lsref"/a>);>);> 366 /a>13ne">13n}> 366 /a>13ne">13ne>);>);> 376 /a>13ne">13n="fs/btrfs/free-space/btrfs/fe=u64" class="sdiv64_64"sref">WARN_ON /div64_64"lass=ce-css="srine"_sizesref">WARN_ON /sizehref, 1024e* 1024e* 1024"k1" class="line"tne"_lock#L325" ide=L3251382lass="l13ne" namue=L367"> 366 /a>13ne">138                if (! 7 href75+code ide=L3671383lass="l13ne" namue=L367"> 366 /a>13ne">138         a hre  return6- acommref">/*hred ao orphao item         *.c#L379" ide=L3791384lass="l13ne" namue=L364"> 366 /a>13ne">138     n  return6- acommref">btrfs/fre* wr want to accoun  for 1 more rio_ct thretwhat wr have so wr cretmakfided ao orphao item         *.c#L379" ide=L3791385lass="l13ne" namue=L379"> 376 /a>13ne">138="fs/n  return6- acommref">btrfs/fre* sure wr don't go over our overall goal of MAX_CACHE_BYTES_PER_GIG asided ao orphao item         *.c#L379" ide=L3791386lass="l13ne" namue=L367"> 366 /a>13ne">1386       return6- acommref">btrfs/fre* wr add more rio_cts.need ao orphao item         *.c#L379" ide=L3791387lass="l13ne" namue=L267"> 266 /a>13ne">138        return6- acommref">btrfs/fre*/hred ao orphao item         *.c#L379" ide=L3791388lass="l13ne" namue=L367"> 366 /a>13ne">1388       return - a hre6="+coaio_ct_nytest,lsref"/a>);>sref"/a>);>iorhref);>);> 376 /a>13ne">138="fs/btrfs/free-space-7ache.71ref"> ide=L368139class="l13ne" namue=L367"> 366 /a>13ne">139e="fs/btrfs/f-7acn - a hre6="+coaio_ct_nytest,lsref"/a>);>);> 366 /a>13ne">139="fs/btrfs/free-spacee=u64" class="sioref">sref"/a>);>iorhref);> 376 /a>13ne">139}> 376 /a>13ne">139         a hree-space-6ache.66"sref">WARN_O" ide=L3651394lass="l13ne" namue=L367"> 366 /a>13ne">139 a href="+code=io_ctl"7class71L375" ide=L3751395lass="l13ne" namue=L375"> 376 /a>13ne">139f="fs/btrfs/fe  return6- acommref">/*hred ao orphao item         *.c#L379" ide=L3791396lass="l13ne" namue=L364"> 366 /a>13ne">1396       return6- acommref">btrfs/fre* wr want the ext7e- e_ctl tfs/shold to always bf a  most 1/2 the maxwhred ao orphao item         *.c#L379" ide=L3791397lass="l13ne" namue=L379"> 376 /a>13ne">139        return6- acommref">btrfs/fre* nytes wr crethave, or whatever is less thretthat.need ao orphao item         *.c#L379" ide=L3791398lass="l13ne" namue=L367"> 366 /a>13ne">139struc   return6- acommref">btrfs/fre*/hred ao orphao item         *.c#L379" ide=L3791399lass="l13ne" namue=L367"> 366 /a>13ne">139}>);>);>);> 366 /a>14 cl>140e       return - a hre6="+coext7e-_nytest,lsref"/a>);>WARN_ON /a>( a hr_         7 retuext7e-_nytest,lsref"/a>);>WARN_ON /div64_64"lass=ce-css="srine"_max_nytest,lsref"/a>);> 366 /a>14 e">140="fs/1" class="line"tne"_lock#L325" ide=L32514 2lass="l14 e" namue=L379"> 376 /a>14 e">140}>sref"/a>);>iorhref);> 376 /a>14 e">140         a href="+cod         7 retudiv64_64"sref">WARN_ON /div64_64"lass=ce-css="srine"_ext7e-_nytest,lsref"/a>);>sref"/a>);>rine"_namue_btrfef=")""k1" class="line"tne"_lock#L325" ide=L32514 4lass="l14 e" namue=L367"> 366 /a>14 e">140     ee-space-6ache.66"sref">WARN_O" ide=L36514 5lass="l14 e" namue=L375"> 376 /a>14 e">14 5id  e-space-6ache.66"sref">WARN_O" ide=L36514 6lass="l14 e" namue=L364"> 366 /a>14 e">140     static_         7 retuin367"> > a href="in367"     voidrn - a hre6="+co__aio_ct_clear_aiost,lsref"/a>);><__aio_ct_clear_aioslass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefr1" class="line"tne"_lock#L325" ide=L32514 7lass="l14 e" namue=L379"> 376 /a>14 e">140        }> 366 /a>14 e">140struct  a href="+code""""""""""""""""f="+cod         7 retu64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehrefr ce-css="srine"_64"sref">WARN_ON /a>( a hde=u64" class="saytest,lsref"/a>);> 366 /a>14 e">140}> 367 /a>14ne">141e       returunsigned longde=u64" class="sstare-spelsecctl /a>starehrefr ce-css="srine"_coun ef">sref"/a>);>ioun hrefk1" class="line"tne"_lock#L325" ide=L3251411lass="l14ne" namue=L380"> 387 /a>14ne">141="fs/1" class="line"tne"_lock#L325" ide=L3251412lass="l14ne" namue=L325"> 327 /a>14ne">141}>cffsee_to_aiolass=ce-css="srine"_info href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehrefr-nf="_ctl" classioref">sref"/a>);>iorhref 367 /a>14ne">141         a hrefrio_ctl" clascoun ef">sref"/a>);>ioun href = n - a hre6="+cobytes_to_aiost,lsref"/a>);>);>sref"/a>);>iorhref 367 4a>14ne">141        if (!ce-css="srine"_BUG_Ol " class==  a hBUG_Ollass=e=u64" class="sstare-spelsecctl /a>starehref +-ce-css="srine"_coun ef">sref"/a>);>ioun href "gt; tio" class="sgeEITS_PER_EITMAP>-> a href="EITS_PER_EITMAPhref"k1" class="line"tne"_lock#L325" ide=L3251415lass="l14ne" namue=L375"> 377 /a>14ne">1415id  e-space-6ache.66"sref">WARN_O" ide=L3651416lass="l14ne" namue=L380"> 387 6a>14ne">141             ce-css="srine"_aio_ct_cleart,lsref"/a>);> =  ario_cthrefr-nf="_ctl" classstare-spelsecctl /a>starehrefr ce-css="srine"_coun ef">sref"/a>);>ioun href"k1" class="line"tne"_lock#L325" ide=L3251417lass="l14ne" namue=L325"> 327 /a>14ne">141     1" class="line"tne"_lock#L325" ide=L32514n8lass="l14ne" namue=L367"> 367 8a>14ne">1418       return - a hre6="+cornfo href="ss="srinrnfoss=");>);> 367 9a>14ne">141}>WARN_O" ide=L365142class="l14ne" namue=L368"> 367 /a>14ne">142e    1" class="line"tne"_lock#L325" ide=L3251421lass="l14ne" namue=L380"> 387 /a>14ne">142="fs/static_void"ftrfs/free-spacaio_ct_clear_aiost,lsref"/a>);>sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefr1" class="line"tne"_lock#L325" ide=L3251422lass="l14ne" namue=L325"> 327 /a>14ne">142}>WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehrefr1" class="line"tne"_lock#L325" ide=L3251423lass="l14ne" namue=L325"> 327 /a>14ne">142         a href="+coddddddddd="+cod         7 retu64"sref">WARN_ON /a>( a hde=u64" class="saytest,lsref"/a>);> 327 /a>14ne">142     S+cstfs/free-space-c+csto_ct50" ide=L3801425lass="l14ne" namue=L380"> 387 /a>14ne">142f="fs/btrfs/fftrfs/free-spac__aio_ct_clear_aiost,lsref"/a>);><__aio_ct_clear_aioslass=ce-css="srine"_ioref">sref"/a>);>iorhrefrrn - a hre6="+cornfo href="ss="srinrnfoss="o ef="ef="+code=icffsee-spelsecctl /a>cffseehrefr_         7 retuaytest,lsref"/a>);> 377 /a>14ne">142             ce-css="srine"_ioref">sref"/a>);>iorhrefnamue_btrfid  a-hrefrio_ctl" clasnytest,lsref"/a>);> 327 /a>14ne">142     ee-space-6ache.66"sref">WARN_O" ide=L3651428lass="l14ne" namue=L325"> 327 /a>14ne">142struce-space-6ache.66"sref">WARN_O" ide=L3651429lass="l14ne" namue=L367"> 367 /a>14ne">142}>);>sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefr1" class="line"tne"_lock#L325" ide=L325143class="l14ne" namue=L368"> 367 /a>14ne">143e="fs/btrfs/free-spaccccccccccccc         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="rd         7 retu64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehrefr1" class="line"tne"_lock#L325" ide=L3251431lass="l14ne" namue=L380"> 387 /a>14ne">143="fs/btrfs/free-spaceeeeedd="+cod         7 retu64"sref">WARN_ON /a>( a hde=u64" class="saytest,lsref"/a>);> 327 /a>14ne">143}> 327 /a>14ne">143         a hrunsigned longde=u64" class="sstare-spelsecctl /a>starehrefr ce-css="srine"_coun ef">sref"/a>);>ioun hrefk1" class="line"tne"_lock#L325" ide=L3251434lass="l14ne" namue=L364"> 367 /a>14ne">143 a href="+code=io_ctl"7class71L375" ide=L3751435lass="l14ne" namue=L380"> 387 /a>14ne">143f="fs/btrfs/fftrfs/free-spacstare-spelsecctl /a>starehref = n - a hre6="+cocffsee_to_aio-spelsecctl /a>cffsee_to_aiolass=ce-css="srine"_info href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehrefr-nf="_ctl" classioref">sref"/a>);>iorhref 387 /a>14ne">143             ce-css="srine"_ioun ef">sref"/a>);>ioun href = n - a hre6="+cobytes_to_aiost,lsref"/a>);>);>sref"/a>);>iorhref 327 /a>14ne">143        }>sref"/a>);>ioun href "gt; tio" class="sgeEITS_PER_EITMAP>-> a href="EITS_PER_EITMAPhref"k1" class="line"tne"_lock#L325" ide=L3251438lass="l14ne" namue=L367"> 367 /a>14ne">143struce-space-6ache.66"sref">WARN_O" ide=L3651439lass="l14ne" namue=L368"> 367 /a>14ne">143}>);> =  ario_cthrefr-nf="_ctl" classstare-spelsecctl /a>starehrefr ce-css="srine"_coun ef">sref"/a>);>ioun href"k1" class="line"tne"_lock#L325" ide=L325144class="l14ne" namue=L325"> 327 /a>14ne">144e    1" class="line"tne"_lock#L325" ide=L3251441lass="l14ne" namue=L325"> 327 /a>14ne">1441id  a href="ftrfs/free-spacrnfo href="ss="srinrnfoss=");>);> 327 /a>14ne">144}>sref"/a>);>iorhrefnamue_btrfid  a+hrefrio_ctl" clasnytest,lsref"/a>);> 327 /a>14ne">144     ee-space-6ache.66"sref">WARN_O" ide=L3651444lass="l14ne" namue=L325"> 327 /a>14ne">144 a href="+code=io_ctl"7class71L375" ide=L3751445lass="l14ne" namue=L380"> 387 /a>14ne">1445id  static_in    6 int 636classearch_nio_ctleo_ct /a> =  asearch_nio_ctlass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefr1" class="line"tne"_lock#L325" ide=L3251446lass="l14ne" namue=L379"> 377 /a>14ne">144                                       6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_aio_ct_rnfo href="ss="srinaio_ct_rnfoss="rd         7 retu64"sref">WARN_ON /a>( a hdace-css="srine"_cffsee-spelsecctl /a>cffseehrefr1" class="line"tne"_lock#L325" ide=L3251447lass="l14ne" namue=L325"> 327 /a>14ne">144        }>WARN_ON /a>( a hdace-css="srine"_aytest,lsref"/a>);> 327 /a>14ne">144strucS+cstfs/free-space-c+csto_ct50" ide=L3801449lass="l14ne" namue=L367"> 367 /a>14ne">144}>);> 367 /a>14ne">145e       returunsigned longde=u64" class="saiost,lsref"/a>);> 327 /a>14ne">145="fs/btrfs/frunsigned longde=u64" class="s>ext_zero href="ss="srin>ext_zerohrefk1" class="line"tne"_lock#L325" ide=L3251452lass="l14ne" namue=L334"> 337 /a>14ne">145                if (! 7 href75+code ide=L36714n3lass="l14ne" namue=L367"> 367 /a>14ne">145         a hrefrio_ctl" clasi href="ss="srinrhref = n - a hre6="+cocffsee_to_aio-spelsecctl /a>cffsee_to_aiolass=ce-css="srine"_aio_ct_rnfo href="ss="srinaio_ct_rnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehrefr-nf="_ctl" classioref">sref"/a>);>iorhref 327 /a>14ne">145        if (! a href=fs/free---ef="ef="+code=imax_e-spelsecctl /a>max_elass=ce-css="srine"_64"sref">WARN_ON /a>( a hr_ace-css="srine"_cffsee-spelsecctl /a>cffseehrefrsce-css="srine"_aio_ct_rnfo href="ss="srinaio_ct_rnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref""k1" class="line"tne"_lock#L325" ide=L3251455lass="l14ne" namue=L334"> 337 /a>14ne">145f="fs/btrfs/fftrfs/free-spacaiost,lsref"/a>);>);>);>sref"/a>);>iorhref 367 /a>14ne">145     e-space-6ache.66"sref">WARN_O" ide=L3651457lass="l14ne" namue=L325"> 327 /a>14ne">145        }>);> =  ario_cthrefr-nf="_ctl" classEITS_PER_EITMAP>-> a href="EITS_PER_EITMAPhref" S+cstfs/free-space-c+csto_ct50" ide=L3801458lass="l14ne" namue=L365"> 367 /a>14ne">145struct  a href="+codee=u64" class="s>ext_zero href="ss="srin>ext_zerohref = n - a hre6="+cofind_>ext_zero_aio-spelsecctl /a>find_>ext_zero_aiolass=ce-css="srine"_aio_ct_rnfo href="ss="srinaio_ct_rnfoss="ref="ftrfs/free-spacnio_ctleo_ct /a> =  ario_cthrefr+cstfs/free-space-c+csto_ct50" ide=L3801459lass="l14ne" namue=L379"> 377 /a>14ne">145}> 377 /a>14ne">146e="fs/btrfs/free-spac-7ac=e=u64" class="s"ext_zero href="ss="srin>ext_zerohref -de=u64" class="si href="ss="srinrhref" a hr= n - a hre6="+coaiost,lsref"/a>);> 377 /a>14ne">146="fs/btrfs/free-space/btrfs/fe=u64" class="sfound_aiost,lsref"/a>);>ext_zerohref -de=u64" class="si href="ss="srinrhrefk1" class="line"tne"_lock#L325" ide=L3251462lass="l14ne" namue=L379"> 377 /a>14ne">146}> 387 /a>14ne">146         a href="+codee-space-6ache.66"sref">WARN_O" ide=L3651464lass="l14ne" namue=L325"> 327 /a>14ne">146        if (! a href=efrio_ctl" clasi href="ss="srinrhref = n - a hre6="+co>ext_zero href="ss="srin>ext_zerohrefk1" class="line"tne"_lock#L325" ide=L3251465lass="l14ne" namue=L325"> 327 /a>14ne">146f="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L3651466lass="l14ne" namue=L379"> 377 /a>14ne">146     e-space-6ache.66"sref">WARN_O" ide=L3651467lass="l14ne" namue=L367"> 367 /a>14ne">146        }>);> 337 /a>14ne">146struct  a href="+codeace-css="srine"_cffsee-spelsecctl /a>cffseehref = =e=u64" class="s64"sref">WARN_ON /a>( a h)=ce-css="srine"_i href="ss="srinrhrefca=nf="_ctl" classioref">sref"/a>);>iorhrefcffseehrefk1" class="line"tne"_lock#L325" ide=L3251469lass="l14ne" namue=L367"> 367 /a>14ne">146}>);>WARN_ON /a>( a h)=ce-css="srine"_found_aiost,lsref"/a>);>sref"/a>);>iorhref 327 /a>14ne">147e="fs/btrfs/free-spacreturn 65=unlock_page" class="e.c#L367" ide=L3671471lass="l14ne" namue=L325"> 327 /a>14ne">1471="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L3651472lass="l14ne" namue=L342"> 346 /a>14ne">147                if (! 7 href75+code ide=L3671473lass="l14ne" namue=L380"> 386 /a>14ne">147         a hrreturn -15=unlock_page" class="e.c#L367" ide=L3671474lass="l14ne" namue=L379"> 376 /a>14ne">147     ee-space-6ache.66"sref">WARN_O" ide=L3651475lass="l14ne" namue=L365"> 366 /a>14ne">1475id  e-space-6ache.66"sref">WARN_O" ide=L3651476lass="l14ne" namue=L365"> 366 /a>14ne">147     static_         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcae-space-6ache.66"sref">WARN_O" ide=L3651477lass="l14ne" namue=L364"> 366 /a>14ne">147     n - a hre6="+cofind_namue_btrf-spelsecctl /a>nind_namue_btrflass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefrd         7 retu64"sref">WARN_ON /a>( a hdace-css="srine"_cffsee-spelsecctl /a>cffseehrefr=         7 retu64"sref">WARN_ON /a>( a hdace-css="srine"_aytest,lsref"/a>);> 366 /a>14ne">147strucS+cstfs/free-space-c+csto_ct50" ide=L38014n9lass="l14ne" namue=L368"> 366 /a>14ne">14n}>-> a href="e_ctl+ockk1" class="line"tne"_lock#L325" ide=L325148class="l14ne" namue=L368"> 366 /a>14ne">14ne>clahrefcace-css="srine"_>cla>-> a href=">clahrefk1" class="line"tne"_lock#L325" ide=L3251481lass="l14ne" namue=L370"> 376 /a>14ne">14n="fs/btrfs/frin    6 int 636clasree-spelsecctl /a>reehrefk1" class="line"tne"_lock#L325" ide=L3251482lass="l14ne" namue=L367"> 366 /a>14ne">148                if (! 7 href75+code ide=L3671483lass="l14ne" namue=L367"> 366 /a>14ne">148         a hr-7acass="sref">io_ctioref">sref"/a>);>iorhrefnamue_btrf_cffseehref.e.69CHE_SHIFT" rb_>cla>-> a href="rb_>clahref"1" class="line"tne"_lock#L325" ide=L3251484lass="l14ne" namue=L364"> 366 /a>14ne">148        if (! a href=return e=u64" class="sNULLnf="o_ctl /a>, NULLef="k1" class="line"tne"_lock#L325" ide=L3251485lass="l14ne" namue=L379"> 376 /a>14ne">1485id  e-space-6ache.66"sref">WARN_O" ide=L3651486lass="l14ne" namue=L367"> 366 /a>14ne">148             ce-css="srine"_e_ctl>-> a href="e_ctl+ock = n - a hre6="+coN_ON_search_cffsee-spelsecctl /a>N_ON_search_cffseelass=ce-css="srine"_ioref">sref"/a>);>iorhrefrd         7 retucffsee_to_aio_ctleo_ct /a> =  acffsee_to_aio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrdace-css="srine"_cffsee-spelsecctl /a>cffseehref), 0, 1"k1" class="line"tne"_lock#L325" ide=L3251487lass="l14ne" namue=L267"> 266 /a>14ne">148        }>io_cte_ctl>-> a href="e_ctl+ock"1" class="line"tne"_lock#L325" ide=L3251488lass="l14ne" namue=L367"> 366 /a>14ne">148struct  a href="+codereturn e=u64" class="sNULLnf="o_ctl /a>, NULLef="k1" class="line"tne"_lock#L325" ide=L3251489lass="l14ne" namue=L379"> 376 /a>14ne">148="fs/btrfs/free-space-7ache.71ref"> ide=L368149class="l14ne" namue=L367"> 366 /a>14ne">149e="fs/btrfs/ffor =e=u64" class="s"cla>-> a href=">clahref = " class="line" ain_ue_ctl>-> a href="e_ctl+ock =  acffsee_indexhref; tio" class="sge>cla>-> a href=">clahrefk tio" class="sge>cla>-> a href=">clahref = n - a hre6="+corb_>exe-spelsecctl /a>rb_>exelass=ce-css="srine"_>cla>-> a href=">clahref)" S+cstfs/free-space-c+csto_ct50" ide=L3801491lass="l14ne" namue=L361"> 366 /a>14ne">149="fs/btrfs/free-spacee=u64" class="se_ctl>-> a href="e_ctl+ock = n - a hre6="+cosb_e_ctl>-> a href="sb_e_ctllass=ce-css="srine"_>cla>-> a href=">clahref,s         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefrd         7 retucffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L3251492lass="l14ne" namue=L379"> 376 /a>14ne">149}>);>);> 376 /a>14ne">149         a href="+codddddddddcontinuek1" class="line"tne"_lock#L325" ide=L3251494lass="l14ne" namue=L367"> 366 /a>14ne">149 a href="+code=io_ctl"7class71L375" ide=L3751495lass="l14ne" namue=L375"> 376 /a>14ne">149f="fs/btrfs/f/btrfs/f-7actio" class="sgee_ctl>-> a href="e_ctl+ock =  ario_cthref" S+cstfs/free-space-c+csto_ct50" ide=L3801496lass="l14ne" namue=L364"> 366 /a>14ne">149                               6 int 636clasree-spelsecctl /a>reehref = n - a hre6="+cosearch_nio_ctleo_ct /a> =  asearch_nio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrd         7 retue_ctl>-> a href="e_ctl+ocko ef="ef="+code=icffsee-spelsecctl /a>cffseehrefr_         7 retuaytest,lsref"/a>);> 376 /a>14ne">149        }>io_ctree-spelsecctl /a>reehref"1" class="line"tne"_lock#L325" ide=L3251498lass="l14ne" namue=L367"> 366 /a>14ne">149struct  a href="+code""""""""""""""""return e=u64" class="se_ctl>-> a href="e_ctl+ockk1" class="line"tne"_lock#L325" ide=L3251499lass="l14ne" namue=L367"> 366 /a>14ne">149}> 366 /a>15 cl>150e="fs/btrfs/free-spacee-space-6ache.66"sref">WARN_O" ide=L36515 1lass="l15 e" namue=L361"> 366 /a>15 e">150="fs/1" class="line"tne"_lock#L325" ide=L32515 2lass="l15 e" namue=L379"> 376 /a>15 e">150}>cffseehref = ss="line" ain_ue_ctl>-> a href="e_ctl+ockcffseehrefk1" class="line"tne"_lock#L325" ide=L32515 3lass="l15 e" namue=L379"> 376 /a>15 e">150         a href="+codace-css="srine"_aytest,lsref"/a>);>);> 366 /a>15 e">150        if (! a href=return e=u64" class="se_ctl>-> a href="e_ctl+ockk1" class="line"tne"_lock#L325" ide=L32515 5lass="l15 e" namue=L375"> 376 /a>15 e">150f="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L36515 6lass="l15 e" namue=L364"> 366 /a>15 e">150     e-space-6ache.66"sref">WARN_O" ide=L36515 7lass="l15 e" namue=L379"> 376 /a>15 e">150        }> 366 /a>15 e">150strucee-space-6ache.66"sref">WARN_O" ide=L36515 9lass="l15 e" namue=L367"> 366 /a>15 e">150="fs/btrfs/free-space-7ache.71ref"> ide=L368151class="l15ne" namue=L367"> 367 /a>15ne">151e="fsstatic_void"ftrfs/free-spacadd_>ew_nio_ctleo_ct /a> =  aadd_>ew_nio_ctlass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefrbtrfs/free-space-7ache.71ref"> ide=L3681511lass="l15ne" namue=L380"> 387 /a>15ne">151="fs/btrfs/free-spaceeeeedd="+co         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="rd         7 retu64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehref"1" class="line"tne"_lock#L325" ide=L3251512lass="l15ne" namue=L325"> 327 /a>15ne">151}> 367 /a>15ne">151         a hrefrio_ctl" clasinfo href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref = n - a hre6="+cocffsee_to_aio_ctleo_ct /a> =  acffsee_to_aio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="scffsee-spelsecctl /a>cffseehref"k1" class="line"tne"_lock#L325" ide=L3251514lass="l15ne" namue=L368"> 367 4a>15ne">151        if (!ce-css="srine"_rnfo href="ss="srinrnfoss=");> 377 /a>15ne">151f="fs/btrfs/fftrfs/free-spacINIT_LIST_HEADt,lsref"/a>);> 387 6a>15ne">151             ce-css="srine"_380k_namue_btrfhref="+ss="srin380k_namue_btrflass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss=""k1" class="line"tne"_lock#L325" ide=L3251517lass="l15ne" namue=L325"> 327 /a>15ne">151        }>sref"/a>);>iorhref);> 367 8a>15ne">151struce-space-6ache.66"sref">WARN_O" ide=L3651519lass="l15ne" namue=L368"> 367 9a>15ne">151}>sref"/a>);>iorhref =  acphref);>sref"/a>);>iorhref"k1" class="line"tne"_lock#L325" ide=L325152class="l15ne" namue=L368"> 367 /a>15ne">152e    ee-space-6ache.66"sref">WARN_O" ide=L3651521lass="l15ne" namue=L380"> 387 /a>15ne">152="fs/1" class="line"tne"_lock#L325" ide=L3251522lass="l15ne" namue=L325"> 327 /a>15ne">152}> =  anamueaio_ctlass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefrbtrfs/free-space-7ache.71ref"> ide=L3681523lass="l15ne" namue=L325"> 327 /a>15ne">152         a href="+coddddddddd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_aio_ct_rnfo href="ss="srinaio_ct_rnfoss=""1" class="line"tne"_lock#L325" ide=L3251524lass="l15ne" namue=L325"> 327 /a>15ne">152     S+cstfs/free-space-c+csto_ct50" ide=L3801525lass="l15ne" namue=L380"> 387 /a>15ne">152f="fs/btrfs/fftrfs/free-spacun380k_namue_btrfhref="+ss="srinun380k_namue_btrflass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="saio_ct_rnfo href="ss="srinaio_ct_rnfoss=""k1" class="line"tne"_lock#L325" ide=L3251526lass="l15ne" namue=L379"> 377 /a>15ne">152             ce-css="srine"_k_loc href="ss="srink_loclass=ce-css="srine"_aio_ct_rnfo href="ss="srinaio_ct_rnfoss="ref="ftrfs/free-spacnio_ctleo_ct /a> =  ario_cthref"k1" class="line"tne"_lock#L325" ide=L3251527lass="l15ne" namue=L325"> 327 /a>15ne">152        }> =  arine"_namue_btrf_iide=threfrde=u64" class="saio_ct_rnfo href="ss="srinaio_ct_rnfoss=""k1" class="line"tne"_lock#L325" ide=L3251528lass="l15ne" namue=L325"> 327 /a>15ne">1528       return - a hre6="+coioref">sref"/a>);>iorhref);> 367 /a>15ne">152}>sref"/a>);>iorhref =  acphref);>sref"/a>);>iorhref"k1" class="line"tne"_lock#L325" ide=L325153class="l15ne" namue=L368"> 367 /a>15ne">153e    ee-space-6ache.66"sref">WARN_O" ide=L3651531lass="l15ne" namue=L380"> 387 /a>15ne">153="fs/1" class="line"tne"_lock#L325" ide=L3251532lass="l15ne" namue=L325"> 327 /a>15ne">153}>cin367"> > a href=">cin367"> =  aremove_naomeaio_ctlass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefrbtrfs/free-space-7ache.71ref"> ide=L3681533lass="l15ne" namue=L325"> 327 /a>15ne">153         a href="+coddddddddddddddd         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_aio_ct_rnfo href="ss="srinaio_ct_rnfoss="rbtrfs/free-space-7ache.71ref"> ide=L3681534lass="l15ne" namue=L364"> 367 /a>15ne">153        if (! a href=fs/free---fs/fftrfs/free-spacu4"sref">WARN_ON /a>( a hdace-css="srine"_cffsee-spelsecctl /a>cffseehrefr=         7 retu64"sref">WARN_ON /a>( a hdace-css="srine"_aytest,lsref"/a>);> 387 /a>15ne">153f="fsS+cstfs/free-space-c+csto_ct50" ide=L3801536lass="l15ne" namue=L380"> 387 /a>15ne">153             ce-css="srine"_64"sref">WARN_ON /a>( a hde=u64" class="send>-> a href="e_def="k1" class="line"tne"_lock#L325" ide=L3251537lass="l15ne" namue=L325"> 327 /a>15ne">153        }>WARN_ON /a>( a hde=u64" class="ssearch_stare-spelsecctl /a>search_starehrefr=         7 retusearch_nytest,lsref"/a>);> 367 /a>15ne">1538       returin    6 int 636clasree-spelsecctl /a>reehrefk1" class="line"tne"_lock#L325" ide=L3251539lass="l15ne" namue=L368"> 367 /a>15ne">153="fs/btrfs/free-space-7ache.71ref"> ide=L368154class="l15ne" namue=L325"> 327 /a>15ne">154e    ftrfs/free-spacagainleo_ct /a> =  aagain    :btrfs/free-space-7ache.71ref"> ide=L3681541lass="l15ne" namue=L325"> 327 /a>15ne">1541id  a href="ftrfs/free-spacend>-> a href="e_def=" = n - a hre6="+cobio_ct_rnfo href="ss="srinaio_ct_rnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref + =e=u64" class="s64"sref">WARN_ON /a>( a h)=ce-css="srine"_EITS_PER_EITMAP>-> a href="EITS_PER_EITMAPhrefca=nf="_ctl" classioref">sref"/a>);>iorhref 327 /a>15ne">154                if (! 7 href75+code ide=L3671543lass="l15ne" namue=L325"> 327 /a>15ne">154         a hre  return6- acommref">/*hred ao orphao item         *.c#L379" ide=L3791544lass="l15ne" namue=L325"> 327 /a>15ne">154     n  return6- acommref">btrfs/fre* We need to searchffor aiosrin this rio_ct.  We could only cover somfided ao orphao item         *.c#L379" ide=L3791545lass="l15ne" namue=L380"> 387 /a>15ne">154="fs/n  return6- acommref">btrfs/fre* of the ext7e- in this rio_ct threks to how wr add #L379, so wr needided ao orphao item         *.c#L379" ide=L3791546lass="l15ne" namue=L379"> 377 /a>15ne">1546       return6- acommref">btrfs/fre* to searchffor as muchfas itfas wr cretand cleartthat amoun ,tand thenided ao orphao item         *.c#L379" ide=L3791547lass="l15ne" namue=L325"> 327 /a>15ne">154        return6- acommref">btrfs/fre* go searchingffor the >exe rio.need ao orphao item         *.c#L379" ide=L3791548lass="l15ne" namue=L325"> 327 /a>15ne">154struc   return6- acommref">btrfs/fre*/hred ao orphao item         *.c#L379" ide=L3791549lass="l15ne" namue=L367"> 367 /a>15ne">154}>search_starehref = ace-css="srine"_cffsee-spelsecctl /a>cffseehref5=unlock_page" class="e.c#L367" ide=L367155class="l15ne" namue=L368"> 367 /a>15ne">155e       retur         7 retusearch_nytest,lsref"/a>);>sref"/a>);>iorhref 327 /a>15ne">1551id  a href="ftrfs/free-spacsearch_nytest,lsref"/a>);>);>-> a href="e_def=" -de=u64" class="ssearch_stare-spelsecctl /a>search_starehref + 1"k1" class="line"tne"_lock#L325" ide=L3251552lass="l15ne" namue=L334"> 337 /a>15ne">155}> =  asearch_nio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrd         7 retuaio_ct_rnfo href="ss="srinaio_ct_rnfoss="rd" class="line" ain_usearch_stare-spelsecctl /a>search_starehrefr=" class="line" ain_usearch_nytest,lsref"/a>);> 367 /a>15ne">155         a hrefrio_ctl" clasBUG_Ol " class==  a hBUG_Ollass=e=u64" class="sree-spelsecctl /a>reehref flt; 0 ||de=u64" class="ssearch_stare-spelsecctl /a>search_starehref != ace-css="srine"_cffsee-spelsecctl /a>cffseehref"k1" class="line"tne"_lock#L325" ide=L3251554lass="l15ne" namue=L325"> 327 /a>15ne">155 a href="+code=io_ctl"7class71L375" ide=L3751555lass="l15ne" namue=L334"> 337 /a>15ne">155f="fs/btrfs/ff  return6- acommref">/* We may have found more aiosrthre what wr neede*/hred ao orphao item         *.c#L379" ide=L3791556lass="l15ne" namue=L366"> 367 /a>15ne">155             ce-css="srine"_search_nytest,lsref"/a>);>);>);> 327 /a>15ne">155     1" class="line"tne"_lock#L325" ide=L3251558lass="l15ne" namue=L365"> 367 /a>15ne">155struct  a href  return6- acommref">/* Cannot cleartpast the end of the rio_ct */hred ao orphao item         *.c#L379" ide=L3791559lass="l15ne" namue=L379"> 377 /a>15ne">155}>);>);>-> a href="e_def=" -de=u64" class="ssearch_stare-spelsecctl /a>search_starehref + 1"k1" class="line"tne"_lock#L325" ide=L325156class="l15ne" namue=L379"> 377 /a>15ne">156e    1" class="line"tne"_lock#L325" ide=L3251561lass="l15ne" namue=L379"> 377 /a>15ne">1561id  a href="ftrfs/free-spacaio_ct_clear_aiost,lsref"/a>);>sref"/a>);>iorhrefrd         7 retuaio_ct_rnfo href="ss="srinaio_ct_rnfoss="rde=u64" class="ssearch_stare-spelsecctl /a>search_starehrefr=         7 retusearch_nytest,lsref"/a>);> 377 /a>15ne">156}>cffseehref +hrefrio_ctl" classearch_nytest,lsref"/a>);> 387 /a>15ne">156         a hrace-css="srine"_aytest,lsref"/a>);>);> 327 /a>15ne">156 a href="+code=io_ctl"7class71L375" ide=L3751565lass="l15ne" namue=L325"> 327 /a>15ne">156f="fs/btrfs/f-7acace-css="srine"_aytest,lsref"/a>);> 377 /a>15ne">156                              6 int 636clasrb_>cla>-> a href="rb_>clahrefcace-css="srine"_>exe-spelsecctl /a>>exelass = n - a hre6="+corb_>exe-spelsecctl /a>rb_>exelass=" class="line" ain_ubio_ct_rnfo href="ss="srinaio_ct_rnfoss="ref="ftrfs/free-spaccffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L3251567lass="l15ne" namue=L367"> 367 /a>15ne">156        }>io_ctaio_ct_rnfo href="ss="srinaio_ct_rnfoss="ref="ftrfs/free-spacnytest,lsref"/a>);> 337 /a>15ne">156struct  a href="+codea href="ftrfs/free-spacnamueaio_ctleo_ct /a> =  anamueaio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="saio_ct_rnfo href="ss="srinaio_ct_rnfoss=""k1" class="line"tne"_lock#L325" ide=L3251569lass="l15ne" namue=L367"> 367 /a>15ne">156="fs/btrfs/free-space-7ache.71ref"> ide=L368157class="l15ne" namue=L325"> 327 /a>15ne">157e="fs/btrfs/free-space  return6- acommref">/*hred ao orphao item         *.c#L379" ide=L3791571lass="l15ne" namue=L325"> 327 /a>15ne">1571="fs   return6- acommref">btrfs/fre    a hra no e_ctl after this rio_ct, but wr still have aytes tohred ao orphao item         *.c#L379" ide=L3791572lass="l15ne" namue=L342"> 346 /a>15ne">157        return6- acommref">btrfs/fre    a hra remove, so somfthingfhas gone wrong.need ao orphao item         *.c#L379" ide=L3791573lass="l15ne" namue=L380"> 386 /a>15ne">157        return6- acommref">btrfs/fre    a hra/hred ao orphao item         *.c#L379" ide=L3791574lass="l15ne" namue=L379"> 376 /a>15ne">157        if (! a href=-7acass="sref">io_ct>exe-spelsecctl /a>>exelass"1" class="line"tne"_lock#L325" ide=L3251575lass="l15ne" namue=L365"> 366 /a>15ne">157f="fs/btrfs/f/btrfs/fffffffffreturn -ss="sref">io_ctEINVALnf="o_ctl /a>, EINVALef="k1" class="line"tne"_lock#L325" ide=L3251576lass="l15ne" namue=L365"> 366 /a>15ne">157     e-space-6ache.66"sref">WARN_O" ide=L3651577lass="l15ne" namue=L364"> 366 /a>15ne">157        }>exe-spelsecctl /a>>exelass,s         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefre-space-6ache.66"sref">WARN_O" ide=L3651578lass="l15ne" namue=L367"> 366 /a>15ne">157struct  a href="+code""""""""""""""""ref="fse=u64" class="scffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L32515n9lass="l15ne" namue=L368"> 366 /a>15ne">157="fs/btrfs/free-space-7ache.71ref"> ide=L368158class="l15ne" namue=L368"> 366 /a>15ne">158e="fs/btrfs/free-space  return6- acommref">/*hred ao orphao item         *.c#L379" ide=L3791581lass="l15ne" namue=L370"> 376 /a>15ne">1581="fs   return6- acommref">btrfs/fre    a hra if the >exe e_ctl isn't a rio_ct we need to return to let thehred ao orphao item         *.c#L379" ide=L3791582lass="l15ne" namue=L367"> 366 /a>15ne">158        return6- acommref">btrfs/fre    a hra ext7e- stuff do iosrwork.need ao orphao item         *.c#L379" ide=L3791583lass="l15ne" namue=L367"> 366 /a>15ne">158        return6- acommref">btrfs/fre    a hra/hred ao orphao item         *.c#L379" ide=L3791584lass="l15ne" namue=L364"> 366 /a>15ne">158        if (! a href=-7acass="sref">io_ctaio_ct_rnfo href="ss="srinaio_ct_rnfoss="ref="ftrfs/free-spacnio_ctleo_ct /a> =  ario_cthref" orphao item         *.c#L379" ide=L3791585lass="l15ne" namue=L379"> 376 /a>15ne">158f="fs/btrfs/f/btrfs/fffffffffreturn -ss="sref">io_ctEAGAIl " class==  a hEAGAIlef="k1" class="line"tne"_lock#L325" ide=L3251586lass="l15ne" namue=L367"> 366 /a>15ne">158     e-space-6ache.66"sref">WARN_O" ide=L3651587lass="l15ne" namue=L267"> 266 /a>15ne">158        }>/*hred ao orphao item         *.c#L379" ide=L3791588lass="l15ne" namue=L367"> 366 /a>15ne">158struc   return6- acommref">btrfs/fre    a hra Ok the >exe item is a rio_ct, but it may not actually holdhred ao orphao item         *.c#L379" ide=L3791589lass="l15ne" namue=L379"> 376 /a>15ne">158="fs/   return6- acommref">btrfs/fre    a hra the rnformationffor the rest of this   *. #L379 stuff, sohred ao orphao item         *.c#L379" ide=L379159class="l15ne" namue=L367"> 366 /a>15ne">159e="fs   return6- acommref">btrfs/fre    a hra lookffor i ,tand -7awe don't nind it return so wr cretctllaed ao orphao item         *.c#L379" ide=L3791591lass="l15ne" namue=L361"> 366 /a>15ne">1591="fs   return6- acommref">btrfs/fre    a hra everythingfover again.need ao orphao item         *.c#L379" ide=L3791592lass="l15ne" namue=L379"> 376 /a>15ne">159        return6- acommref">btrfs/fre    a hra/hred ao orphao item         *.c#L379" ide=L3791593lass="l15ne" namue=L379"> 376 /a>15ne">159         a href="+codce-css="srine"_search_stare-spelsecctl /a>search_starehref = ace-css="srine"_cffsee-spelsecctl /a>cffseehref5=unlock_page" class="e.c#L367" ide=L3671594lass="l15ne" namue=L367"> 366 /a>15ne">159        if (! a href=efrio_ctl" classearch_nytest,lsref"/a>);>sref"/a>);>iorhref 376 /a>15ne">159f="fs/btrfs/f/btrfs/fe=u64" class="sree-spelsecctl /a>reehref = n - a hre6="+cosearch_nio_ctleo_ct /a> =  asearch_nio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrd         7 retuaio_ct_rnfo href="ss="srinaio_ct_rnfoss="rd" class="line" ain_usearch_stare-spelsecctl /a>search_starehrefr1" class="line"tne"_lock#L325" ide=L3251596lass="l15ne" namue=L364"> 366 /a>15ne">159                                         " class="line" ain_usearch_nytest,lsref"/a>);> 376 /a>15ne">159        }>cffseehref"1" class="line"tne"_lock#L325" ide=L3251598lass="l15ne" namue=L367"> 366 /a>15ne">159struct  a href="+code""""""""return -ss="sref">io_ctEAGAIl " class==  a hEAGAIlef="k1" class="line"tne"_lock#L325" ide=L3251599lass="l15ne" namue=L367"> 366 /a>15ne">159="fs/btrfs/free-space-7ache.71ref"> ide=L36816 class="l16 clanamue=L367"> 366 /a>16 cl>160e="fs/btrfs/free-spacgoto ss="sref">io_ctagainleo_ct /a> =  aagain    k1" class="line"tne"_lock#L325" ide=L32516 1lass="l16 e" namue=L361"> 366 /a>16 e">1601="fs/btrfs/fe elses-7acass="sref">io_ctaio_ct_rnfo href="ss="srinaio_ct_rnfoss="ref="ftrfs/free-spacnytest,lsref"/a>);> 376 /a>16 e">160}>sref"/a>);>iorhrefrde=u64" class="saio_ct_rnfo href="ss="srinaio_ct_rnfoss=""k1" class="line"tne"_lock#L325" ide=L32516 3lass="l16 e" namue=L379"> 376 /a>16 e">160     1" class="line"tne"_lock#L325" ide=L32516 4lass="l16 e" namue=L367"> 366 /a>16 e">160        if (!return 65=unlock_page" class="e.c#L367" ide=L36716 5lass="l16 e" namue=L375"> 376 /a>16 e">160f="fsee-space-6ache.66"sref">WARN_O" ide=L36516 6lass="l16 e" namue=L364"> 366 /a>16 e">160     e-space-6ache.66"sref">WARN_O" ide=L36516 7lass="l16 e" namue=L379"> 376 /a>16 e">160     static_ce-css="srine"_64"sref">WARN_ON /a>( a hde=u64" class="sadd_aytes_to_aio_ctleo_ct /a> =  aadd_aytes_to_aio_ctlass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefrbtrfs/free-space-7ache.71ref"> ide=L36816 8lass="l16 e" namue=L367"> 366 /a>16 e">160struct  a href="+code"""""""""""""""         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="rd         7 retu64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehrefrbtrfs/free-space-7ache.71ref"> ide=L36816 9lass="l16 e" namue=L367"> 366 /a>16 e">160}>WARN_ON /a>( a hde=u64" class="snytest,lsref"/a>);> 367 /a>16ne">161e="fsS+cstfs/free-space-c+csto_ct50" ide=L3801611lass="l16ne" namue=L380"> 387 /a>16ne">1611id  a href="ftrfs/free-spac64"sref">WARN_ON /a>( a hde=u64" class="snytes_to_see-spelsecctl /a>nytes_to_seehref = 65=unlock_page" class="e.c#L367" ide=L3671612lass="l16ne" namue=L325"> 327 /a>16ne">161}>WARN_ON /a>( a hde=u64" class="send>-> a href="e_def="k1" class="line"tne"_lock#L325" ide=L3251613lass="l16ne" namue=L367"> 367 /a>16ne">161     1" class="line"tne"_lock#L325" ide=L3251614lass="l16ne" namue=L368"> 367 4a>16ne">161        if (!ce-css="srine"_end>-> a href="e_def=" = n - a hre6="+coinfo href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref + =e=u64" class="s64"sref">WARN_ON /a>( a h)=ce-css="srine"_EITS_PER_EITMAP>-> a href="EITS_PER_EITMAPhrefca=nf="_ctl" classioref">sref"/a>);>iorhref 377 /a>16ne">1615id  e-space-6ache.66"sref">WARN_O" ide=L3651616lass="l16ne" namue=L380"> 387 6a>16ne">161             ce-css="srine"_nytes_to_see-spelsecctl /a>nytes_to_seehref = ce-css="srine"_minleo_ct /a> =  amin    =e=u64" class="se_d>-> a href="e_def=" -de=u64" class="scffsee-spelsecctl /a>cffseehrefr_         7 retuaytest,lsref"/a>);> 327 /a>16ne">161     1" class="line"tne"_lock#L325" ide=L32516n8lass="l16ne" namue=L367"> 367 8a>16ne">1618       return - a hre6="+coaio_ct_see_aiost,lsref"/a>);>sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss="rd         7 retucffsee-spelsecctl /a>cffseehrefr_         7 retuaytes_to_see-spelsecctl /a>nytes_to_seehref"k1" class="line"tne"_lock#L325" ide=L3251619lass="l16ne" namue=L368"> 367 9a>16ne">161="fs/btrfs/free-space-7ache.71ref"> ide=L368162class="l16ne" namue=L368"> 367 /a>16ne">162e="fs/btrfs/freturn          7 retuaytes_to_see-spelsecctl /a>nytes_to_seehrefk1" class="line"tne"_lock#L325" ide=L3251621lass="l16ne" namue=L380"> 387 /a>16ne">162="fs/1" class="line"tne"_lock#L325" ide=L3251622lass="l16ne" namue=L325"> 327 /a>16ne">162}>WARN_O" ide=L3651623lass="l16ne" namue=L325"> 327 /a>16ne">162     1" class="line"tne"_lock#L325" ide=L3251624lass="l16ne" namue=L325"> 327 /a>16ne">162     static_ce-css="srine"_booref">sref"/a>);>roor a hde=u64" class="susueaio_ctleo_ct /a> =  ausueaio_ctlass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefrbtrfs/free-space-7ache.71ref"> ide=L3681625lass="l16ne" namue=L380"> 387 /a>16ne">162f="fs/btrfs/f/btrfs/fffffff         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss=""1" class="line"tne"_lock#L325" ide=L3251626lass="l16ne" namue=L379"> 377 /a>16ne">162     S+cstfs/free-space-c+csto_ct50" ide=L3801627lass="l16ne" namue=L325"> 327 /a>16ne">162        }>sref"/a>);>iorhref 327 /a>16ne">162struce-space-6ache.66"sref">WARN_O" ide=L3651629lass="l16ne" namue=L367"> 367 /a>16ne">162}>/*hred ao orphao item         *.c#L379" ide=L379163class="l16ne" namue=L368"> 367 /a>16ne">163e="fs   return6- acommref">btrfs/fre* I7awe are aelow the ext7e-srths/shold then wr cretadd this as anided ao orphao item         *.c#L379" ide=L3791631lass="l16ne" namue=L380"> 387 /a>16ne">1631="fs   return6- acommref">btrfs/frea ext7e-,tand don't have to deal with the rio_ctided ao orphao item         *.c#L379" ide=L3791632lass="l16ne" namue=L325"> 327 /a>16ne">163        return6- acommref">btrfs/frea/hred ao orphao item         *.c#L379" ide=L3791633lass="l16ne" namue=L325"> 327 /a>16ne">163         a hr-7actio" class="sgeioref">sref"/a>);>iorhref =  anamueext7e-shref flt; tio" class="sgeioref">sref"/a>);>iorhref-> a href="ext7e-s_tfs/shss="" S+cstfs/free-space-c+csto_ct50" ide=L3801634lass="l16ne" namue=L364"> 367 /a>16ne">163        if (! a href=c  return6- acommref">/*hred ao orphao item         *.c#L379" ide=L3791635lass="l16ne" namue=L380"> 387 /a>16ne">163="fs/n  return6- acommref">btrfs/fretrfs/fre* I7athis rlock groupfhas somf small ext7e-srwe don't want tohred ao orphao item         *.c#L379" ide=L3791636lass="l16ne" namue=L380"> 387 /a>16ne">1636       return6- acommref">btrfs/fretrfs/fre* usu upfall of our   *. #loosrin thr crde= with them,rwe wanthred ao orphao item         *.c#L379" ide=L3791637lass="l16ne" namue=L325"> 327 /a>16ne">163        return6- acommref">btrfs/fretrfs/fre* to reserve them to larger ext7e-s, however -7awe have plenthred ao orphao item         *.c#L379" ide=L3791638lass="l16ne" namue=L367"> 367 /a>16ne">163struc   return6- acommref">btrfs/fre    a hra of crde= left then go aheadtan dadd them,rno senses-etaddinghred ao orphao item         *.c#L379" ide=L3791639lass="l16ne" namue=L368"> 367 /a>16ne">163="fs/   return6- acommref">btrfs/fre    a hra the overheadtof a rio_ct -7awe don't have to.need ao orphao item         *.c#L379" ide=L379164class="l16ne" namue=L325"> 327 /a>16ne">164e="fs   return6- acommref">btrfs/fre    a hra/hred ao orphao item         *.c#L379" ide=L3791641lass="l16ne" namue=L325"> 327 /a>16ne">164="fs/btrfs/free-space-7actio" class="sgernfo href="ss="srinrnfoss=");> 327 /a>16ne">164}>sref"/a>);>iorhref =  anamueext7e-shref * 2aflt;= n - a hre6="+coioref">sref"/a>);>iorhref-> a href="ext7e-s_tfs/shss=""+cstfs/free-space-c+csto_ct50" ide=L3801643lass="l16ne" namue=L325"> 327 /a>16ne">164         a href="+codddddddddddddddddreturn          7 retufals=href="+ss="srinfals=hrefk1" class="line"tne"_lock#L325" ide=L3251644lass="l16ne" namue=L325"> 327 /a>16ne">164        if (! a href=e elsesS+cstfs/free-space-c+csto_ct50" ide=L3801645lass="l16ne" namue=L380"> 387 /a>16ne">164f="fs/btrfs/f/btrfs/fffffffffreturn          7 retufals=href="+ss="srinfals=hrefk1" class="line"tne"_lock#L325" ide=L3251646lass="l16ne" namue=L379"> 377 /a>16ne">164                     ee-space-6ache.66"sref">WARN_O" ide=L3651647lass="l16ne" namue=L325"> 327 /a>16ne">164        }>WARN_O" ide=L3651648lass="l16ne" namue=L325"> 327 /a>16ne">164struce-space-6ache.66"sref">WARN_O" ide=L3651649lass="l16ne" namue=L367"> 367 /a>16ne">164}>/*hred ao orphao item         *.c#L379" ide=L379165class="l16ne" namue=L368"> 367 /a>16ne">165e="fs   return6- acommref">btrfs/fre* somf rlock groups are so tiny they cre't be enveloped by a rio_ct, sohred ao orphao item         *.c#L379" ide=L3791651lass="l16ne" namue=L325"> 327 /a>16ne">1651="fs   return6- acommref">btrfs/frea don't even bother to create a rio_ct for thishred ao orphao item         *.c#L379" ide=L3791652lass="l16ne" namue=L334"> 337 /a>16ne">165        return6- acommref">btrfs/frea/hred ao orphao item         *.c#L379" ide=L3791653lass="l16ne" namue=L367"> 367 /a>16ne">165         a hr-7actio" class="sgeEITS_PER_EITMAP>-> a href="EITS_PER_EITMAPhrefca=nf="_ctl" classblock_grouphref="+ss="srinelock_groupef=" 327 /a>16ne">165        if (! a hnf="_ctl" classblock_grouphref="+ss="srinelock_groupef="-> a href="kelef=".ce-css="srine"_cffsee-spelsecctl /a>cffseehref"1" class="line"tne"_lock#L325" ide=L3251655lass="l16ne" namue=L334"> 337 /a>16ne">165f="fs/btrfs/f/btrfs/freturn          7 retufals=href="+ss="srinfals=hrefk1" class="line"tne"_lock#L325" ide=L3251656lass="l16ne" namue=L366"> 367 /a>16ne">165     e-space-6ache.66"sref">WARN_O" ide=L3651657lass="l16ne" namue=L325"> 327 /a>16ne">165        }> 367 /a>16ne">165strucee-space-6ache.66"sref">WARN_O" ide=L3651659lass="l16ne" namue=L379"> 377 /a>16ne">165="fs/btrfs/free-space-7ache.71ref"> ide=L368166class="l16ne" namue=L379"> 377 /a>16ne">166e="fsstatic_         6 int 636clasrine"_namue_btrf_otleo_ct /a> =  arine"_namue_btrf_ot a hde=u64" class="snamue_btrf_otleo_ct /a> =  anamue_btrf_ot a hd=sS+cstfs/free-space-c+csto_ct50" ide=L3801661lass="l16ne" namue=L379"> 377 /a>16ne">1661id  a href=".ce-css="srine"_recalc_tfs/sholdst,lsref"/a>);>);> ide=L3681662lass="l16ne" namue=L379"> 377 /a>16ne">166}> =  ausueaio_ctlassrfs/f/btrfs/f= n - a hre6="+cousueaio_ctleo_ct /a> =  ausueaio_ctlassrbtrfs/free-space-7ache.71ref"> ide=L3681663lass="l16ne" namue=L380"> 387 /a>16ne">166     }k1" class="line"tne"_lock#L325" ide=L3251664lass="l16ne" namue=L325"> 327 /a>16ne">166 a href="+code=io_ctl"7class71L375" ide=L3751665lass="l16ne" namue=L325"> 327 /a>16ne">166f="fsstatic_in    6 int 636clasinsere_into_aio_ctleo_ct /a> =  ainsere_into_aio_ctlass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefrbtrfs/free-space-7ache.71ref"> ide=L3681666lass="l16ne" namue=L379"> 377 /a>16ne">166                                            6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss=""1" class="line"tne"_lock#L325" ide=L3251667lass="l16ne" namue=L367"> 367 /a>16ne">166     S+cstfs/free-space-c+csto_ct50" ide=L3801668lass="l16ne" namue=L334"> 337 /a>16ne">166struct  a hre         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_aio_ct_rnfo href="ss="srinaio_ct_rnfoss="k1" class="line"tne"_lock#L325" ide=L3251669lass="l16ne" namue=L367"> 367 /a>16ne">1669truct  a hre         6 int 636clasrine"_block_group_iide=href="+ss="srineine"_block_group_iide=hrefcace-css="srine"_block_grouphref="+ss="srinelock_groupef=" = n - a hre6="+coNULLnf="o_ctl /a>, NULLef="k1" class="line"tne"_lock#L325" ide=L325167class="l16ne" namue=L325"> 327 /a>16ne">167e="fs/btrfs/fin    6 int 636clasadded>-> a href="addedhref = 65=unlock_page" class="e.c#L367" ide=L3671671lass="l16ne" namue=L325"> 327 /a>16ne">1671id  a href="ftrfs/free-spac64"sref">WARN_ON /a>( a hde=u64" class="snytest,lsref"/a>);>cffseehrefr_         7 retuaytes_added>-> a href="aytes_addedef="k1" class="line"tne"_lock#L325" ide=L3251672lass="l16ne" namue=L342"> 346 /a>16ne">1672="fs/btrfs/fin    6 int 636clasree-spelsecctl /a>reehrefk1" class="line"tne"_lock#L325" ide=L3251673lass="l16ne" namue=L380"> 386 /a>16ne">167     1" class="line"tne"_lock#L325" ide=L3251674lass="l16ne" namue=L379"> 376 /a>16ne">167        if (!ce-css="srine"_nytest,lsref"/a>);>);> 366 /a>16ne">167f="fs/btrfs/f         7 retucffsee-spelsecctl /a>cffseehref = n - a hre6="+coinfo href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehrefk1" class="line"tne"_lock#L325" ide=L3251676lass="l16ne" namue=L365"> 366 /a>16ne">167     e-space-6ache.66"sref">WARN_O" ide=L3651677lass="l16ne" namue=L364"> 366 /a>16ne">167        }>io_ctioref">sref"/a>);>iorhref =  acphref =  ausueaio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss=")"1" class="line"tne"_lock#L325" ide=L3251678lass="l16ne" namue=L367"> 366 /a>16ne">167struct  a href="+codereturn 65=unlock_page" class="e.c#L367" ide=L36716n9lass="l16ne" namue=L368"> 366 /a>16ne">167="fs/btrfs/free-space-7ache.71ref"> ide=L368168class="l16ne" namue=L368"> 366 /a>16ne">168e="fs/btrfs/f-7actio" class="sgeioref">sref"/a>);>iorhref =  acphref == " class="line" ain_unamue_btrf_otleo_ct /a> =  anamue_btrf_ot a h"1" class="line"tne"_lock#L325" ide=L3251681lass="l16ne" namue=L370"> 376 /a>16ne">168="fs/btrfs/free-spacece-css="srine"_block_grouphref="+ss="srinelock_groupef=" = n - a hre6="+coioref">sref"/a>);>iorhref 366 /a>16ne">168       6 int 636clasagainleo_ct /a> =  aagain    :btrfs/free-space-7ache.71ref"> ide=L3681683lass="l16ne" namue=L367"> 366 /a>16ne">168         a hre  return6- acommref">/*hred ao orphao item         *.c#L379" ide=L3791684lass="l16ne" namue=L364"> 366 /a>16ne">168     n  return6- acommref">btrfs/fre* Sinceawe 364k rio_cts righ- into thr cluster we need to see -7awehred ao orphao item         *.c#L379" ide=L3791685lass="l16ne" namue=L379"> 376 /a>16ne">168="fs/n  return6- acommref">btrfs/fre* have a cluster here,tand -7asotand -tfhas our rio_ct we need to addhred ao orphao item         *.c#L379" ide=L3791686lass="l16ne" namue=L367"> 366 /a>16ne">1686       return6- acommref">btrfs/fre* thr   *. #L379 to that rio_ct.hred ao orphao item         *.c#L379" ide=L3791687lass="l16ne" namue=L267"> 266 /a>16ne">168        return6- acommref">btrfs/fre*/hred ao orphao item         *.c#L379" ide=L3791688lass="l16ne" namue=L367"> 366 /a>16ne">1688="fs/btrfs/f-7actio" class="sgeblock_grouphref="+ss="srinelock_groupef=" " cla" cla ass="sref">io_ctlist_emptl>-> a href="list_emptllass=" class="line" ain_ublock_grouphref="+ss="srinelock_groupef="sref"/a>);>iluster_listss=")"sS+cstfs/free-space-c+csto_ct50" ide=L3801689lass="l16ne" namue=L379"> 376 /a>16ne">168}> 366 /a>16ne">169e="fs/btrfs/free-spac         6 int 636clasrb_>cla>-> a href="rb_>clahrefcace-css="srine"_>cla>-> a href=">clahrefk1" class="line"tne"_lock#L325" ide=L3251691lass="l16ne" namue=L361"> 366 /a>16ne">169="fs/btrfs/free-space         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_e_ctl>-> a href="e_ctllassk1" class="line"tne"_lock#L325" ide=L3251692lass="l16ne" namue=L379"> 376 /a>16ne">169                if (! 7 href75+code ide=L3671693lass="l16ne" namue=L379"> 376 /a>16ne">169         a href="+codce-css="srine"_ilusterhref="+ss="srinilusterhref = n - a hre6="+colist_e_ctl>-> a href="list_e_ctllass=ce-css="srine"_block_grouphref="+ss="srinelock_groupef="sref"/a>);>iluster_listss=".ce-css="srine"_>exe-spelsecctl /a>>exelass,           if (! 7 href75+code ide=L3671694lass="l16ne" namue=L367"> 366 /a>16ne">169        if (! a href======================         6 int 636clasrine"_namueilusterhref="+ss="srineine"_namueilusterhref,           if (! 7 href75+code ide=L3671695lass="l16ne" namue=L375"> 376 /a>16ne">169f="fs/btrfs/f/btrfs/ffffffffffffffffffffffce-css="srine"_block_group_listef">sref"/a>);>block_group_listss=")k1" class="line"tne"_lock#L325" ide=L3251696lass="l16ne" namue=L364"> 366 /a>16ne">169                     ef="ef="+code=ispin_lockhref="+ss="srinspin_locklass=" class="line" ain_uilusterhref="+ss="srinilusterhref 376 /a>16ne">169        }>cla>-> a href=">clahref = n - a hre6="+cosb_firstef">sref"/a>);>sb_firstlass=" class="line" ain_uilusterhref="+ss="srinilusterhrefsref"/a>);>sootlass)k1" class="line"tne"_lock#L325" ide=L3251698lass="l16ne" namue=L367"> 366 /a>16ne">169struct  a href="+code-7acass="sref">io_ct>cla>-> a href=">clahref"sS+cstfs/free-space-c+csto_ct50" ide=L3801699lass="l16ne" namue=L367"> 366 /a>16ne">169}> 366 /a>17 cl>170e="fs/btrfs/free-spacccccccccgoto ss="sref">io_ctnoeilustereaio_ctleo_ct /a> =  anoeilustereaio_ctlassk1" class="line"tne"_lock#L325" ide=L32517 1lass="l17 e" namue=L361"> 366 /a>17 e">170="fs/btrfs/free-spaceee-space-6ache.66"sref">WARN_O" ide=L36517 2lass="l17 e" namue=L379"> 376 /a>17 e">170                if (! 7 href75+code ide=L36717 3lass="l17 e" namue=L379"> 376 /a>17 e">170         a href="+codce-css="srine"_e_ctl>-> a href="e_ctllass = n - a hre6="+cosb_e_ctl>-> a href="sb_e_ctllass=ce-css="srine"_>cla>-> a href=">clahref,s         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefrse=u64" class="scffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L32517 4lass="l17 e" namue=L367"> 366 /a>17 e">170        if (! a href=-7acass="sref">io_cte_ctl>-> a href="e_ctllassref="ftrfs/free-spacnio_ctleo_ct /a> =  ario_cthref"sS+cstfs/free-space-c+csto_ct50" ide=L38017 5lass="l17 e" namue=L375"> 376 /a>17 e">170f="fs/btrfs/f/btrfs/fffffffffef="ef="+code=ispin_unlockhref="+ss="srinspin_unlocklass=" class="line" ain_uilusterhref="+ss="srinilusterhref 366 /a>17 e">170                             goto ss="sref">io_ctnoeilustereaio_ctleo_ct /a> =  anoeilustereaio_ctlassk1" class="line"tne"_lock#L325" ide=L32517 7lass="l17 e" namue=L379"> 376 /a>17 e">170        }>WARN_O" ide=L36517 8lass="l17 e" namue=L367"> 366 /a>17 e">170struce-space-6ache.66"sref">WARN_O" ide=L36517 9lass="l17 e" namue=L367"> 366 /a>17 e">170}> =  acffsee_to_aio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="scffsee-spelsecctl /a>cffseehref""sS+cstfs/free-space-c+csto_ct50" ide=L380171class="l17ne" namue=L367"> 367 /a>17ne">171e="fs/btrfs/free-spaccccccccc         7 retuaytes_added>-> a href="aytes_addedef=" = n - a hre6="+coadd_aytes_to_aio_ctleo_ct /a> =  aadd_aytes_to_aio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="se_ctl>-> a href="e_ctllass,           if (! 7 href75+code ide=L3671711lass="l17ne" namue=L380"> 387 /a>17ne">171="fs/btrfs/free-spaceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee         7 retucffsee-spelsecctl /a>cffseehrefr_         7 retuaytest,lsref"/a>);> 327 /a>17ne">171}>);>-> a href="aytes_addedef="k1" class="line"tne"_lock#L325" ide=L3251713lass="l17ne" namue=L367"> 367 /a>17ne">171         a href="+codddddddddftrfs/free-spaccffsee-spelsecctl /a>cffseehref +hrefrio_ctl" clasaytes_added>-> a href="aytes_addedef="k1" class="line"tne"_lock#L325" ide=L3251714lass="l17ne" namue=L368"> 367 4a>17ne">171        if (! a href=e1" class="line"tne"_lock#L325" ide=L3251715lass="l17ne" namue=L375"> 377 /a>17ne">171f="fs/btrfs/f/btrfs/fe=u64" class="sspin_unlockhref="+ss="srinspin_unlocklass=" class="line" ain_uilusterhref="+ss="srinilusterhref 387 6a>17ne">171                     -7acass="sref">io_ctaytest,lsref"/a>);> 327 /a>17ne">171        }> 367 8a>17ne">171struct  a href="+code""""""""goto ss="sref">io_ctoue-spelsecctl /a>cuehrefk1" class="line"tne"_lock#L325" ide=L3251719lass="l17ne" namue=L368"> 367 9a>17ne">171}> 367 /a>17ne">172e="fs/btrfs/fe1" class="line"tne"_lock#L325" ide=L3251721lass="l17ne" namue=L380"> 387 /a>17ne">172="fs/1" class="line"tne"_lock#L325" ide=L3251722lass="l17ne" namue=L325"> 327 /a>17ne">172       6 int 636clasnoeilustereaio_ctleo_ct /a> =  anoeilustereaio_ctlass:btrfs/free-space-7ache.71ref"> ide=L3681723lass="l17ne" namue=L325"> 327 /a>17ne">172         a hrefrio_ctl" clasaio_ct_rnfo href="ss="srinaio_ct_rnfoss=" = n - a hre6="+cotamuesearch_cffsee-spelsecctl /a>tamuesearch_cffseelass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="scffsee_to_aio_ctleo_ct /a> =  acffsee_to_aio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="scffsee-spelsecctl /a>cffseehref",           if (! 7 href75+code ide=L3671724lass="l17ne" namue=L325"> 327 /a>17ne">172        if (! a href==========================1, 0)k1" class="line"tne"_lock#L325" ide=L3251725lass="l17ne" namue=L380"> 387 /a>17ne">172f="fs/btrfs/f-7acass="sref">io_ctaio_ct_rnfo href="ss="srinaio_ct_rnfoss="" S+cstfs/free-space-c+csto_ct50" ide=L3801726lass="l17ne" namue=L379"> 377 /a>17ne">172                     ef="ef="+code=iBUG_Ol " class==  a hBUG_Ollass=ce-css="srine"_added>-> a href="addedhref)k1" class="line"tne"_lock#L325" ide=L3251727lass="l17ne" namue=L325"> 327 /a>17ne">172        }>io_ctneweaio_ctleo_ct /a> =  aneweaio_cthrefk1" class="line"tne"_lock#L325" ide=L3251728lass="l17ne" namue=L325"> 327 /a>17ne">1728="fs/btrfs/fe1" class="line"tne"_lock#L325" ide=L3251729lass="l17ne" namue=L367"> 367 /a>17ne">172="fs/btrfs/free-space-7ache.71ref"> ide=L368173class="l17ne" namue=L368"> 367 /a>17ne">1730        a hrefrio_ctl" clasaytes_added>-> a href="aytes_addedef=" = n - a hre6="+coadd_aytes_to_aio_ctleo_ct /a> =  aadd_aytes_to_aio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="saio_ct_rnfo href="ss="srinaio_ct_rnfoss="rde=u64" class="scffsee-spelsecctl /a>cffseehrefr_         7 retuaytest,lsref"/a>);> 387 /a>17ne">1731id  a href="ftrfs/free-spacaytest,lsref"/a>);>-> a href="aytes_addedef="k1" class="line"tne"_lock#L325" ide=L3251732lass="l17ne" namue=L325"> 327 /a>17ne">173}>-> a href="aytes_addedef="k1" class="line"tne"_lock#L325" ide=L3251733lass="l17ne" namue=L325"> 327 /a>17ne">173         a hrefrio_ctl" clasadded>-> a href="addedhref = 65=unlock_page" class="e.c#L367" ide=L3671734lass="l17ne" namue=L364"> 367 /a>17ne">173 a href="+code=io_ctl"7class71L375" ide=L3751735lass="l17ne" namue=L380"> 387 /a>17ne">173f="fs/btrfs/f-7acass="sref">io_ctaytest,lsref"/a>);> 387 /a>17ne">173                     ef="ef="+code=iree-spelsecctl /a>reehref = 1k1" class="line"tne"_lock#L325" ide=L3251737lass="l17ne" namue=L325"> 327 /a>17ne">173        }>io_ctoue-spelsecctl /a>cuehrefk1" class="line"tne"_lock#L325" ide=L3251738lass="l17ne" namue=L367"> 367 /a>17ne">1738="fs/btrfs/fe else1" class="line"tne"_lock#L325" ide=L3251739lass="l17ne" namue=L368"> 367 /a>17ne">173}>io_ctagainleo_ct /a> =  aagain    k1" class="line"tne"_lock#L325" ide=L325174class="l17ne" namue=L325"> 327 /a>17ne">174e="fs1" class="line"tne"_lock#L325" ide=L3251741lass="l17ne" namue=L325"> 327 /a>17ne">174="fs/ss="sref">io_ctneweaio_ctleo_ct /a> =  aneweaio_cthref:btrfs/free-space-7ache.71ref"> ide=L3681742lass="l17ne" namue=L325"> 327 /a>17ne">174}> 327 /a>17ne">174         a href="+codn - a hre6="+coadd_neweaio_ctleo_ct /a> =  aadd_neweaio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss="rd         7 retucffsee-spelsecctl /a>cffseehref)k1" class="line"tne"_lock#L325" ide=L3251744lass="l17ne" namue=L325"> 327 /a>17ne">174        if (! a href=efrio_ctl" clasadded>-> a href="addedhref = 1k1" class="line"tne"_lock#L325" ide=L3251745lass="l17ne" namue=L380"> 387 /a>17ne">174f="fs/btrfs/f/btrfs/ftio" class="sgernfo href="ss="srinrnfoss=" = n - a hre6="+coNULLnf="o_ctl /a>, NULLef="k1" class="line"tne"_lock#L325" ide=L3251746lass="l17ne" namue=L379"> 377 /a>17ne">174                     goto ss="sref">io_ctagainleo_ct /a> =  aagain    k1" class="line"tne"_lock#L325" ide=L3251747lass="l17ne" namue=L325"> 327 /a>17ne">174        }> 327 /a>17ne">174struct  a href="+codee=u64" class="sspin_unlockhref="+ss="srinspin_unlocklass=" class="line" ain_uioref">sref"/a>);>iorhref 367 /a>17ne">174="fs/btrfs/free-space-7ache.71ref"> ide=L368175class="l17ne" namue=L368"> 367 /a>17ne">175e="fs/btrfs/free-space  return6- acommref">/*rno pre-allocated rnfo, allocate a new onee*/hred ao orphao item         *.c#L379" ide=L3791751lass="l17ne" namue=L325"> 327 /a>17ne">175="fs/btrfs/free-space-7acass="sref">io_ctrnfo href="ss="srinrnfoss=")sS+cstfs/free-space-c+csto_ct50" ide=L3801752lass="l17ne" namue=L334"> 337 /a>17ne">175}> =  arine"_namue_btrf_iide=tlass,           if (! 7 href75+code ide=L3671753lass="l17ne" namue=L367"> 367 /a>17ne">175         a href="+coddddddddddddddddds/btrfs/fee-spacece-css="srine"_GFP_NOFSleo_ct /a> =  aGFP_NOFShref)k1" class="line"tne"_lock#L325" ide=L3251754lass="l17ne" namue=L325"> 327 /a>17ne">175        if (! a hs/free-space-7acass="sref">io_ctrnfo href="ss="srinrnfoss=")sS+cstfs/free-space-c+csto_ct50" ide=L3801755lass="l17ne" namue=L334"> 337 /a>17ne">175f="fs/btrfs/f/btrfs/f/btrfs/fee-spacece-css="srine"_spin_lockhref="+ss="srinspin_locklass=" class="line" ain_uioref">sref"/a>);>iorhref 367 /a>17ne">175                                     ef="ef="+code=iree-spelsecctl /a>reehref = -ss="sref">io_ctENOMEM-spelsecctl /a>ENOMEM    k1" class="line"tne"_lock#L325" ide=L3251757lass="l17ne" namue=L325"> 327 /a>17ne">175        }>io_ctoue-spelsecctl /a>cuehrefk1" class="line"tne"_lock#L325" ide=L3251758lass="l17ne" namue=L365"> 367 /a>17ne">175struct  a href="+code""""""""e1" class="line"tne"_lock#L325" ide=L3251759lass="l17ne" namue=L379"> 377 /a>17ne">175}> 377 /a>17ne">176e="fs1" class="line"tne"_lock#L325" ide=L3251761lass="l17ne" namue=L379"> 377 /a>17ne">176="fs/btrfs/free-spacec  return6- acommref">/*rallocate the rio_cte*/hred ao orphao item         *.c#L379" ide=L3791762lass="l17ne" namue=L379"> 377 /a>17ne">176}> 387 /a>17ne">176         a href="+codce-css="srine"_spin_lockhref="+ss="srinspin_locklass=" class="line" ain_uioref">sref"/a>);>iorhref 327 /a>17ne">176        if (! a href=-7acass="sref">io_ctrnfo href="ss="srinrnfoss="ref="ftrfs/free-spacnio_ctleo_ct /a> =  ario_cthref"sS+cstfs/free-space-c+csto_ct50" ide=L3801765lass="l17ne" namue=L325"> 327 /a>17ne">176f="fs/btrfs/f/btrfs/fffffffffef="ef="+code=iree-spelsecctl /a>reehref = -ss="sref">io_ctENOMEM-spelsecctl /a>ENOMEM    k1" class="line"tne"_lock#L325" ide=L3251766lass="l17ne" namue=L379"> 377 /a>17ne">176                             goto ss="sref">io_ctoue-spelsecctl /a>cuehrefk1" class="line"tne"_lock#L325" ide=L3251767lass="l17ne" namue=L367"> 367 /a>17ne">176        }>WARN_O" ide=L3651768lass="l17ne" namue=L334"> 337 /a>17ne">176struct  a href="+codegoto ss="sref">io_ctagainleo_ct /a> =  aagain    k1" class="line"tne"_lock#L325" ide=L3251769lass="l17ne" namue=L367"> 367 /a>17ne">1769truct  a hreee-space-6ache.66"sref">WARN_O" ide=L365177class="l17ne" namue=L325"> 327 /a>17ne">177e="fs1" class="line"tne"_lock#L325" ide=L3251771lass="l17ne" namue=L325"> 327 /a>17ne">177="fs/ss="sref">io_ctoue-spelsecctl /a>cuehref:btrfs/free-space-7ache.71ref"> ide=L3681772lass="l17ne" namue=L342"> 346 /a>17ne">177}> 386 /a>17ne">177         a href="+cod-7actio" class="sgernfo href="ss="srinrnfoss=" =  ario_cthref"+cstfs/free-space-c+csto_ct50" ide=L3801774lass="l17ne" namue=L379"> 376 /a>17ne">177        if (! a hs/free-spacen - a hre6="+cok+cst href="ss="srink+cstlass=ce-css="srine"_rnfo href="ss="srinrnfoss=" =  ario_cthref"k1" class="line"tne"_lock#L325" ide=L3251775lass="l17ne" namue=L365"> 366 /a>17ne">177f="fs/btrfs/f/btrfs/ftio" class="sgekmem_iide=_+cst href="ss="srinkmem_iide=_+cstlass=ce-css="srine"_rine"_namue_btrf_iide=tleo_ct /a> =  arine"_namue_btrf_iide=tlass,de=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3251776lass="l17ne" namue=L365"> 366 /a>17ne">1776truct  a hreee-space-6ache.66"sref">WARN_O" ide=L3651777lass="l17ne" namue=L364"> 366 /a>17ne">177     1" class="line"tne"_lock#L325" ide=L3251778lass="l17ne" namue=L367"> 366 /a>17ne">177struct  a hrereturn          7 returee-spelsecctl /a>reehrefk1" class="line"tne"_lock#L325" ide=L32517n9lass="l17ne" namue=L368"> 366 /a>17ne">177="fs/ee-space-6ache.66"sref">WARN_O" ide=L365178class="l17ne" namue=L368"> 366 /a>17ne">178e="fs1" class="line"tne"_lock#L325" ide=L3251781lass="l17ne" namue=L370"> 376 /a>17ne">178="fs/static_ce-css="srine"_booref">sref"/a>);>roor a hde=u64" class="stry_merge_namue_btrfhref="+ss="srintry_merge_namue_btrflass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefrbtrfs/free-space-7ache.71ref"> ide=L3681782lass="l17ne" namue=L367"> 366 /a>17ne">178}>sref"/a>);>roor a hde=u64" class="supdate_statef">sref"/a>);>update_stathref"+cstfs/free-space-c+csto_ct50" ide=L3801783lass="l17ne" namue=L367"> 366 /a>17ne">178     S+cstfs/free-space-c+csto_ct50" ide=L3801784lass="l17ne" namue=L364"> 366 /a>17ne">178        if (!         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_left_rnfo href="ss="srinleft_rnfohrefk1" class="line"tne"_lock#L325" ide=L3251785lass="l17ne" namue=L379"> 376 /a>17ne">1785       if (!         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_righ-_rnfo href="ss="srinrigh-_rnfohrefk1" class="line"tne"_lock#L325" ide=L3251786lass="l17ne" namue=L367"> 366 /a>17ne">178             ce-css="srine"_nooref">sref"/a>);>roor a hde=u64" class="smerged>-> a href="mergedhref = n - a hre6="+cofals=href="+ss="srinfals=hrefk1" class="line"tne"_lock#L325" ide=L3251787lass="l17ne" namue=L267"> 266 /a>17ne">1787            ce-css="srine"_64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehref = n - a hre6="+coinfo href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehrefk1" class="line"tne"_lock#L325" ide=L3251788lass="l17ne" namue=L367"> 366 /a>17ne">1788       return - a hre6="+co64"sref">WARN_ON /a>( a hde=u64" class="snytest,lsref"/a>);>);> 376 /a>17ne">178="fs/btrfs/free-space-7ache.71ref"> ide=L368179class="l17ne" namue=L367"> 366 /a>17ne">179e="fs/btrfs/fe  return6- acommref">/*hred ao orphao item         *.c#L379" ide=L3791791lass="l17ne" namue=L361"> 366 /a>17ne">1791="fs   return6- acommref">btrfs/frea firstrwe want to see -7athere -s   *. #L379 adj379nt to the rangeawehred ao orphao item         *.c#L379" ide=L3791792lass="l17ne" namue=L379"> 376 /a>17ne">179        return6- acommref">btrfs/frea are adding, -7athere -s remove that!       and add a new oneetohred ao orphao item         *.c#L379" ide=L3791793lass="l17ne" namue=L379"> 376 /a>17ne">179        return6- acommref">btrfs/frea cover the entire rangehred ao orphao item         *.c#L379" ide=L3791794lass="l17ne" namue=L367"> 366 /a>17ne">179     n  return6- acommref">btrfs/fre*/hred ao orphao item         *.c#L379" ide=L3791795lass="l17ne" namue=L375"> 376 /a>17ne">179f="fs/btrfs/fce-css="srine"_righ-_rnfo href="ss="srinrigh-_rnfohref = n - a hre6="+cotamuesearch_cffsee-spelsecctl /a>tamuesearch_cffseelass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="scffsee-spelsecctl /a>cffseehref +de=u64" class="snytest,lsref"/a>);> 366 /a>17ne">179             -7actio" class="sgerigh-_rnfo href="ss="srinrigh-_rnfohref " cla" cla tio" class="sgerb_prev href="ss="srinrb_prevlass=" class="line" ain_urigh-_rnfo href="ss="srinrigh-_rnfohrefref="ftrfs/free-spaccffsee_indexleo_ct /a> =  acffsee_indexhref""+cstfs/free-space-c+csto_ct50" ide=L3801797lass="l17ne" namue=L379"> 376 /a>17ne">179        }> ide=L3681798lass="l17ne" namue=L367"> 366 /a>17ne">179struct  a href="+code"fs/btrfs/fee-space""         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefrse=u64" class="scffsee_indexleo_ct /a> =  acffsee_indexhref"k1" class="line"tne"_lock#L325" ide=L3251799lass="l17ne" namue=L367"> 366 /a>17ne">179}> 366 /a>18 cl>180e="fs/btrfs/free-spacce-css="srine"_left_rnfo href="ss="srinleft_rnfohref = n - a hre6="+cotamuesearch_cffsee-spelsecctl /a>tamuesearch_cffseelass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="scffsee-spelsecctl /a>cffseehref -=1, 0, 0)k1" class="line"tne"_lock#L325" ide=L32518 1lass="l18 e" namue=L361"> 366 /a>18 e">180="fs/1" class="line"tne"_lock#L325" ide=L32518 2lass="l18 e" namue=L379"> 376 /a>18 e">180}>io_ctrigh-_rnfo href="ss="srinrigh-_rnfohrefref="ftrfs/free-spacnio_ctleo_ct /a> =  ario_cthref"sS+cstfs/free-space-c+csto_ct50" ide=L38018 3lass="l18 e" namue=L379"> 376 /a>18 e">180         a href="+cod-7actio" class="sgeupdate_statef">sref"/a>);>update_stathref"+cstfs/free-space-c+csto_ct50" ide=L38018 4lass="l18 e" namue=L367"> 366 /a>18 e">180        if (! a href=ree-spacce-css="srine"_un364k_namue_btrfhref="+ss="srinun364k_namue_btrflass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srigh-_rnfo href="ss="srinrigh-_rnfohref)k1" class="line"tne"_lock#L325" ide=L32518 5lass="l18 e" namue=L375"> 376 /a>18 e">180f="fs/btrfs/f/btrfs/felse1" class="line"tne"_lock#L325" ide=L32518 6lass="l18 e" namue=L364"> 366 /a>18 e">180                             e=u64" class="s__un364k_namue_btrfhref="+ss="srin__un364k_namue_btrflass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srigh-_rnfo href="ss="srinrigh-_rnfohref)k1" class="line"tne"_lock#L325" ide=L32518 7lass="l18 e" namue=L379"> 376 /a>18 e">180        }>);>);> 366 /a>18 e">180struct  a href="+codee=u64" class="skmem_iide=_+cst href="ss="srinkmem_iide=_+cstlass=ce-css="srine"_rine"_namue_btrf_iide=tleo_ct /a> =  arine"_namue_btrf_iide=tlass,de=u64" class="srigh-_rnfo href="ss="srinrigh-_rnfohref)k1" class="line"tne"_lock#L325" ide=L32518 9lass="l18 e" namue=L367"> 366 /a>18 e">180}> 367 /a>18ne">181e="fs/btrfs/fe1" class="line"tne"_lock#L325" ide=L3251811lass="l18ne" namue=L380"> 387 /a>18ne">181="fs/1" class="line"tne"_lock#L325" ide=L3251812lass="l18ne" namue=L325"> 327 /a>18ne">181}>io_ctleft_rnfo href="ss="srinleft_rnfohrefref="ftrfs/free-spacnio_ctleo_ct /a> =  ario_cthref " cla" cla1" class="line"tne"_lock#L325" ide=L3251813lass="l18ne" namue=L367"> 367 /a>18ne">181         a href="ss="sref">io_ctleft_rnfo href="ss="srinleft_rnfohrefref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref +de=u64" class="sleft_rnfo href="ss="srinleft_rnfohrefref="ftrfs/free-spacnytest,lsref"/a>);> 367 4a>18ne">181        if (! a href=-7actio" class="sgeupdate_statef">sref"/a>);>update_stathref"+cstfs/free-space-c+csto_ct50" ide=L3801815lass="l18ne" namue=L375"> 377 /a>18ne">181f="fs/btrfs/f/btrfs/fa href="ss="sref">io_ctun364k_namue_btrfhref="+ss="srinun364k_namue_btrflass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="sleft_rnfo href="ss="srinleft_rnfohref)k1" class="line"tne"_lock#L325" ide=L3251816lass="l18ne" namue=L380"> 387 6a>18ne">181                     else1" class="line"tne"_lock#L325" ide=L3251817lass="l18ne" namue=L325"> 327 /a>18ne">181        }>sref"/a>);>iorhrefrde=u64" class="sleft_rnfo href="ss="srinleft_rnfohref)k1" class="line"tne"_lock#L325" ide=L3251818lass="l18ne" namue=L367"> 367 8a>18ne">181struct  a href="+coden - a hre6="+coinfo href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref = n - a hre6="+coleft_rnfo href="ss="srinleft_rnfohrefref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehrefk1" class="line"tne"_lock#L325" ide=L3251819lass="l18ne" namue=L368"> 367 9a>18ne">181}>);>);> 367 /a>18ne">182e="fs/btrfs/free-spacce-css="srine"_kmem_iide=_+cst href="ss="srinkmem_iide=_+cstlass=ce-css="srine"_rine"_namue_btrf_iide=tleo_ct /a> =  arine"_namue_btrf_iide=tlass,de=u64" class="sleft_rnfo href="ss="srinleft_rnfohref)k1" class="line"tne"_lock#L325" ide=L3251821lass="l18ne" namue=L380"> 387 /a>18ne">182="fs/btrfs/free-spacece-css="srine"_merged>-> a href="mergedhref = n - a hre6="+cotru=href="+ss="srintru=hrefk1" class="line"tne"_lock#L325" ide=L3251822lass="l18ne" namue=L325"> 327 /a>18ne">182}> 327 /a>18ne">182     1" class="line"tne"_lock#L325" ide=L3251824lass="l18ne" namue=L325"> 327 /a>18ne">182        if (!return          7 retumerged>-> a href="mergedhrefk1" class="line"tne"_lock#L325" ide=L3251825lass="l18ne" namue=L380"> 387 /a>18ne">182f="fse1" class="line"tne"_lock#L325" ide=L3251826lass="l18ne" namue=L379"> 377 /a>18ne">182     e-space-6ache.66"sref">WARN_O" ide=L3651827lass="l18ne" namue=L325"> 327 /a>18ne">182     in    6 int 636clas__rine"_add_namue_btrfhref="+ss="srin__rine"_add_namue_btrflass=         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhrefrbtrfs/free-space-7ache.71ref"> ide=L3681828lass="l18ne" namue=L325"> 327 /a>18ne">182struct  a href="+code"fs/btrfs/fce-css="srine"_64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehref,de=u64" class="s64"sref">WARN_ON /a>( a hde=u64" class="snytest,lsref"/a>);> 367 /a>18ne">182="fs/S+cstfs/free-space-c+csto_ct50" ide=L380183class="l18ne" namue=L368"> 367 /a>18ne">1830        a hr         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L3251831lass="l18ne" namue=L380"> 387 /a>18ne">1831id  a href="in    6 int 636clasree-spelsecctl /a>reehref = 65=unlock_page" class="e.c#L367" ide=L3671832lass="l18ne" namue=L325"> 327 /a>18ne">183                if (! 7 href75+code ide=L3671833lass="l18ne" namue=L325"> 327 /a>18ne">183         a hrefrio_ctl" clasrnfo href="ss="srinrnfoss=" = n - a hre6="+cokmem_iide=_zalloc href="ss="srinkmem_iide=_zalloclass=ce-css="srine"_rine"_namue_btrf_iide=tleo_ct /a> =  arine"_namue_btrf_iide=tlass,d         7 retuGFP_NOFSleo_ct /a> =  aGFP_NOFShref)k1" class="line"tne"_lock#L325" ide=L3251834lass="l18ne" namue=L364"> 367 /a>18ne">183        if (!-7acass="sref">io_ctrnfo href="ss="srinrnfoss=")1" class="line"tne"_lock#L325" ide=L3251835lass="l18ne" namue=L380"> 387 /a>18ne">183f="fs/btrfs/f/btrfs/freturn -ss="sref">io_ctENOMEM-spelsecctl /a>ENOMEM    k1" class="line"tne"_lock#L325" ide=L3251836lass="l18ne" namue=L380"> 387 /a>18ne">183     e-space-6ache.66"sref">WARN_O" ide=L3651837lass="l18ne" namue=L325"> 327 /a>18ne">1837            ce-css="srine"_info href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref = n - a hre6="+cocffsee-spelsecctl /a>cffseehrefk1" class="line"tne"_lock#L325" ide=L3251838lass="l18ne" namue=L367"> 367 /a>18ne">1838       return - a hre6="+cornfo href="ss="srinrnfoss=");>);> 367 /a>18ne">183="fs/btrfs/free-space-7ache.71ref"> ide=L368184class="l18ne" namue=L325"> 327 /a>18ne">1840        a hrefrio_ctl" classpin_lockhref="+ss="srinspin_locklass=" class="line" ain_uioref">sref"/a>);>iorhref 327 /a>18ne">184="fs/1" class="line"tne"_lock#L325" ide=L3251842lass="l18ne" namue=L325"> 327 /a>18ne">184}>sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss="rd         7 retutru=href="+ss="srintru=href""+cstfs/free-space-c+csto_ct50" ide=L3801843lass="l18ne" namue=L325"> 327 /a>18ne">184         a href="+codgoto ss="sref">io_ct364k href="ss="srinl64khrefk1" class="line"tne"_lock#L325" ide=L3251844lass="l18ne" namue=L325"> 327 /a>18ne">184 a href="+code=io_ctl"7class71L375" ide=L3751845lass="l18ne" namue=L380"> 387 /a>18ne">184f="fs/btrfs/fe  return6- acommref">/*hred ao orphao item         *.c#L379" ide=L3791846lass="l18ne" namue=L379"> 377 /a>18ne">1846       return6- acommref">btrfs/fre* There wasrno ext9nt direiory to the left or righ- o7athis newhred ao orphao item         *.c#L379" ide=L3791847lass="l18ne" namue=L325"> 327 /a>18ne">184        return6- acommref">btrfs/fre* ext9nt thenrwe knowrwe're going to have to allocate a new ext9nt, sohred ao orphao item         *.c#L379" ide=L3791848lass="l18ne" namue=L325"> 327 /a>18ne">184struc   return6- acommref">btrfs/fre* beforeawe do that see -7awe need to dropathis into a rio_cthred ao orphao item         *.c#L379" ide=L3791849lass="l18ne" namue=L367"> 367 /a>18ne">184="fs/n  return6- acommref">btrfs/fre*/hred ao orphao item         *.c#L379" ide=L379185class="l18ne" namue=L368"> 367 /a>18ne">1850        a hrefrio_ctl" clasree-spelsecctl /a>reehref = e=u64" class="srnsert_rnto_aio_ctleo_ct /a> =  arnsert_rnto_aio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3251851lass="l18ne" namue=L325"> 327 /a>18ne">185="fs/btrfs/fr-7actio" class="sgeree-spelsecctl /a>reehref < 0"sS+cstfs/free-space-c+csto_ct50" ide=L3801852lass="l18ne" namue=L334"> 337 /a>18ne">185}>io_ctoue-spelsecctl /a>cuehrefk1" class="line"tne"_lock#L325" ide=L3251853lass="l18ne" namue=L367"> 367 /a>18ne">185         a hre elses-7actio" class="sgeree-spelsecctl /a>reehref"sS+cstfs/free-space-c+csto_ct50" ide=L3801854lass="l18ne" namue=L325"> 327 /a>18ne">185        if (! a hs/fr  6 int 636clasree-spelsecctl /a>reehref = 65=unlock_page" class="e.c#L367" ide=L3671855lass="l18ne" namue=L334"> 337 /a>18ne">185f="fs/btrfs/f/btrfs/fgoto ss="sref">io_ctoue-spelsecctl /a>cuehrefk1" class="line"tne"_lock#L325" ide=L3251856lass="l18ne" namue=L366"> 367 /a>18ne">1856truct  a hreee-space-6ache.66"sref">WARN_O" ide=L3651857lass="l18ne" namue=L325"> 327 /a>18ne">185     ss="sref">io_ct364k href="ss="srinl64khref:btrfs/free-space-7ache.71ref"> ide=L3681858lass="l18ne" namue=L365"> 367 /a>18ne">1858       return - a hre6="+coree-spelsecctl /a>reehref = e=u64" class="s364k_namue_btrfhref="+ss="srin364k_namue_btrflass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3251859lass="l18ne" namue=L379"> 377 /a>18ne">185}> 377 /a>18ne">186e="fs/btrfs/free-spacce-css="srine"_kmem_iide=_+cst href="ss="srinkmem_iide=_+cstlass=ce-css="srine"_rine"_namue_btrf_iide=tleo_ct /a> =  arine"_namue_btrf_iide=tlass,de=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3251861lass="l18ne" namue=L379"> 377 /a>18ne">186="fs/ss="sref">io_ctoue-spelsecctl /a>cuehref:btrfs/free-space-7ache.71ref"> ide=L3681862lass="l18ne" namue=L379"> 377 /a>18ne">186}>sref"/a>);>iorhref 387 /a>18ne">186     1" class="line"tne"_lock#L325" ide=L3251864lass="l18ne" namue=L325"> 327 /a>18ne">186        if (!-7actio" class="sgeree-spelsecctl /a>reehref"sS+cstfs/free-space-c+csto_ct50" ide=L3801865lass="l18ne" namue=L325"> 327 /a>18ne">186f="fs/btrfs/f/btrfs/ftio" class="sgeprrntkhref="+ss="srinprrntklass=ce-css="srine"_KERN_CRIThref="+ss="srinKERN_CRIT a hde  return6- astrrng">"pace-: unable to add   *. #L379 :%d\n"hred ao,de=u64" class="sree-spelsecctl /a>reehref"k1" class="line"tne"_lock#L325" ide=L3251866lass="l18ne" namue=L379"> 377 /a>18ne">186                     e=u64" class="sBUG_Ol " class==  a hBUG_Ollass=ce-css="srine"_ree-spelsecctl /a>reehref == -ss="sref">io_ctEEXISThref="+ss="srinEEXISThref"k1" class="line"tne"_lock#L325" ide=L3251867lass="l18ne" namue=L367"> 367 /a>18ne">186        }>WARN_O" ide=L3651868lass="l18ne" namue=L334"> 337 /a>18ne">186struce-space-6ache.66"sref">WARN_O" ide=L3651869lass="l18ne" namue=L367"> 367 /a>18ne">1869truct  a hrereturn          7 returee-spelsecctl /a>reehrefk1" class="line"tne"_lock#L325" ide=L325187class="l18ne" namue=L325"> 327 /a>18ne">187e="fsee-space-6ache.66"sref">WARN_O" ide=L3651871lass="l18ne" namue=L325"> 327 /a>18ne">187="fs/1" class="line"tne"_lock#L325" ide=L3251872lass="l18ne" namue=L342"> 346 /a>18ne">187}> ide=L3681873lass="l18ne" namue=L380"> 386 /a>18ne">187         a href="+cod            e=u64" class="s64"sref">WARN_ON /a>( a hde=u64" class="scffsee-spelsecctl /a>cffseehref,de=u64" class="s64"sref">WARN_ON /a>( a hde=u64" class="snytest,lsref"/a>);> 376 /a>18ne">187     S+cstfs/free-space-c+csto_ct50" ide=L3801875lass="l18ne" namue=L365"> 366 /a>18ne">187f="fs/btrfs/f         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" class="line"tne"_lock#L325" ide=L3251876lass="l18ne" namue=L365"> 366 /a>18ne">1876truct  a hre         6 int 636clasrine"_namue_btrfhref="+ss="srineine"_namuesbtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L3251877lass="l18ne" namue=L364"> 366 /a>18ne">187        }>reehref = 65=unlock_page" class="e.c#L367" ide=L3671878lass="l18ne" namue=L367"> 366 /a>18ne">187struce-space-6ache.66"sref">WARN_O" ide=L36518n9lass="l18ne" namue=L368"> 366 /a>18ne">1879truct  a hreefrio_ctl" classpin_lockhref="+ss="srinspin_locklass=" class="line" ain_uioref">sref"/a>);>iorhref 366 /a>18ne">188e="fs1" class="line"tne"_lock#L325" ide=L3251881lass="l18ne" namue=L370"> 376 /a>18ne">188="fs/ss="sref">io_ctagainleo_ct /a> =  aagain    :btrfs/free-space-7ache.71ref"> ide=L3681882lass="l18ne" namue=L367"> 366 /a>18ne">188}>io_ctaytest,lsref"/a>);> ide=L3681883lass="l18ne" namue=L367"> 366 /a>18ne">188         a href="+codgoto ss="sref">io_ctcueelockhref="+ss="srincueelockss="k1" class="line"tne"_lock#L325" ide=L3251884lass="l18ne" namue=L364"> 366 /a>18ne">188 a href="+code=io_ctl"7class71L375" ide=L3751885lass="l18ne" namue=L379"> 376 /a>18ne">1885       if (!efrio_ctl" clasrnfo href="ss="srinrnfoss=" = n - a hre6="+cotamuesearch_cffsee-spelsecctl /a>tamuesearch_cffseelass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="scffsee-spelsecctl /a>cffseehref, 0, 0)k1" class="line"tne"_lock#L325" ide=L3251886lass="l18ne" namue=L367"> 366 /a>18ne">188             -7acass="sref">io_ctrnfo href="ss="srinrnfoss=")sS+cstfs/free-space-c+csto_ct50" ide=L3801887lass="l18ne" namue=L267"> 266 /a>18ne">188        }>/*hred ao orphao item         *.c#L379" ide=L3791888lass="l18ne" namue=L367"> 366 /a>18ne">188struc   return6- acommref">btrfs/freeeeeeeee* oops didn't find an ext9nt that matde=d the #L379 we wantedhred ao orphao item         *.c#L379" ide=L3791889lass="l18ne" namue=L379"> 376 /a>18ne">188="fs/n  return6- acommref">btrfs/freeeeeeeee* to remove, look for a rio_ct insteadhred ao orphao item         *.c#L379" ide=L379189class="l18ne" namue=L367"> 366 /a>18ne">189e="fsn  return6- acommref">btrfs/freeeeeeeee*/hred ao orphao item         *.c#L379" ide=L3791891lass="l18ne" namue=L361"> 366 /a>18ne">189="fs/btrfs/free-spacece-css="srine"_rnfo href="ss="srinrnfoss=" = n - a hre6="+cotamuesearch_cffsee-spelsecctl /a>tamuesearch_cffseelass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="scffsee_to_aio_ctleo_ct /a> =  acffsee_to_aio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="scffsee-spelsecctl /a>cffseehref",           if (! 7 href75+code ide=L3671892lass="l18ne" namue=L379"> 376 /a>18ne">189}> 376 /a>18ne">189         a href="+cod-7acass="sref">io_ctrnfo href="ss="srinrnfoss=")sS+cstfs/free-space-c+csto_ct50" ide=L3801894lass="l18ne" namue=L367"> 366 /a>18ne">189        if (! a href=ree-spacc  return6- acommref">/* the tamu logging io_c migh- be calling us beforeawehred ao orphao item         *.c#L379" ide=L3791895lass="l18ne" namue=L375"> 376 /a>18ne">189f="fsn  return6- acommref">btrfs/freeeeeeeeeeeeeeeee* have fully load=d the   *. #L379 rbtamu for thishred ao orphao item         *.c#L379" ide=L3791896lass="l18ne" namue=L364"> 366 /a>18ne">1896       return6- acommref">btrfs/freeeeeeeeeeeeeeeee* elock group.  So it -s possible the entry won'thred ao orphao item         *.c#L379" ide=L3791897lass="l18ne" namue=L379"> 376 /a>18ne">189        return6- acommref">btrfs/freeeeeeeeeeeeeeeee* ee in the rbtamu yet at all.  The caching io_chred ao orphao item         *.c#L379" ide=L3791898lass="l18ne" namue=L367"> 366 /a>18ne">189struc   return6- acommref">btrfs/freeeeeeeeeeeeeeeee* will mak. #ureanot to put it -n the rbtamu ifhred ao orphao item         *.c#L379" ide=L3791899lass="l18ne" namue=L367"> 366 /a>18ne">189="fs/n  return6- acommref">btrfs/freeeeeeeeeeeeeeeee* the logging io_c has pinned rt.hred ao orphao item         *.c#L379" ide=L37919 class="l19 clanamue=L367"> 366 /a>19 cl>190e="fsn  return6- acommref">btrfs/freeeeeeeeeeeeeeeee*/hred ao orphao item         *.c#L379" ide=L37919 1lass="l19 e" namue=L361"> 366 /a>19 e">190="fs/btrfs/free-spaceeeeeeeeegoto ss="sref">io_ctcueelockhref="+ss="srincueelockss="k1" class="line"tne"_lock#L325" ide=L32519 2lass="l19 e" namue=L379"> 376 /a>19 e">190}>WARN_O" ide=L36519 3lass="l19 e" namue=L379"> 376 /a>19 e">190         a hree-space-6ache.66"sref">WARN_O" ide=L36519 4lass="l19 e" namue=L367"> 366 /a>19 e">190 a href="+code=io_ctl"7class71L375" ide=L37519 5lass="l19 e" namue=L375"> 376 /a>19 e">190f="fs/btrfs/f-7acass="sref">io_ctrnfo href="ss="srinrnfoss="ref="ftrfs/free-spacnio_ctleo_ct /a> =  ario_cthref"sS+cstfs/free-space-c+csto_ct50" ide=L38019 6lass="l19 e" namue=L364"> 366 /a>19 e">190                     e=u64" class="s6n364k_namue_btrfhref="+ss="srinun364k_namue_btrflass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L32519 7lass="l19 e" namue=L379"> 376 /a>19 e">190        }>cffseehref"sS+cstfs/free-space-c+csto_ct50" ide=L38019 8lass="l19 e" namue=L367"> 366 /a>19 e">190struct  a href="+code        e=u64" class="s64"sref">WARN_ON /a>( a hde=u64" class="sto_+cst href="ss="srinto_+cstss=" = n - a hre6="+cominleo_ct /a> =  amin    =ce-css="srine"_rytest,lsref"/a>);>io_ctrnfo href="ss="srinrnfoss="ref="ftrfs/free-spacnytest,lsref"/a>);> 366 /a>19 e">190="fs/btrfs/free-space-7ache.71ref"> ide=L368191class="l19ne" namue=L367"> 367 /a>19ne">191e="fs/btrfs/free-spac        e=u64" class="srnfo href="ss="srinrnfoss=");> 387 /a>19ne">191="fs/btrfs/free-spaceeeeeeeeen - a hre6="+coinfo href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehref +hrefrio_ctl" clasto_+cst href="ss="srinto_+cstss="k1" class="line"tne"_lock#L325" ide=L3251912lass="l19ne" namue=L325"> 327 /a>19ne">191}>);> 367 /a>19ne">191         a href="s/free-spaceeeeeeeeen - a hre6="+coree-spelsecctl /a>reehref = e=u64" class="s364k_namue_btrfhref="+ss="srin364k_namue_btrflass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3251914lass="l19ne" namue=L368"> 367 4a>19ne">191        if (! a href=ee-spaceeeeeeeeen - a hre6="+coWARN_Ol " class==  a hWARN_Ollass=ce-css="srine"_ree-spelsecctl /a>reehref)k1" class="line"tne"_lock#L325" ide=L3251915lass="l19ne" namue=L375"> 377 /a>19ne">191f="fs/btrfs/f/btrfs/fa href="e elsesS+cstfs/free-space-c+csto_ct50" ide=L3801916lass="l19ne" namue=L380"> 387 6a>19ne">191                     ee-spaceeeeeeeeen - a hre6="+cokmem_iide=_+cst href="ss="srinkmem_iide=_+cstlass=ce-css="srine"_rine"_namue_btrf_iide=tleo_ct /a> =  arine"_namue_btrf_iide=tlass,de=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3251917lass="l19ne" namue=L325"> 327 /a>19ne">191        }>WARN_O" ide=L3651918lass="l19ne" namue=L367"> 367 8a>19ne">191struce-space-6ache.66"sref">WARN_O" ide=L3651919lass="l19ne" namue=L368"> 367 9a>19ne">191}>cffseehref +hrefrio_ctl" clasto_+cst href="ss="srinto_+cstss="k1" class="line"tne"_lock#L325" ide=L325192class="l19ne" namue=L368"> 367 /a>19ne">192e="fs/btrfs/free-spaceeeeeeeen - a hre6="+conytest,lsref"/a>);> 387 /a>19ne">192="fs/btrfs/free-spaceeeeeeeeegoto ss="sref">io_ctagainleo_ct /a> =  aagain    k1" class="line"tne"_lock#L325" ide=L3251922lass="l19ne" namue=L325"> 327 /a>19ne">192}> 327 /a>19ne">192         a href="s/free-spacee=u64" class="s64"sref">WARN_ON /a>( a hde=u64" class="scld_end>-> a href="cld_endhref = e=u64" class="srnfo href="ss="srinrnfoss=");> 327 /a>19ne">192 a href="+code=io_ctl"7class71L375" ide=L3751925lass="l19ne" namue=L380"> 387 /a>19ne">192f="fs/btrfs/f/btrfs/fa href="ss="sref">io_ctrnfo href="ss="srinrnfoss=");>cffseehref -=n - a hre6="+coinfo href="ss="srinrnfoss="ref="ftrfs/free-spaccffsee-spelsecctl /a>cffseehrefk1" class="line"tne"_lock#L325" ide=L3251926lass="l19ne" namue=L379"> 377 /a>19ne">192                             e=u64" class="sree-spelsecctl /a>reehref = e=u64" class="s364k_namue_btrfhref="+ss="srin364k_namue_btrflass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3251927lass="l19ne" namue=L325"> 327 /a>19ne">192        }>reehref)k1" class="line"tne"_lock#L325" ide=L3251928lass="l19ne" namue=L325"> 327 /a>19ne">192struct  a href="+code"fs/btrf-7actio" class="sgeree-spelsecctl /a>reehref"1" class="line"tne"_lock#L325" ide=L3251929lass="l19ne" namue=L367"> 367 /a>19ne">192}>io_ctcueelockhref="+ss="srincueelockss="k1" class="line"tne"_lock#L325" ide=L325193class="l19ne" namue=L368"> 367 /a>19ne">193e="fs1" class="line"tne"_lock#L325" ide=L3251931lass="l19ne" namue=L380"> 387 /a>19ne">193="fs/btrfs/free-spaceeeeeeeeen  return6- acommref">/* Not enough aytes -n this entry to satisfy us */hred ao orphao item         *.c#L379" ide=L3791932lass="l19ne" namue=L325"> 327 /a>19ne">193}>);> 327 /a>19ne">193         a href="s/free-spaceeeeeeeeen - a hre6="+conytest,lsref"/a>);> 367 /a>19ne">193        if (! a href=ee-spaceeeeeeeeen - a hre6="+cocffsee-spelsecctl /a>cffseehref = n - a hre6="+cocld_end>-> a href="cld_endhrefk1" class="line"tne"_lock#L325" ide=L3251935lass="l19ne" namue=L380"> 387 /a>19ne">193f="fs/btrfs/f/btrfs/fffffffffffffffffgoto ss="sref">io_ctagainleo_ct /a> =  aagain    k1" class="line"tne"_lock#L325" ide=L3251936lass="l19ne" namue=L380"> 387 /a>19ne">193                             e elses-7actio" class="sgecld_end>-> a href="cld_endhref =hrefrio_ctl" clascffsee-spelsecctl /a>cffseehref +de=u64" class="snytest,lsref"/a>);> 327 /a>19ne">193        }>/* all donee*/hred ao orphao item         *.c#L379" ide=L3791938lass="l19ne" namue=L367"> 367 /a>19ne">193struct  a href="+code"fs/btrfs/fee-spgoto ss="sref">io_ctcueelockhref="+ss="srincueelockss="k1" class="line"tne"_lock#L325" ide=L3251939lass="l19ne" namue=L368"> 367 /a>19ne">193}>WARN_O" ide=L365194class="l19ne" namue=L325"> 327 /a>19ne">194e="fs/btrfs/free-spaceeeeeeeen - a hre6="+cospin_unlockhref="+ss="srinspin_unlocklass=" class="line" ain_uioref">sref"/a>);>iorhref 327 /a>19ne">194="fs/1" class="line"tne"_lock#L325" ide=L3251942lass="l19ne" namue=L325"> 327 /a>19ne">194}>cffseehref +de=u64" class="snytest,lsref"/a>);> 327 /a>19ne">194         a href="+coddddddddddddddddddddddddddddddddddddn - a hre6="+cocld_end>-> a href="cld_endhref -=ctio" class="sgecffsee-spelsecctl /a>cffseehref +de=u64" class="snytest,lsref"/a>);> 327 /a>19ne">194        if (! a href=ree-spacce-css="srine"_WARN_Ol " class==  a hWARN_Ollass=ce-css="srine"_ree-spelsecctl /a>reehref)k1" class="line"tne"_lock#L325" ide=L3251945lass="l19ne" namue=L380"> 387 /a>19ne">194f="fs/btrfs/f/btrfs/fffffffffgoto ss="sref">io_ctoue-spelsecctl /a>cuehrefk1" class="line"tne"_lock#L325" ide=L3251946lass="l19ne" namue=L379"> 377 /a>19ne">194                     ee-space-6ache.66"sref">WARN_O" ide=L3651947lass="l19ne" namue=L325"> 327 /a>19ne">194        }>WARN_O" ide=L3651948lass="l19ne" namue=L325"> 327 /a>19ne">194struce-space-6ache.66"sref">WARN_O" ide=L3651949lass="l19ne" namue=L367"> 367 /a>19ne">1949truct  a hreefrio_ctl" clasree-spelsecctl /a>reehref = e=u64" class="sremove_naom_aio_ctleo_ct /a> =  aremove_naom_aio_ctlass=ce-css="srine"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss=", " class="line" ain_ucffsee-spelsecctl /a>cffseehref, " class="line" ain_unytest,lsref"/a>);> 367 /a>19ne">1950        a hr-7actio" class="sgeree-spelsecctl /a>reehref == -ss="sref">io_ctEAGAIl " class==  a hEAGAIlhref"1" class="line"tne"_lock#L325" ide=L3251951lass="l19ne" namue=L325"> 327 /a>19ne">195="fs/btrfs/free-spacegoto ss="sref">io_ctagainleo_ct /a> =  aagain    k1" class="line"tne"_lock#L325" ide=L3251952lass="l19ne" namue=L334"> 337 /a>19ne">195}>reehref);en  return6- acommref">/* logic errore*/hred ao orphao item         *.c#L379" ide=L3791953lass="l19ne" namue=L367"> 367 /a>19ne">195     ss="sref">io_ctcueelockhref="+ss="srincueelockss=":btrfs/free-space-7ache.71ref"> ide=L3681954lass="l19ne" namue=L325"> 327 /a>19ne">195        if (!n - a hre6="+cospin_unlockhref="+ss="srinspin_unlocklass=" class="line" ain_uioref">sref"/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_ctoue-spelsecctl /a>cuehref:btrfs/free-space-7ache.71ref"> ide=L3681956lass="l19ne" namue=L366"> 367 /a>19ne">1956truct  a hrereturn          7 returee-spelsecctl /a>reehrefk1" class="line"tne"_lock#L325" ide=L3251957lass="l19ne" namue=L325"> 327 /a>19ne">195     ee-space-6ache.66"sref">WARN_O" ide=L3651958lass="l19ne" namue=L365"> 367 /a>19ne">195struce-space-6ache.66"sref">WARN_O" ide=L3651959lass="l19ne" namue=L379"> 377 /a>19ne">195}> ide=L368196class="l19ne" namue=L379"> 377 /a>19ne">196e="fs/btrfs/free-spacef=ree-spacce-css="srine"_64"sref">WARN_ON /a>( a hde=u64" class="snytest,lsref"/a>);> 377 /a>19ne">196="fs/S+cstfs/free-space-c+csto_ct50" ide=L3801962lass="l19ne" namue=L379"> 377 /a>19ne">196}>sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namue=L380"> 387 /a>19ne">1963>sref"/a>);>rine"_namue_btrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L3251964lass="l19ne" namue=L325"> 327 /a>19ne">196        if (!         6 int 636clasrb_ncla-spelsecctl /a>rb_nclahrefcace-css="srine"_nleo_ct /a> =  an    k1" class="line"tne"_lock#L325" ide=L3251965lass="l19ne" namue=L325"> 327 /a>19ne">196f="fs/btrfs/fin    6 int 636clascoune-spelsecctl /a>counehref hr65=unlock_page" class="e.c#L367" ide=L3671966lass="l19ne" namue=L379"> 377 /a>19ne">196     e-space-6ache.66"sref">WARN_O" ide=L3651967lass="l19ne" namue=L367"> 367 /a>19ne">196        }> =  an     = e=u64" class="srb_firse-spelsecctl /a>rb_firselass=" class="line" ain_uioref">sref"/a>);>iorhrefnamue_btrf_cffseehref);ene-css="srine"_nleo_ct /a> =  an    kene-css="srine"_nleo_ct /a> =  an     = e=u64" class="srb_nexe-spelsecctl /a>rb_nexelass=ce-css="srine"_nleo_ct /a> =  an    )"sS+cstfs/free-space-c+csto_ct50" ide=L3801968lass="l19ne" namue=L334"> 337 /a>19ne">196struct  a href="+coden - a hre6="+coinfo href="ss="srinrnfoss=" = e=u64" class="srb_entry-spelsecctl /a>rb_entrylass=ce-css="srine"_nleo_ct /a> =  an    ,s         6 int 636clasrine"_namue_btrfef">sref"/a>);>rine"_namue_btrfhrefrde=u64" class="scffsee_index-spelsecctl /a>cffsee_indexhref)k1" class="line"tne"_lock#L325" ide=L3251969lass="l19ne" namue=L367"> 367 /a>19ne">196}>);>);>io_ctalock_grouphref="+ss="srinelock_grouphref 327 /a>19ne">197e="fs/btrfs/free-spaceeeeeeeen - a hre6="+cocoune-spelsecctl /a>counehref++k1" class="line"tne"_lock#L325" ide=L3251971lass="l19ne" namue=L325"> 327 /a>19ne">197="fs/btrfs/free-spacece-css="srine"_prrntkhref="+ss="srinprrntklass=ce-css="srine"_KERN_CRIThref="+ss="srinKERN_CRIT a hde  return6- astrrng">"entry cffsee %llu, aytes %llu, aio_ct %s\n"hred ao,1" class="line"tne"_lock#L325" ide=L3251972lass="l19ne" namue=L342"> 346 /a>19ne">197}>cffseehref,1" class="line"tne"_lock#L325" ide=L3251973lass="l19ne" namue=L380"> 386 /a>19ne">197         a href="+cod       (unsigned long long)tio" class="sgernfo href="ss="srinrnfoss=");> 376 /a>19ne">197        if (! a href=ree-spactio" class="sgernfo href="ss="srinrnfoss=" =  ario_cthref"s?de  return6- astrrng">"yes"hred ao :de  return6- astrrng">"no"hred ao)k1" class="line"tne"_lock#L325" ide=L3251975lass="l19ne" namue=L365"> 366 /a>19ne">197f="fs/btrfs/fee-space-6ache.66"sref">WARN_O" ide=L3651976lass="l19ne" namue=L365"> 366 /a>19ne">1976truct  a hrece-css="srine"_prrntkhref="+ss="srinprrntklass=ce-css="srine"_KERN_INFOhref="+ss="srinKERN_INFO a hde  return6- astrrng">"elock group has cluster?: %s\n"hred ao,1" class="line"tne"_lock#L325" ide=L3251977lass="l19ne" namue=L364"> 366 /a>19ne">197        }>list_emptylass=" class="line" ain_ualock_grouphref="+ss="srinelock_grouphrefcluster_listhref"s?de  return6- astrrng">"no"hred ao :de  return6- astrrng">"yes"hred ao)k1" class="line"tne"_lock#L325" ide=L3251978lass="l19ne" namue=L367"> 366 /a>19ne">1978       return - a hre6="+coprrntkhref="+ss="srinprrntklass=ce-css="srine"_KERN_INFOhref="+ss="srinKERN_INFO a hde  return6- astrrng">"%d elocks o7a  *. #L379 at or bigger thretaytes -s"hred ao1" class="line"tne"_lock#L325" ide=L3251979lass="l19ne" namue=L368"> 366 /a>19ne">197}>"\n"hred ao,de=u64" class="scoune-spelsecctl /a>counehref)k1" class="line"tne"_lock#L325" ide=L325198class="l19ne" namue=L368"> 366 /a>19ne">198e="fsee-space-6ache.66"sref">WARN_O" ide=L3651981lass="l19ne" namue=L370"> 376 /a>19ne">198="fs/1" class="line"tne"_lock#L325" ide=L3251982lass="l19ne" namue=L367"> 366 /a>19ne">198}>sref"/a>);>rine"_init_namue_btrf_iorlass=         6 int 636clasrine"_block_group_iide=href="+ss="srineine"_block_group_iide=hrefcace-css="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L367"> 366 /a>19ne">198     S+cstfs/free-space-c+csto_ct50" ide=L3801984lass="l19ne" namue=L364"> 366 /a>19ne">198        if (!         6 int 636clasrine"_namue_btrf_ioref">sref"/a>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801985lass="l19ne" namue=L379"> 376 /a>19ne">1985    1" classree-space-c+csto_ct50" ide=L3801986lass="l19ne" namue=L367"> 366 /a>19ne">1986truct  a hrece-css="srine"_spin_lock_inithref="+ss="srinspin_lock_initlass=" class="line" ain_uioref">sref"/a>);>iorhref 266 /a>19ne">1987            ce-css="srine"_ioref">sref"/a>);>iorhref 366 /a>19ne">1988       return - a hre6="+coioref">sref"/a>);>iorhrefkeyhref.ef="ef="+code=icbjectid>-> a href="cbjectidhrefk1" classree-space-c+csto_ct50" ide=L3801989lass="l19ne" namue=L379"> 376 /a>19ne">1989truct  a hreefrio_ctl" clasioref">sref"/a>);>iorhref 366 /a>19ne">1990        a hrefrio_ctl" clasioref">sref"/a>);>iorhref =  acplass hr" class="line" ain_unamue_btrf_ctleo_ct /a> =  anamue_btrf_cthrefk1" classree-space-c+csto_ct50" ide=L3801991lass="l19ne" namue=L361"> 366 /a>19ne">199="fs/1" class="line"tne"_lock#L325" ide=L3251992lass="l19ne" namue=L379"> 376 /a>19ne">199}>/*hred ao orphao item         *.c#L379" ide=L3791993lass="l19ne" namue=L379"> 376 /a>19ne">199        return6- acommref">btrfs/fre* we only want to have 32k o7aram per elock group for keepinghred ao orphao item         *.c#L379" ide=L3791994lass="l19ne" namue=L367"> 366 /a>19ne">199        return6- acommref">btrfs/fre* track o7a  *. #L379, and -7awe pn6- 1/2 o7athat we want tohred ao orphao item         *.c#L379" ide=L3791995lass="l19ne" namue=L375"> 376 /a>19ne">199f="fsn  return6- acommref">btrfs/fre* start converting things over to using rio_ctshred ao orphao item         *.c#L379" ide=L3791996lass="l19ne" namue=L364"> 366 /a>19ne">1996       return6- acommref">btrfs/fre*/hred ao orphao item         *.c#L379" ide=L3791997lass="l19ne" namue=L379"> 376 /a>19ne">1997            ce-css="srine"_ioref">sref"/a>);>iorhrefsref"/a>);>ext9nts_t"efshlass hr((1024e* 32) / 2) / orphao item         *.c#L379" ide=L3791998lass="l19ne" namue=L367"> 366 /a>19ne">199struct  a href="+code"fs/btrfs/fee-spsiz=of=         6 int 636clasrine"_namue_btrfef">sref"/a>);>rine"_namue_btrfhref)k1" class="line"tne"_lock#L325" ide=L3251999lass="l19ne" namue=L367"> 366 /a>19ne">199="fs/ee-space-6ache.66"sref">WARN_O" ide=L36520 class="l20 clanamue=L367"> 366 /a>20 cl>20 c"fs/1"/pre>-space-6ache.66"sref">WARN_O" ide=L36520 1lass="l20 e" namue=L361"> 366 /a>20 e">20 1       return6- acommref">/*hred ao orphao item         *.c#L379" ide=L37920 2lass="l20 e" namue=L379"> 376 /a>20 e">20 2       return6- acommref">b* for a given cluster, put all o7aits ext9nts back into the   *.hred ao orphao item         *.c#L379" ide=L37920 3lass="l20 e" namue=L379"> 376 /a>20 e">20         return6- acommref">b* #L379  ide=L  If the elock group pn6-ed doesn't matde the elock grouphred ao orphao item         *.c#L379" ide=L37920 4lass="l20 e" namue=L367"> 366 /a>20 e">20         return6- acommref">b* pointed to by the cluster, someoneeelsesraced rn and   *.d thehred ao orphao item         *.c#L379" ide=L37920 5lass="l20 e" namue=L375"> 376 /a>20 e">20 f="fsn  return6- acommref">b* cluster alreadyL  Inathat cas9, we justfirfs/freeeeeeeee* oops didn&#alock_grouphref="+ss="sri48lass="l19ne" namue=L367"54manL3791anyide=Lue=L375"> 376 /a>20 e">20 f="fsn  return6- acommr6f">b* clusre*/hred ao orphao itemlusrewe j*.c#L379" ide=L3791997lass="amue=L379"> 376 /a>19ne">1997            ce-css=e j7f">b* clus>sref"/a>);>iorhrefswe j+code   ticss=""> 376 /a>19ne">1997            ce-css=e j8f">b* clus-spsiz=of=         6 inlus-swe jreanotk1" class="lin__ass="le" nam_  return" namuek#L325" ide=L3251999l__ass="le" nam_  return" namuek#L325de=it"> 376 /a>19ne">1997            ce-css=e j9f">b* clusO" ide=L36520 class="l2lusO"we jref="+ss="srincueelockss="k1" clasblock_group_iide=hrefcace-css="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>s=4"ef="+ss="srincueelockss="k1" clasblock_group_iide=hrefcace-csamuek  retur" ide=L3251999lass="l19ne"  returock_grouphref="+ss="sr retur" ide=L3251999l  returock_7"> 366 /a>19ne">198     S+cstfs/free-sps=4ef">/*hreda hre6="+coinfo href="sseda h>s=4e=L379"> 377 /a>19ne">196}>b* fortio" class="sgernfo hrefortio>s=4>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namue=L361"> 366 /a>19ne">199="fs/1" class="line"s=4ef">b* #L3eeeen - a hre6="+coree-sL3eee>s=4rine"_namue_btrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32   ,s         6 int clasrine"1"> 366 /a>19ne">199="fs/1" class="line"s=4ef">b* poieeeen - a hre6="+coWARN_oieee>s=4efcace-css="srine"_nleo_ct /a> =  an    k1" class="line"tne"_lock#L325" ide=L3251965la k1" class="line"t_lock#L31"> 366 /a>19ne">199="fs/1" class="line"s=4ef">b* clusesS+cstfs/free-space-c+luses>s=4=L367"> 366 /a>19ne">1986truct  a hrece-css=s=46f">b* clueeeen - a hre6="+cokmem_lueee>s=4_initlass=" class="line" ain_uioref">/a>);>iorhref/a>);>iorhref 266 /a>19ne">1987            ce-css=s=47f">b* clupace-6ache.66"sref">WARNlupac>s=4ock_page" clasytest,lsref"/a>);>r retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref">sref"/a>);>namue_btrf_iorhre !"ef="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhre7"> 366 /a>19ne">198     S+cstfs/free-sps=48f">b* cluO" ide=L3651919lass="l19luO" >s=4rine"_namue_btrfef">slock#L325" ide=L3251946lass="l19ne" namue=L379"> 377 /a>19ne">194                    s=49f">b* clua hre6="+cocffsee-spelselua h>s=4=L367"> 367 /a>19ne">191e="fs/btrfs/free-spa202Ldonelass=a hre6="+conytest,lsref"s=a h>s=a code=iext9nts_t"efshef">sref retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref">sref"/a>);>namue_btrf_iorhre "ef="+code=inamueNULL">sref"/a>);>naNULL=L379"> 377 /a>19ne">194                    s=2ef">/*hred ss="sref">io_ctagainleoed ss>s=a1code=iext9nts_t"efshef">sref retur" ide=L3251999l  returock_fk1" classree-space-window_s="srinelock_grouphrwindow_s="srrhre "e79"> 377 /a>19ne">196     e-space-6ache.6s=aef">b* forfs/free-space-c+csto_ct5orfs/>s=a="srine"_ree-spelsecctl /a>r_groudelsref"/a>);>iorhref 266 /a>19ne">1987            ce-css=s=2ef">b* #L34" class="s64"sref">WARNL34" >s=a=L325"> 327 /a>18ne">186        if (!-7actios=aef">b* poi5" ide=L3751925lass="l19oi5" >s=aass=" class="line" ain_uiorea k1" class="line"t_lock#L3e" ain_uioref">sref"/a>);>iorhrefiorhref 266 /a>19ne">1987            ce-css=s=2ef">b* clusref">io_ctrnfo href="sslusre>s=ane" namue=L36whilepelsecctl /a>rb_fi k1" class="line"t_lock#L3334"> 337 /a>19ne">196struct  a href="+cods=a6f">b* clu4" class="sree-spelsecctlu4" >s=ainun364k_namue_btrflass=ce-css="srinbooef"/a>);>iorhref ooebiggerng">"yes"hred ao :de  return6- astr7"> 266 /a>19ne">1987            ce-css=s=27f">b* clu4" class="sWARN_Ol " clalu4" >s=a7L325"> 327 /a>18ne">186        if (!-7actios=a8f">b* clutio" class="sgeree-spelslutio>s=ae=u64" class="srb_entry-spelsecctl /   ,s         6 int clasrine"e"_nleo_ct /a> =  an    ,s         6 int 636clasrine"_namue_btrfef">sr k1" class="line"t_lock#L3_btrfhrefrde=u64" class="scffsee_index-spelsecctl /a>cffsee_indexhref)k1" class="line"tne"_lock#L325" ide=L3251969lass="l19ne" namue=L367"> 367 /a>19ne">196}>b* clueeeegoto ss="sref">io_ctlueee>s=aref="+ss="srincueelocline" ain_uiorea k1" class="line"t_lock#L3e" ain_uioref">sref"/ )"sS+cstfs/free-space-c+csto_camue_btrf_cffsee-spe   ,s         6 int clasrine""tne"_lock#L325" ide=L325125" ide=L3251969lass="l19ne" namue=L367"> 367 /a>19ne">196}>s=5"ef="+ss="srincueelocline" ain_uiore636cras1" class="line"tne"cras1sto_camue_btrf_cffsee-spe   ,s         6 int clasrine""tne"_lock#L325" ide=L325125" ide=L3251969lass="l19ne" namue=L3e"tne"_lock#L325" ide=l retur" ide=L3251999l  returock_fk1" classree-space-roo>iorhref 266 /a>19ne">1987            ce-css=s=3ef">/*hredeturn6- acommref">/* Notedetu>s=5=L379"> 376 /a>19ne">199}>b* fortio" class="sgecld_end>-ortio>s=5o href="ss="srinrnfosrng">"yes"hred ao :de  return6- astrass=btrf_cffsee-spe   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astra!"ef="+code=inamueNULL">sref"/a>);>naNULL=L3767"> 266 /a>19ne">1987            ce-css=s=3ef">b* #L3eeeen - a hre6="+conytesL3eee>s=5=")sS+cstfs/free-space-c+csto_ct50" ide=Lquot;hred ao :de  return6- astrr"> 266 /a>19ne">1987            ce-css=s=3ef">b* poieeeen - a hre6="+cocffseoieee>s=5WARN_Ollass=ce-css="srine"_ree-spelsecctl /aasr_mergesee_index-spelsecctl /a>cfasr_mergesee_index-sine"_namue_btrfef">ss=", " class="line" ain_ucffsee-spelsecctl   ,s         6 int clasrine"cffsee-spelsecctlfals1" class="line"tfals1=L3767"> 266 /a>19ne">1987            ce-css=s=3ef">b* cluffffgoto ss="sref">io_ctlufff>s=5>cuehrefk1" class="line"tne"_lock#L325" iinsert>sref"/a>);>iorhrefrde=u64"insert>sref"/de=itamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L3ine"_nleo_ct /a> =  an    kene-css="srine"_nleo_ct /a4"> 366 /a>19ne">197        }>b* cluses-7actio" class="sgeclluses>s=5t href="ss="srinkmem_iide=_+cstlass=centry-spelsecctl /   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19ne" namue=L380"tne"_lock#L325" ide=   ,s         6 int clasrine""tne"_lock#L325" ide=L325125" ide=L3251969lass="l19ne" namue=L3e"sto_ct50" ide=Lquot;hred ao :de  return6- astrr7"> 266 /a>19ne">1987            ce-css=s=37f">b* clueeeen  return6- acommreflueee>s=5ne" namue=L325"> 327 /a>19ne">194struce-space-6ache.6s=58f">b* clue-spgoto ss="sref">io_ctlue-s>s=5+code=istarthref="+ss="srinst retur" ide=L3251999l  returock_fk1" classree-space-roo>iorhrefsreRB_ROOsee %llu, ayRB_ROOsastr7"> 266 /a>19ne">1987            ce-css=s=39f">b* clupace-6ache.66"sref">WARNlupac>s=5=L367"> 367 /a>19ne">191e="fs/btrfs/free-spa204Ldonelass=a hre6="+cospin_unlockhrs=a h>s=a eanotk1" class="lin956lass="l19ne" namue=L366"> 367 /a>19ne">1956truct  a hrereturn s=aef">/*hred5" ide=L3251942lass="l19ed5" >s=a1code=iext9nts_t"efshef">sref">sref"/a>);>iorhref/a>);>iorhref 266 /a>19ne">1987            ce-css=s=4ef">b* for4" class="sree-spelsecctor4" >s=a="srine"_ree-spelsecctl /a>rfsee_iput__btrf_ioref">sref"/a>);>namsee_iput__btrf_iorefine"_namue_btrfef">s_btrf_ioref">sref"/a>);>namue_btrf_iorhre77"> 266 /a>19ne">1987            ce-css=s=4ef">b* #L3dddddddddddddddddddddddnL3ddd>s=a=")sS+cstfs/fe" namu79"> 377 /a>19ne">196     e-space-6ache.6s=4ef">b* poiss="srine"_WARN_Ol " claoiss=>s=a4=L367"> 366 /a>20 cl>20 c"fs/1"/pre>b* clu ss="sref">io_ctoue-spellu ss>s=a=L367"> 366 /a>19ne">1986truct  a hrece-css=s=46f">b* cluhe.66"sref">WARN_O" ide=luhe.>s=at hreinit_namue_btrf_iorl__ass="le"64" cla" class="line"f="efe801989lass="l19n__ass="le"64" cla" class="line"f="efe8ine"_ue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphref 266 /a>19ne">1987            ce-css=s=47f">b* cluef">WARN_O" ide=L3651948luef">s=a7=L379"> 377 /a>19ne">196}>b* cluO" ide=L3651949lass="l19luO" >s=a+code=istarthtrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L3251964lass="l19ne" namue=L325"> 327 /a>19ne">196        if (!       s=a9f">b* clupelsecctl /a>reehref = elupel>s=a9code=istarthtrfhrefcace-css="srinen    k1" class="line"tne"_lock#L325" ide=L3251965la k1" class="line"t_lock#L31"> 366 /a>19ne">199="fs/1" class="line"s=5Ldonelass=ee-spelsecctl /a>reehrefs=ee->s=eeL367"> 366 /a>19ne">1986truct  a hrece-css=s=5ef">/*hredf">io_ctagainleo_ct /a> edf">>s=e1code=iext9ntwhilepe_namue_btrfef">sr k1" class="line"t_lock#L3e" ain_uioref">sref"/lassS+cstfs/free-spacelassde=itamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L3ine"_nleo_ct /a> =  an    kene-css="srine"_nleo_ct /a))a!"ef="+code=inamueNULL">sref"/a>);>naNULL=L37634"> 337 /a>19ne">196struct  a href="+cods=5ef">b* forl " class==  a hBUG_Ollaorl ">s=eo href="ss="srinrnfosrng">"yes&a>rb_entrylass=ce-css="srine"_nleo_ct /a> =  an    ,s         6 int 636clasrine"_namue_btrfef">sr k1" class="line"t_lock#L3_btrfhrefrde=u64" class="scffsee_index-spelsecctl /a>cffsee_indexhref)k1" class="line"tne"_lock#L325" ide=L3251969lass="l19ne" namue=L367"> 367 /a>19ne">196}>b* #L3"+ss="srincueelockss=":bL3"+s>s=e=")sS+cstfs/free-space-c+csto_ct50" ide=L ario_cthref"sS+cstfs/free-space-c+csto_ct50" ide=L38019 6lass="l19 e" namue=L364"> 366 /a>19 e">190                    s=eef">b* poiunlockhref="+ss="srinspioiunl>s=eWARN_Ollass=ce-css="srine"_ree-spelsecctl /ae"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L32519 7lass="l19 e" namue=L379"> 376 /a>19 e">190        }>b* clul /a>cuehref:btrfs/free-lul />s=eoss=");>ine"_namue_btrf_iide=tleo_ct /a> =  arine"_namue_btrf_iide=tlass,de=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3251917lass="l19ne" namue=L325"> 327 /a>19ne">191        }>b* cluturee-spelsecctl /a>reehlutur>s=eass="l19ne" namue=L325ue=L325"> 327 /a>19ne">192         a href="s/fs=e7f">b* clu_O" ide=L3651958lass="l1lu_O">s=eWARN_Ollass=ce-css="srine"_ree-spelsecctl /ak1" cde=L38019 6lass="l19 k1" cde=L38 href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L32519 7lass="l19 e" namue=L379"> 376 /a>19 e">190        }>b* cluO" ide=L3651959lass="l19luO" >s=ee=u64" class="srb_ent7"> 366 /a>20 cl>20 c"fs/1"/pre>b* clump_namue_btrfhref="+ss="lump_>s=e");>needle"spre801989lass="l19nneedle"spre8 hrefL334"> 337 /a>19ne">196struct  a href="+cod206Ldonelass=e-css="srine"_64"sref">Ws=e-c>s=e-ARN_Ollass=ce-css="srine"_ree-spelsecctl /af">sref"/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts=eef">/*hred50" ide=L3801962lass="l1ed50">s=eoss="ref="ftrfs/free-spaccffsee-spelsecctl /condle"spre801989lass="l19ncondle"spre8 hrefL4"> 337 /a>19ne">195f="fsss="sref">io_cts=eef">b* forasrine"_namue_btrf_ioreforasr>s=eref = e=u64" class="srine"_add_namue_btrfhre_uioref">/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts=eef">b* #L3asrine"_namue_btrfef">srL3asr>s=e=")sS+cstfs/free-spac7"> 366 /a>20 cl>20 c"fs/1"/pre>b* poiasrb_ncla-spelsecctl /a>oiasr>s=eWARN_Ollass=c7"> 366 /a>20 cl>20 c"fs/1"/pre>b* cluoune-spelsecctl /a>couneluoun>s=e5=L367"> 366 /a>20 cl>20 c"fs/1"/pre>b* cluO" ide=L3651967lass="l19luO" >s=e=L367"> 367 /a>19ne">196        }>b* clunleo_ct /a> =  an     = lunle>s=e7 hreinit_namue_btrf_iorl__ass="le"64" cla" class="line"01989lass="l19n__ass="le"64" cla" class="line"ine"_ue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphref 266 /a>19ne">1987            ce-css=s=68f">b* clu+coinfo href="ss="srinrnlu+co>s=e8=L379"> 377 /a>19ne">196}>b* cluss="sgernfo href="ss="srluss=>s=e+code=iprrvat=href="+ss="sri_uioref">/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts=7Ldonelass=a hre6="+cocoune-spelsecs=a h>s=a code=iprrvat=href="+ss="sri__ass="le"64" cla" class="line"f="efe801989lass="l19n__ass="le"64" cla" class="line"f="efe8ine"_ouphref="+ss="srinelock_grouphref 337 /a>19ne">195f="fsss="sref">io_cts=7ef">/*hrede"_prrntkhref="+ss="srinede"_>s=a1code=iext9nts_t"efshef">sref">sref"/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts=7ef">b* forgned long long)tio" clasorgne>s=a2=L367"> 366 /a>20 cl>20 c"fs/1"/pre>b* #L3gned long long)tio" clasL3gne>s=a=L325"> 327 /a>18ne">186        if (!-7actios=7ef">b* poi class="sgernfo href="ssoi cl>s=a4 hreinit_namue_btrf_iorlass="le"64" cla" class="line"01989lass="l19nass="le"64" cla" class="line"ine"_ue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L367"> 366 /a>19ne">198     S+cstfs/free-sps=aef">b* cluef">WARN_O" ide=L3651976luef">s=a5=L379"> 377 /a>19ne">196}>b* clukhref="+ss="srinprrntklalukhr>s=aass="l19ne" nue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namue=L361"> 366 /a>19ne">196}>b* clu"_list_empty-spelsecctl lu"_l>s=a7ss="l19ne" nue_btrf_iorhrefcace-css="srine"_i  retur" ide=L3251999lass="l19ne"  returock_grouphref="+ss="sr retur" ide=L3251999l  returock_1"> 366 /a>19ne">196}>b* clukhref="+ss="srinprrntklalukhr>s=a+code=istarthtrfhrefcace-css="srine_grouhea801989lass="l19n_grouhea8ock_grouphref="+ss="shea801989lass="l19nhea8ock_1"> 366 /a>19ne">196}>b* clustrrng">"\n"hrlustr>s=a=L367"> 367 /a>19ne">191e="fs/btrfs/free-spa208Ldonelass=_O" ide=L3651981lass="l1s=_O">s=_Ocode=iprrvat=href="+ss="sri_uioref">/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts=8ef">/*hred5" ide=L3251982lass="l19ed5" >s=_1code=iext9ntwhilepe_namue_btrfef">shea801989lass="l19nhea8ock_="ef="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-">"no"hred ao :de  return6- astrrace-c+csto_ct50" )"sS+cstfs/free-sp-c+csto_)a!""> 337 /a>19ne">195f="fsss="sref">io_cts=8ef">b* forit_namue_btrf_ioref">sreorit_>s=_ref = e=u64" class="ef="ef="+code=icluster_list-spelsecctl /a>cluster_listhref"s?de  return6- astrrng">"no"hred ao :de  return6- astrrng9"> 377 /a>19ne">196}>b* #L350" ide=L3801984lass="l1L350">s=_=")sS+cstfs/free-spacouphref="+ss="sr retur" ide=L3251999l  returock_s=ce-css="srine"_iorroup  ,s         6 int orroup  ,sine"_ouphref="+ss="shea801989lass="l19nhea8ock__btrfhrefrde=u64" class="scffsee_in  retur" ide=L3251999lass="l19ne"  returock_4"> 366 /a>19ne">197        }>b* poiasrine"_namue_btrf_iorefoiasr>s=_ctl /a>cffseehref = n - a hre6="+cocl-spacouphref="+ss="sock_grouphreno"hred ao :deock_grouphreno&qe=L267"> 266 /a>19ne">1987            ce-css=s=8ef">b* clu0" ide=L3801986lass="l19lu0" >s=_=L367"> 366 /a>19ne">1986truct  a hrece-css=s=86f">b* clulock_inithref="+ss="srinluloc>s=_inun364k_namue_btrflass=ce-css="srin>reehref)k1" class="line"tne"_lock#L325" ide=L325r retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref">sref"/a>);>namue_btrf_iorhre !"ef="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhre77"> 266 /a>19ne">1987            ce-css=s=87f">b* clu">sref"/a>);>iorhrefs>s=_WARN_Ollass=ce-css="s=href="+ss="sri__ass="le" nam_  return" namuek#L325" ide=L3251999l__ass="le" nam_  return" namuek#L325de=itf="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhre"_lock#L325" ide=L retur" ide=L3251999l  returock_77"> 266 /a>19ne">1987            ce-css=s=88f">b* clu">sref"/a>);>iorhrefs>s=_e=u64" class="srb_entnytest,lsref"/a>);>needle"spre801989lass="l19nneedle"spre8 hrefL334"> 337 /a>19ne">196struct  a href="+cod2089f">b* clu">sref"/a>);>iorhrefs>s=_ref="+ss="srincueelockss="k1"s_t"efshef">sref">sref"/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts=9Ldonelass=">sref"/a>);>iorhrefss="ref="ftrfs/free-spaccffsee-spelsecctl /condle"spre801989lass="l19ncondle"spre8 hrefL4"> 337 /a>19ne">195f="fsss="sref">io_cts=9ef">/*hred5" ide=L3251992lass="l19ed5" >s="oss="ref="ftrfs/free-spaccffsee-spelsecctl /_uioref">/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts=9ef">b* for">/*hred ao orphao item or">/>s="ref = e=u64" class="s7"> 366 /a>20 cl>20 c"fs/1"/pre>b* #L3fre* we only want to havL3fre>s="=")sS+cstfs/f7"> 366 /a>20 cl>20 c"fs/1"/pre>b* poifre* track o7a  *. #L379oifre>s="ass=" class="line" ain_uiore__ass="le"64" cla" class="line"f="efe801989lass="l19n__ass="le"64" cla" class="line"f="efe8ine"_ouphref="+ss="srinelock_grouphref 337 /a>19ne">195f="fsss="sref">io_cts=9ef">b* clufre* start converting thlufre>s="5ss=" class="line" ain_uioref">sref"/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts=96f">b* clufre*/hred ao orphao itemlufre>s="=L367"> 367 /a>19ne">196        }>b* clu">sref"/a>);>iorhrefs>s="e=L365"> 367 /a>19ne">195struce-space-6ache.6s="8f">b* clue-spsiz=of=         6 inlue-s>s="=L379"> 377 /a>19ne">195}>b* clu_O" ide=L36520 class="l2lu_O">s="ref="e-spelsecctl /aeref"+cstfs/free-space-c+csto_ct50" ide=L3ss="l1indllass="for_alnam" ide=L3251999lass="l1indllass="for_alnamine"_ue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>);> 366 /a>19ne">198     S+cstfs/free-sps1ref">/*hre1 ao orphao item         *1c#L3710e=L379"> 377 /a>19ne">196}>b* fo1 a given cluster, put all1o7ait10>);>rine"_namue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namueock_1"> 366 /a>19ne">196}>b* #L179  ide=L  If the elock g1oup p10rine"_namue_btrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32   ,s         6 int clasrine" "ef="+code=inamueNULL">sref"/a>);>naNULL=L379"> 377 /a>19ne">194                    s1ref">b* po1nted to by the cluster, s1meone10ass=" class="line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L36719_searcem         *.c#L36719_searcehref="ef="+code=inamue_phref="+ss="srinelock_grouphr+csto_ct50" ide=Lphref_de=L3801988lass="l1phref_de=L=L369"> 377 /a>19ne">194                    s1r5f">b* po1nre* start converting thl19, we105ss=" class="line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=LEAGAIlhref"1" class="line"tu79"> 377 /a>19ne">196     e-space-6ache.6s1r6f">b* cl1sre*/hred ao orphao iteml1srewe10=L367"> 367 /a>19ne">196        }>b* cl1s>sref"/a>);>iorhrefswe10+code=iext9nts_t"efshef">sre_uioref">/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts1j8f">b* cl1s-spsiz=of=         6 inl1s-swe10+code=istarthref="+ss="srins   ,s         6 int clasrine" "ef="+code=inamue1indl href="ss="srinrnfoss="k11indl href="ss=ine"_ouphref="+ss="srinelock_grouphref 337 /a>19ne">195f="fsss="sref">io_cts1j9f">b* cl1sO" ide=L36520 class="l2l1sO"we1jref="+ss="srie-c+csto_ct50" ide=L   ,s         6 int clasrine"7"> 366 /a>19ne">198     S+cstfs/free-sps11Ldonelass14" class="srnfo href="sss14" >s14"ef="+ss="srincueeloclock#L325" ide=L3251946lass="l19ne" namue=L379"> 377 /a>19ne">194                    s14ef">/*hre1a hre6="+coinfo href="sse1a h>s11=L379"> 376 /a>19ne">199}>b* fo1tio" class="sgernfo hrefo1tio>s11="srine"_ree-spelsecctl /a>rEAGAIlhref"1" class="line"tulock#L325" ide==L3251973lass="l19ne" namue=L389"> 377 /a>19ne">194                    s14ef">b* #L1eeeen - a hre6="+coree-sL1eee>s14rine"_namue_bnytest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astr334"> 337 /a>19ne">196struct  a href="+cod214ef">b* po1eeeen - a hre6="+coWARN_o1eee>s11ctl /a>cffseehref = n_lock#L325" idequot;h_clearcde=ef="+ss="srinelocuot;h_clearcde=eine"_ouphref="+ss="srinelock_grouphref);>   ,s         6 int clasrine"lass="line"tne"_lock#L3973lass="l19ne" namue=L380"e-spelsecctl /a3801961lass="l19ne" namue=L3799"> 377 /a>19ne">194                    s145f">b* po1sesS+cstfs/free-space-c+l1ses>s11oss=" 366 /a>19ne">198     S+cstfs/free-sps116f">b* cl1eeeen - a hre6="+cokmem_l1eee>s11t href="ss="srinkmem_iide=_+cclassree-space-c+cstde=L38019 6lass="l19 k1" cde=L38 href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3   ,s         6 int clasrine"79"> 377 /a>19ne">194                    s147f">b* cl1pace-6ache.66"sref">WARNl1pac>s14ock_page" cla5ue=L325"> 327 /a>19ne">192         a href="s/fs148f">b* cl1O" ide=L3651919lass="l19l1O" >s14rine"_namue_btrfef">sline" ain_uioree"_ioref">sref"/a>);>iorhrefrde=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3   ,s         6 int clasrine"79"> 377 /a>19ne">194                    s149f">b* cl1a hre6="+cocffsee-spelsel1a h>s11ref="+ss="srincueelocline" ain_uiore   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19ne" namue=L38 +"ef="+code=inamue_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s12Ldonelass1a hre6="+conytest,lsref"s1a h>s12"ef="+ss="srincueelocline" ain_uiore   ,s         6 int clasrine" 7 href75+code ide=L3671974lass="l19ne" namue=L37 -"ef="+code=inamue_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s12ef">/*hre1 ss="sref">io_ctagainleoe1 ss>s12oss="ref="ftrfs/free-e-c+csto_ct50" ide=L   ,s         6 int clasrine" 7 href75+code ide=L3671974lass="l19ne" namue=L377"> 366 /a>19ne">198     S+cstfs/free-sps1aef">b* fo1fs/free-space-c+csto_ct5o1fs/>s12ref = e=u64" class="srine"_add_namue_btrfhreine"_namue_btrf_iide=tleo_ct /a> =  arine"_namue_btrf_iide=tlass,de=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3   ,s         6 int clasrine"79"> 377 /a>19ne">194                    s12ef">b* #L14" class="s64"sref">WARNL14" >s12=")sS+cstfs/free-space=L3"> 377 /a>19ne">194                    s12ef">b* po15" ide=L3751925lass="l19o15" >s12ctl /a>cffseehref = n - a hree-css="srine"_iororef">sref"/a>);>iorhrefrde=4" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3   ,s         6 int clasrine"79"> 377 /a>19ne">194                    s12ef">b* cl1sref">io_ctrnfo href="ssl1sre>s1ane" namue=L365"> 367 /a>19ne">195struce-space-6ache.6s1a6f">b* cl14" class="sree-spelsecctl14" >s12=L367"> 367 /a>19ne">196        }>b* cl14" class="sWARN_Ol " clal14" >s1a7L325L325" ide=L3251946lass="l19ne" namue=L376"> 367 /a>19ne">1956truct  a hrereturn s1a8f">b* cl1tio" class="sgeree-spelsl1tio>s12+code=istarthref="+ss="srinsf">sref"/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts1a9f">b* cl1eeeegoto ss="sref">io_ctl1eee>s12=L367"> 367 /a>19ne">191e="fs/btrfs/free-spa213Ldonelass15" ide=L3251931lass="l19s15" >s15"ef="+ss="srie" namuspelsecctl /a>rEAGAIlhref"1" class="line4"> 337 /a>19ne">195f="fsss="sref">io_cts13ef">/*hre1eturn6- acommref">/* Note1etu>s15=L3795"> 367 /a>19ne">195struce-space-6ache.6s15ef">b* fo1tio" class="sgecld_end>-o1tio>s15o hre"> 367 /a>19ne">195struce-space-6ache.6s15ef">b* #L1eeeen - a hre6="+conytesL1eee>s13-ed doesn't matde the eamue=L379"> 376 /a>20 e">20 2       return6- acom13ef">b* po1eeeen - a hre6="+cocffseo1eee>s13lsesraced rn and   *.d thehredphao ia tem         *.c#L379" ide=L37920 3lass="l20 e" nam srnfo h=L379"> 376 /a>20 e">20 2       return6- acom13ef">b* cl1ffffgoto ss="sref">io_ctl1fff>s13ustfirfs/freeeeeeeee* oops didnrn6- ao orao item       is   *.c#, ides functiomue=c#L3hao "_namu=L379"> 376 /a>20 e">20 2       return6- acom136f">b* cl1ses-7actio" class="sgecll1ses>s13*.c#L379" ide=L3791997lass="aia tem    +ss="sbelo=L37"l20 e"  *.c#L item      .mu=L379"> 376 /a>20 e">20 2       return6- acom137f">b* cl1eeeen  return6- acommrefl1eee>s15ne" n379" ide=L3791997lass="amu=L379"> 376 /a>20 e">20 2       return6- acom138f">b* cl1e-spgoto ss="sref">io_ctl1e-s>s15+code379" ide=L3791997lass="aiO0 erwi48laitide=Lc#Lge *.ie"ferencorphrphao item        ao orphao item  mu=L379"> 376 /a>20 e">20 2       return6- acom139f">b* cl1pace-6ache.66"sref">WARNl1pac>s15=L367rfs/freeeeeeeee* oops didn&#alock_nd e"64" em         * "_omait.mu=L379"> 376 /a>20 e">20 2       return6- acom14Ldonelass1a hre6="+cospin_unlockhrs1a h>s1a eanotfs/freeeeeeeee* oops dimue=L379"> 376 /a>19ne">1997            ce-css=e1aef">/*hre15" ide=L3251942lass="l19e15" >s1a1codeo o_namue_btrf_iorlass="le" nam_  return" namuek#L325" ide=L3251999lass="le" nam_  return" namuek#L325de=it"> 376 /a>19ne">1997            ce-css=e1aef">b* fo14" class="sree-spelseccto14" >s14ref = e=u64" class="srine"_addddddddue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* #L1dddddddddddddddddddddddnL1ddd>s14=")sS+cstfs/free-spacrine"_addddddddue_btrf_iorhrefcace-css="srine"_i  retur" ide=L3251999lass="l19ne"  returock_grouphref="+ss="sr retur" ide=L3251999l  returock_7"> 366 /a>19ne">198     S+cstfs/free-sps14ef">b* po1ss="srine"_WARN_Ol " clao1ss=>s1a4=L365"> 327 /a>19ne">192         a href="s/fs14ef">b* cl1 ss="sref">io_ctoue-spell1 ss>s14ne" namue=L36ue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphref 337 /a>19ne">195f="fsss="sref">io_cts146f">b* cl1he.66"sref">WARN_O" ide=l1he.>s14t href="ss="so o_namue_btrf_iorlEAGAIlhref"1" class="line4"> 337 /a>19ne">195f="fsss="sref">io_cts147f">b* cl1ef">WARN_O" ide=L3651948l1ef">s147L325"> 327 /a>18ne">186        if (!-7actios148f">b* cl1O" ide=L3651949lass="l19l1O" >s1a+code=istarthoesn't matde the eam ="+co,Lge *.isafe  ao orr7"l20 e" item       imue=L379"> 376 /a>19ne">1997            ce-css=e1a9f">b* cl1pelsecctl /a>reehref = el1pel>s14+code=iprrvat=href="+ss="sri_uioref">/a>);>iorhref/a>);>iorhref 266 /a>19ne">1987            ce-css=s15Ldonelass1ee-spelsecctl /a>reehrefs1ee->s15"ef="+ss="srie-c+csto_ct50" ide=Lqbtrf_ioref">sref"/a>);>namue_btrf_iorhre725"> 327 /a>19ne">192         a href="s/fs15ef">/*hre1f">io_ctagainleo_ct /a> e1f">>s15oss="ref="ftrfs/free-sto_ct50" ide=Lqbtrf_ioref">sref"/a>);>namue_btrf_iorhre"tulock#L325" ide=r retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref">sref"/a>);>namue_btrf_iorhre7"> 266 /a>19ne">1987            ce-css=s15ef">b* fo1l " class==  a hBUG_Ollao1l ">s1eo href="ss="srinrnfose-c+csto_ct50" ide=Lqbtrf_ioref">sref"/a>);>namue_btrf_iorhre725"> 327 /a>19ne">192         a href="s/fs15ef">b* #L1"+ss="srincueelockss=":bL1"+s>s1e=")sS+cstfs/free-spac=iprrvat=href="+ss="sri_uioref"/a>);>iorhref/a>);>iorhref 266 /a>19ne">1987            ce-css=s1eef">b* po1unlockhref="+ss="srinspio1unl>s1eWARN_Ollass=ce-css="srine"_ree" namu79"> 377 /a>19ne">196     e-space-6ache.6s1eef">b* cl1l /a>cuehref:btrfs/free-l1l />s1eoss=" 367 /a>19ne">195struce-space-6ache.6s1e6f">b* cl1turee-spelsecctl /a>reehl1tur>s1eass="l19ne" n5ue=L32sytest,lsref"/a>);>r retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref">sref"/a>);>namue_btrf_iorhre !"ef="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhre725"> 327 /a>19ne">192         a href="s/fs157f">b* cl1_O" ide=L3651958lass="l1l1_O">s1eWARN_Ollass=ce-css="soesn't matde the eam #L379" ide=L3hask_grouphl20 e" it do ide=L37redl20 eir work imue=L379"> 376 /a>19ne">1997            ce-css=e1e8f">b* cl1O" ide=L3651959lass="l19l1O" >s1ee=u64" class="srb_ent=href="+ss="sri_uioref"/a>);>iorhref/a>);>iorhref 266 /a>19ne">1987            ce-css=s1e9f">b* cl1mp_namue_btrfhref="+ss="l1mp_>s1e" 377 /a>19ne">196     e-space-6ache.6s16Ldonelass1e-css="srine"_64"sref">Ws1e-c>s1e-ARN_Ollass=c5"> 367 /a>19ne">195struce-space-6ache.6s1eef">/*hre150" ide=L3801962lass="l1e150">s161code=iext9nts_t"efshef">sreatomic_inm" ide=L3251999latomic_inmde=itamuelockhref="+ss="ser_list-spelsecctl /a>cluster_listhref"s?de  return6- astrrng"ounquot;hred ao :de ounqe=L267"> 266 /a>19ne">1987            ce-css=s1eef">b* fo1asrine"_namue_btrf_iorefo1asr>s16="srine"_ree-spelsecctl /a>r_uioref"/a>);>iorhref/a>);>iorhref 266 /a>19ne">1987            ce-css=s1eef">b* #L1asrine"_namue_btrfef">srL1asr>s16=L325"> 327 /a>18ne">186        if (!-7actios16ef">b* po1asrb_ncla-spelsecctl /a>o1asr>s16ass=" class="line" ain_uiorerinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namueock_1"> 366 /a>19ne">196}>b* cl1oune-spelsecctl /a>counel1oun>s16=L367"> 366 /a>19ne">1986truct  a hrece-css=s166f">b* cl1O" ide=L3651967lass="l19l1O" >s16_initlass=" clesn't matde the eam nowie" namuanyde=L37920m         * hadrphrit imue=L379"> 376 /a>19ne">1997            ce-css=e1e7f">b* cl1nleo_ct /a> =  an     = l1nle>s16+code=iext9nts_t"efshef">sre_uioref">/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts168f">b* cl1+coinfo href="ss="srinrnl1+co>s16+code=istarthref="+ss="srinsEAGAIlhref"1" class="line"tulock#L325" ide=__ass="le" nam_  return" namuek#L325" ide=L3251999l__ass="le" nam_  return" namuek#L325de=itf="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhre"_lock#L325" ide=L retur" ide=L3251999l  returock_77"> 266 /a>19ne">1987            ce-css=s169f">b* cl1ss="sgernfo href="ss="srl1ss=>s1e+code=iprrvat=href="+ss="sri_uioref"/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts17Ldonelass1a hre6="+cocoune-spelsecs1a h>s17eL367"> 366 /a>19ne">1986truct  a hrece-css=s17ef">/*hre1e"_prrntkhref="+ss="srine1e"_>s1a1code=iext9ntsesn't matde the eam ="nally drop ourie"f imue=L379"> 376 /a>19ne">1997            ce-css=e17ef">b* fo1gned long long)tio" claso1gne>s17="srine"_ree-spelsecctl /a>rfsee_iput__btrf_ioref">sref"/a>);>namsee_iput__btrf_iorefine"_namue_btrfef">s_btrf_ioref">sref"/a>);>namue_btrf_iorhre77"> 266 /a>19ne">1987            ce-css=s17ef">b* #L1gned long long)tio" clasL1gne>s17=")sS+cstfs/fe" namunamue_btrf_iorlEAGAIlhref"1" class="line4"> 337 /a>19ne">195f="fsss="sref">io_cts17ef">b* po1 class="sgernfo href="sso1 cl>s174=L367"> 366 /a>20 cl>20 c"fs/1"/pre>b* cl1ef">WARN_O" ide=L3651976l1ef">s17=L367"> 366 /a>19ne">1986truct  a hrece-css=s176f">b* cl1khref="+ss="srinprrntklal1khr>s1aass="static"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L3see_ialnam_"_omtde=L38019 6lass="l19 3see_ialnam_"_omtde=L38ine"_ue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* cl1"_list_empty-spelsecctl l1"_l>s17WARN_Ollass=ce-css="srine"_reeeeeeeeeeeeue_btrf_iorhrefcace-css="srine"_i  retur" ide=L3251999lass="l19ne"  returock_grouphref="+ss="sr retur" ide=L3251999l  returock_4"> 366 /a>19ne">197        }>b* cl1khref="+ss="srinprrntklal1khr>s17e=u64" class="srb_entrine"_reeeeeeeeeeeeue_btrf_iorhrefcace-css="srine"_i="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32   ,s         6 int clasrine"4"> 366 /a>19ne">197        }>b* cl1strrng">"\n"hrl1str>s17ref="+ss="srincueelockss="k1""""""""""""line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L3671974lass="l19ne" namue=L379"e-spelsecctl /aeref"+cstfs/free-space-c+csto_ct50" ide=Lm="es="srinelock_grouphrm="es="srock_7"> 366 /a>19ne">198     S+cstfs/free-sps18Ldonelass1_O" ide=L3651981lass="l1s1_O">s1_Ocode5"> 327 /a>19ne">192         a href="s/fs18ef">/*hre15" ide=L3251982lass="l19e15" >s1_1code=iext9ntue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namueock_1"> 366 /a>19ne">192         a href="s/fs18ef">b* fo1it_namue_btrf_ioref">sreo1it_>s1_ref = e=u64" o o_namue_btrf_iorlerr" ide=L3251999lerrock_1"> 366 /a>19ne">192         a href="s/fs18ef">b* #L150" ide=L3801984lass="l1L150">s1_=")sS+cstfs/fe-spelsecctl /aeref"+cstfs/free-space-c+csto_ct50" ide=Lsearcees="srinelock_grouphrsearcees="srrhre"tulock#L325" ide=r retur" ide=L3251999l  returock_fk1" classree-space-windowes="srinelock_grouphrwindowes="srock_1"> 366 /a>19ne">192         a href="s/fs18ef">b* po1asrine"_namue_btrf_iorefo1asr>s18ass=" class="line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=Lsearcee3671974lass="l19ne" searcee36719href="ef="+code=inamue_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s18ef">b* cl10" ide=L3801986lass="l19l10" >s185ss=" class="line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=LEAGAIlhref"1" class="line"tu79"> 377 /a>19ne">196     e-space-6ache.6s186f">b* cl1lock_inithref="+ss="srinl1loc>s18=L367"> 367 /a>19ne">196        }>b* cl1">sref"/a>);>iorhrefs>s18+code=iext9nts_t"efshef">sre_earcees="srinelock_grouphrsearcees="srrhre"tulock#L325" ide=m="es="srinelock_grouphrm="es="srock_9"> 377 /a>19ne">196     e-space-6ache.6s188f">b* cl1">sref"/a>);>iorhrefs>s18+code=istarthref="+ss="srinsfearcee3671974lass="l19ne" searcee36719href="ef="+code=inamue_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s189f">b* cl1">sref"/a>);>iorhrefs>s18=L367"> 367 /a>19ne">191e="fs/btrfs/free-spa219Ldonelass1">sref"/a>);>iorhrefs>s1">ss="ref="ftrnamue_btrf_iorlerr" ide=L3251999lerrock_="ef="+code=inamuesearcee3e=L38019 6lass="l19 searcee3e=L38ine"_namue_btrfef">srinelock_grouphref);>   ,s         6 int clasrine"laamuelockhref="+ss="s_earcees="srinelock_grouphrsearcees="srrhrelaamuelockhref="+ss="s_earcee3671974lass="l19ne" searcee36719href77"> 266 /a>19ne">1987            ce-css=s19ef">/*hre15" ide=L3251992lass="l19e15" >s1"oss="ref="ftrnytest,lsref"/a>);> rr" ide=L3251999lerrock_7"> 366 /a>19ne">198     S+cstfs/free-sps19ef">b* fo1">/*hred ao orphao item o1">/>s1"ref = e=u64" class="se" namu79"> 377 /a>19ne">196     e-space-6ache.6s19ef">b* #L1fre* we only want to havL1fre>s19=L325"> 327 /a>18ne">186        if (!-7actios19ef">b* po1fre* track o7a  *. #L379o1fre>s1"ass=" class="line" ain_uioreEAGAIlhref"1" class="line"tulock#L325" ide=_earcees="srinelock_grouphrsearcees="srrhre9"> 377 /a>19ne">196     e-space-6ache.6s19ef">b* cl1fre* start converting thl1fre>s1"5ss=" class="line" ain_uiore__quot;h_clearcde=ef="+ss="srinelo__quot;h_clearcde=eine"_namue_btrfef">srinelock_grouphref);>   ,s         6 int clasrine"laline" ain_uioreEAGAIlhref"1" class="line0"e-spelsecctl /a3801961lass="l19ne" namue=L3799"> 377 /a>19ne">194                    s196f">b* cl1fre*/hred ao orphao iteml1fre>s1"=L367"> 367 /a>19ne">196        }>b* cl1">sref"/a>);>iorhrefs>s19+code=iext9nte" namunamue_btrf_iorlEAGAIlhref"1" class="line4"> 337 /a>19ne">195f="fsss="sref">io_cts1"8f">b* cl1e-spsiz=of=         6 inl1e-s>s1"=L3797"> 366 /a>20 cl>20 c"fs/1"/pre>b* cl1_O" ide=L36520 class="l2l1_O">s19=L367"> 367 /a>19ne">191e="fs/btrfs/free-spa22=Ldonelass2"44/59/e9e2b9b08592e109aa25c5cb20 eanotfs/freeeeeeeee* oops amue=L379"> 376 /a>20 e">20 2       return6- acom2ref">/*hre2 ao orphao item         *2c#L3720e=L37aced rn and   *.d thehredphao ia tem      asr7"l2alnamate ide=Lnamueide=L "_omait,te" nams 0ue=L379"> 376 /a>20 e">20 2       return6- acom2r2f">/*hre2 >/*hred ao orphao item o2o7ait20>);>raced rn and   *.d thehredi79"  could ide=L371induanything suitably large, oria logical disk  namue=L=L379"> 376 /a>20 e">20 2       return6- acom2r3f">/*hre2 re* we only want to havL2oup p20-ed doesn't matde the eredi79things worked mue=L=L379"> 376 /a>20 e">20 2       return6- acom2r4f">/*hre2 re* track o7a  *. #L379o2meone20lsesraced rn and   *.d thehremue=L379"> 376 /a>19ne">1997            ce-css=e2r5f">b* po2nre* start converting thl29, we205ss="line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L3see_ialnam_"_omt  retur" ide=L3251999lass="lalnam_"_omt  returine"_ue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* cl2sre*/hred ao orphao iteml2srewe20t href="ss="srinkmem_iide=_+cxt9ntue_btrf_iorhrefcace-css="srine"_i  retur" ide=L3251999lass="l19ne"  returock_grouphref="+ss="sr retur" ide=L3251999l  returock_4"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L3671974lass="l19ne" namue=L379"> 366 /a>19ne">197        }>b* cl2s>sref"/a>);>iorhrefswe20WARN_Ollass=ce-css="srine"_reeeeeee-spelsecctl /aeref"+cstfs/free-space-c+csto_ct50" ide=Lm="es="srinelock_grouphrm="es="srock_7"> 366 /a>19ne">198     S+cstfs/free-sps2j8f">b* cl2s-spsiz=of=         6 inl2s-swe208=L379"> 377 /a>19ne">196}>b* cl2sO" ide=L36520 class="l2l2sO"we2jref="+ss="sriue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namueock_1"> 366 /a>19ne">196}>s24"ef="+ss="sritrfhrefcace-css="srine"_rnfo href="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32   ,s         6 int clasrine" "ef="+code=inamueNULL">sref"/a>);>naNULL=L379"> 377 /a>19ne">194                    s24ef">/*hre2a hre6="+coinfo href="sse2a h>s211code=iext9ntue_btrf_iorhrefcace-csn    k1" class="line"tne"_lock#L325" ide=L3251965la k1" class="line"t_lock#L31"> 366 /a>19ne">199="fs/1" class="line"s24ef">b* fo2tio" class="sgernfo hrefo2tio>s21="srine"_ree-spelsecctl /a>reref"+cstfs/free-space-c+csto_ct50" ide=LEAGAIlhref"1" class="line"tu79"> 377 /a>19ne">196     e-space-6ache.6s24ef">b* #L2eeeen - a hre6="+coree-sL2eee>s21=L325"> 327 /a>18ne">186        if (!-7actios24ef">b* po2eeeen - a hre6="+coWARN_o2eee>s21ass=" class="line" ain_uiore_uioref">/a>);>iorhref/a>);>iorhref 266 /a>19ne">1987            ce-css=s245f">b* po2sesS+cstfs/free-space-c+l2ses>s21oss=");>3671974lass="l19ne" namue=L37 k1" ulock#L325" ide=r retur" ide=L3251999l  returock_fk1" classree-space-max_de=L3801988lass="l1max_de=Lock_7"> 366 /a>19ne">198     S+cstfs/free-sps216f">b* cl2eeeen - a hre6="+cokmem_l2eee>s21t href="ss="srinkmem_lock#L325" ide=L3251946lass="l19ne" namue=L379"> 377 /a>19ne">194                    s247f">b* cl2pace-6ache.66"sref">WARNl2pac>s217L325"> 327 /a>18ne">186        if (!-7actios248f">b* cl2O" ide=L3651919lass="l19l2O" >s24rine"_namue_bsytest,lsref"/a>);>r retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref">sref"/a>);>namue_btrf_iorhre !"ef="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhre7"> 327 /a>18ne">186        if (!-7actios249f">b* cl2a hre6="+cocffsee-spelsel2a h>s21ref="+ss="srincueeloclock#L325" ide=L3251946lass="l19ne" namue=L379"> 377 /a>19ne">194                    s22Ldonelass2a hre6="+conytest,lsref"s2a h>s22eL367"> 366 /a>19ne">1986truct  a hrece-css=s22ef">/*hre2 ss="sref">io_ctagainleoe2 ss>s221code=iext9nts_t"efshef">srea k1" class="line"t_lock#L3 "ef="+code=inamuene"="+co" class="line"tne"="+code=itamuelockhref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-rooo" class="line"tnoooe=L267"> 266 /a>19ne">1987            ce-css=s2aef">b* fo2fs/free-space-c+csto_ct5o2fs/>s22ref = e=u64" e-c+csto_ct50" ide=La k1" class="line"t_lock#L37"> 327 /a>18ne">186        if (!-7actios22ef">b* #L24" class="s64"sref">WARNL24" >s22=")sS+cstfs/free-spaclock#L325" ide=L3251946lass="l19ne" namue=L379"> 377 /a>19ne">194                    s22ef">b* po25" ide=L3751925lass="l19o25" >s22ctl /"> 377 /a>19ne">194                    s225f">b* po2sref">io_ctrnfo href="ssl2sre>s225ss=" class="line" ain_uiore   ,s         6 int clasrine" "ef="+code=inamuene"   ,s         6 int ne"   ,sine"_namue_btrfef">sa k1" class="line"t_lock#L3_btrfhrefrde=u64" class="scffsee_in="ss="srinrnfoss="k1" class="line"tne"_llass="line"tne"_lock#L3_indexlass="l19ne" namck#L3_indexe=L267"> 266 /a>19ne">1987            ce-css=s2a6f">b* cl24" class="sree-spelsecctl24" >s22t href="ss="swhile(1725"> 327 /a>19ne">192         a href="s/fs227f">b* cl24" class="sWARN_Ol " clal24" >s22WARN_Ollass=ce-css="snytest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" ideq671974lass="l19ne" namue=L37 kl" ulock#L325" ide=q671974lass="l19ne" namue=L37 ||"> 327 /a>19ne">192         a href="s/fs228f">b* cl2tio" class="sgeree-spelsl2tio>s22e=u64" class="srb_entrine+csto_ct50" ide=L   ,s         6 int clasrine" 7 href75+code ide=L3uot;hred ao :de  return6- astraamuelamuelcline" ain_uiore   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19ne" namue=L38 kl" ulock#L325" ide=m="es="srinelock_grouphrm="es="srock_7725"> 327 /a>19ne">192         a href="s/fs229f">b* cl2eeeegoto ss="sref">io_ctl2eee>s22ref="+ss="srincueelockss="k1"s_t"efshef">srea k1" class="line"t_lock#L3 "ef="+code=inamuene" )"sS+cstfs/free-spne" )"sde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L267"> 266 /a>19ne">1987            ce-css=s23Ldonelass25" ide=L3251931lass="l19s25" >s25"ef="+ss="sriOllass=ce-css="snytecsto_ct50" ide=La k1" class="line"t_lock#L37"> 327 /a>18ne">186        if (!-7actios23ef">/*hre2eturn6- acommref">/* Note2etu>s23oss="ref="ftrfs/free-spaccffsssssssssbreak7"> 266 /a>19ne">1987            ce-css=s23ef">b* fo2tio" class="sgecld_end>-o2tio>s23ref = e=u64" class="srine"_add_namue_btrfhre   ,s         6 int clasrine" "ef="+code=inamuene"   ,s         6 int ne"   ,sine"_namue_btrfef">sa k1" class="line"t_lock#L3_btrfhrefrde=u64" class="scffsee_in="ss="srinrnfoss="k1" class="line"tne"_ll"> 266 /a>19ne">1987            ce-css=s23ef">b* #L2eeeen - a hre6="+conytesL2eee>s23=")sS+cstfs/free-spacrine"_adddddddd"srine"_add_namue_btrfhre=L3251_indexlass="l19ne" namck#L3_indexe=L267"> 266 /a>19ne">1987            ce-css=s23ef">b* po2eeeen - a hre6="+cocffseo2eee>s23WARN_Ollass=ce-css="srine"_recontinue7"> 266 /a>19ne">1987            ce-css=s235f">b* po2ffffgoto ss="sref">io_ctl2fff>s23oss=" 367 /a>19ne">195struce-space-6ache.6s236f">b* cl2ses-7actio" class="sgecll2ses>s23=L367"> 367 /a>19ne">196        }>b* cl2eeeen  return6- acommrefl2eee>s23WARN_Ollass=ce-css="snytest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astr334"> 337 /a>19ne">196struct  a href="+cod2238f">b* cl2e-spgoto ss="sref">io_ctl2e-s>s23e=u64" class="srb_entrine"_reline" ain_uioreEAGAIlhref"1" class="line"tulock#L325" ide=3see_ialnam_"_omtde=L38019 6lass="l19 3see_ialnam_"_omtde=L38ine"_"line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* cl2pace-6ache.66"sref">WARNl2pac>s23ref="+ss="srincueelockss="k1""""""""""""ss="srb_entrine"_reline" ain_uiorer retur" ide=L3251999l  returock_4"line" ain_uiore   ,s         6 int clasrine"laline" ain_uiore3671974lass="l19ne" namue=L379"> 366 /a>19ne">197        }>s24"ef="+ss="srincueelockss="k1" classr""""ss="srb_entrine"_reline" ain_uiorer retur" ide=L3251999l  returock_fk1" classree-space-windowes="srinelock_grouphrwindowes="srock_67"> 266 /a>19ne">1987            ce-css=s2aef">/*hre25" ide=L3251942lass="l19e25" >s24oss="ref="ftrfs/free-spaccffsnytest,lsref"/a>);>EAGAIlhref"1" class="line"t= 0334"> 337 /a>19ne">196struct  a href="+cod22aef">b* fo24" class="sree-spelseccto24" >s24ref = e=u64" class="srine"_adddddddd"s_t"efshef">srea k1" class="line"t_lock#L3 "ef="+code=inamuene" )"sS+cstfs/free-spne" )"sde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L267"> 266 /a>19ne">1987            ce-css=s24ef">b* #L2dddddddddddddddddddddddnL2ddd>s24=")sS+cstfs/free-spacrine"_addddddddsnytecsto_ct50" ide=La k1" class="line"t_lock#L37"> 327 /a>18ne">186        if (!-7actios24ef">b* po2ss="srine"_WARN_Ol " clao2ss=>s24ctl /a>cffseehref = n - a hre6="+cocl-spac ssbreak7"> 266 /a>19ne">1987            ce-css=s24ef">b* cl2 ss="sref">io_ctoue-spell2 ss>s24oss="sre   ,s         6 int clasrine" "ef="+code=inamuene"   ,s         6 int ne"   ,sine"_namue_btrfef">sa k1" class="line"t_lock#L3_btrfhrefrde=u64" class="scffsee_in="ss="srinrnfoss="k1" class="line"tne"_ll"> 266 /a>19ne">1987            ce-css=s246f">b* cl2he.66"sref">WARN_O" ide=l2he.>s24t href="ss="srinkmem_iide=_+cxt9nt"+corine"_adddddddd"s_t"efshef">sre=L3251_indexlass="l19ne" namck#L3_indexe=L267"> 266 /a>19ne">1987            ce-css=s247f">b* cl2ef">WARN_O" ide=L3651948l2ef">s24WARN_Ollass=ce-css="srine"_reeeeeeeeecontinue7"> 266 /a>19ne">1987            ce-css=s248f">b* cl2O" ide=L3651949lass="l19l2O" >s24e=u64" class="srb_entrine"_re5"> 367 /a>19ne">195struce-space-6ache.6s2a9f">b* cl2pelsecctl /a>reehref = el2pel>s24ref="+ss="srincueelockss="k1"s_t"efshef">srer retur" ide=L3251999l  returock_fk1" classree-space-windowes="srinelock_grouphrwindowes="srock_ +"ef="+code=inamue_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s25Ldonelass2ee-spelsecctl /a>reehrefs2ee->s25"ef="+ss="srincueeloc5ue=L325"> 327 /a>19ne">192         a href="s/fs25ef">/*hre2f">io_ctagainleo_ct /a> e2f">>s25oss="ref="ftrfs/free-kss="k1"s_t"efshef">sreEAGAIlhref"1" class="line"tulock#L325" ide=   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19ne" namue=L389"> 377 /a>19ne">194                    s25ef">b* fo2l " class==  a hBUG_Ollao2l ">s25o hre"> 367 /a>19ne">195struce-space-6ache.6s25ef">b* #L2"+ss="srincueelockss=":bL2"+s>s2e=")sS+cstfs/free-spac=iprrvat=href="+ss="sri   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19ne" namue=L38 +"ef="+code=inamue_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s2eef">b* po2unlockhref="+ss="srinspio2unl>s2eWARN_Ollass=ce-css="srine"_rest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" ideq671974lass="l19ne" namue=L37 -"ef="+code=inamue_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s2eef">b* cl2l /a>cuehref:btrfs/free-l2l />s2eoss=" 367 /a>19ne">195struce-space-6ache.6s2e6f">b* cl2turee-spelsecctl /a>reehl2tur>s25=L367"> 367 /a>19ne">196        }>b* cl2_O" ide=L3651958lass="l1l2_O">s2eWARN_Ollass=ce-css="snytest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" ideq671974lass="l19ne" namue=L37 t= 03"> 367 /a>19ne">196        }>b* cl2O" ide=L3651959lass="l19l2O" >s2ee=u64" class="srb_entkss="k1"s_t"efshef">sreEe" ras1" class="line"tne" ras1de=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L2laamuelockhref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-rooo" class="line"tnoooe=L267"> 266 /a>19ne">1987            ce-css=s2e9f">b* cl2mp_namue_btrfhref="+ss="l2mp_>s2e" 266 /a>19ne">1987            ce-css=s26Ldonelass2e-css="srine"_64"sref">Ws2e-c>s2e-ARN_Ollass=c5"> 367 /a>19ne">195struce-space-6ache.6s2eef">/*hre250" ide=L3801962lass="l1e250">s261codeL325" ide=L3251946lass="l19ne" namue=L376"> 367 /a>19ne">1956truct  a hrereturn s2eef">b* fo2asrine"_namue_btrf_iorefo2asr>s26="srine"_ree-spelsecctl /a>r_uioref"/a>);>iorhref/a>);>iorhref 266 /a>19ne">1987            ce-css=s2eef">b* #L2asrine"_namue_btrfef">srL2asr>s26=L325"> 327 /a>18ne">186        if (!-7actios26ef">b* po2asrb_ncla-spelsecctl /a>o2asr>s26ass=" class="nytecsto_ct50" ide=LEAGAIlhref"1" class="line3"> 367 /a>19ne">196        }>b* cl2oune-spelsecctl /a>counel2oun>s26oss=" 377 /a>19ne">196     e-space-6ache.6s266f">b* cl2O" ide=L3651967lass="l19l2O" >s26=L367"> 367 /a>19ne">196        }>b* cl2nleo_ct /a> =  an     = l2nle>s26+code=iext9nts_t"efshef">sre_uioref">/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts268f">b* cl2+coinfo href="ss="srinrnl2+co>s26+code"> 337 /a>19ne">195f="fsss="sref">io_cts269f">b* cl2ss="sgernfo href="ss="srl2ss=>s2e+code=iprrvat=href="+ss="sririntamuelockhref)k1" class="line"tne"_lock#L3ee_in="ss="srinrnfoss="k1s="line"tne"_lo-"ef="+code=inamue_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s27Ldonelass2a hre6="+cocoune-spelsecs2a h>s27"ef="+ss="srie-c+st,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" ideq671974lass="l19ne" namue=L37 t= 0325"> 327 /a>19ne">192         a href="s/fs27ef">/*hre2e"_prrntkhref="+ss="srine2e"_>s27oss="ref="ftrfs/free-sto_ct50" ide=Lrintamuelockhref)k1" class="line"tne"_lock#L3ee_ine=L3792"srinrnfoss="k1s="lie=L3792class-9"> 377 /a>19ne">194                    s27ef">b* fo2gned long long)tio" claso2gne>s27ref = e=u64" class="snytest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astr334"> 337 /a>19ne">196struct  a href="+cod227ef">b* #L2gned long long)tio" clasL2gne>s27=")sS+cstfs/free-spac=iprrvat=href="+ss="srikstrured ao :de  retkstruine"_namue_btrfef">s   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astr39"> 377 /a>19ne">194                    s27ef">b* po2 class="sgernfo href="sso2 cl>s27WARN_Ollass=ce-css="srine"_rest,lsref"/a>);>rintamuelockhref)k1" class="line"tne"_lock#L32otaltde=L382"srinrnfoss="k12otaltde=L382class-9"> 377 /a>19ne">194                    s27ef">b* cl2ef">WARN_O" ide=L3651976l2ef">s27oss=");>rintamuelockhref)k1" class="line"tne"_lock#L3ohred ao :de  retoorhrefk1" classree-space-recalc_tssrshold2"srinrnfoss="k1recalc_tssrshold2ine"_namue_btrfef">srintamuelockhref)k1" clas39"> 377 /a>19ne">194                    s276f">b* cl2khref="+ss="srinprrntklal2khr>s27t href="ss="srinkmem_5"> 367 /a>19ne">195struce-space-6ache.6s277f">b* cl2"_list_empty-spelsecctl l2"_l>s27WARN_Ollass=ce-css="s=href="+ss="srikne"_namue_btrf_iide=tleo_ct /a> =  arine"_namue_btrf_iide=tlass,de=u64" class="srnfo href="ss="srinrnfoss=")k1" class="line"tne"_lock#L325" ide=L3   ,s         6 int clasrine"79"> 377 /a>19ne">194                    s278f">b* cl2khref="+ss="srinprrntklal2khr>s27e=u64" class=5"> 367 /a>19ne">195struce-space-6ache.6s279f">b* cl2strrng">"\n"hrl2str>s27=L367"> 367 /a>19ne">191e="fs/btrfs/free-spa228Ldonelass2_O" ide=L3651981lass="l1s2_O">s28>ss="ref="ftrnamue_btrf_iorl_uioref"/a>);>iorhref 337 /a>19ne">195f="fsss="sref">io_cts28ef">/*hre25" ide=L3251982lass="l19e25" >s2_1code"> 337 /a>19ne">195f="fsss="sref">io_cts28ef">b* fo2it_namue_btrf_ioref">sreo2it_>s2_ref = e=u64" e" namunamue_btrf_iorlEAGAIlhref"1" class="line4"> 337 /a>19ne">195f="fsss="sref">io_cts28ef">b* #L250" ide=L3801984lass="l1L250">s2_=")sS5"> 367 /a>19ne">195struce-space-6ache.6s28ef">b* po2asrine"_namue_btrf_iorefo2asr>s28ctl /"> 377 /a>19ne">194                    s28ef">b* cl20" ide=L3801986lass="l19l20" >s285ss="static"o o_namue_btrf_iorlass="lquot;h_clretur" ide=L3251999lass="lquot;h_clreturde=itue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* cl2lock_inithref="+ss="srinl2loc>s28t href="ss="srinkmem_iide=_+cxt9nt"+cue_btrf_iorhrefcace-css="srine"_i="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32   ,s         6 int clasrine"4"> 366 /a>19ne">197        }>b* cl2">sref"/a>);>iorhrefs>s28WARN_Ollass=ce-css="srine"_reeeeeeeeeue_btrf_iorhrefcace-css="srine"_i  retur" ide=L3251999lass="l19ne"  returock_grouphref="+ss="sr retur" ide=L3251999l  returock_4"> 366 /a>19ne">197        }>b* cl2">sref"/a>);>iorhrefs>s28e=u64" class="srb_entrine"_reeeeeeeeeouphref="+ss="seref"+cstfs/free-space-c+csto_ct50" ide=L=L3251973lass="l19ne" namue=L384"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L3671974lass="l19ne" namue=L379"> 366 /a>19ne">197        }>b* cl2">sref"/a>);>iorhrefs>s28ref="+ss="srincueelockss="k1"""""""""line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=Lcont1e3671974lass="l19ne" cont1e36719=L384"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=Lm="e3671974lass="l19ne" m="e36719line3"> 367 /a>19ne">196        }>sref"/a>);>iorhrefs>s29Ocode5"> 327 /a>19ne">192         a href="s/fs29ef">/*hre25" ide=L3251992lass="l19e25" >s291code=iext9ntue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namueline4"> 337 /a>19ne">195f="fsss="sref">io_cts29ef">b* fo2">/*hred ao orphao item o2">/>s2"ref = e=u64" unsigned lo=L"s_t"efshef">sreaext_zero" class="line"t_ext_zeroline4"> 337 /a>19ne">195f="fsss="sref">io_cts29ef">b* #L2fre* we only want to havL2fre>s293ef = e=u64" unsigned lo=L"s_t"efshef">srei" class="line"tiline4"> 337 /a>19ne">195f="fsss="sref">io_cts29ef">b* po2fre* track o7a  *. #L379o2fre>s2"ass=" class="unsigned lo=L"s_t"efshef">srewantcde=ef="+ss="srinelowantcde=eline4"> 337 /a>19ne">195f="fsss="sref">io_cts29ef">b* cl2fre* start converting thl2fre>s2"5ss=" class="unsigned lo=L"s_t"efshef">srem="e3e=ef="+ss="srinelom="e3e=eline4"> 337 /a>19ne">195f="fsss="sref">io_cts296f">b* cl2fre*/hred ao orphao iteml2fre>s296ss=" class="unsigned lo=L"s_t"efshef">srefounde3e=ef="+ss="srinelofounde3e=eline4"> 337 /a>19ne">195f="fsss="sref">io_cts297f">b* cl2">sref"/a>);>iorhrefs>s29+code=iext9ntunsigned lo=L"s_t"efshef">sres="srinelock_grouphrs="srrhre"tu79"> 377 /a>19ne">196     e-space-6ache.6s2"8f">b* cl2e-spsiz=of=         6 inl2e-s>s298code=iext9ntunsigned lo=L"s_t"efshef">sre2otaltfound"srinrnfoss="k12otaltfoundrhre"tu79"> 377 /a>19ne">196     e-space-6ache.6s2"9f">b* cl2_O" ide=L36520 class="l2l2_O">s29ref="+ss="srio o_namue_btrf_iorlEAGAIlhref"1" class="line4"> 337 /a>19ne">195f="fsss="sref">io_cts3=Ldonelass3"44/59/e9e2b9b08592e109aa35c5cb30eL367"> 366 /a>19ne">1986truct  a hrece-css=s3ref">/*hre3 ao orphao item         *3c#L37301code=iext9nts_t"efshef">srei" class="line"tiline="ef="+code=inamuemck#L3_toe3e=lass="l19ne" namck#L3_toe3e=ine"_namue_btrfef">s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19ne" namue=L384"line" ain_uiore_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-sectorde=L3801988lass="l1sectorde=L=L379"> 366 /a>19ne">197        }>/*hre3 >/*hred ao orphao item o3o7ait30ref = e=u64" class="srine"_addds_t"efshef">sremax_rinelock_grouphrmax_rine"_namue_btrfef">seref"+cstfs/free-space-c+lass="line"tne"_lock#L3973lass="l19ne" namue=L384"line" ain_uiore   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19ne" namue=L38)34"> 337 /a>19ne">195f="fsss="sref">io_cts3r3f">/*hre3 re* we only want to havL3oup p30=")sS+cstfs/fe-spelsecctl /awantcde=ef="+ss="srinelowantcde=eline="ef="+code=inamue_phre_toe3e=974lass="l19ne" namue_toe3e=9mue_btrf_iide=tlass,d671974lass="l19ne" namue=L379"e-spelsecctl /a_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-sectorde=L3801988lass="l1sectorde=L=L3734"> 337 /a>19ne">195f="fsss="sref">io_cts3r4f">/*hre3 re* track o7a  *. #L379o3meone30ass=" class="line" ain_uiorem="e3e=ef="+ss="srinelom="e3e=eline="ef="+code=inamue_phre_toe3e=974lass="l19ne" namue_toe3e=9mue_btrf_iide=tlass,m="e3671974lass="l19ne" m="e36719line9"e-spelsecctl /a_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-sectorde=L3801988lass="l1sectorde=L=L3734"> 337 /a>19ne">195f="fsss="sref">io_cts3r5f">/*hre3 re* start converting thl39, we30=L367"> 366 /a>19ne">1986truct  a hrece-css=s3r6f">b* cl3sre*/hred ao orphao iteml3srewe30t hreclassree-space-again3801988lass="l1again=L376"> 367 /a>19ne">1956truct  a hrereturn s3r7f">b* cl3s>sref"/a>);>iorhrefswe30+code=iext9nts_t"efshef">srefounde3e=ef="+ss="srinelofounde3e=eline"tu79"> 377 /a>19ne">196     e-space-6ache.6s3j8f">b* cl3s-spsiz=of=         6 inl3s-swe30+code=istarthref="+ss="srinsfor_eaceesetcde=_"_omf="+ss="srinelofor_eaceesetcde=_"_ommue_btrf_iide=tlass,i" class="line"tiline4"line" ain_uiore   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astr4"line" ain_uioreBITS_PER_BITMAPred ao :de  retBITS_PER_BITMAPastr334"> 337 /a>19ne">196struct  a href="+cod23j9f">b* cl3sO" ide=L36520 class="l2l3sO"we30ref="+ss="srincueelocs_t"efshef">sreaext_zero" class="line"t_ext_zeroline="ef="+code=inamue1ind__ext_zeroe3e=lass="l19ne" na1ind__ext_zeroe3e=ine"_namue_btrfef">s   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astr9"> 366 /a>19ne">197        }>s31"ef="+ss="srincueelockss="k1" classr""""ss="srb_entrline" ain_uioreBITS_PER_BITMAPred ao :de  retBITS_PER_BITMAPastr4"line" ain_uiorei" class="line"tiline34"> 337 /a>19ne">195f="fsss="sref">io_cts34ef">/*hre3a hre6="+coinfo href="sse3a h>s31oss="ref="ftrfs/free-nytest,lsref"/a>);>aext_zero" class="line"t_ext_zeroline=-ts_t"efshef">srei" class="line"tiline=tne"tulock#L325" ide=m="e3e=ef="+ss="srinelom="e3e=eline334"> 337 /a>19ne">196struct  a href="+cod234ef">b* fo3tio" class="sgernfo hrefo3tio>s31ref = e=u64" class="srine"_add_namue_btrfhrefounde3e=ef="+ss="srinelofounde3e=eline"tust,lsref"/a>);>aext_zero" class="line"t_ext_zeroline=-ts_t"efshef">srei" class="line"tiline4"> 337 /a>19ne">195f="fsss="sref">io_cts343f">/*hre3eeeen - a hre6="+coree-sL3eee>s31=")sS+cstfs/free-spac=iprrvatbreak7"> 266 /a>19ne">1987            ce-css=s34ef">b* po3eeeen - a hre6="+coWARN_o3eee>s31WARN_Ollass=ce-css="s5"> 367 /a>19ne">195struce-space-6ache.6s345f">b* po3sesS+cstfs/free-space-c+l3ses>s31oss="srei" class="line"tiline="ef="+code=inamueaext_zero" class="line"t_ext_zeroline4"> 337 /a>19ne">195f="fsss="sref">io_cts316f">b* cl3eeeen - a hre6="+cokmem_l3eee>s31t href="ss="s5"> 367 /a>19ne">195struce-space-6ache.6s347f">b* cl3pace-6ache.66"sref">WARNl3pac>s317L325"> 327 /a>18ne">186        if (!-7actios348f">b* cl3O" ide=L3651919lass="l19l3O" >s34rine"_namue_bsytecsto_ct50" ide=Lfounde3e=ef="+ss="srinelofounde3e=eline3"> 367 /a>19ne">196        }>b* cl3a hre6="+cocffsee-spelsel3a h>s31ref="+ss="srincueeloce" namu-sto_ct50" ide=LENOSPCf="+ss="srineloENOSPCline4"> 337 /a>19ne">195f="fsss="sref">io_cts32Ldonelass3a hre6="+conytest,lsref"s3a h>s32eL367"> 366 /a>19ne">1986truct  a hrece-css=s32ef">/*hre3 ss="sref">io_ctagainleoe3 ss>s32oss="ref="ftrnytecsto_ct50" ide=L2otaltfound"srinrnfoss="k12otaltfoundrhre334"> 337 /a>19ne">196struct  a href="+cod23aef">b* fo3fs/free-space-c+csto_ct5o3fs/>s32ref = e=u64" class="ss_t"efshef">sres="srinelock_grouphrs="srrhre"tus_t"efshef">srei" class="line"tiline4"> 337 /a>19ne">195f="fsss="sref">io_cts32ef">b* #L34" class="s64"sref">WARNL34" >s32=")sS+cstfs/free-spacouphref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-max_de=L3801988lass="l1max_de=Lock_"tu79"> 377 /a>19ne">196     e-space-6ache.6s32ef">b* po35" ide=L3751925lass="l19o35" >s324 href="ss="s5"> 367 /a>19ne">195struce-space-6ache.6s325f">b* po3sref">io_ctrnfo href="ssl3sre>s32=L367"> 366 /a>19ne">1986truct  a hrece-css=s3a6f">b* cl34" class="sree-spelsecctl34" >s32t href="ss="ss_t"efshef">sre2otaltfound"srinrnfoss="k12otaltfoundrhre"+"ef="+code=inamuefounde3e=ef="+ss="srinelofounde3e=eline4"> 337 /a>19ne">195f="fsss="sref">io_cts327f">b* cl34" class="sWARN_Ol " clal34" >s327L325"> 327 /a>18ne">186        if (!-7actios328f">b* cl3tio" class="sgeree-spelsl3tio>s32rine"_namue_bsytest,lsref"/a>);>r retur" ide=L3251999l  returock_fk1" classree-space-max_de=L3801988lass="l1max_de=Lock_"kl" ulock#L325" ide=founde3e=ef="+ss="srinelofounde3e=eline"*"e-spelsecctl /a_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-sectorde=L3801988lass="l1sectorde=L=L373"> 327 /a>18ne">186        if (!-7actios329f">b* cl3eeeegoto ss="sref">io_ctl3eee>s32ref="+ss="srincueelocouphref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-max_de=L3801988lass="l1max_de=Lock_"tulock#L325" ide=founde3e=ef="+ss="srinelofounde3e=eline"*"e-spelsecctl /a_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-sectorde=L3801988lass="l1sectorde=L=L374"> 337 /a>19ne">195f="fsss="sref">io_cts33Ldonelass35" ide=L3251931lass="l19s35" >s33eL367"> 366 /a>19ne">1986truct  a hrece-css=s33ef">/*hre3eturn6- acommref">/* Note3etu>s33oss="ref="ftrnytest,lsref"/a>);>2otaltfound"srinrnfoss="k12otaltfoundrhre"kl" ulock#L325" ide=wantcde=ef="+ss="srinelowantcde=eline=||couphref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-max_de=L3801988lass="l1max_de=Lock_"kl" ulock#L325" ide=cont1e3671974lass="l19ne" cont1e36719=L38334"> 337 /a>19ne">196struct  a href="+cod233ef">b* fo3tio" class="sgecld_end>-o3tio>s33ref = e=u64" class="ss_t"efshef">srei" class="line"tiline="ef="+code=inamueaext_zero" class="line"t_ext_zeroline + 14"> 337 /a>19ne">195f="fsss="sref">io_cts33ef">b* #L3eeeen - a hre6="+conytesL3eee>s33=")sS+cstfs/free-spaclock#L325" ide=L3251again3801988lass="l1again=L374"> 337 /a>19ne">195f="fsss="sref">io_cts33ef">b* po3eeeen - a hre6="+cocffseo3eee>s334 href="ss="s5"> 367 /a>19ne">195struce-space-6ache.6s335f">b* po3ffffgoto ss="sref">io_ctl3fff>s33=L367"> 366 /a>19ne">1986truct  a hrece-css=s336f">b* cl3ses-7actio" class="sgecll3ses>s33t href="ss="ss_t"efshef">srer retur" ide=L3251999l  returock_fk1" classree-space-windowes="srinelock_grouphrwindowes="srock_ tulock#L325" ide=_="srinelock_grouphrs="srrhre"*"e-spelsecctl /a_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-sectorde=L3801988lass="l1sectorde=L=L37 +"> 366 /a>19ne">1986truct  a hrece-css=s337f">b* cl3eeeen  return6- acommrefl3eee>s33WARN_Ollass=ce-css="sline" ain_uiore   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19ne" namue=L384"> 337 /a>19ne">195f="fsss="sref">io_cts338f">b* cl3e-spgoto ss="sref">io_ctl3e-s>s33+code=istarthref="+ss="srinsEe" ras1" class="line"tne" ras1de=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L2laamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L3ee_in="ss=_=L3251973lass="l19ne"ee_in="ss=_=L3251line34"> 337 /a>19ne">195f="fsss="sref">io_cts339f">b* cl3pace-6ache.66"sref">WARNl3pac>s33+code=iprrvat=href="+ss="sriEAGAIlhref"1" class="line"tulock#L325" ide=9ne" insert_=L3251973lass="l19ne"9ne" insert_=L3251de=itamuelockhref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-rooo" class="line"tnoooe=L24"line" ain_uiore   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19ne" namue=L389"> 366 /a>19ne">197        }>s34"ef="+ss="srincueelockss="k1" classr""amuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L2la134"> 337 /a>19ne">195f="fsss="sref">io_cts3aef">/*hre35" ide=L3251942lass="l19e35" >s341code=iext9nts_t"efshef">sreBUG_ONred ao :de  retBUG_ONine"_namue_btrfef">sEAGAIlhref"1" class="line3 ulss/freeeeeeeee* oops am -EEXIST; Logic errorremue=L379"> 376 /a>19ne">1997            ce-css=e3aef">b* fo34" class="sree-spelseccto34" >s34o hre"> 367 /a>19ne">195struce-space-6ache.6s34ef">b* #L3dddddddddddddddddddddddnL3ddd>s34=")sS+cstfs/fe-spelsecctl /atrss=_ hrefr#L3uh_clretur" ide=L3251999ltrss=_ hrefr#L3uh_clreturmue_btrf_iide=tlass,dL325" ide=L3251983lass="l19ne" namue=L364eline" ain_uiorer retur" ide=L3251999l  returock_4"> 367 /a>19ne">195struce-space-6ache.6s34ef">b* po3ss="srine"_WARN_Ol " clao3ss=>s34ctl /a>cffseehref = n - a hre6="+cocl-sst,lsref"/a>);>2otaltfound"srinrnfoss="k12otaltfoundrhre"*"e-spelsecctl /a_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-sectorde=L3801988lass="l1sectorde=L=L37la134"> 337 /a>19ne">195f="fsss="sref">io_cts3a5f">b* po3 ss="sref">io_ctoue-spell3 ss>s34oss=" 377 /a>19ne">196     e-space-6ache.6s346f">b* cl3he.66"sref">WARN_O" ide=l3he.>s34t hre5"> 367 /a>19ne">195struce-space-6ache.6s347f">b* cl3ef">WARN_O" ide=L3651948l3ef">s347L325"> 327 /a>18ne">186        if (!-7actios348f">b* cl3O" ide=L3651949lass="l19l3O" >s34e=u64tfs/freeeeeeeee* oops amue=L379"> 376 /a>20 e">20 2       return6- acom3a9f">b* cl3pelsecctl /a>reehref = el3pel>s34ref="oesn't matde the eredThis searcees the mue_b rf_io forrjret e=L37927"l2fill the   retur with.ue=L379"> 376 /a>20 e">20 2       return6- acom35Ldonelass3ee-spelsecctl /a>reehrefs3ee->s35 eanotfs/freeeeeeeee* oops redTsr7"l21indua   retur with at leaet 36719 2otal 36719, at leaet oneue=L379"> 376 /a>20 e">20 2       return6- acom35ef">/*hre3f">io_ctagainleo_ct /a> e3f">>s35e=L37aced rn and   *.d thehrede=L379 of cont1e36719, anduother   returs of at leaet m="e36719.ue=L379"> 376 /a>20 e">20 2       return6- acom35ef">b* fo3l " class==  a hBUG_Ollao3l ">s35>);>raced rn and   *.d thehremue=L379"> 376 /a>19ne">1997            ce-css=e35ef">b* #L3"+ss="srincueelockss=":bL3"+s>s3e=")sSstatic"f="+code=inamueaoinueelocclass="line"t_oinueelss=" 376 /a>19ne">1997            ce-css=e35ef">b* po3unlockhref="+ss="srinspio3unl>s3eWARN_classree-space-se3uh_clretur_noe3e=L38019 6lass="l19 se3uh_clretur_noe3e=L38mue_bue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* cl3l /a>cuehref:btrfs/free-l3l />s3eoss=" 366 /a>19ne">197        }>b* cl3turee-spelsecctl /a>reehl3tur>s35t href="ss="srinkmem_iide=_+cue_btrf_iorhrefcace-cslist_head"srinrnfoss="k1list_headclass="line"tne"_lock#e=L382"srinrnfoss="k1de=L382clas4"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L=L3251973lass="l19ne" namue=L384"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L3671974lass="l19ne" namue=L379"> 366 /a>19ne">197        }>b* cl3_O" ide=L3651958lass="l1l3_O">s3eWARN_Ollass=ce-css="s"+cocl-sst,lsref"/a>);>eref"+cstfs/free-space-c+csto_ct50" ide=Lcont1e3671974lass="l19ne" cont1e36719=L384"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=Lm="e3671974lass="l19ne" m="e36719line3"> 367 /a>19ne">196        }>b* cl3O" ide=L3651959lass="l19l3O" >s358=L379"> 377 /a>19ne">196}>b* cl3mp_namue_btrfhref="+ss="l3mp_>s3e"sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namueline4"> 337 /a>19ne">196}>Ws3e-c>s3e-ARN_Ollass=cue_btrf_iorhrefcace-css="srine"_i="ss="srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32="+co" class="line"t="+code=i "ef="+code=inamueNULL">sref"/a>);>naNULL=L379"> 377 /a>19ne">194                    s3eef">/*hre350" ide=L3801962lass="l1e350">s361code=iext9ntue_btrf_iorhrefcace-css="srine"_ioref""srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32   ,s         6 int clasrine" "ef="+code=inamueNULL">sref"/a>);>naNULL=L379"> 377 /a>19ne">194                    s3eef">b* fo3asrine"_namue_btrf_iorefo3asr>s36="srine"_ree-ue_btrf_iorhrefcace-css="srine"_ioref""srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32inro" class="line"tinro=L379"> 377 /a>19ne">194                    s3eef">b* #L3asrine"_namue_btrfef">srL3asr>s363"srine"_ree-ue_btrf_iorhrefcace-csn    k1" class="line"tne"_lock#L325" ide=L3251965la k1" class="line"t_lock#L31"> 366 /a>19ne">199="fs/1" class="line"s36ef">b* po3asrb_ncla-spelsecctl /a>o3asr>s36ass=" class="line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=Lwindowes="srinelock_grouphrwindowes="srock_1"> 366 /a>19ne">199="fs/1" class="line"s36ef">b* cl3oune-spelsecctl /a>counel3oun>s36oss=" 366 /a>19ne">199="fs/1" class="line"s366f">b* cl3O" ide=L3651967lass="l19l3O" >s36t href="ss="ss_t"efshef">sreeref"+cstfs/free-space-c+csto_ct50" ide=Lmaxie=L3793801988lass="l1max_e=L379ock_1"> 366 /a>19ne">199="fs/1" class="line"s367f">b* cl3nleo_ct /a> =  an     = l3nle>s36+code=iext9nts_t"efshef">sreeref"+cstfs/free-space-c+csto_ct50" ide=L2otaltde=L3801988lass="l12otaltde=Line" "e79"> 377 /a>19ne">196     e-space-6ache.6s368f">b* cl3+coinfo href="ss="srinrnl3+co>s36+code"> 337 /a>19ne">195f="fsss="sref">io_cts369f">b* cl3ss="sgernfo href="ss="srl3ss=>s3e+code=iprrvat=href="+ss="sri   ,s         6 int clasrine" "ef="+code=inamue9ne" searce_=L3251973lass="l19ne"9ne" searce_=L3251mue_btrf_iide=tlass,rinelock_grouphref 337 /a>19ne">195f="fsss="sref">io_cts37Ldonelass3a hre6="+cocoune-spelsecs3a h>s37"ef="+ss="srie-c+csto_ct50" ide=L   ,s         6 int clasrine"3"> 367 /a>19ne">196        }>/*hre3e"_prrntkhref="+ss="srine3e"_>s37oss="ref="ftrfs/free-e" namu-sto_ct50" ide=LENOSPCf="+ss="srineloENOSPCline4"> 337 /a>19ne">195f="fsss="sref">io_cts37ef">b* fo3gned long long)tio" claso3gne>s37o hre"> 367 /a>19ne">195struce-space-6ache.6s37ef">b* #L3gned long long)tio" clasL3gne>s37=")sS+cstfs/ftfs/freeeeeeeee* oops amue=L379"> 376 /a>20 e">20 2       return6- acom37ef">b* po3 class="sgernfo href="sso3 cl>s37WARN_aced rn and   *.d thehrrrrrrrrr* We don't want de=L382, sorjret move alo=L"until we21indua normalue=L379"> 376 /a>20 e">20 2       return6- acom37ef">b* cl3ef">WARN_O" ide=L3651976l3ef">s37oss="aced rn and   *.d thehrrrrrrrrr* e=L379 clasr.ue=L379"> 376 /a>20 e">20 2       return6- acom376f">b* cl3khref="+ss="srinprrntklal3khr>s37t hreaced rn and   *.d thehrrrrrrrrr*mue=L379"> 376 /a>19ne">1997            ce-css=e377f">b* cl3"_list_empty-spelsecctl l3"_l>s37WARN_Ollass=cwhiletest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astr=||couphref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ideq671974lass="l19ne" namue=L37 kl" ulock#L325" ide=m="e3671974lass="l19ne" m="e36719line334"> 337 /a>19ne">196struct  a href="+cod2378f">b* cl3khref="+ss="srinprrntklal3khr>s37e=u64" class="srb_entnytest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astraamuelamuelcline" ain_uiorelist_empts         6 int list_emptsde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" idelist         6 int listline33"> 367 /a>19ne">196        }>b* cl3strrng">"\n"hrl3str>s37ref="+ss="srincueelockss="k1"s_t"efshef">srelist_add_tainelock_grouphreflist_add_tainde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" idelist         6 int listline9"e-spelsecctl /a_e=L382"srinrnfoss="k1de=L382clas34"> 337 /a>19ne">195f="fsss="sref">io_cts38Ldonelass3_O" ide=L3651981lass="l1s3_O">s38"ef="+ss="srincueeloc" ide=L3251965la k1" class="line"t_lock#L3 "ef="+code=inamuene" )"sS+cstfs/free-spne" )"sde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L267"> 266 /a>19ne">1987            ce-css=s38ef">/*hre35" ide=L3251982lass="l19e35" >s38oss="ref="ftrfs/free-nytecsto_ct50" ide=La k1" class="line"t_lock#L37"> 327 /a>18ne">186        if (!-7actios38ef">b* fo3it_namue_btrf_ioref">sreo3it_>s38ref = e=u64" class="srine"_ade" namu-sto_ct50" ide=LENOSPCf="+ss="srineloENOSPCline4"> 337 /a>19ne">195f="fsss="sref">io_cts38ef">b* #L350" ide=L3801984lass="l1L350">s38=")sS+cstfs/free-spacouphref="+ss="s   ,s         6 int clasrine" "ef="+code=inamuene"   ,s         6 int ne"   ,sine"_namue_btrfef">sa k1" class="line"t_lock#L3_btrfhrefrde=u64" class="scffsee_in="ss="srinrnfoss="k1" class="line"tne"_llef="+code=inamuemck#L3_indexlass="l19ne" namck#L3_indexe=L267"> 266 /a>19ne">1987            ce-css=s38ef">b* po3asrine"_namue_btrf_iorefo3asr>s384 href="ss="s5"> 367 /a>19ne">195struce-space-6ache.6s38ef">b* cl30" ide=L3801986lass="l19l30" >s38=L367"> 366 /a>19ne">1986truct  a hrece-css=s386f">b* cl3lock_inithref="+ss="srinl3loc>s38t href="ss="ss_t"efshef">srewindowes="srinelock_grouphrwindowes="srock_ tulock#L325" ide=   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19ne" namue=L384"> 337 /a>19ne">195f="fsss="sref">io_cts387f">b* cl3">sref"/a>);>iorhrefs>s38+code=iext9nts_t"efshef">srewindowebtrf_iide=tleo_ct /windowebtrfock_ tulock#L325" ide=   ,s         6 int clasrine""tne"_lock#L325" ide_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s388f">b* cl3">sref"/a>);>iorhrefs>s38+code=istarthref="+ss="srinsmaxie=L3793801988lass="l1max_e=L379ock_ tulock#L325" ide=   ,s         6 int clasrine""tne"_lock#L325" ide_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s389f">b* cl3">sref"/a>);>iorhrefs>s38+code=iprrvat=href="+ss="sri="+co" class="line"t="+code=i "ef="+code=inamue   ,s         6 int clasrine"9"> 377 /a>19ne">194                    s39Ldonelass3">sref"/a>);>iorhrefs>s39>ss="ref="ftrnamue_btrf_iorlinro" class="line"tinro=L37 "ef="+code=inamue   ,s         6 int clasrine"9"> 377 /a>19ne">194                    s39ef">/*hre35" ide=L3251992lass="l19e35" >s391code"> 337 /a>19ne">195f="fsss="sref">io_cts39ef">b* fo3">/*hred ao orphao item o3">/>s3"ref = e=u64" forr_namue_btrfef">sa k1" class="line"t_lock#L3 "ef="+code=inamuene" )"sS+cstfs/free-spne" )"sde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L267c" ide=L3251965la k1" class="line"t_lock#L39"> 377 /a>19ne">194                    s39ef">b* #L3fre* we only want to havL3fre>s39=")sS+cstfs/free-snamue_btrfef">sa k1" class="line"t_lock#L3 "ef="+code=inamuene" )"sS+cstfs/free-spne" )"sde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L26334"> 337 /a>19ne">196struct  a href="+cod239ef">b* po3fre* track o7a  *. #L379o3fre>s39ctl /a>cffseehref = nouphref="+ss="s   ,s         6 int clasrine" "ef="+code=inamuene"   ,s         6 int ne"   ,sine"_namue_btrfef">sa k1" class="line"t_lock#L3_btrfhrefrde=u64" class="scffsee_in="ss="srinrnfoss="k1" class="line"tne"_llef="+code=inamuemck#L3_indexlass="l19ne" namck#L3_indexe=L267"> 266 /a>19ne">1987            ce-css=s39ef">b* cl3fre* start converting thl3fre>s39=L367"> 366 /a>19ne">1986truct  a hrece-css=s396f">b* cl3fre*/hred ao orphao iteml3fre>s39t href="ss="srinkmem_nytest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astr334"> 337 /a>19ne">196struct  a href="+cod2397f">b* cl3">sref"/a>);>iorhrefs>s39WARN_Ollass=ce-css="s"+cocl-snytest,lsref"/a>);>list_empts         6 int list_emptsde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" idelist         6 int listline33"> 367 /a>19ne">196        }>b* cl3e-spsiz=of=         6 inl3e-s>s39e=u64" class="srb_entrine"_reeeeeeeeeouphref="+ss="slist_add_tainelock_grouphreflist_add_tainde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" idelist         6 int listline9"e-spelsecctl /a_e=L382"srinrnfoss="k1de=L382clas34"> 337 /a>19ne">195f="fsss="sref">io_cts3"9f">b* cl3_O" ide=L36520 class="l2l3_O">s39ref="+ss="srincueelockss="k1"continue7"> 266 /a>19ne">1987            ce-css=s4=Ldonelass4"44/59/e9e2b9b08592e109aa45c5cb40"ef="+ss="srincueeloc5"> 266 /a>19ne">1987            ce-css=s4=1donelass4"" ide=L3251992lass="l19e4c#L37401code"> 337 /a>19ne">195f="fsss="sref">io_cts4r2f">/*hre4 >/*hred ao orphao item o4o7ait40ref = e=u64" class="se-c+st,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" ideq671974lass="l19ne" namue=L37 kl" ulock#L325" ide=m="e3671974lass="l19ne" m="e36719line3"> 337 /a>19ne">195f="fsss="sref">io_cts4r3f">/*hre4 re* we only want to havL4oup p40=")sS+cstfs/free-spac=iprrvatcontinue7"> 266 /a>19ne">1987            ce-css=s4=4f">/*hre4 re* track o7a  *. #L379o4meone40ctl /"> 377 /a>19ne">194                    s4r5f">/*hre4 re* start converting thl49, we40oss="sreinro" class="line"tinro=L37 "ef="+code=inamue   ,s         6 int clasrine"9"> 377 /a>19ne">194                    s4r6f">b* cl4sre*/hred ao orphao iteml4srewe40t href="ss="srinkmem_s_t"efshef">srewindowebtrf_iide=tleo_ct /windowebtrfock_ +"ef="+code=inamue   ,s         6 int clasrine""tne"_lock#L325" ide_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s4r7f">b* cl4s>sref"/a>);>iorhrefswe40WARN_Ollass=ce-css="snytest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" ideq671974lass="l19ne" namue=L37 tne"href="+ss="srinsmaxie=L3793801988lass="l1max_e=L379ock_3"> 337 /a>19ne">195f="fsss="sref">io_cts4r8f">b* cl4s-spsiz=of=         6 inl4s-swe40e=u64" class="srb_entkss="k1"s_t"efshef">sremaxie=L3793801988lass="l1max_e=L379ock_ tulock#L325" ide=   ,s         6 int clasrine""tne"_lock#L325" ide_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s4j9f">b* cl4sO" ide=L36520 class="l2l4sO"we40ref="+ss="sri5"> 266 /a>19ne">1987            ce-css=s41Ldonelass44" class="srnfo href="sss44" >s41eL367"> 366 /a>19ne">1986truct  a hrece-css=s44ef">/*hre4a hre6="+coinfo href="sse4a h>s41oss="ref="ftrnytest,lsref"/a>);>windowebtrf_iide=tleo_ct /windowebtrfock_ kl" ulock#L325" ide=q671974lass="l19ne" namue=L37 ||couphref="+ss="smaxie=L3793801988lass="l1max_e=L379ock_ kl" ulock#L325" ide=cont1e3671974lass="l19ne" cont1e36719=L383"> 366 /a>19ne">1986truct  a hrece-css=s442f">/*hre4tio" class="sgernfo hrefo4tio>s41ref = e=u64" class="se" namu-sto_ct50" ide=LENOSPCf="+ss="srineloENOSPCline4"> 337 /a>19ne">195f="fsss="sref">io_cts443f">/*hre4eeeen - a hre6="+coree-sL4eee>s41=L325"> 327 /a>18ne">186        if (!-7actios44ef">b* po4eeeen - a hre6="+coWARN_o4eee>s41ass=" class="line" ain_uiorer retur" ide=L3251999l  returock_fk1" classree-space-windowes="srinelock_grouphrwindowes="srock_ tulock#L325" ide=="+co" class="line"t="+code=i"tne"_lock#L325" ide=L3251973lass="l19ne" namue=L384"> 337 /a>19ne">195f="fsss="sref">io_cts445f">b* po4sesS+cstfs/free-space-c+l4ses>s41=L367"> 366 /a>19ne">1986truct  a hrece-css=s416f">b* cl4eeeen - a hre6="+cokmem_l4eee>s41t href="ss="ss_t"efshef">srea k1" class="line"t_lock#L3 "eamuelockhref="+ss="s="+co" class="line"t="+code=i"tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L24"> 337 /a>19ne">195f="fsss="sref">io_cts447f">b* cl4pace-6ache.66"sref">WARNl4pac>s417L325"> 327 /a>18ne">186        if (!-7actios448f">b* cl4O" ide=L3651919lass="l19l4O" >s44rine"_namue_btfs/freeeeeeeee* oops amue=L379"> 376 /a>20 e">20 2       return6- acom449f">b* cl4a hre6="+cocffsee-spelsel4a h>s41ref="oesn't matde the errrrrrrrr* now we've found our clasi19, pull them ou9 of the 2    ne"tne"=L379"> 376 /a>20 e">20 2       return6- acom42Ldonelass4a hre6="+conytest,lsref"s4a h>s42 eanotfs/freeeeeeeee* oops rrrrrrrrr* urn6- andupu9 them into the   retur rbttrfoc=L379"> 376 /a>20 e">20 2       return6- acom42ef">/*hre4 ss="sref">io_ctagainleoe4 ss>s42e=L37aced rn and   *.d thehrrrrrrrrr*mue=L379"> 376 /a>19ne">1997            ce-css=e4aef">b* fo4fs/free-space-c+csto_ct5o4fs/>s42ref = e=u64" do34"> 337 /a>19ne">196struct  a href="+cod242ef">b* #L44" class="s64"sref">WARNL44" >s42=")sS+cstfs/free-spaco o_namue_btrf_iorlEAGAIlhref"1" class="line4"> 337 /a>19ne">195f="fsss="sref">io_cts42ef">b* po45" ide=L3751925lass="l19o45" >s42ctl /"> 377 /a>19ne">194                    s425f">b* po4sref">io_ctrnfo href="ssl4sre>s42oss="sre   ,s         6 int clasrine" "ef="+code=inamuene"   ,s         6 int ne"   ,sine"_namue_btrfef">sa k1" class="line"t_lock#L3_btrfhrefrde=u64" class="scffsee_in="ss="srinrnfoss="k1" class="line"tne"_llef="+code=inamuemck#L3_indexlass="l19ne" namck#L3_indexe=as34"> 337 /a>19ne">195f="fsss="sref">io_cts4a6f">b* cl44" class="sree-spelsecctl44" >s42t href="ss="srinkmem_s_t"efshef">srea k1" class="line"t_lock#L3 "ef="+code=inamuene" )"sS+cstfs/free-spne" )"sde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L264"> 337 /a>19ne">195f="fsss="sref">io_cts4a7f">b* cl44" class="sWARN_Ol " clal44" >s42WARN_Ollass=ce-css="snytest,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" idequot;hred ao :de  return6- astr=||couphref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ideq671974lass="l19ne" namue=L37 kl" ulock#L325" ide=m="e3671974lass="l19ne" m="e36719line3"> 337 /a>19ne">195f="fsss="sref">io_cts4a8f">b* cl4tio" class="sgeree-spelsl4tio>s42e=u64" class="srb_entkss="k1"continue7"> 266 /a>19ne">1987            ce-css=s429f">b* cl4eeeegoto ss="sref">io_ctl4eee>s42=L367"> 367 /a>19ne">191e="fs/btrfs/free-spa243Ldonelass45" ide=L3251931lass="l19s45" >s43"ef="+ss="srincueeloc" ide=L3251965lEe" ras1" class="line"tne" ras1de=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L2laamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L3ee_in="ss=_=L3251973lass="l19ne"ee_in="ss=_=L3251line34"> 337 /a>19ne">195f="fsss="sref">io_cts43ef">/*hre4eturn6- acommref">/* Note4etu>s43oss="ref="ftrfs/free-namue_btrf_iorlEAGAIlhref"1" class="line"tulock#L325" ide=9ne" insert_=L3251973lass="l19ne"9ne" insert_=L3251de=itamuelockhref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-rooo" class="line"tnoooe=L24"line" ain_uiore   ,s         6 int clasrine""tne"_lock#L325" ide=L3251973lass="l19fe" namue=L389"> 366 /a>19ne">197        }>b* fo4tio" class="sgecld_end>-o4tio>s43ref = e=u64" class="ssssssssssssssssssssssssssamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251_indexlass="l19ne" namck#L3_indexe=L2la034"> 337 /a>19ne">195f="fsss="sref">io_cts43ef">b* #L4eeeen - a hre6="+conytesL4eee>s43=")sS+cstfs/free-spaclock#L325" ide=9otaltde=L3801988lass="l12otaltde=Line" +"ef="+code=inamue   ,s         6 int clasrine""tne"_lock#L325" ide_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s43ef">b* po4eeeen - a hre6="+cocffseo4eee>s43ctl /a>cffseehref = nouphref="+ss="sBUG_ONred ao :de  retBUG_ONine"_namue_btrfef">sEAGAIlhref"1" class="line3 ulss/freeeeeeeee* oops am -EEXIST; Logic errorremue=L379"> 376 /a>19ne">1997            ce-css=e435f">b* po4ffffgoto ss="sref">io_ctl4fff>s43oss=");>a k1" class="line"t_lock#L3 amuelamuelcline" ain_uiore   ,s         6 int clasrine" !"ef="+code=inamueinro" class="line"tinro=L3734"> 337 /a>19ne">195f="fsss="sref">io_cts436f">b* cl4ses-7actio" class="sgecll4ses>s43t hre"> 337 /a>19ne">195f="fsss="sref">io_cts437f">b* cl4eeeen  return6- acommrefl4eee>s43+code=iext9nts_t"efshef">srer retur" ide=L3251999l  returock_fk1" classree-space-max_de=L3801988lass="l1max_de=Lock_"tulock#L325" ide=maxie=L3793801988lass="l1max_e=L379ock_1"> 366 /a>19ne">199="fs/1" class="line"s438f">b* cl4e-spgoto ss="sref">io_ctl4e-s>s43+code=istarthref="+ss="srinstrss=_ hrefr#L3uh_clretur" ide=L3251999ltrss=_ hrefr#L3uh_clreturmue_btrf_iide=tlass,dL325" ide=L3251983lass="l19ne" namue=L364eline" ain_uiorer retur" ide=L3251999l  returock_4clock#L325" ide=9otaltde=L3801988lass="l12otaltde=Line"la034"> 337 /a>19ne">195f="fsss="sref">io_cts439f">b* cl4pace-6ache.66"sref">WARNl4pac>s43+code=iprrvate" namu79"> 377 /a>19ne">196     e-space-6ache.6s44Ldonelass4a hre6="+cospin_unlockhrs4a h>s44"ef="5"> 266 /a>19ne">1987            ce-css=s4aef">/*hre45" ide=L3251942lass="l19e45" >s441code"> 337 /a>19ne">195f="fsss="sref">io_cts4aef">b* fo44" class="sree-spelseccto44" >s44>);>raced rn and   *.d thehamue=L379"> 376 /a>20 e">20 2       return6- acom44ef">b* #L4dddddddddddddddddddddddnL4ddd>s44=")sSoesn't matde the eredThis specifically looks forrde=L382 that may work in the   retur, we2;t umfoc=L379"> 376 /a>20 e">20 2       return6- acom44ef">b* po4ss="srine"_WARN_Ol " clao4ss=>s44WARN_aced rn and   *.d thehr* that we2have already failed7"l21indue=L37927"hat will work.ue=L379"> 376 /a>20 e">20 2       return6- acom4a5f">b* po4 ss="sref">io_ctoue-spell4 ss>s44oss="aced rn and   *.d thehremue=L379"> 376 /a>19ne">1997            ce-css=e446f">b* cl4he.66"sref">WARN_O" ide=l4he.>s44t hrestatic"f="+code=inamueaoinueelocclass="line"t_oinueelss=" 376 /a>19ne">1997            ce-css=e447f">b* cl4ef">WARN_O" ide=L3651948l4ef">s447L325f="+code=inamuese3uh_clretur_3e=L38019 6lass="l19 se3uh_clretur_3e=L38mue_bue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* cl4O" ide=L3651949lass="l19l4O" >s44e=u64" class="srb_entkss="ue_btrf_iorhrefcace-css="srine"_i  retur" ide=L3251999lass="l19ne"  returock_grouphref="+ss="sr retur" ide=L3251999l  returock_4"> 366 /a>19ne">197        }>b* cl4pelsecctl /a>reehref = el4pel>s44ref="+ss="srincueelockss="ue_btrf_iorhrefcace-cslist_head"srinrnfoss="k1list_headclass="line"tne"_lock#e=L382"srinrnfoss="k1de=L382clas4"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L=L3251973lass="l19ne" namue=L384"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L3671974lass="l19ne" namue=L379"> 366 /a>19ne">197        }> 367 /a>19ne">196        }>/*hre4f">io_ctagainleo_ct /a> e4f">>s45e=L374"> 337 /a>19ne">196struct  a href="+cod245ef">b* fo4l " class==  a hBUG_Ollao4l ">s45="srine"_ree-ue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namueline4"> 337 /a>19ne">196}>b* #L4"+ss="srincueelockss=":bL4"+s>s453"srine"_ree-ue_btrf_iorhrefcace-css="srine"_ioref""srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32   ,s         6 int clasrine"4"> 337 /a>19ne">196}>b* po4unlockhref="+ss="srinspio4unl>s45ctl /a>cffseeo o_namue_btrf_iorlEAGAIlhref"1" class="line="e-sto_ct50" ide=LENOSPCf="+ss="srineloENOSPCline4"> 337 /a>19ne">195f="fsss="sref">io_cts4eef">b* cl4l /a>cuehref:btrfs/free-l4l />s4eoss=" 337 /a>19ne">195f="fsss="sref">io_cts4e6f">b* cl4turee-spelsecctl /a>reehl4tur>s45t hre"> 337 /a>19ne">195f="fsss="sref">io_cts457f">b* cl4_O" ide=L3651958lass="l1l4_O">s4eWARN_Ollass=csytest,lsref"/a>);>rintamuelockhref)k1" class="line"tne"_lock#L32otalt#e=L382"srinrnfoss="k12otalt#e=L382href="=a03"> 337 /a>19ne">195f="fsss="sref">io_cts458f">b* cl4O" ide=L3651959lass="l19l4O" >s45e=u64" class="srb_ente" namu-sto_ct50" ide=LENOSPCf="+ss="srineloENOSPCline4"> 337 /a>19ne">195f="fsss="sref">io_cts4e9f">b* cl4mp_namue_btrfhref="+ss="l4mp_>s45=L367"> 367 /a>19ne">191e="fs/btrfs/free-spa246Ldonelass4e-css="srine"_64"sref">Ws4e-c>s4e-ARN_Ollass=caced rn and   *.d thehamue=L379"> 376 /a>20 e">20 2       return6- acom4eef">/*hre450" ide=L3801962lass="l1e450">s46e=L37aced rn and   *.d thehrrrrrrrrr*dTherde=L387"hat covurs ofamue won't be in the list unless ofamueue=L379"> 376 /a>20 e">20 2       return6- acom4eef">b* fo4asrine"_namue_btrf_iorefo4asr>s46>);>raced rn and   *.d thehrrrrrrrrr*dis jret i927s="sr ofamue.ue=L379"> 376 /a>20 e">20 2       return6- acom4eef">b* #L4asrine"_namue_btrfef">srL4asr>s46=")sSoesn't matde the errrrrrrrr*mue=L379"> 376 /a>19ne">1997            ce-css=e46ef">b* po4asrb_ncla-spelsecctl /a>o4asr>s46ass=" class="line" ain_uiore   ,s         6 int clasrine" "ef="+code=inamuelist_="+co"   ,s         6 int list_="+co"   ,smue_btrf_iide=tlass,de=L382"srinrnfoss="k1de=L382clas4"trfhrefrde=u64" class="scffsee_in="ss="srinrnfoss="k1" class="line"tne"_llef="+code=inamuelist         6 int listline34"> 337 /a>19ne">195f="fsss="sref">io_cts46ef">b* cl4oune-spelsecctl /a>counel4oun>s46oss=");>   ,s         6 int clasrine""tne"_lock#L325" ideock#L3973lass="l19ne" namue=L38 !"ef="+code=inamue3e=L38_=L3251973lass="l19ne"3e=L38_=L3251href334"> 337 /a>19ne">196struct  a href="+cod2466f">b* cl4O" ide=L3651967lass="l19l4O" >s46t href="ss="srinkmem_s_t"efshef">sre   ,s         6 int clasrine" "ef="+code=inamue9ne" searce_=L3251973lass="l19ne"9ne" searce_=L3251mue_btrf_iide=tlass,rinelock_grouphref 337 /a>19ne">195f="fsss="sref">io_cts467f">b* cl4nleo_ct /a> =  an     = l4nle>s46WARN_Ollass=ce-css="snytest,lsref"/a>);>   ,s         6 int clasrine"aamuelamuelcline" ain_uiorelist_empts         6 int list_emptsde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" idelist         6 int listline33"> 367 /a>19ne">196        }>b* cl4+coinfo href="ss="srinrnl4+co>s46e=u64" class="srb_entkss="k1"s_t"efshef">srelist_add         6 int list_addde=itamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" idelist         6 int listline9"e-spelsecctl /a_e=L382"srinrnfoss="k1de=L382clas34"> 337 /a>19ne">195f="fsss="sref">io_cts469f">b* cl4ss="sgernfo href="ss="srl4ss=>s46ref="+ss="sri5"> 266 /a>19ne">1987            ce-css=s47Ldonelass4a hre6="+cocoune-spelsecs4a h>s47eL367"> 366 /a>19ne">1986truct  a hrece-css=s47ef">/*hre4e"_prrntkhref="+ss="srine4e"_>s471code=iext9nts_t"efshef">srelist_=or_eece"   ,s         6 int list_=or_eece"   ,smue_btrf_iide=tlass,   ,s         6 int clasrine"9"e-spelsecctl /a_e=L382"srinrnfoss="k1de=L382claslef="+code=inamuelist         6 int listline334"> 337 /a>19ne">196struct  a href="+cod247ef">b* fo4gned long long)tio" claso4gne>s47ref = e=u64" class="se-c+st,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" ideq671974lass="l19ne" namue=L37 kl" ulock#L325" ide=q671974lass="l19ne" namue=L373"> 367 /a>19ne">196        }>b* #L4gned long long)tio" clasL4gne>s47=")sS+cstfs/free-spac=iprrvatcontinue7"> 266 /a>19ne">1987            ce-css=s47ef">b* po4 class="sgernfo href="sso4 cl>s47ctl /a>cffseehref = nouphref="+ss="sEAGAIlhref"1" class="line"tulock#L325" ide=srineloe=L38_  retur" ide=L3251999lass="loe=L38_  returmue_btrf_iide=tlass,dL325" ide=L3251983lass="l19ne" namue=L364eline" ain_uiore   ,s         6 int clasrine"9"e-spelsecctl /ar retur" ide=L3251999l  returock_4clock#L325" ide==L3251973lass="l19fe" namue=L389"> 366 /a>19ne">197        }>b* cl4ef">WARN_O" ide=L3651976l4ef">s47oss="sre3671974lass="l19ne" namue=L379csto_ct50" ide=Lcont1e3671974lass="l19ne" cont1e36719=L384"line" ain_uiorem="e3671974lass="l19ne" m="e36719line37"> 266 /a>19ne">1987            ce-css=s476f">b* cl4khref="+ss="srinprrntklal4khr>s47t href="ss="srinkmem_nytecsto_ct50" ide=LEAGAIlhref"1" class="line3"> 266 /a>19ne">1987            ce-css=s477f">b* cl4"_list_empty-spelsecctl l4"_l>s47WARN_Ollass=ce-css="s"+cocl-se" namu79"> 377 /a>19ne">196     e-space-6ache.6s478f">b* cl4khref="+ss="srinprrntklal4khr>s47e=u64" class=5"> 266 /a>19ne">1987            ce-css=s479f">b* cl4strrng">"\n"hrl4str>s47=L367"> 367 /a>19ne">191e="fs/btrfs/free-spa248Ldonelass4_O" ide=L3651981lass="l1s4_O">s48-ARN_Ollass=caced rn and   *.d thehamue=L379"> 376 /a>20 e">20 2       return6- acom48ef">/*hre45" ide=L3251982lass="l19e45" >s48e=L37aced rn and   *.d thehrrrrrrrrr*dTherde=L38s list has all the de=L382 that record 2    ne"tne"=L379"> 376 /a>20 e">20 2       return6- acom48ef">b* fo4it_namue_btrf_ioref">sreo4it_>s48>);>raced rn and   *.d thehrrrrrrrrr*ds="sring aftur  namue, sorno more searcedis required.ue=L379"> 376 /a>20 e">20 2       return6- acom48ef">b* #L450" ide=L3801984lass="l1L450">s48=")sSoesn't matde the errrrrrrrr*mue=L379"> 376 /a>19ne">1997            ce-css=e48ef">b* po4asrine"_namue_btrf_iorefo4asr>s484 href="ss="se" namu-sto_ct50" ide=LENOSPCf="+ss="srineloENOSPCline4"> 337 /a>19ne">195f="fsss="sref">io_cts48ef">b* cl40" ide=L3801986lass="l19l40" >s48=L3675"> 266 /a>19ne">1987            ce-css=s486f">b* cl4lock_inithref="+ss="srinl4loc>s48t hre"> 337 /a>19ne">195f="fsss="sref">io_cts487f">b* cl4">sref"/a>);>iorhrefs>s48+codeaced rn and   *.d thehamue=L379"> 376 /a>20 e">20 2       return6- acom488f">b* cl4">sref"/a>);>iorhrefs>s48e=u64tfs/freeeeeeeee* oops r*dhere we tsr7"l21indua   retur of mue_bs in a mue_b rf_io. dThergoalue=L379"> 376 /a>20 e">20 2       return6- acom489f">b* cl4">sref"/a>);>iorhrefs>s48ref="oesn't matde the eredis7"l21induat leaet 36719+emptstde=L.ue=L379"> 376 /a>20 e">20 2       return6- acom49Ldonelass4">sref"/a>);>iorhrefs>s49 eanotfs/freeeeeeeee* oops redWe mightrnot21induthem all in onetcontiguous area.ue=L379"> 376 /a>20 e">20 2       return6- acom49ef">/*hre45" ide=L3251992lass="l19e45" >s49e=L37aced rn and   *.d thehreue=L379"> 376 /a>20 e">20 2       return6- acom49ef">b* fo4">/*hred ao orphao item o4">/>s49>);>raced rn and   *.d thehrese" nams zero andumues up   retur if things worked oue, otherwisne"=L379"> 376 /a>20 e">20 2       return6- acom49ef">b* #L4fre* we only want to havL4fre>s49=")sSoesn't matde the ereditse" nams -enospce"=L379"> 376 /a>20 e">20 2       return6- acom49ef">b* po4fre* track o7a  *. #L379o4fre>s49WARN_aced rn and   *.d thehr*mue=L379"> 376 /a>19ne">1997            ce-css=e49ef">b* cl4fre* start converting thl4fre>s49=L367o o_namue_btrf_iorl" classind9ne" nam retur" ide=L3251999lass="l1ind9ne" nam returmue_bue_btrf_iorhrefcace-css="sritrans_handl="srinrnfoss="k1" clastrans_handl=e"_lock#L325" ide=L32trans973lass="l19ne"9nans=L389"> 366 /a>19ne">197        }>b* cl4fre*/hred ao orphao iteml4fre>s49t href="ss="srinkmem______________ue_btrf_iorhrefcace-css="srirooo" class="line"ts="sriroooe"_lock#L325" ide=L32rooo" class="line"tnoooe=L24"> 366 /a>19ne">197        }>b* cl4">sref"/a>);>iorhrefs>s49WARN_Ollass=ce-css="s"+cocl-s_____ue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* cl4e-spsiz=of=         6 inl4e-s>s49e=u64" class="srb_entrine"_reeeeeeue_btrf_iorhrefcace-css="srine"_i  retur" ide=L3251999lass="l19ne"  returock_grouphref="+ss="sr retur" ide=L3251999l  returock_4"> 366 /a>19ne">197        }>b* cl4_O" ide=L36520 class="l2l4_O">s49ref="+ss="srincueelockss="k1""""""line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L=L3251973lass="l19ne" namue=L384"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=L3671974lass="l19ne" namue=L379"line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=Lemptstde=L         6 int cmptstde=Lline3"> 266 /a>19ne">1987            ce-css=s5=Ldonelass5"44/59/e9e2b9b08592e109aa55c5cb50"ef="4"> 337 /a>19ne">196struct  a href="+cod25=1donelass5"" ide=L3251992lass="l19e5c#L37501code=iext9ntue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namueline4"> 337 /a>19ne">196}>/*hre5 >/*hred ao orphao item o5o7ait50="srine"_ree-ue_btrf_iorhrefcace-css="srine"_ioref""srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32   ,s         6 int clasrine"9"ck#L325" ide=L32tmf">sref"/a>);>natmfline4"> 337 /a>19ne">196}>/*hre5 re* we only want to havL5oup p50=")sS+cstfs/fk#L325" ide=L32LIST_HEAD">sref"/a>);>naLIST_HEADmue_btrf_iide=tlass,de=L382"srinrnfoss="k1de=L382clas37"> 266 /a>19ne">1987            ce-css=s5=4f">/*hre5 re* track o7a  *. #L379o5meone50ass=" class="line" ain_uioreeref"+cstfs/free-space-c+csto_ct50" ide=Lm="e3671974lass="l19ne" m="e36719line7"> 266 /a>19ne">1987            ce-css=s5=5f">/*hre5 re* start converting thl59, we50oss=" 266 /a>19ne">1987            ce-css=s5=6f">/*hre5 re*/hred ao orphao iteml5srewe50t href="ss="so o_namue_btrf_iorlEAGAIlhref"1" class="line4"> 337 /a>19ne">195f="fsss="sref">io_cts5r7f">b* cl5s>sref"/a>);>iorhrefswe507L325"> 327 /a>18ne">186        if (!-7actios5r8f">b* cl5s-spsiz=of=         6 inl5s-swe50rine"_namue_btfs/freeeeeeeee* oops amue=L379"> 376 /a>20 e">20 2       return6- acom5j9f">b* cl5sO" ide=L36520 class="l2l5sO"we50ref="oesn't matde the errrrrrrrr* Choose the m="imum e=L379 de=L we'll require forrthisue=L379"> 376 /a>20 e">20 2       return6- acom51Ldonelass54" class="srnfo href="sss54" >s51 eanotfs/freeeeeeeee* oops rrrrrrrrr* u retur.  ForrSSD_SPREAD, don't allow any frag oopation.ue=L379"> 376 /a>20 e">20 2       return6- acom54ef">/*hre5a hre6="+coinfo href="sse5a h>s51e=L37aced rn and   *.d thehrrrrrrrrr*dForrmetadata, allow alloca719 with smallur e=L3792.  Forue=L379"> 376 /a>20 e">20 2       return6- acom542f">/*hre5tio" class="sgernfo hrefo5tio>s51>);>raced rn and   *.d thehrrrrrrrrr*ddata, keepditsdensL.ue=L379"> 376 /a>20 e">20 2       return6- acom543f">/*hre5eeeen - a hre6="+coree-sL5eee>s51=")sSoesn't matde the errrrrrrrr*mue=L379"> 376 /a>19ne">1997            ce-css=e54ef">b* po5eeeen - a hre6="+coWARN_o5eee>s51ass=" class="e-c+st,lsref"/a>);>" clastest_opo" class="line"ts="sritest_opomue_btrf_iide=tlass,rooo" class="line"tnoooe=L24"line" ain_uioreSSD_SPREAD" class="line"tSSD_SPREADline3334"> 337 /a>19ne">196struct  a href="+cod2545f">b* po5sesS+cstfs/free-space-c+l5ses>s51oss="srecont1e3671974lass="l19ne" cont1e36719=L38"tulock#L325" ide=m="e3671974lass="l19ne" m="e36719line="ef="+code=inamue_671974lass="l19ne" namue=L37 +csto_ct50" ide=Lemptstde=L         6 int cmptstde=Lline4"> 337 /a>19ne">195f="fsss="sref">io_cts516f">b* cl5eeeen - a hre6="+cokmem_l5eee>s51t href="ss="s} else e-c+st,lsref"/a>);>"btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-clag974lass="l19ne" clag9ine"aamuelnouphref="+ss="sBTRFS_BLOCK_GROUP_METADATA74lass="l19ne" BTRFS_BLOCK_GROUP_METADATAline334"> 337 /a>19ne">196struct  a href="+cod2547f">b* cl5pace-6ache.66"sref">WARNl5pac>s51WARN_Ollass=ce-css="ss_t"efshef">srecont1e3671974lass="l19ne" cont1e36719=L38"tulock#L325" ide=_phref="+ss="srinelock_grouph9"> 377 /a>19ne">194                    s548f">b* cl5O" ide=L3651919lass="l19l5O" >s51e=u64" class="srb_entlock#L325" ide=m="e3671974lass="l19ne" m="e36719line="ef="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-sectorde=L         6 int sectorde=Louph9"> 377 /a>19ne">194                    s549f">b* cl5a hre6="+cocffsee-spelsel5a h>s519 href="ss="s} else 4"> 337 /a>19ne">196struct  a href="+cod252Ldonelass5a hre6="+conytest,lsref"s5a h>s52"ef="+ss="srincueeloc" ide=L3251965lcont1e3671974lass="l19ne" cont1e36719=L38"tulock#L325" ide=maxlass="l19ne" namaxmue_btrf_iide=tlass,d671974lass="l19ne" namue=L379"btrf_iide=tlass,d671974lass="l19ne" namue=L37 +csto_ct50" ide=Lemptstde=L         6 int cmptstde=Lline) tne"tne"h237"> 266 /a>19ne">1987            ce-css=s52ef">/*hre5 ss="sref">io_ctagainleoe5 ss>s52oss="ref="ftrfs/free-namue_btrf_iorlm="e3671974lass="l19ne" m="e36719line="ef="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-sectorde=L         6 int sectorde=Louph9"> 377 /a>19ne">194                    s5aef">b* fo5fs/free-space-c+csto_ct5o5fs/>s52ref = e=u64" 5"> 266 /a>19ne">1987            ce-css=s52ef">b* #L54" class="s64"sref">WARNL54" >s52=L325"> 327 /a>18ne">186        if (!-7actios52ef">b* po55" ide=L3751925lass="l19o55" >s52ass=" class="line" ain_uioresp="eue_b         6 int sp="eue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s525f">b* po5sref">io_ctrnfo href="ssl5sre>s52=L367"> 366 /a>19ne">1986truct  a hrece-css=s5a6f">b* cl54" class="sree-spelsecctl54" >s52t href="ss="stfs/freeeeeeeee* oops amue=L379"> 376 /a>20 e">20 2       return6- acom5a7f">b* cl54" class="sWARN_Ol " clal54" >s52+codeaced rn and   *.d thehrrrrrrrrr*dIf we know we don't have enough ne"tn7"l2makeua   retur don't evenue=L379"> 376 /a>20 e">20 2       return6- acom5a8f">b* cl5tio" class="sgeree-spelsl5tio>s52e=u64tfs/freeeeeeeee* oops rrrrrrrrr*dbother doing all the work to try andu1induonL.ue=L379"> 376 /a>20 e">20 2       return6- acom529f">b* cl5eeeegoto ss="sref">io_ctl5eee>s52ref="oesn't matde the errrrrrrrr*mue=L379"> 376 /a>19ne">1997            ce-css=e53Ldonelass55" ide=L3251931lass="l19s55" >s53"ef="+ss="srie-c+ockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L3ne"_ioref""srinrnfoss="k1s="line"tne"_lokl" ulock#L325" ide=q671974lass="l19ne" namue=L373 4"> 337 /a>19ne">196struct  a href="+cod253ef">/*hre5eturn6- acommref">/* Note5etu>s53oss="ref="ftrfs/free-namue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s53ef">b* fo5tio" class="sgecld_end>-o5tio>s53ref = e=u64" class="se" namu-sto_ct50" ide=LENOSPCf="+ss="srineloENOSPCline4"> 337 /a>19ne">195f="fsss="sref">io_cts53ef">b* #L5eeeen - a hre6="+conytesL5eee>s53=")sS+cstfs/f5"> 266 /a>19ne">1987            ce-css=s53ef">b* po5eeeen - a hre6="+cocffseo5eee>s53ctl /"> 377 /a>19ne">194                    s535f">b* po5ffffgoto ss="sref">io_ctl5fff>s53oss=" 266 /a>19ne">1987            ce-css=s536f">b* cl5ses-7actio" class="sgecll5ses>s53t hre"> 337 /a>19ne">195f="fsss="sref">io_cts537f">b* cl5eeeen  return6- acommrefl5eee>s53+code=iext9ntsfs/freeeeeeeee* oops am someonetalready found a   retur, hoorayr*mue=L379"> 376 /a>19ne">1997            ce-css=e538f">b* cl5e-spgoto ss="sref">io_ctl5e-s>s53+code=istarthe-c+ockhref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref">sref"/a>);>namue_btrf_iorhre3 4"> 337 /a>19ne">196struct  a href="+cod2539f">b* cl5pace-6ache.66"sref">WARNl5pac>s53ref="+ss="srincueelocnamue_btrf_iorlEAGAIlhref"1" class="line="e79"> 377 /a>19ne">196     e-space-6ache.6s54Ldonelass5a hre6="+cospin_unlockhrs5a h>s54"ef="+ss="srincueelocgoto sto_ct50" ide=L=u1973lass="l19ne" u"line4"> 337 /a>19ne">195f="fsss="sref">io_cts5aef">/*hre55" ide=L3251942lass="l19e55" >s541")sS+cstfs/f5"> 266 /a>19ne">1987            ce-css=s5aef">b* fo54" class="sree-spelseccto54" >s54>);>r"> 266 /a>19ne">1987            ce-css=s5aef">b* #L5dddddddddddddddddddddddnL5ddd>s54=")sS+cstfs/fk#L325" ide=L32trss=_ hrefr1ind9clretur" ide=L3251999ltrss=_ hrefr1ind9clreturmue_btrf_iide=tlass,dL325" ide=L3251983lass="l19ne" namue=L364eline" ain_uiore=L3251973lass="l19ne" namue=L384"line" ain_uiore3671974lass="l19ne" namue=L379"line" ain_uioreemptstde=L         6 int cmptstde=Lline4"> 366 /a>19ne">197        }>b* po5ss="srine"_WARN_Ol " clao5ss=>s54ctl /a>cffseehref = nnnnnnnnnnnnnnnnnnnamue_btrf_iorlm="e3671974lass="l19ne" m="e36719line37"> 266 /a>19ne">1987            ce-css=s5a5f">b* po5 ss="sref">io_ctoue-spell5 ss>s54=L367"> 366 /a>19ne">1986truct  a hrece-css=s546f">b* cl5he.66"sref">WARN_O" ide=l5he.>s54t href="ss="ss_t"efshef">sreINIT_LIST_HEAD">sref"/a>);>naINIT_LIST_HEADmue_bamuelockhref="+ss="sde=L382"srinrnfoss="k1de=L382clas37"> 266 /a>19ne">1987            ce-css=s547f">b* cl5ef">WARN_O" ide=L3651948l5ef">s54+code=iext9nts_t"efshef">sreEAGAIlhref"1" class="line"tulock#L325" ide=se3uh_clretur_noe3e=L38019 6lass="l19 se3uh_clretur_noe3e=L38mue_btrf_iide=tlass,dL325" ide=L3251983lass="l19ne" namue=L364eline" ain_uiorer retur" ide=L3251999l  returock_4camuelockhref="+ss="sde=L382"srinrnfoss="k1de=L382clas4clock#L325" ide==L3251973lass="l19fe" namue=L389"> 366 /a>19ne">197        }>b* cl5O" ide=L3651949lass="l19l5O" >s54e=u64" class="srb_entkss="nnnnnnnnnnnnnnnnnnamue_btrf_iorld671974lass="l19ne" namue=L37 +csto_ct50" ide=Lemptstde=L         6 int cmptstde=Lline9"> 366 /a>19ne">197        }>b* cl5pelsecctl /a>reehref = el5pel>s54ref="+ss="srincueelockss="nnnnnnnnnnnnnnnnnnamue_btrf_iorlcont1e3671974lass="l19ne" cont1e36719=L384"line" ain_uiorem="e3671974lass="l19ne" m="e36719line37"> 266 /a>19ne">1987            ce-css=s55Ldonelass5ee-spelsecctl /a>reehrefs5ee->s55"ef="+ss="srie-c+ockhref="+ss="sEAGAIlhref"1" class="line3"> 266 /a>19ne">1987            ce-css=s55ef">/*hre5f">io_ctagainleo_ct /a> e5f">>s55oss="ref="ftrfs/free-namue_btrf_iorlEAGAIlhref"1" class="line"tulock#L325" ide=se3uh_clretur_3e=L38019 6lass="l19 se3uh_clretur_3e=L38mue_btrf_iide=tlass,dL325" ide=L3251983lass="l19ne" namue=L364eline" ain_uiorer retur" ide=L3251999l  returock_4camuelockhref="+ss="sde=L382"srinrnfoss="k1de=L382clas4"> 266 /a>19ne">1987            ce-css=s55ef">b* fo5l " class==  a hBUG_Ollao5l ">s55ref = e=u64" class="sssssssssssssssssssssssssse-namue_btrf_iorl=L3251973lass="l19ne" namue=L384"line" ain_uiore3671974lass="l19ne" namue=L37 +csto_ct50" ide=Lemptstde=L         6 int cmptstde=Lline9"> 366 /a>19ne">197        }>b* #L5"+ss="srincueelockss=":bL5"+s>s553"srine"_ree-="srincueelockss="nnnnnnnnnnnnnnnnnnamue_btrf_iorlcont1e3671974lass="l19ne" cont1e36719=L384"line" ain_uiorem="e3671974lass="l19ne" m="e36719line37"> 266 /a>19ne">1987            ce-css=s55ef">b* po5unlockhref="+ss="srinspio5unl>s55ctl /"> 377 /a>19ne">194                    s5eef">b* cl5l /a>cuehref:btrfs/free-l5l />s5eoss=" 376 /a>19ne">1997            ce-css=e5e6f">b* cl5turee-spelsecctl /a>reehl5tur>s55t href="ss="ss_t"efshef">srelist_=or_eece"   ,s_safL         6 int list_=or_eece"   ,s_safLmue_btrf_iide=tlass,   ,s         6 int clasrine"9"e-spelsecctl /atmf">sref"/a>);>natmfline4camuelockhref="+ss="sde=L382"srinrnfoss="k1de=L382clas4clock#L325" ide=list         6 int listline3"> 376 /a>19ne">1997            ce-css=e5e7f">b* cl5_O" ide=L3651958lass="l1l5_O">s55WARN_Ollass=ce-css="ss_t"efshef">srelist_del_init         6 int list_del_initmue_bamuelockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" idelist         6 int listline37"> 266 /a>19ne">1987            ce-css=s558f">b* cl5O" ide=L3651959lass="l19l5O" >s55e=u64"> 266 /a>19ne">1987            ce-css=s559f">b* cl5mp_namue_btrfhref="+ss="l5mp_>s559ef="+ss="srie-c+csto_ct50" ide=LEAGAIlhref"1" class="line3 4"> 337 /a>19ne">196struct  a href="+cod256Ldonelass5e-css="srine"_64"sref">Ws5e-c>s56"ef="+ss="srincueeloc" ide=L3251965latomic_incAIlhref"1" clasatomic_incmue_bamuelockhref="+ss="sdbtrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-cou793801988lass="l1cou79line37"> 266 /a>19ne">1987            ce-css=s5eef">/*hre550" ide=L3801962lass="l1e550">s56oss="ref="ftrfs/free-namue_btrf_iorllist_add_tainelock_grouphreflist_add_tainde=itamuelockhref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref_list         6 int _btrf_ioref_listline9"> 366 /a>19ne">197        }>b* fo5asrine"_namue_btrf_iorefo5asr>s56ref = e=u64" class="sssssssssssssssamuelockhref="+ss="sdbtrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-clretur_list         6 int clretur_listline37"> 266 /a>19ne">1987            ce-css=s5eef">b* #L5asrine"_namue_btrfef">srL5asr>s56=")sS+cstfs/free-spaclock#L325" ide=r retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref">sref"/a>);>namue_btrf_iorhre="ef="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhre7"> 266 /a>19ne">1987            ce-css=s5eef">b* po5asrb_ncla-spelsecctl /a>o5asr>s56ass=" class="} else 4"> 337 /a>19ne">196struct  a href="+cod256ef">b* cl5oune-spelsecctl /a>counel5oun>s56oss="sretrss=_ hrefr1ailed_clretur_se3uh" ide=L3251999ltrss=_ hrefr1ailed_clretur_se3uhmue_btrf_iide=tlass,dL325" ide=L3251983lass="l19ne" namue=L3637"> 266 /a>19ne">1987            ce-css=s5e6f">b* cl5O" ide=L3651967lass="l19l5O" >s56t href="ss="s5"> 266 /a>19ne">1987            ce-css=s567f">b* cl5nleo_ct /a> =  an     = l5nle>s567L325f="+code=inamue=u1973lass="l19ne" u"line:"> 266 /a>19ne">1987            ce-css=s568f">b* cl5+coinfo href="ss="srinrnl5+co>s56+code=istarthref="+ss="srinssp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-ue_b         6 int ue_bclas37"> 266 /a>19ne">1987            ce-css=s569f">b* cl5ss="sgernfo href="ss="srl5ss=>s56ref="+ss="srinamue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s57Ldonelass5a hre6="+cocoune-spelsecs5a h>s57eL367"> 366 /a>19ne">1986truct  a hrece-css=s57ef">/*hre5e"_prrntkhref="+ss="srine5e"_>s571code=iext9nte" namusto_ct50" ide=LEAGAIlhref"1" class="line7"> 266 /a>19ne">1987            ce-css=s57ef">b* fo5gned long long)tio" claso5gne>s57ref =5"> 266 /a>19ne">1987            ce-css=s57ef">b* #L5gned long long)tio" clasL5gne>s57=L325"> 327 /a>18ne">186        if (!-7actios57ef">b* po5 class="sgernfo href="sso5 cl>s57WARN_aced rn and   *.d thehamue=L379"> 376 /a>20 e">20 2       return6- acom57ef">b* cl5ef">WARN_O" ide=L3651976l5ef">s57oss="aced rn and   *.d thehre simpletcodn7"l2zero ou9 a   returue=L379"> 376 /a>20 e">20 2       return6- acom576f">b* cl5khref="+ss="srinprrntklal5khr>s57t hreaced rn and   *.d thehr*mue=L379"> 376 /a>19ne">1997            ce-css=e577f">b* cl5"_list_empty-spelsecctl l5"_l>s57WARN_voidf_iorhrefcace-css="sriinitine"_i  retur" ide=L3251999lass="linitine"_i  returmue_bue_btrf_iorhrefcace-css="srine"_i  retur" ide=L3251999lass="l19ne"  returock_grouphref="+ss="sr retur" ide=L3251999l  returock_3"> 376 /a>19ne">1997            ce-css=e578f">b* cl5khref="+ss="srinprrntklal5khr>s57e=u644"> 337 /a>19ne">196struct  a href="+cod2579f">b* cl5strrng">"\n"hrl5str>s57ref="+ss="srinamue_btrf_iorlsp="e9ne" init         6 int sp="e9ne" initmue_bamuelockhref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-ue_b         6 int ue_bclas37"> 266 /a>19ne">1987            ce-css=s58Ldonelass5_O" ide=L3651981lass="l1s5_O">s58-ARN_Ollass=caamue_btrf_iorlsp="e9ne" init         6 int sp="e9ne" initmue_bamuelockhref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-sreill ue_b         6 int sreill ue_bclas37"> 266 /a>19ne">1987            ce-css=s58ef">/*hre55" ide=L3251982lass="l19e55" >s581code=iext9nts_t"efshef">srer retur" ide=L3251999l  returock_fk1" classree-space-rooo" class="line"tnoooe=L2="ef="+code=inamueRB_ROOT" class="line"tRB_ROOTline7"> 266 /a>19ne">1987            ce-css=s58ef">b* fo5it_namue_btrf_ioref">sreo5it_>s582code=iext9nts_t"efshef">srer retur" ide=L3251999l  returock_fk1" classree-space-max_de=L3801988lass="l1max_de=Lock_"tu79"> 377 /a>19ne">196     e-space-6ache.6s58ef">b* #L550" ide=L3801984lass="l1L550">s58=")sS+cstfs/fk#L325" ide=L32INIT_LIST_HEAD">sref"/a>);>naINIT_LIST_HEADmue_bamuelockhref="+ss="sr retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref_list         6 int _btrf_ioref_listline37"> 266 /a>19ne">1987            ce-css=s58ef">b* po5asrine"_namue_btrf_iorefo5asr>s58ass=" class="line" ain_uiorer retur" ide=L3251999l  returock_fk1" classree-space-_btrf_ioref">sref"/a>);>namue_btrf_iorhre="ef="+code=inamueNULL">sref"/a>);>naNULLline7"> 266 /a>19ne">1987            ce-css=s58ef">b* cl50" ide=L3801986lass="l19l50" >s58=L3675"> 266 /a>19ne">1987            ce-css=s586f">b* cl5lock_inithref="+ss="srinl5loc>s58t hre"> 337 /a>19ne">195f="fsss="sref">io_cts587f">b* cl5">sref"/a>);>iorhrefs>s58+codestatic"o o_namue_btrf_iorldo_trimming">sref"/a>);>nado_trimmingmue_bue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* cl5">sref"/a>);>iorhrefs>s58e=u64" class="srb_entkss="nn"line"tne"_lockeref"+cstfs/free-space-c+cck#L325" ide=L32totalttrimmed         6 int totalttrimmedclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Ls="sr         6 int s="srclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=L3671974lass="l19ne" namue=L379"> 366 /a>19ne">197        }>b* cl5">sref"/a>);>iorhrefs>s58ref="+ss="srincueelockss="nnlock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Lreserved_s="sr         6 int reserved_s="srclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Lreserved_3671974lass="l19ne" reserved_36719ock_3"> 376 /a>19ne">1997            ce-css=e59Ldonelass5">sref"/a>);>iorhrefs>s59"ef="4"> 337 /a>19ne">196struct  a href="+cod259ef">/*hre55" ide=L3251992lass="l19e55" >s591code=iext9ntue_btrf_iorhrefcace-css="srine" nainforouphref="+ss="srinelne" nainfoe-c+cck#L325" ide=L32ne" nainforouphref="+ss="ne" nainfoe-c+c"ef="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-se" nainforouphref="+ss="ne" nainfoe-c+7"> 266 /a>19ne">1987            ce-css=s59ef">b* fo5">/*hred ao orphao item o5">/>s59="srine"_ree-ue_btrf_iorhrefcace-css="srinsainforouphref="+ss="srinelnsainfoe-c+cck#L325" ide=L32nsainforouphref="+ss="nsainfoe-c+c"ef="+code=inamue_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-csainforouphref="+ss="nsainfoe-c+7"> 266 /a>19ne">1987            ce-css=s59ef">b* #L5fre* we only want to havL5fre>s59=")sS+cstfs/fo o_namue_btrf_iorlEAGAIlhref"1" class="line4"> 337 /a>19ne">195f="fsss="sref">io_cts59ef">b* po5fre* track o7a  *. #L379o5fre>s59ctl /a>cffseeo o_namue_btrf_iorlupdatgrouphref="+ss="updatgock_"tu79"> 377 /a>19ne">196     e-space-6ache.6s59ef">b* cl5fre* start converting thl5fre>s59oss=" 377 /a>19ne">196     e-space-6ache.6s596f">b* cl5fre*/hred ao orphao iteml5fre>s59t hre"> 337 /a>19ne">195f="fsss="sref">io_cts597f">b* cl5">sref"/a>);>iorhrefs>s59+code=iext9nts_t"efshef">sresp="eue_b         6 int sp="eue_bmue_bamuelockhref="+ss="sse" nainforouphref="+ss="ne" nainfoe-c+fk1" classree-space-ue_b         6 int ue_bclas37"> 266 /a>19ne">1987            ce-css=s5"8f">b* cl5e-spsiz=of=         6 inl5e-s>s59+code=istarthref="+ss="srinssp="eue_b         6 int sp="eue_bmue_bamuelockhref="+ss="s_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-ue_b         6 int ue_bclas37"> 266 /a>19ne">1987            ce-css=s5"9f">b* cl5_O" ide=L36520 class="l2l5_O">s599ef="+ss="srie-c+csto_ct50" ide=L_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-rorouphref="+ss="roline3 4"> 337 /a>19ne">196struct  a href="+cod26=Ldonelass6"44/59/e9e2b9b08592e109aa65c5cb60"ef="+ss="srincueeloc" ide=L3251965l_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-reserved74lass="l19ne" reservedef="++"ef="+code=inamuereserved_3671974lass="l19ne" reserved_36719ock_7"> 266 /a>19ne">1987            ce-css=s6=1donelass6"" ide=L3251992lass="l19e6c#L3760oss="ref="ftrfs/free-namue_btrf_iorlsp" nainforouphref="+ss="ne" nainfoe-c+fk1" classree-space-36719_reserved74lass="l19ne" 36719_reservedef="++"ef="+code=inamuereserved_3671974lass="l19ne" reserved_36719ock_7"> 266 /a>19ne">1987            ce-css=s6=2donelass6">/*hred ao orphao item o6o7ait60ref = e=u64" class="snamue_btrf_iorlupdatgrouphref="+ss="updatgock_"tu17"> 266 /a>19ne">1987            ce-css=s6=3donelass6"re* we only want to havL6oup p60=")sS+cstfs/f5"> 266 /a>19ne">1987            ce-css=s6=4f">/*hre6 re* track o7a  *. #L379o6meone60ass=" class="line" ain_uioresp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="s_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-ue_b         6 int ue_bclas37"> 266 /a>19ne">1987            ce-css=s6=5f">/*hre6 re* start converting thl69, we60oss=" 266 /a>19ne">1987            ce-css=s6=6f">/*hre6 re*/hred ao orphao iteml6srewe60t hre"> 337 /a>19ne">195f="fsss="sref">io_cts6r7f">b* cl6s>sref"/a>);>iorhrefswe60+code=iext9nts_t"efshef">sreEAGAIlhref"1" class="line"tulock#L325" ide=srinelerror_discard_e=L379rouphref="+ss="srinelerror_discard_e=L379mue_btrf_iide=tlass,csainforouphref="+ss="nsainfoe-c+fk1" classree-space-e=L379irooo" class="line"te=L379irooo=L379"> 366 /a>19ne">197        }>b* cl6s-spsiz=of=         6 inl6s-swe60e=u64" class="srb_entkss="nnnnnnnnnnnnnnnnnef=line" ain_uiores="sr         6 int s="srclas4clock#L325" ide=3671974lass="l19ne" namue=L379"amuelockhref="+ss="strimmed         6 int trimmedclas37"> 266 /a>19ne">1987            ce-css=s6=9f">b* cl6sO" ide=L36520 class="l2l6sO"we609ef="+ss="srie-c+csto_ct50" ide=LEAGAIlhref"1" class="line3"> 266 /a>19ne">1987            ce-css=s61Ldonelass64" class="srnfo href="sss64" >s61"ef="+ss="srincueelocck#L325" ide=L32totalttrimmed         6 int totalttrimmedclas++"ef="+code=inamuetrimmed         6 int trimmedclas7"> 266 /a>19ne">1987            ce-css=s64ef">/*hre6a hre6="+coinfo href="sse6a h>s61e=L37"> 266 /a>19ne">1987            ce-css=s642donelass6tio" class="sgernfo hrefo6tio>s612code=iext9nts_t"efshef">sresrineladd_ne"_ioref""srinrnfoss="k1" clasadd_ne"_ioref"mue_btrf_iide=tlass,dL325" ide=L3251983lass="l19ne" namue=L364eline" ain_uiorereserved_s="sr         6 int reserved_s="srclas4clock#L325" ide=reserved_3671974lass="l19ne" reserved_36719ock_37"> 266 /a>19ne">1987            ce-css=s643donelass6eeeen - a hre6="+coree-sL6eee>s61=L325"> 327 /a>18ne">186        if (!-7actios64ef">b* po6eeeen - a hre6="+coWARN_o6eee>s61ass=" class="e-c+st,lsref"/a>);>updatgrouphref="+ss="updatgock_3 4"> 337 /a>19ne">196struct  a href="+cod2645f">b* po6sesS+cstfs/free-space-c+l6ses>s61oss="sresp="eue_b         6 int sp="eue_bmue_bamuelockhref="+ss="sse" nainforouphref="+ss="ne" nainfoe-c+fk1" classree-space-ue_b         6 int ue_bclas37"> 266 /a>19ne">1987            ce-css=s616f">b* cl6eeeen - a hre6="+cokmem_l6eee>s61t href="ss="srinkmem_s_t"efshef">sresp="eue_b         6 int sp="eue_bmue_bamuelockhref="+ss="s_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-ue_b         6 int ue_bclas37"> 266 /a>19ne">1987            ce-css=s647f">b* cl6pace-6ache.66"sref">WARNl6pac>s61WARN_Ollass=ce-css="se-c+st,lsref"/a>);>"btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-rorouphref="+ss="roline3"> 266 /a>19ne">1987            ce-css=s648f">b* cl6O" ide=L3651919lass="l19l6O" >s61e=u64" class="srb_entrinkmem_s_t"efshef">sresp" nainforouphref="+ss="ne" nainfoe-c+fk1" classree-space-36719_readonls         6 int 36719_readonlsef="++"ef="+code=inamuereserved_3671974lass="l19ne" reserved_36719ock_7"> 266 /a>19ne">1987            ce-css=s649f">b* cl6a hre6="+cocffsee-spelsel6a h>s61ref="+ss="srincueelocnamue_btrf_iorl_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-reserved74lass="l19ne" reservedef="+-"ef="+code=inamuereserved_3671974lass="l19ne" reserved_36719ock_7"> 266 /a>19ne">1987            ce-css=s62Ldonelass6a hre6="+conytest,lsref"s6a h>s62"ef="+ss="srincueeloc" ide=L3251965lsp" nainforouphref="+ss="ne" nainfoe-c+fk1" classree-space-36719_reserved74lass="l19ne" 36719_reservedef="+-"ef="+code=inamuereserved_3671974lass="l19ne" reserved_36719ock_7"> 266 /a>19ne">1987            ce-css=s62ef">/*hre6 ss="sref">io_ctagainleoe6 ss>s62oss="ref="ftrfs/free-namue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="sse" nainforouphref="+ss="ne" nainfoe-c+fk1" classree-space-ue_b         6 int ue_bclas37"> 266 /a>19ne">1987            ce-css=s6aef">b* fo6fs/free-space-c+csto_ct5o6fs/>s62ref = e=u64" class="snamue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="s_btrf_ioref">sref"/a>);>namue_btrf_iorhrefk1" classree-space-ue_b         6 int ue_bclas37"> 266 /a>19ne">1987            ce-css=s62ef">b* #L64" class="s64"sref">WARNL64" >s62=")sS+cstfs/f5"> 266 /a>19ne">1987            ce-css=s62ef">b* po65" ide=L3751925lass="l19o65" >s62ctl /"> 377 /a>19ne">194                    s625f">b* po6sref">io_ctrnfo href="ssl6sre>s62oss=" 266 /a>19ne">1987            ce-css=s6a6f">b* cl64" class="sree-spelsecctl64" >s62t hre5"> 266 /a>19ne">1987            ce-css=s627f">b* cl64" class="sWARN_Ol " clal64" >s627L325"> 327 /a>18ne">186        if (!-7actios6a8f">b* cl6tio" class="sgeree-spelsl6tio>s62e=u64static"o o_namue_btrf_iorltrim_noe3e=L38019 6lass="l19 trim_noe3e=L38mue_bue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* cl6eeeegoto ss="sref">io_ctl6eee>s62ref="+ss="srincueelockss="nnnnn"line"tne"_lockeref"+cstfs/free-space-c+cck#L325" ide=L32totalttrimmed         6 int totalttrimmedclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Ls="sr         6 int s="srclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Lend         6 int endclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Lminlenf"+cstfs/free-sminlenline3"> 266 /a>19ne">1987            ce-css=s63Ldonelass65" ide=L3251931lass="l19s65" >s63"ef="4"> 337 /a>19ne">196struct  a href="+cod263ef">/*hre6eturn6- acommref">/* Note6etu>s631code=iext9ntue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namueline7"> 266 /a>19ne">1987            ce-css=s63ef">b* fo6tio" class="sgecld_end>-o6tio>s63="srine"_ree-ue_btrf_iorhrefcace-css="srine"_ioref""srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32   ,s         6 int clasrine"7"> 266 /a>19ne">1987            ce-css=s63ef">b* #L6eeeen - a hre6="+conytesL6eee>s63=")sS+cstfs/fue_btrf_iorhrefcace-csrb_nod""srinrnfoss="k1rb_nod"e"_lock#L325" ide=L32nod""srinrnfoss="k1nod"e"_l7"> 266 /a>19ne">1987            ce-css=s63ef">b* po6eeeen - a hre6="+cocffseo6eee>s63ctl /a>cffseeo o_namue_btrf_iorlEAGAIlhref"1" class="line="e79"> 377 /a>19ne">196     e-space-6ache.6s635f">b* po6ffffgoto ss="sref">io_ctl6fff>s63oss=" 266 /a>19ne">1987            ce-css=s636f">b* cl6ses-7actio" class="sgecll6ses>s63t href="ss="ss_t"efshef">sreeref"+cstfs/free-space-c+csto_ct50" ide=Le=L379i3671974lass="l19ne" e=L379i36719e"_l7"> 266 /a>19ne">1987            ce-css=s637f">b* cl6eeeen  return6- acommrefl6eee>s63+code=iext9nts_t"efshef">sreeref"+cstfs/free-space-c+csto_ct50" ide=L3671974lass="l19ne" namue=L377"> 266 /a>19ne">1987            ce-css=s638f">b* cl6e-spgoto ss="sref">io_ctl6e-s>s63e=u64"> 266 /a>19ne">1987            ce-css=s639f">b* cl6pace-6ache.66"sref">WARNl6pac>s63ref="+ss="sriwhilec+st,lsref"/a>);>s="sr         6 int s="srclasokl" ulock#L325" ide=end         6 int endclas3 4"> 337 /a>19ne">196struct  a href="+cod264Ldonelass6a hre6="+cospin_unlockhrs6a h>s64"ef="+ss="srincueelocs_t"efshef">sresp="eue_b         6 int sp="eue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s6aef">/*hre65" ide=L3251942lass="l19e65" >s64e=L37"> 266 /a>19ne">1987            ce-css=s6aef">b* fo64" class="sree-spelseccto64" >s64ref = e=u64" class="se-c+ockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L3ne"_ioref""srinrnfoss="k1s="line"tne"_lokl" ulock#L325" ide=minlenf"+cstfs/free-sminlenline3 4"> 337 /a>19ne">196struct  a href="+cod264ef">b* #L6dddddddddddddddddddddddnL6ddd>s643"srine"_ree-="srincueelockssnamue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s6aef">b* po6ss="srine"_WARN_Ol " clao6ss=>s64ctl /a>cffseehref = nnnnnnnnnbreak7"> 266 /a>19ne">1987            ce-css=s6a5f">b* po6 ss="sref">io_ctoue-spell6 ss>s64oss=" 266 /a>19ne">1987            ce-css=s646f">b* cl6he.66"sref">WARN_O" ide=l6he.>s64t hre"> 337 /a>19ne">195f="fsss="sref">io_cts647f">b* cl6ef">WARN_O" ide=L3651948l6ef">s64WARN_Ollass=ce-css="ss_t"efshef">sre   ,s         6 int clasrine"="ef="+code=inamue9ne" search_=L3251973lass="l19ne"9ne" search_=L3251mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=s="sr         6 int s="srclas4c0, 137"> 266 /a>19ne">1987            ce-css=s6a8f">b* cl6O" ide=L3651949lass="l19l6O" >s64e=u64" class="srb_ente-c+csto_ct50" ide=L   ,s         6 int clasrine"3 4"> 337 /a>19ne">196struct  a href="+cod2649f">b* cl6pelsecctl /a>reehref = el6pel>s64ref="+ss="srincueelockss="nnnnamue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s65Ldonelass6ee-spelsecctl /a>reehrefs6ee->s65"ef="+ss="srincueelocnnnnnnnnbreak7"> 266 /a>19ne">1987            ce-css=s65ef">/*hre6f">io_ctagainleo_ct /a> e6f">>s65oss="ref="ftrfs/free-5"> 266 /a>19ne">1987            ce-css=s65ef">b* fo6l " class==  a hBUG_Ollao6l ">s65>);>r"> 266 /a>19ne">1987            ce-css=s65ef">b* #L6"+ss="srincueelockss=":bL6"+s>s653"srine"_ree-="srincusfs/freeeeeeeee* oops am skip de=L382r*mue=L379"> 376 /a>19ne">1997            ce-css=e65ef">b* po6unlockhref="+ss="srinspio6unl>s65ctl /a>cffseehref = nwhilec+st,lsref"/a>);>   ,s         6 int clasrine""tne"_lock#L325" ide3e=L38019 6lass="l19 3e=L38mue_3 4"> 337 /a>19ne">196struct  a href="+cod26eef">b* cl6l /a>cuehref:btrfs/free-l6l />s65oss=" 266 /a>19ne">1987            ce-css=s656f">b* cl6turee-spelsecctl /a>reehl6tur>s65t href="ss="srinkmem_________e-c+csto_ct50" ide=Lnod""srinrnfoss="k1nod"e"_l3 4"> 337 /a>19ne">196struct  a href="+cod26e7f">b* cl6_O" ide=L3651958lass="l1l6_O">s65WARN_Ollass=ce-css="s"ef="+cokss="nnnnamue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s658f">b* cl6O" ide=L3651959lass="l19l6O" >s65e=u64" class="srb_entkss="nnnnnnnnnnngoto sto_ct50" ide=L=u1973lass="l19ne" u"line4"> 337 /a>19ne">195f="fsss="sref">io_cts659f">b* cl6mp_namue_btrfhref="+ss="l6mp_>s65ref="+ss="srincueelockss="nnn5"> 266 /a>19ne">1987            ce-css=s66Ldonelass6e-css="srine"_64"sref">Ws6e-c>s66"ef="+ss="srincueelockss="nnnnamue_btrf_iorl   ,s         6 int clasrine"="ef="+code=inamuerb_   ,s         6 int rb_   ,smue_btrf_iide=tlass,nod""srinrnfoss="k1nod"e"_l,-ue_btrf_iorhrefcace-css="srine"_ioref""srinrnfoss="k1" class="line"tne"_l4"> 366 /a>19ne">197        }>/*hre650" ide=L3801962lass="l1e650">s66oss="ref="ftrfs/free-ce-css="s"ef="+cokss="nnnnamue_btrf_iorl=L3251_indexlass="l19ne" na=L3251_indexclas37"> 266 /a>19ne">1987            ce-css=s6eef">b* fo6asrine"_namue_btrf_iorefo6asr>s66ref = e=u64" class="s5"> 266 /a>19ne">1987            ce-css=s66ef">b* #L6asrine"_namue_btrfef">srL6asr>s66=L325"> 327 /a>18ne">186        if (!-7actios6eef">b* po6asrb_ncla-spelsecctl /a>o6asr>s66ctl /a>cffseehref = ne-c+ockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide=L3251lass="l19ne" na=L3251e"_lokne""ef="+code=inamueend         6 int endclas3 4"> 337 /a>19ne">196struct  a href="+cod266ef">b* cl6oune-spelsecctl /a>counel6oun>s66oss=" 266 /a>19ne">1987            ce-css=s6e6f">b* cl6O" ide=L3651967lass="l19l6O" >s66t href="ss="srinkmem_________break7"> 266 /a>19ne">1987            ce-css=s667f">b* cl6nleo_ct /a> =  an     = l6nle>s66WARN_Ollass=ce-css="s5"> 266 /a>19ne">1987            ce-css=s668f">b* cl6+coinfo href="ss="srinrnl6+co>s66e=u64"> 266 /a>19ne">1987            ce-css=s669f">b* cl6ss="sgernfo href="ss="srl6ss=>s66ref="+ss="srincueelocnamue_btrf_iorle=L379is="sr         6 int e=L379is="sre"_l="ef="+code=inamue   ,s         6 int clasrine""tne"_lock#L325" ide=L3251lass="l19ne" na=L3251e"_l7"> 266 /a>19ne">1987            ce-css=s67Ldonelass6a hre6="+cocoune-spelsecs6a h>s67"ef="+ss="srincueelocs_t"efshef">sree=L379i3671974lass="l19ne" e=L379i36719e"_l="ef="+code=inamue   ,s         6 int clasrine""tne"_lock#L325" ide3671974lass="l19ne" namue=L377"> 266 /a>19ne">1987            ce-css=s67ef">/*hre6e"_prrntkhref="+ss="srine6e"_>s67oss="ref="ftrfs/free-namue_btrf_iorls="sr         6 int s="srclasotulock#L325" ide=maxlass="l19ne" namaxmue_btrf_iide=tlass,s="sr         6 int s="srclas4clock#L325" ide=e=L379is="sr         6 int e=L379is="sre"_l37"> 266 /a>19ne">1987            ce-css=s67ef">b* fo6gned long long)tio" claso6gne>s67ref = e=u64" class="snamue_btrf_iorl3671974lass="l19ne" namue=L37 tulock#L325" ide=m="f"+cstfs/free-sminmue_btrf_iide=tlass,e=L379is="sr         6 int e=L379is="sre"_l=+csto_ct50" ide=Le=L379i3671974lass="l19ne" e=L379i36719e"_l4clock#L325" ide=end         6 int endclas3 --namue_btrf_iorls="sr         6 int s="srclas7"> 266 /a>19ne">1987            ce-css=s67ef">b* #L6gned long long)tio" clasL6gne>s673"srine"_ree-="srincue-c+st,lsref"/a>);>"671974lass="l19ne" namue=L37 kl" ulock#L325" ide=minlenf"+cstfs/free-sminlenline3 4"> 337 /a>19ne">196struct  a href="+cod267ef">b* po6 class="sgernfo href="sso6 cl>s67ctl /a>cffseehref = nnnnnnnnnnamue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s67ef">b* cl6ef">WARN_O" ide=L3651976l6ef">s67oss=" 266 /a>19ne">1987            ce-css=s676f">b* cl6khref="+ss="srinprrntklal6khr>s67t href="ss="srinkmem_5"> 266 /a>19ne">1987            ce-css=s677f">b* cl6"_list_empty-spelsecctl l6"_l>s677L325"> 327 /a>18ne">186        if (!-7actios678f">b* cl6khref="+ss="srinprrntklal6khr>s67e=u64" class="srb_entlock#L325" ide=unuinkine"_ioref""srinrnfoss="k1unuinkine"_ioref"mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=   ,s         6 int clasrine"37"> 266 /a>19ne">1987            ce-css=s679f">b* cl6strrng">"\n"hrl6str>s67ref="+ss="srincueelocnamue_btrf_iorlkmemef)1" ine"_         6 int kmemef)1" ine"_mue_btrf_iide=tlass, hrefrio_ctl" clas)1" 8019 6lass="l19 3hrefrio_ctl" clas)1" 8clas4clock#L325" ide=   ,s         6 int clasrine"37"> 266 /a>19ne">1987            ce-css=s68Ldonelass6_O" ide=L3651981lass="l1s6_O">s68eL367"> 366 /a>19ne">1986truct  a hrece-css=s68ef">/*hre65" ide=L3251982lass="l19e65" >s68oss="ref="ftrfs/free-namue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s68ef">b* fo6it_namue_btrf_ioref">sreo6it_>s68>);>r"> 266 /a>19ne">1987            ce-css=s68ef">b* #L650" ide=L3801984lass="l1L650">s68=")sS+cstfs/free-spaclock#L325" ide=EAGAIlhref"1" class="line"tulock#L325" ide=do_trimming">sref"/a>);>nado_trimmingmue_btrf_iide=tlass, L325" ide=L3251983lass="l19ne" namue=L364eline" ain_uioretotalttrimmed         6 int totalttrimmedclas4clock#L325" ide=s="sr         6 int s="srclas4clock#L325" ide=3671974lass="l19ne" namue=L379"> 266 /a>19ne">1987            ce-css=s68ef">b* po6asrine"_namue_btrf_iorefo6asr>s68ctl /a>cffseehref = nnnnnnnnn/free-spaclock#L325" ide=e=L379is="sr         6 int e=L379is="sre"_l4clock#L325" ide=e=L379i3671974lass="l19ne" e=L379i36719e"_l37"> 266 /a>19ne">1987            ce-css=s68ef">b* cl60" ide=L3801986lass="l19l60" >s68oss=" 266 /a>19ne">1987            ce-css=s686f">b* cl6lock_inithref="+ss="srinl6loc>s68t href="ss="srinkmem_________break7"> 266 /a>19ne">1987            ce-css=s687f">b* cl6">sref"/a>);>iorhrefs>s687L325f="+code=inamuene=L"srinrnfoss="k1ne=Lmue_:"> 266 /a>19ne">1987            ce-css=s688f">b* cl6">sref"/a>);>iorhrefs>s68e=u64" class="srb_entnamue_btrf_iorls="sr         6 int s="srclaso+"ef="+code=inamue3671974lass="l19ne" namue=L377"> 266 /a>19ne">1987            ce-css=s689f">b* cl6">sref"/a>);>iorhrefs>s68ref=""> 266 /a>19ne">1987            ce-css=s69Ldonelass6">sref"/a>);>iorhrefs>s69"ef="+ss="srincueeloce-c+ockhref="+ss="sfataltsignaltpending">sref"/a>);>nafataltsignaltpendingmue_btrf_iide=tlass,rurr379rouphref="+ss="rurr379line33 4"> 337 /a>19ne">196struct  a href="+cod269ef">/*hre65" ide=L3251992lass="l19e65" >s69oss="ref="ftrfs/free-ce-css="lock#L325" ide=EAGAIlhref"1" class="line"tu-sto_ct50" ide=LERESTARTSYSAIlhref"1" clasERESTARTSYS=L377"> 266 /a>19ne">1987            ce-css=s69ef">b* fo6">/*hred ao orphao item o6">/>s69ref = e=u64" class="sssssssssbreak7"> 266 /a>19ne">1987            ce-css=s69ef">b* #L6fre* we only want to havL6fre>s69=")sS+cstfs/free-spac5"> 266 /a>19ne">1987            ce-css=s69ef">b* po6fre* track o7a  *. #L379o6fre>s69ctl /"> 377 /a>19ne">194                    s69ef">b* cl6fre* start converting thl6fre>s69oss="srecond_res   d         6 int cond_res   dmue_b37"> 266 /a>19ne">1987            ce-css=s696f">b* cl6fre*/hred ao orphao iteml6fre>s69t href="ss="s5"> 266 /a>19ne">1987            ce-css=s697f">b* cl6">sref"/a>);>iorhrefs>s697L325f="+code=inamue=u1973lass="l19ne" u"line:"> 266 /a>19ne">1987            ce-css=s6"8f">b* cl6e-spsiz=of=         6 inl6e-s>s69+code=istarthe" namusto_ct50" ide=LEAGAIlhref"1" class="line7"> 266 /a>19ne">1987            ce-css=s6"9f">b* cl6_O" ide=L36520 class="l2l6_O">s699ef="5"> 266 /a>19ne">1987            ce-css=s7=Ldonelass7"44/59/e9e2b9b08592e109aa75c5cb70eL367"> 366 /a>19ne">1986truct  a hrece-css=s7=1donelass7"" ide=L3251992lass="l19e7c#L3770oss="static"o o_namue_btrf_iorltrim_de=L382"srinrnfoss="k1trim_de=L382mue_bue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>/*hred ao orphao item o7o7ait70ref = e=u64" class="s"ef="+cos_t"efshef">sreeref"+cstfs/free-space-c+cck#L325" ide=L32totalttrimmed         6 int totalttrimmedclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Ls="sr         6 int s="srclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Lend         6 int endclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Lminlenf"+cstfs/free-sminlenline3"> 266 /a>19ne">1987            ce-css=s7=3donelass7"re* we only want to havL7oup p70=")sS4"> 337 /a>19ne">196struct  a href="+cod27=4f">/*hre7 re* track o7a  *. #L379o7meone70ass=" class="ue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphrefsref"/a>);>namue_btrf_iorhrefk1" classree-space-c+csto_ct50" ide=L3801963lass="l19ne" namueline7"> 266 /a>19ne">196struct  a href="+cod27=5f">/*hre7 re* start converting thl79, we70oss=" 266 /a>19ne">1987            ce-css=s7=6f">/*hre7 re*/hred ao orphao iteml7srewe70t href="ss="so o_namue_btrf_iorlEAGAIlhref"1" class="line="e79"> 377 /a>19ne">196     e-space-6ache.6s7r7f">b* cl7s>sref"/a>);>iorhrefswe70+code=iext9nto o_namue_btrf_iorlEAG2AIlhref"1" class="2ine"7"> 266 /a>19ne">1987            ce-css=s7=8f">b* cl7s-spsiz=of=         6 inl7s-swe70+code=istarthref="+ss="srinseref"+cstfs/free-space-c+csto_ct50" ide=L3671974lass="l19ne" namue=L377"> 266 /a>19ne">1987            ce-css=s7=9f">b* cl7sO" ide=L36520 class="l2l7sO"we70ref="+ss="srinamue_btrf_iorleref"+cstfs/free-space-c+csto_ct50" ide=L=L3251lass="l19ne" na=L3251e"_lo"ef="+code=inamue=L3251_toe3e=L38019 6lass="l19 =L3251_toe3e=L38mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=s="sr         6 int s="srclas37"> 266 /a>19ne">1987            ce-css=s71Ldonelass74" class="srnfo href="sss74" >s71eL367"> 366 /a>19ne">1986truct  a hrece-css=s74ef">/*hre7a hre6="+coinfo href="sse7a h>s71oss="ref="ftrwhilec+st,lsref"/a>);>=L3251lass="l19ne" na=L3251e"_lokl" ulock#L325" ide=end         6 int endclas3 4"> 337 /a>19ne">196struct  a href="+cod2742donelass7tio" class="sgernfo hrefo7tio>s71ref = e=u64" class="snamue_btrf_iorl3ooef"/a>);>iorhref ooee-c+csto_ct50" ide=Lne=Le3e=L38019 6lass="l19 ne=Le3e=L38e"_lo"ef="+code=inamuefals""srinrnfoss="k1sals"=L377"> 266 /a>19ne">1987            ce-css=s743donelass7eeeen - a hre6="+coree-sL7eee>s71=L325"> 327 /a>18ne">186        if (!-7actios74ef">b* po7eeeen - a hre6="+coWARN_o7eee>s71ctl /a>cffseehref = nnamue_btrf_iorlsp="eue_b         6 int sp="eue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s745f">b* po7sesS+cstfs/free-space-c+l7ses>s71oss=""> 266 /a>19ne">1987            ce-css=s746f">/*hre7eeeen - a hre6="+cokmem_l7eee>s71t href="ss="srinkmem_e-c+ockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L3ne"_ioref""srinrnfoss="k1s="line"tne"_lokl" ulock#L325" ide=minlenf"+cstfs/free-sminlenline3 4"> 337 /a>19ne">196struct  a href="+cod2747f">b* cl7pace-6ache.66"sref">WARNl7pac>s71WARN_Ollass=ce-css="shref = nnamue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s748f">b* cl7O" ide=L3651919lass="l19l7O" >s71e=u64" class="srb_entrinkmem_break7"> 266 /a>19ne">1987            ce-css=s749f">b* cl7a hre6="+cocffsee-spelsel7a h>s71ref="+ss="srincueeloc5"> 266 /a>19ne">1987            ce-css=s72Ldonelass7a hre6="+conytest,lsref"s7a h>s72eL367"> 366 /a>19ne">1986truct  a hrece-css=s72ef">/*hre7 ss="sref">io_ctagainleoe7 ss>s72oss="ref="ftrfs/free-namue_btrf_iorl   ,s         6 int clasrine"="ef="+code=inamue9ne" search_=L3251973lass="l19ne"9ne" search_=L3251mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide==L3251lass="l19ne" na=L3251e"_l, 1, 037"> 266 /a>19ne">1987            ce-css=s7aef">b* fo7fs/free-space-c+csto_ct5o7fs/>s72ref = e=u64" class="se-c+csto_ct50" ide=L   ,s         6 int clasrine"3 4"> 337 /a>19ne">196struct  a href="+cod272ef">b* #L74" class="s64"sref">WARNL74" >s723"srine"_ree-="srincueelockssnamue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s72ef">b* po75" ide=L3751925lass="l19o75" >s72ctl /a>cffseehref = nnnnnnnnnnamue_btrf_iorlne=Le3e=L38019 6lass="l19 ne=Le3e=L38e"_lo"ef="+code=inamuee_b""srinrnfoss="k1e_b"=L377"> 266 /a>19ne">1987            ce-css=s725f">b* po7sref">io_ctrnfo href="ssl7sre>s72oss=" 266 /a>19ne">1987            ce-css=s7a6f">b* cl74" class="sree-spelsecctl74" >s72t href="ss="srinkmem_5"> 266 /a>19ne">1987            ce-css=s727f">b* cl74" class="sWARN_Ol " clal74" >s727L325"> 327 /a>18ne">186        if (!-7actios7a8f">b* cl7tio" class="sgeree-spelsl7tio>s72e=u64" class="srb_entnamue_btrf_iorl3671974lass="l19ne" namue=L37 tulock#L325" ide=m="lenf"+cstfs/free-sminlenline7"> 266 /a>19ne">1987            ce-css=s7a9f">b* cl7eeeegoto ss="sref">io_ctl7eee>s72ref="+ss="srincueelocnamue_btrf_iorlEAG2AIlhref"1" class="2ine" tulock#L325" ide=search_3e=L38019 6lass="l19 search_3e=L38mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=   ,s         6 int clasrine"9"amuelockhref="+ss="ss="sr         6 int s="srclas4camuelockhref="+ss="s_671974lass="l19ne" namue=L3737"> 266 /a>19ne">1987            ce-css=s73Ldonelass75" ide=L3251931lass="l19s75" >s73"ef="+ss="srincueeloce-c+ockhref="+ss="sEAG2AIlhref"1" class="2ine" ||tnamue_btrf_iorls="sr         6 int s="srclasokne""ef="+code=inamueend         6 int endclas3 4"> 337 /a>19ne">196struct  a href="+cod273ef">/*hre7eturn6- acommref">/* Note7etu>s73oss="ref="ftrfs/free-ce-css="lock#L325" ide=sp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s73ef">b* fo7tio" class="sgecld_end>-o7tio>s73ref = e=u64" class="s"ef="+cos_t"efshef">srene=Le3e=L38019 6lass="l19 ne=Le3e=L38e"_lo"ef="+code=inamuee_b""srinrnfoss="k1e_b"=L377"> 266 /a>19ne">1987            ce-css=s73ef">b* #L7eeeen - a hre6="+conytesL7eee>s733"srine"_ree-="srincueelockssgoto sto_ct50" ide=Lne=L"srinrnfoss="k1ne=Lmue_7"> 266 /a>19ne">1987            ce-css=s73ef">b* po7eeeen - a hre6="+cocffseo7eee>s73ctl /a>cffseehref = n5"> 266 /a>19ne">1987            ce-css=s735f">b* po7ffffgoto ss="sref">io_ctl7fff>s73oss=""> 266 /a>19ne">1987            ce-css=s736f">b* cl7ses-7actio" class="sgecll7ses>s73t href="ss="srinkmem_s_t"efshef">sre3671974lass="l19ne" namue=L37 tulock#L325" ide=m="f"+cstfs/free-sminmue_btrf_iide=tlass,3671974lass="l19ne" namue=L379"f="+code=inamueend         6 int endclas --namue_btrf_iorls="sr         6 int s="srclas37"> 266 /a>19ne">1987            ce-css=s737f">b* cl7eeeen  return6- acommrefl7eee>s73WARN_Ollass=ce-css="se-c+st,lsref"/a>);>"671974lass="l19ne" namue=L37 kl" ulock#L325" ide=minlenf"+cstfs/free-sminlenline3 4"> 337 /a>19ne">196struct  a href="+cod2738f">b* cl7e-spgoto ss="sref">io_ctl7e-s>s73e=u64" class="srb_entrinkmem_s_t"efshef">sresp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s739f">b* cl7pace-6ache.66"sref">WARNl7pac>s73ref="+ss="srincueelockss="nnngoto sto_ct50" ide=Lne=L"srinrnfoss="k1ne=Lmue_7"> 266 /a>19ne">1987            ce-css=s74Ldonelass7a hre6="+cospin_unlockhrs7a h>s74"ef="+ss="srincueeloc5"> 266 /a>19ne">1987            ce-css=s7aef">/*hre75" ide=L3251942lass="l19e75" >s74e=L37"> 266 /a>19ne">1987            ce-css=s7aef">b* fo74" class="sree-spelseccto74" >s74ref = e=u64" class="sst,lsref"/a>);>"e=L38_cleare3e=974lass="l19ne" ne=L38_cleare3e=9mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=   ,s         6 int clasrine"9"sto_ct50" ide=Ls="sr         6 int s="srclas4clock#L325" ide=_671974lass="l19ne" namue=L3737"> 266 /a>19ne">1987            ce-css=s74ef">b* #L7dddddddddddddddddddddddnL7ddd>s743"srine"_ree-="srincue-c+ockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide3671974lass="l19ne" namue=L37 t= 03"> 266 /a>19ne">1987            ce-css=s7aef">b* po7ss="srine"_WARN_Ol " clao7ss=>s74ctl /a>cffseehref = nnnnnnnnnne"tne"_lock#L3ne"_i3e=L38019 6lass="l19 ne"_i3e=L38mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=   ,s         6 int clasrine"37"> 266 /a>19ne">1987            ce-css=s745f">b* po7 ss="sref">io_ctoue-spell7 ss>s74oss=""> 266 /a>19ne">1987            ce-css=s746f">b* cl7he.66"sref">WARN_O" ide=l7he.>s74t href="ss="srinkmem_s_t"efshef">sresp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s747f">b* cl7ef">WARN_O" ide=L3651948l7ef">s747L325"> 327 /a>18ne">186        if (!-7actios7a8f">b* cl7O" ide=L3651949lass="l19l7O" >s74e=u64" class="srb_entnamue_btrf_iorlEAGAIlhref"1" class="line="enamue_btrf_iorldo_trimming">sref"/a>);>nado_trimmingmue_btrf_iide=tlass, L325" ide=L3251983lass="l19ne" namue=L364eline" ain_uioretotalttrimmed         6 int totalttrimmedclas4clock#L325" ide=s="sr         6 int s="srclas4clock#L325" ide=3671974lass="l19ne" namue=L379"> 267 /a>18ne">186        if (!-7actios7a9f">b* cl7pelsecctl /a>reehref = el7pel>s74ref="+ss="srincueelockss="nnn"srinkmem_s_t"efshef">sres="sr         6 int s="srclas4clock#L325" ide=_671974lass="l19ne" namue=L3737"> 266 /a>19ne">1987            ce-css=s75Ldonelass7ee-spelsecctl /a>reehrefs7ee->s75"ef="+ss="srincueeloce-c+ockhref="+ss="sEAGAIlhref"1" class="line3"> 266 /a>19ne">1987            ce-css=s75ef">/*hre7f">io_ctagainleo_ct /a> e7f">>s75oss="ref="ftrfs/free---------break7"> 266 /a>19ne">1987            ce-css=s75ef">b* fo7l " class==  a hBUG_Ollao7l ">s75>);>rsto_ct50" ide=Lne=L"srinrnfoss="k1ne=Lmue_:"> 266 /a>19ne">1987            ce-css=s75ef">b* #L7"+ss="srincueelockss=":bL7"+s>s753"srine"_ree-="srincue-c+ockhref="+ss="sne=Le3e=L38019 6lass="l19 ne=Le3e=L38e"_l3 4"> 337 /a>19ne">196struct  a href="+cod275ef">b* po7unlockhref="+ss="srinspio7unl>s75ctl /a>cffseehref = nrinkmem_s_t"efshef">sre=L3251lass="l19ne" na=L3251e"_lo+"ef="+code=inamueBITS_PER_BITMAPlass="l19ne" naBITS_PER_BITMAPe"_lo*os_t"efshef">srecintamuelockhref)k1" class="line"tne"_lock#L3uni1lass="l19ne" nauni1mue_7"> 266 /a>19ne">1987            ce-css=s7eef">b* cl7l /a>cuehref:btrfs/free-l7l />s75oss=" 337 /a>19ne">196struct  a href="+cod2756f">b* cl7turee-spelsecctl /a>reehl7tur>s75t href="ss="srinkmem_________namue_btrf_iorls="sr         6 int s="srclaso+"ef="+code=inamue3671974lass="l19ne" namue=L377"> 266 /a>19ne">1987            ce-css=s7e7f">b* cl7_O" ide=L3651958lass="l1l7_O">s75WARN_Ollass=ce-css="s"ef="+coe-c+ockhref="+ss="ss="sr         6 int s="srclasokne""ef="+code=inamue=L3251lass="l19ne" na=L3251e"_lo+ef="+code=inamueBITS_PER_BITMAPlass="l19ne" naBITS_PER_BITMAPe"_lo*os_t"efshef">srecintamuelockhref)k1" class="line"tne"_lock#L3uni1lass="l19ne" nauni1mue_3"> 266 /a>19ne">1987            ce-css=s758f">b* cl7O" ide=L3651959lass="l19l7O" >s75e=u64" class="srb_entkss="nnnnnnnnnnns_t"efshef">sre=L3251lass="l19ne" na=L3251e"_lo+"ef="+code=inamueBITS_PER_BITMAPlass="l19ne" naBITS_PER_BITMAPe"_lo*os_t"efshef">srecintamuelockhref)k1" class="line"tne"_lock#L3uni1lass="l19ne" nauni1mue_7"> 266 /a>19ne">1987            ce-css=s7e9f">b* cl7mp_namue_btrfhref="+ss="l7mp_>s75ref="+ss="srincueeloc5"> 266 /a>19ne">1987            ce-css=s76Ldonelass7e-css="srine"_64"sref">Ws7e-c>s76eL367"> 366 /a>19ne">1986truct  a hrece-css=s7eef">/*hre750" ide=L3801962lass="l1e750">s76oss="ref="ftrfs/free-e-c+ockhref="+ss="sfataltsignaltpending">sref"/a>);>nafataltsignaltpendingmue_btrf_iide=tlass,rurr379rouphref="+ss="rurr379line33 4"> 337 /a>19ne">196struct  a href="+cod27eef">b* fo7asrine"_namue_btrf_iorefo7asr>s76ref = e=u64" class="snnnnnnnns_t"efshef">sreEAGAIlhref"1" class="line"tu-sto_ct50" ide=LERESTARTSYSAIlhref"1" clasERESTARTSYS=L377"> 266 /a>19ne">1987            ce-css=s76ef">b* #L7asrine"_namue_btrfef">srL7asr>s763"srine"_ree-="srincueelockssbreak7"> 266 /a>19ne">1987            ce-css=s7eef">b* po7asrb_ncla-spelsecctl /a>o7asr>s76ctl /a>cffseehref = n5"> 266 /a>19ne">1987            ce-css=s76ef">b* cl7oune-spelsecctl /a>counel7oun>s76oss=""> 266 /a>19ne">1987            ce-css=s7e6f">b* cl7O" ide=L3651967lass="l19l7O" >s76t href="ss="srinkmem_trf_iide=tlass,rond_res   d         6 int cond_res   dmue_b37"> 266 /a>19ne">1987            ce-css=s767f">b* cl7nleo_ct /a> =  an     = l7nle>s76WARN_Ollass=c5"> 266 /a>19ne">1987            ce-css=s768f">b* cl7+coinfo href="ss="srinrnl7+co>s76e=u64"> 266 /a>19ne">1987            ce-css=s769f">b* cl7ss="sgernfo href="ss="srl7ss=>s76ref="+ss="srie" namusto_ct50" ide=LEAGAIlhref"1" class="line7"> 266 /a>19ne">1987            ce-css=s77Ldonelass7a hre6="+cocoune-spelsecs7a h>s77"ef="5"> 266 /a>19ne">1987            ce-css=s77ef">/*hre7e"_prrntkhref="+ss="srine7e"_>s77e=L37"> 266 /a>19ne">1987            ce-css=s77ef">b* fo7gned long long)tio" claso7gne>s77ref =o o_namue_btrf_iorl" clastrim_dL325" ide=L3251983lass="l1 clastrim_dL325" ide=mue_bue_btrf_iorhrefcace-css="sris="srine"_block_grouphref="+ss="srinelock_grouphref)1" class="line"tne"_lock#L325" ide=L3251983lass="l19ne" namue=L364"> 366 /a>19ne">197        }>b* #L7gned long long)tio" clasL7gne>s773"srine"_ree-="srincu="srinkmem_trf_iide=tlass,eref"+cstfs/free-space-c+cck#L325" ide=L32trimmed         6 int trimmedclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Ls="sr         6 int s="srclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Lend         6 int endclas4clock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=Lminlenf"+cstfs/free-sminlenlin_3"> 266 /a>19ne">1987            ce-css=s77ef">b* po7 class="sgernfo href="sso7 cl>s77ctl /4"> 337 /a>19ne">196struct  a href="+cod277ef">b* cl7ef">WARN_O" ide=L3651976l7ef">s77oss=" 266 /a>19ne">1987            ce-css=s776f">b* cl7khref="+ss="srinprrntklal7khr>s77t hre"> 337 /a>19ne">195f="fsss="sref">io_cts777f">b* cl7"_list_empty-spelsecctl l7"_l>s77WARN_Ollass=cck#L325" ide=L32trimmed         6 int trimmedclas="e79"> 377 /a>19ne">196     e-space-6ache.6s778f">b* cl7khref="+ss="srinprrntklal7khr>s77e=u64"> 266 /a>19ne">1987            ce-css=s779f">b* cl7strrng">"\n"hrl7str>s77ref="+ss="srinamue_btrf_iorlEAGAIlhref"1" class="line="enamue_btrf_iorltrim_noe3e=L38019 6lass="l19 trim_noe3e=L38mue_btrf_iide=tlass, L325" ide=L3251983lass="l19ne" namue=L364eline" ain_uioretrimmed         6 int trimmedclas4clock#L325" ide=s="sr         6 int s="srclas4clock#L325" ide=end         6 int endclas4clock#L325" ide=minlenf"+cstfs/free-sminlenlin_39"> 377 /a>19ne">196     e-space-6ache.6s78Ldonelass7_O" ide=L3651981lass="l1s7_O">s78"ef="+ss="srie-c+ockhref="+ss="sEAGAIlhref"1" class="line3"> 266 /a>19ne">1987            ce-css=s78ef">/*hre75" ide=L3251982lass="l19e75" >s78oss="ref="ftrfs/free-e" namusto_ct50" ide=LEAGAIlhref"1" class="line7"> 266 /a>19ne">1987            ce-css=s78ef">b* fo7it_namue_btrf_ioref">sreo7it_>s78>);>r"> 266 /a>19ne">1987            ce-css=s78ef">b* #L750" ide=L3801984lass="l1L750">s78=")sS+cstfs/fnamue_btrf_iorlEAGAIlhref"1" class="line="enamue_btrf_iorltrim_de=L382"srinrnfoss="k1trim_de=L382mue_btrf_iide=tlass, L325" ide=L3251983lass="l19ne" namue=L364eline" ain_uioretrimmed         6 int trimmedclas4clock#L325" ide=s="sr         6 int s="srclas4clock#L325" ide=end         6 int endclas4clock#L325" ide=minlenf"+cstfs/free-sminlenlin_39"> 377 /a>19ne">1987            ce-css=s78ef">b* po7asrine"_namue_btrf_iorefo7asr>s78ctl /"> 377 /a>19ne">194                    s78ef">b* cl70" ide=L3801986lass="l19l70" >s78oss=" 266 /a>19ne">1987            ce-css=s786f">b* cl7lock_inithref="+ss="srinl7loc>s78t hre5"> 266 /a>19ne">1987            ce-css=s787f">b* cl7">sref"/a>);>iorhrefs>s787L325"> 327 /a>18ne">186        if (!-7actios788f">b* cl7">sref"/a>);>iorhrefs>s78e=u64sfs/freeeeeeeee* oops amue=L379"> 376 /a>19ne">1997            ce-css=e789f">b* cl7">sref"/a>);>iorhrefs>s78ref="sfs/freeeeeeeee* oops  * Find the left-most item=o  the   ce- 9ne", and then=e" namut" cl=L379"> 376 /a>19ne">1997            ce-css=e79Ldonelass7">sref"/a>);>iorhrefs>s79"ef="sfs/freeeeeeeee* oops  * smallest inod" number=o  the item.cl=L379"> 376 /a>19ne">1997            ce-css=e79ef">/*hre75" ide=L3251992lass="l19e75" >s79oss="sfs/freeeeeeeee* oops  *cl=L379"> 376 /a>19ne">1997            ce-css=e79ef">b* fo7">/*hred ao orphao item o7">/>s79ref =sfs/freeeeeeeee* oops  * Note: the e" named inod" number=may not be the smallest one incl=L379"> 376 /a>19ne">1997            ce-css=e79ef">b* #L7fre* we only want to havL7fre>s79=")sSsfs/freeeeeeeee* oops  * te- 9ne", e-cthe left-most item=os a de=L38.cl=L379"> 376 /a>19ne">1997            ce-css=e79ef">b* po7fre* track o7a  *. #L379o7fre>s79ctl /sfs/freeeeeeeee* oops  *mue=L379"> 376 /a>19ne">1997            ce-css=e79ef">b* cl7fre* start converting thl7fre>s79oss="lock#L325" ide=eref"+cstfs/free-space-c+csto_ct50" ide=L" classind_ino_for_allocrouphref="+ss="srinelsind_ino_for_allocmue_bue_btrf_iorhrefcace-css="srirooGAIlhref"1" class="srirooGe-c+cck#L325" ide=L32srirooGAIlhref"1" classrirooGe-c+3"> 266 /a>19ne">1987            ce-css=s796f">b* cl7fre*/hred ao orphao iteml7fre>s79t hre4"> 337 /a>19ne">196struct  a href="+cod2797f">b* cl7">sref"/a>);>iorhrefs>s79WARN_Ollass=cue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphref 266 /a>19ne">1987            ce-css=s7"8f">b* cl7e-spsiz=of=         6 inl7e-s>s79+code=istarthue_btrf_iorhrefcace-css="srine"_ioref""srinrnfoss="k1" class="line"tne"_lock#L325" ide=L32   ,s         6 int clasrine"="ef="+code=inamueNULL         6 int NULLline7"> 266 /a>19ne">1987            ce-css=s7"9f">b* cl7_O" ide=L36520 class="l2l7_O">s79ref="+ss="srinamue_btrf_iorleref"+cstfs/free-space-c+csto_ct50" ide=Linof"+cstfs/free-sinoclas="e79"> 377 /a>19ne">196     e-space-6ache.6s8=Ldonelass8"44/59/e9e2b9b08592e109aa85c5cb80eL367"> 366 /a>19ne">1986truct  a hrece-css=s8=1donelass8"" ide=L3251992lass="l19e8c#L37801ef="+ss="srinamue_btrf_iorlsp="eue_b         6 int sp="eue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s8=2donelass8">/*hred ao orphao item o8o7ait80>);>r"> 266 /a>19ne">1987            ce-css=s8=3donelass8"re* we only want to havL8oup p80=")sS+cstfs/fe-c+ockhref="+ss="sRB_EMPTY_ROOT         6 int RB_EMPTY_ROOTmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L3io_ctl" cla=L3251lass="l19ne" naio_ctl" cla=L3251line33"> 266 /a>19ne">1987            ce-css=s8=4donelass8"re* track o7a  *. #L379o8meone80ass=" class="""""""""goto sto_ct50" ide=L=u1973lass="l19ne" u"line4"> 337 /a>19ne">195f="fsss="sref">io_cts8=5f">/*hre8 re* start converting thl89, we80oss=""> 266 /a>19ne">1987            ce-css=s8=6f">/*hre8 re*/hred ao orphao iteml8srewe80t href="ss="ss_t"efshef">sre   ,s         6 int clasrine"="ef="+code=inamuerb_   ,s         6 int rb_   ,smue_btrf_iide=tlass,rb_firsL"srinrnfoss="k1rb_firsLmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L3io_ctl" cla=L3251lass="l19ne" naio_ctl" cla=L3251line34"> 366 /a>19ne">197        }>b* cl8s>sref"/a>);>iorhrefswe80WARN_Ollass=ce-css="s"ef="+cokue_btrf_iorhrefcace-css="srine"_ioref""srinrnfoss="k1" class="line"tne"_l4ef="+code=inamue=L3251_indexlass="l19ne" na=L3251_indexclas37"> 266 /a>19ne">1987            ce-css=s8=8f">b* cl8s-spsiz=of=         6 inl8s-swe80e=u64"> 266 /a>19ne">1987            ce-css=s8=9f">b* cl8sO" ide=L36520 class="l2l8sO"we80ref="+ss="srie-c+csto_ct50" ide=L   ,s         6 int clasrine""tne"_lock#L325" ide3e=L38019 6lass="l19 3e=L38mue_3 4"> 337 /a>19ne">196struct  a href="+cod281Ldonelass84" class="srnfo href="sss84" >s81"ef="+ss="srincueelocs_t"efshef">sreinof"+cstfs/free-sinoclas="esto_ct50" ide=L   ,s         6 int clasrine""tne"_lock#L325" ide=L3251lass="l19ne" na=L3251e"_l7"> 266 /a>19ne">1987            ce-css=s84ef">/*hre8a hre6="+coinfo href="sse8a h>s81e=L37"> 266 /a>19ne">1987            ce-css=s842donelass8tio" class="sgernfo hrefo8tio>s81ref = e=u64" class="snamue_btrf_iorlunuinkine"_ioref""srinrnfoss="k1unuinkine"_ioref"mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=   ,s         6 int clasrine"37"> 266 /a>19ne">1987            ce-css=s843donelass8eeeen - a hre6="+coree-sL8eee>s81=")sS+cstfs/free-spaclock#L325" ide=   ,s         6 int clasrine""tne"_lock#L325" ide=L3251lass="l19ne" na=L3251e"_l++7"> 266 /a>19ne">1987            ce-css=s844donelass8eeeen - a hre6="+coWARN_o8eee>s81ctl /a>cffseehref = nnamue_btrf_iorl   ,s         6 int clasrine""tne"_lock#L325" ide3671974lass="l19ne" namue=L37--7"> 266 /a>19ne">1987            ce-css=s845f">/*hre8sesS+cstfs/free-space-c+l8ses>s81oss=" 266 /a>19ne">1987            ce-css=s846f">/*hre8eeeen - a hre6="+cokmem_l8eee>s81t href="ss="srinkmem_href = nnamue_btrf_iorlkmemef)1" ine"_         6 int kmemef)1" ine"_mue_btrf_iide=tlass, hrefrio_ctl" clas)1" 8019 6lass="l19 3hrefrio_ctl" clas)1" 8clas4clock#L325" ide=   ,s         6 int clasrine"37"> 266 /a>19ne">1987            ce-css=s847f">b* cl8pace-6ache.66"sref">WARNl8pac>s81WARN_Ollass=ce-css="selse"> 266 /a>19ne">1987            ce-css=s848f">b* cl8O" ide=L3651919lass="l19l8O" >s81e=u64" class="srb_entrinkmem_lock#L325" ide=uinkine"_ioref""srinrnfoss="k1uinkine"_ioref"mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=   ,s         6 int clasrine"37"> 266 /a>19ne">1987            ce-css=s849f">b* cl8a hre6="+cocffsee-spelsel8a h>s81ref="+ss="sri} else 4"> 337 /a>19ne">196struct  a href="+cod282Ldonelass8a hre6="+conytest,lsref"s8a h>s82"ef="+ss="srincueelocs_t"efshef">sreeref"+cstfs/free-space-c+csto_ct50" ide=L=L3251lass="l19ne" na=L3251e"_lo"e79"> 377 /a>19ne">196     e-space-6ache.6s82ef">/*hre8 ss="sref">io_ctagainleoe8 ss>s82oss="ref="ftrfs/free-namue_btrf_iorleref"+cstfs/free-space-c+csto_ct50" ide=Lcou79rouphref="+ss="rou79e"_lo"e19"> 377 /a>19ne">196     e-space-6ache.6s822donelass8fs/free-space-c+csto_ct5o8fs/>s82ref = e=u64" class="se o_namue_btrf_iorlEAGAIlhref"1" class="line7"> 266 /a>19ne">1987            ce-css=s82ef">b* #L84" class="s64"sref">WARNL84" >s82=L325"> 327 /a>18ne">186        if (!-7actios82ef">b* po85" ide=L3751925lass="l19o85" >s82ctl /a>cffseehref = nnamue_btrf_iorlEAGAIlhref"1" class="line="enamue_btrf_iorlsearch_3e=L38019 6lass="l19 search_3e=L38mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=   ,s         6 int clasrine"9"amuelockhref="+ss="s=L3251lass="l19ne" na=L3251e"_l, amuelockhref="+ss="srou79rouphref="+ss="rou79e"_l37"> 266 /a>19ne">1987            ce-css=s825f">b* po8sref">io_ctrnfo href="ssl8sre>s82oss=" 376 /a>19ne">1997            ce-css=e8a6f">b* cl84" class="sree-spelsecctl84" >s82t href="ss="srinkmem_ockhref="+ss="sBUG_ONrouphref="+ss="BUG_ONmue_btrf_iide=tlass,rAGAIlhref"1" class="line37"> 266 /a>19ne">1987            ce-css=s827f">b* cl84" class="sWARN_Ol " clal84" >s827L325"> 327 /a>18ne">186        if (!-7actios8a8f">b* cl8tio" class="sgeree-spelsl8tio>s82e=u64" class="srb_entnamue_btrf_iorlinof"+cstfs/free-sinoclas="esto_ct50" ide=L=L3251lass="l19ne" na=L3251e"_l7"> 266 /a>19ne">1987            ce-css=s8a9f">b* cl8eeeegoto ss="sref">io_ctl8eee>s82ref="+ss="srincueelocnamue_btrf_iorl"e=L38_cleare3e=974lass="l19ne" ne=L38_cleare3e=9mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=   ,s         6 int clasrine"9"sto_ct50" ide=L=L3251lass="l19ne" na=L3251e"_l, 137"> 266 /a>19ne">1987            ce-css=s83Ldonelass85" ide=L3251931lass="l19s85" >s83"ef="+ss="srincueeloce-c+ockhref="+ss="s   ,s         6 int clasrine""tne"_lock#L325" ide3671974lass="l19ne" namue=L37 t= 03"> 266 /a>19ne">1987            ce-css=s83ef">/*hre8eturn6- acommref">/* Note8etu>s83oss="ref="ftrfs/free-ce-css="lock#L325" ide=ne"_i3e=L38019 6lass="l19 ne"_i3e=L38mue_btrf_iide=tlass,rintamuelockhref)k1" clas4clock#L325" ide=   ,s         6 int clasrine"37"> 266 /a>19ne">1987            ce-css=s83ef">b* fo8tio" class="sgecld_end>-o8tio>s83ref = e=u64" 5"> 266 /a>19ne">1987            ce-css=s83ef">b* #L8eeeen - a hre6="+conytesL8eee>s833"sristo_ct50" ide=L=u1973lass="l19ne" u"line:"> 266 /a>19ne">1987            ce-css=s83ef">b* po8eeeen - a hre6="+cocffseo8eee>s83ctl /a>cffseenamue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srintamuelockhref)k1" class="line"tne"_lock#L39ne" ue_b         6 int 9ne" ue_bclas37"> 266 /a>19ne">1987            ce-css=s835f">b* po8ffffgoto ss="sref">io_ctl8fff>s83oss=""> 266 /a>19ne">1987            ce-css=s836f">b* cl8ses-7actio" class="sgecll8ses>s83t href="ss="se" namusto_ct50" ide=Linof"+cstfs/free-sinoclas7"> 266 /a>19ne">1987            ce-css=s837f">b* cl8eeeen  return6- acommrefl8eee>s83WARN_5"> 266 /a>19ne">1987            ce-css=s838f">b* cl8e-spgoto ss="sref">io_ctl8e-s>s83e=u64"> 266 /a>19ne">1987            ce-css=s839f">b* cl8pace-6ache.66"sref">WARNl8pac>s83ref="ue_btrf_iorhrefcace-csinod"f"+cstfs/free-sinodne"_lock#L325" ide=L32lookup_="l19ino_inod"f"+cstfs/free-slookup_="l19ino_inod"mue_bue_btrf_iorhrefcace-css="srirooGAIlhref"1" class="srirooGe-c+cck#L325" ide=L32rooGAIlhref"1" clasrooGe-c+4"> 366 /a>19ne">197        }>s84"ef="+ss="srincueelocccccccccccccccccccccue_btrf_iorhrefcace-css="sripathAIlhref"1" class="sripathe-c+cck#L325" ide=L32pathAIlhref"1" claspathe-c+3"> 266 /a>19ne">1987            ce-css=s8aef">/*hre85" ide=L3251942lass="l19e85" >s84e=L374"> 337 /a>19ne">196struct  a href="+cod28aef">b* fo84" class="sree-spelseccto84" >s84ref = e=u64" ue_btrf_iorhrefcace-csinod"f"+cstfs/free-sinodne"_lock#L325" ide=L32inod"f"+cstfs/free-sinodne"_lo"ef="+code=inamueNULL         6 int NULLline7"> 266 /a>19ne">1987            ce-css=s84ef">b* #L8dddddddddddddddddddddddnL8ddd>s84=L325"> 327 /a>18ne">186        if (!-7actios8aef">b* po8ss="srine"_WARN_Ol " clao8ss=>s84ctl /a>cffseenamue_btrf_iorlsp="eue_b         6 int sp="eue_bmue_bamuelockhref="+ss="srooGAIlhref"1" clasrooGe-c+s="line"tne"_lock#L3f)1" iue_b         6 int f)1" iue_bclas37"> 266 /a>19ne">1987            ce-css=s845f">b* po8 ss="sref">io_ctoue-spell8 ss>s84oss=" 266 /a>19ne">1987            ce-css=s8a6f">b* cl8he.66"sref">WARN_O" ide=l8he.>s84t href="ss="srinkmem_s_t"efshef">sreinod"f"+cstfs/free-sinodne"_lo"ef="+code=inamueigrabf"+cstfs/free-sigrabmue_btrf_iide=tlass,rooGAIlhref"1" clasrooGe-c+s="line"tne"_lock#L3f)1" iinod"f"+cstfs/free-sf)1" iinod"e-c+37"> 266 /a>19ne">1987            ce-css=s847f">b* cl8ef">WARN_O" ide=L3651948l8ef">s847tl /a>cffseenamue_btrf_iorlsp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srooGAIlhref"1" clasrooGe-c+s="line"tne"_lock#L3f)1" iue_b         6 int f)1" iue_bclas37"> 266 /a>19ne">1987            ce-css=s848f">b* cl8O" ide=L3651949lass="l19l8O" >s84e=u64" class=o-c+ockhref="+ss="sinod"f"+cstfs/free-sinodne"_l3"> 266 /a>19ne">1987            ce-css=s8a9f">b* cl8pelsecctl /a>reehref = el8pel>s84ref="+ss="srincueeloce" namusto_ct50" ide=Linod"f"+cstfs/free-sinodne"_l7"> 266 /a>19ne">1987            ce-css=s85Ldonelass8ee-spelsecctl /a>reehrefs8ee->s85eL367"> 366 /a>19ne">1986truct  a hrece-css=s85ef">/*hre8f">io_ctagainleo_ct /a> e8f">>s851ef="+ss="srinamue_btrf_iorlinod"f"+cstfs/free-sinodne"_lo"ef="+code=inamue__lookup_="l19l" clainod"f"+cstfs/free-s__lookup_="l19l" clainod"mue_btrf_iide=tlass,rooGAIlhref"1" clasrooGe-c+4clock#L325" ide=pathAIlhref"1" claspathe-c+, 037"> 266 /a>19ne">1987            ce-css=s85ef">b* fo8l " class==  a hBUG_Ollao8l ">s852=u64" class=o-c+ockhref="+ss="sIS_ERRAIlhref"1" clasIS_ERRmue_btrf_iide=tlass,inod"f"+cstfs/free-sinodne"_l33"> 266 /a>19ne">1987            ce-css=s85ef">b* #L8"+ss="srincueelockss=":bL8"+s>s853"srine"_ree-="srincue" namusto_ct50" ide=Linod"f"+cstfs/free-sinodne"_l7"> 266 /a>19ne">1987            ce-css=s85ef">b* po8unlockhref="+ss="srinspio8unl>s85ctl /"> 377 /a>19ne">194                    s8eef">b* cl8l /a>cuehref:btrfs/free-l8l />s85oss=" 266 /a>19ne">1987            ce-css=s856f">b* cl8turee-spelsecctl /a>reehl8tur>s85t href="ss="se-c+csto_ct50" ide=L3hrefris_closing">sref"/a>);>na3hrefris_closingmue_btrf_iide=tlass,rooGAIlhref"1" clasrooGe-c+s="line"tne"_lock#L3is_infof"+cstfs/free-sis_infoe"_l33"> 266 /a>19ne">1987            ce-css=s857f">b* cl8_O" ide=L3651958lass="l1l8_O">s85WARN_Ollass=ce-css="strf_iide=tlass,rooGAIlhref"1" clasrooGe-c+s="line"tne"_lock#L3f)1" iinod"f"+cstfs/free-sf)1" iinod"e-c+o"ef="+code=inamueigrabf"+cstfs/free-sigrabmue_btrf_iide=tlass,inod"f"+cstfs/free-sinodne"_l37"> 266 /a>19ne">1987            ce-css=s858f">b* cl8O" ide=L3651959lass="l19l8O" >s85+code=istarthref="+ss="srinssp="eunue_b         6 int sp="eunue_bmue_bamuelockhref="+ss="srooGAIlhref"1" clasrooGe-c+s="line"tne"_lock#L3f)1" iue_b         6 int f)1" iue_bclas37"> 266 /a>19ne">1987            ce-css=s8e9f">b* cl8mp_namue_btrfhref="+ss="l8mp_>s85ref=""> 266 /a>19ne">1987            ce-css=s86Ldonelass8e-css="srine"_64"sref">Ws8e-c>s86"ef="+ss="srie" namusto_ct50" ide=Linod"f"+cstfs/free-sinodne"_l7"> 266 /a>19ne">1987            ce-css=s8eef">/*hre850" ide=L3801962lass="l1e850">s86oss="5"> 266 /a>19ne">1987            ce-css=s8eef">b* fo8asrine"_namue_btrf_iorefo8asr>s86>);>r"> 266 /a>19ne">1987            ce-css=s86ef">b* #L8asrine"_namue_btrfef">srL8asr>s863"srie o_namue_btrf_iorlcreate_="l19ino_inod"f"+cstfs/free-screate_="l19ino_inod"mue_bue_btrf_iorhrefcace-css="srirooGAIlhref"1" class="srirooGe-c+cck#L325" ide=L32rooGAIlhref"1" clasrooGe-c+4"> 366 /a>19ne">197        }>b* po8asrb_ncla-spelsecctl /a>o8asr>s86ctl /a>cffseehref = nnnnnnnnnnnue_btrf_iorhrefcace-css="sritrans_handl""srinrnfoss="k1" clastrans_handl"e-c+cck#L325" ide=L32trans         6 int 9nanse-c+4"> 366 /a>19ne">197        }>b* cl8oune-spelsecctl /a>counel8oun>s86oss=" 266 /a>19ne">1987            ce-css=s8e6f">b* cl8O" ide=L3651967lass="l19l8O" >s86t hre4"> 337 /a>19ne">196struct  a href="+cod2867f">b* cl8nleo_ct /a> =  an     = l8nle>s86WARN_Ollass=ce" namusto_ct50" ide=L__create_="l19l" clainod"f"+cstfs/free-s__create_="l19l" clainod"mue_btrf_iide=tlass,rooGAIlhref"1" clasrooGe-c+4clock#L325" ide=trans         6 int 9nanse-c+4clock#L325" ide=pathAIlhref"1" claspathe-c+,"> 337 /a>19ne">196struct  a href="+cod2868f">b* cl8+coinfo href="ss="srinrnl8+co>s86e=u64" class="srb_entkss="nnnnnnnnnnnce-css="strf_iide=tlass,BTRFS_FREE_INO_OBJECTIDrouphref="+ss="BTRFS_FREE_INO_OBJECTIDe-c+, 037"> 266 /a>19ne">1987            ce-css=s869f">b* cl8ss="sgernfo href="ss="srl8ss=>s86ref="5"> 266 /a>19ne">1987            ce-css=s87Ldonelass8a hre6="+cocoune-spelsecs8a h>s87eL367"> 366 /a>19ne">1986truct  a hrece-css=s87ef">/*hre8e"_prrntkhref="+ss="srine8e"_>s87e=L37e o_namue_btrf_iorlload_="l19ino_ock_grouphref="+ss="load_="l19ino_ock_gmue_bue_btrf_iorhrefcace-css="sriis_infof"+cstfs/free-ss="sriis_infoe-c+cck#L325" ide=L32is_infof"+cstfs/free-sis_infoe"_l,cue_btrf_iorhrefcace-css="srirooGAIlhref"1" class="srirooGe-c+cck#L325" ide=L32rooGAIlhref"1" clasrooGe-c+3"> 266 /a>19ne">1987            ce-css=s87ef">b* fo8gned long long)tio" claso8gne>s87ref =4"> 337 /a>19ne">196struct  a href="+cod287ef">b* #L8gned long long)tio" clasL8gne>s873"srine"_ree-ue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphref 266 /a>19ne">1987            ce-css=s87ef">b* po8 class="sgernfo href="sso8 cl>s874"srine"_ree-ue_btrf_iorhrefcace-css="sripathAIlhref"1" class="sripathe-c+cck#L325" ide=L32pathAIlhref"1" claspathe-c+7"> 266 /a>19ne">1987            ce-css=s87ef">b* cl8ef">WARN_O" ide=L3651976l8ef">s87oss=" 266 /a>19ne">1987            ce-css=s876f">b* cl8khref="+ss="srinprrntklal8khr>s87t href="ss="so o_namue_btrf_iorlEAGAIlhref"1" class="line="e79"> 377 /a>19ne">196     e-space-6ache.6s877f">b* cl8"_list_empty-spelsecctl l8"_l>s877tl /a>cffseenamue_btrf_iorleref"+cstfs/free-space-c+csto_ct50" ide=LrooG_genf"+cstfs/free-srooG_genhref="ef="+code=inamues="srirooG_generationf"+cstfs/free-ss="srirooG_generationmue_bamuelockhref="+ss="srooGAIlhref"1" clasrooGe-c+s="line"tne"_lock#L3rooG_itemf"+cstfs/free-srooG_itemclas37"> 266 /a>19ne">1987            ce-css=s878f">b* cl8khref="+ss="srinprrntklal8khr>s87e=u64"> 266 /a>19ne">1987            ce-css=s879f">b* cl8strrng">"\n"hrl8str>s87ref="+ss="srie-c+csto_ct50" ide=L" clastest_opGAIlhref"1" class="sritest_opGmue_btrf_iide=tlass,rooGAIlhref"1" clasrooGe-c+4clock#L325" ide=INODE_MAP_CACHEAIlhref"1" clasINODE_MAP_CACHEe"_l33"> 266 /a>19ne">1987            ce-css=s88Ldonelass8_O" ide=L3651981lass="l1s8_O">s88"ef="+ss="srincueeloce" namu79"> 377 /a>19ne">196     e-space-6ache.6s88ef">/*hre85" ide=L3251982lass="l19e85" >s88e=L37"> 266 /a>19ne">1987            ce-css=s88ef">b* fo8it_namue_btrf_ioref">sreo8it_>s882=u64" class=sfs/freeeeeeeee* oops amue=L379"> 376 /a>19ne">1997            ce-css=e88ef">b* #L850" ide=L3801984lass="l1L850">s88=")sSsfs/freeeeeeeee* oops          * If we're unmou79ing then=justce" nam,cuince this does a search omut" cl=L379"> 376 /a>19ne">1997            ce-css=e88ef">b* po8asrine"_namue_btrf_iorefo8asr>s88ctl /sfs/freeeeeeeee* oops          * normal rooG and not the  e* it rooG and we  euld deadue_b.cl=L379"> 376 /a>19ne">1997            ce-css=e88ef">b* cl80" ide=L3801986lass="l19l80" >s88oss="sfs/freeeeeeeee* oops          *mue=L379"> 376 /a>19ne">1997            ce-css=e886f">b* cl8lock_inithref="+ss="srinl8loc>s88t href="ss="se-c+sto_ct50" ide=L3hrefris_closing">sref"/a>);>na3hrefris_closingmue_btrf_iide=tlass,is_infof"+cstfs/free-sis_infoe"_l33"> 266 /a>19ne">1987            ce-css=s887f">b* cl8">sref"/a>);>iorhrefs>s88WARN_Ollass=ce-css="se" namu79"> 377 /a>19ne">196     e-space-6ache.6s888f">b* cl8">sref"/a>);>iorhrefs>s88e=u64"> 266 /a>19ne">1987            ce-css=s889f">b* cl8">sref"/a>);>iorhrefs>s88ref="+ss="srinamue_btrf_iorlpathAIlhref"1" claspathe-c+="ef="+code=inamues="sriallocipathAIlhref"1" class="sriallocipathmue_b37"> 266 /a>19ne">1987            ce-css=s89Ldonelass8">sref"/a>);>iorhrefs>s89"ef="+ss="srie-c+csto_ct50" ide=LpathAIlhref"1" claspathe-c+3"> 266 /a>19ne">1987            ce-css=s89ef">/*hre85" ide=L3251992lass="l19e85" >s89oss="ref="ftrfs/free-e" namu79"> 377 /a>19ne">196     e-space-6ache.6s89ef">b* fo8">/*hred ao orphao item o8">/>s89>);>r"> 266 /a>19ne">1987            ce-css=s89ef">b* #L8fre* we only want to havL8fre>s89=")sS+cstfs/fnamue_btrf_iorlinod"f"+cstfs/free-sinodne"_lo"ef="+code=inamuelookup_="l19ino_inod"f"+cstfs/free-slookup_="l19ino_inod"mue_btrf_iide=tlass,rooGAIlhref"1" clasrooGe-c+4clock#L325" ide=pathAIlhref"1" claspathe-c+37"> 266 /a>19ne">1987            ce-css=s89ef">b* po8fre* track o7a  *. #L379o8fre>s894 href="ss="se-c+sto_ct50" ide=LIS_ERRAIlhref"1" clasIS_ERRmue_btrf_iide=tlass,inod"f"+cstfs/free-sinodne"_l33"> 266 /a>19ne">1987            ce-css=s89ef">b* cl8fre* start converting thl8fre>s89oss=" 337 /a>19ne">195f="fsss="sref">io_cts896f">b* cl8fre*/hred ao orphao iteml8fre>s89t hre"> 337 /a>19ne">195f="fsss="sref">io_cts897f">b* cl8">sref"/a>);>iorhrefs>s89WARN_Ollass=co-c+ockhref="+ss="sEooG_genf"+cstfs/free-srooG_genhref=!"ef="+code=inamueBTRFS_Irouphref="+ss="BTRFS_Imue_btrf_iide=tlass,inod"f"+cstfs/free-sinodne"_l3s="line"tne"_lock#L3generationf"+cstfs/free-sgenerationmue_3"> 266 /a>19ne">1987            ce-css=s898f">b* cl8e-spsiz=of=         6 inl8e-s>s89e=u64" class="srb_entgoto sto_ct50" ide=L=u1_pu1973lass="l19ne" u"_pu1line4"> 337 /a>19ne">195f="fsss="sref">io_cts899f">b* cl8_O" ide=L36520 class="l2l8_O">s89ref=""> 266 /a>19ne">1987            ce-css=s9=Ldonelass9"44/59/e9e2b9b08592e109aa95c5cb900")sS+cstfs/fnamue_btrf_iorlEAGAIlhref"1" class="line="enamue_btrf_iorl__load_="l19l" clas)1" f"+cstfs/free-s__load_="l19l" clas)1" mue_btrf_iide=tlass,rooGAIlhref"1" clasrooGe-c+4clock#L325" ide=inod"f"+cstfs/free-sinodne"_l4clock#L325" ide=rintamuelockhref)k1" clas4clock#L325" ide=pathAIlhref"1" claspathe-c+, 037"> 266 /a>19ne">1987            ce-css=s9=1donelass9"" ide=L3251992lass="l19e9c#L3790e=L37"> 266 /a>19ne">1987            ce-css=s9=2donelass9">/*hred ao orphao item o9o7ait902=u64" class=o-c+ockhref="+ss="sEAGAIlhref"1" class="line=kl" u03"> 266 /a>19ne">1987            ce-css=s9=3donelass9"re* we only want to havL9oup p90=")sS+cstfs/free-spaclock#L325" ide=printb         6 int printbmue_btrf_iide=tlass,KERN_ERRAIlhref"1" clasKERN_ERRe-c+csfs/freeeeeeestring">"e">19: failed to load 7    ino   ce- for "ue=L379"> 376 /a>19ne">1997            ce-css=e9=4donelass9"re* track o7a  *. #L379o9meone90ass=" class="""""""""ee-spaclfs/freeeeeeestring">"rooG %llu\n"ue=L3794clock#L325" ide=rooGAIlhref"1" clasrooGe-c+s="line"tne"_lock#L3rooG_kes         6 int rooG_kese-c+.sto_ct50" ide=L=bjectid         6 int =bjectide-c+37"> 266 /a>19ne">1987            ce-css=s9=5f">/*hre9 re* start converting thl99, we90oss="lock#L325" ide==u1_pu1973lass="l19ne" u"_pu1line:"> 266 /a>19ne">1987            ce-css=s9=6f">/*hre9 re*/hred ao orphao iteml9srewe90t href="ss="ss_t"efshef">sreipu1973lass="l19ne"ipu1linebtrf_iide=tlass,inod"f"+cstfs/free-sinodne"_l37"> 266 /a>19ne">1987            ce-css=s9r7f">b* cl9s>sref"/a>);>iorhrefswe90WARN_sto_ct50" ide=L=u1973lass="l19ne" u"line:"> 266 /a>19ne">1987            ce-css=s9=8f">b* cl9s-spsiz=of=         6 inl9s-swe90+code=istarthref="+ss="srins hrefrio_ctpathAIlhref"1" class="sriio_ctpathlinebtrf_iide=tlass,pathAIlhref"1" claspathe-c+37"> 266 /a>19ne">1987            ce-css=s9=9f">b* cl9sO" ide=L36520 class="l2l9sO"we90ref="+ss="srie" namusto_ct50" ide=LEAGAIlhref"1" class="line7"> 266 /a>19ne">1987            ce-css=s91Ldonelass94" class="srnfo href="sss94" >s91"ef="5"> 266 /a>19ne">1987            ce-css=s94ef">/*hre9a hre6="+coinfo href="sse9a h>s91e=L37"> 266 /a>19ne">1987            ce-css=s942donelass9tio" class="sgernfo hrefo9tio>s91ref =o o_namue_btrf_iorl" claswrite_ u"_ino_ock_grouphref="+ss="" claswrite_ u"_ino_ock_gmue_bue_btrf_iorhrefcace-css="srirooGAIlhref"1" class="srirooGe-c+cck#L325" ide=L32rooGAIlhref"1" clasrooGe-c+4"> 366 /a>19ne">197        }>s91=")sS+cstfs/free-spacccccccccccccccue_btrf_iorhrefcace-css="sritrans_handl""srinrnfoss="k1" clastrans_handl"e-c+cck#L325" ide=L32trans         6 int 9nanse-c+4"> 366 /a>19ne">197        }>s91ctl /a>cffseehref = nccccccccccccccue_btrf_iorhrefcace-css="sripathAIlhref"1" class="sripathe-c+cck#L325" ide=L32pathAIlhref"1" claspathe-c+3"> 266 /a>19ne">1987            ce-css=s945f">/*hre9sesS+cstfs/free-space-c+l9ses>s91oss="4"> 337 /a>19ne">196struct  a href="+cod2946f">/*hre9eeeen - a hre6="+cokmem_l9eee>s91t href="ss="sue_btrf_iorhrefcace-css="srine"_ioref">sref"/a>);>iorhref hrefrio_ctl" clasalock_grouphref="+ss="srinelock_grouphref 266 /a>19ne">1987       a href="+cod2947f">b* cl9pace-6ache.66"sref">WARNl9pac>s91WARN_Ollass=cue_btrf_iorhrefcace-csinod"f"+cstfs/free-sinodne"_lock#L325" ide=L32inod"f"+cstfs/free-sinodne"_l7"> 266 /a>19ne">1987            ce-css=s948f">b* cl9O" ide=L3651919lass="l19l9O" >s91e=u64" class=e o_namue_btrf_iorlEAGAIlhref"1" class="line7"> 266 /a>19ne">1987            ce-css=s949f">b* cl9a hre6="+cocffsee-spelsel9a h>s91ref=""> 266 /a>19ne">1987            ce-css=s92Ldonelass9a hre6="+conytest,lsref"s9a h>s92"ef="+ss="srie-c+csto_ct50" ide=L" clastest_opGAIlhref"1" class="sritest_opGmue_btrf_iide=tlass,rooGAIlhref"1" clasrooGe-c+4clock#L325" ide=INODE_MAP_CACHEAIlhref"1" clasINODE_MAP_CACHEe"_l33"> 266 /a>19ne">1987            ce-css=s92ef">/*hre9 ss="sref">io_ctagainleoe9 ss>s92oss="ref="ftrfs/free-e" namu79"> 377 /a>19ne">196     e-space-6ache.6s922donelass9fs/free-space-c+csto_ct5o9fs/>s92>);>r"> 266 /a>19ne">1987            ce-css=s92ef">b* #L94" class="s64"sref">WARNL94" >s92=")sS+cstfs/fnamue_btrf_iorlinod"f"+cstfs/free-sinodne"_lo"ef="+code=inamuelookup_="l19ino_inod"f"+cstfs/free-slookup_="l19ino_inod"mue_btrf_iide=tlass,rooGAIlhref"1" clasrooGe-c+4clock#L325" ide=pathAIlhref"1" claspathe-c+37"> 266 /a>19ne">1987            ce-css=s924donelass95" ide=L3751925lass="l19o95" >s924 href="ss="se-c+sto_ct50" ide=LIS_ERRAIlhref"1" clasIS_ERRmue_btrf_iide=tlass,inod"f"+cstfs/free-sinodne"_l33"> 266 /a>19ne">1987            ce-css=s925f">b* po9sref">io_ctrnfo href="ssl9sre>s92oss=" 377 /a>19ne">196     e-space-6ache.6s926f">/*hre94" class="sree-spelsecctl94" >s92t hre"> 337 /a>19ne">195f="fsss="sref">io_cts927f">b* cl94" class="sWARN_Ol " clal94" >s927tl /a>cffseenamue_btrf_iorlEAGAIlhref"1" class="line="enamue_btrf_iorl__" claswrite_ u"_s)1" f"+cstfs/free-s__" claswrite_ u"_s)1" mue_btrf_iide=tlass,rooGAIlhref"1" clasrooGe-c+4clock#L325" ide=inod"f"+cstfs/free-sinodne"_l4clock#L325" ide=rintamuelockhref)k1" clas4clock#L325" ide=NULL         6 int NULLline4clock#L325" ide=trans         6 int 9nanse-c+4clock#L325" ide=pathAIlhref"1" claspathe-c+, 037"> 266 /a>19ne">1987            ce-css=s9a8f">b* cl9tio" class="sgeree-spelsl9tio>s92e=u64" class=o-c+ockhref="+ss="srAGAIlhref"1" class="line3 4"> 337 /a>19ne">196struct  a href="+cod29a9f">b* cl9eeeegoto ss="sref">io_ctl9eee>s92ref="+ss="srincueelocnamue_btrf_iorl" clasdelallocirelease_metadataAIlhref"1" class="sridelallocirelease_metadatamue_btrf_iide=tlass,inod"f"+cstfs/free-sinodne"_l4clock#L325" ide=inod"f"+cstfs/free-sinodne"_ls="line"tne"_lock#L3i_siz"f"+cstfs/free-si_siz"e-c+37"> 266 /a>19ne">1987            ce-css=s93Ldonelass95" ide=L3251931lass="l19s95" >s93"ef="#ifdefclock#L325" ide=DEBUGf"+cstfs/free-sDEBUG hre"> 337 /a>19ne">195f="fsss="sref">io_cts93ef">/*hre9eturn6- acommref">/* Note9etu>s93oss="ref="ftrfs/free-lock#L325" ide=printb         6 int printbmue_btrf_iide=tlass,KERN_ERRAIlhref"1" clasKERN_ERRe-c+csfs/freeeeeeestring">"e">19: failed to write 7    ino   ce- "ue=L379"> 376 /a>19ne">1997            ce-css=e93ef">b* fo9tio" class="sgecld_end>-o9tio>s93ref = e=u64" class="snnnnnnnsfs/freeeeeeestring">"for rooG %llu\n"ue=L3794clock#L325" ide=rooGAIlhref"1" clasrooGe-c+s="line"tne"_lock#L3rooG_kes         6 int rooG_kese-c+.sto_ct50" ide=L=bjectid         6 int =bjectide-c+37"> 266 /a>19ne">1987            ce-css=s93ef">b* #L9eeeen - a hre6="+conytesL9eee>s933"sri#endif"> 266 /a>19ne">1987            ce-css=s934donelass9eeeen - a hre6="+cocffseo9eee>s93ctl /a>cffsee5"> 266 /a>19ne">1987            ce-css=s935f">b* po9ffffgoto ss="sref">io_ctl9fff>s93oss=""> 266 /a>19ne">1987            ce-css=s936f">b* cl9ses-7actio" class="sgecll9ses>s93t href="ss="ss_t"efshef">sreipu1973lass="l19ne"ipu1linebtrf_iide=tlass,inod"f"+cstfs/free-sinodne"_l37"> 266 /a>19ne">1987            ce-css=s937f">b* cl9eeeen  return6- acommrefl9eee>s93WARN_Ollass=ce" namusto_ct50" ide=LEAGAIlhref"1" class="line7"> 266 /a>19ne">1987            ce-css=s938f">b* cl9e-spgoto ss="sref">io_ctl9e-s>s93e=u645"> 266 /a>19ne">1987            ce-css=s939f">b* cl9pace-6ache.66"sref">WARNl9pac>s93ref="


Te- original LXR software by the > 266 /a>http://sourceforge.net/projects/lxr">LXR ee* unitrine"9"this experi oopal version by > 266 /a>mailto:lxr@66"ux.no-slxr@66"ux.noe-c+.
lxr.66"ux.no kindly hosted by > 266 /a>http://www.redpill-66"pro.no-sRedpill L6"pro ASine"9"provider of L6"ux eensul9ing and operations servicescuince 1995.