fs/btrfs/inode.c
1024
compress_level, async_chunk->write_flags);
fs/btrfs/inode.c
1085
ret = add_async_extent(async_chunk, start, total_in, cb);
fs/btrfs/inode.c
1098
ret = add_async_extent(async_chunk, start, end - start + 1, NULL);
fs/btrfs/inode.c
1133
static void submit_one_async_extent(struct async_chunk *async_chunk,
fs/btrfs/inode.c
1137
struct btrfs_inode *inode = async_chunk->inode;
fs/btrfs/inode.c
1152
if (async_chunk->blkcg_css)
fs/btrfs/inode.c
1153
kthread_associate_blkcg(async_chunk->blkcg_css);
fs/btrfs/inode.c
1159
if (async_chunk->locked_folio) {
fs/btrfs/inode.c
1160
u64 locked_folio_start = folio_pos(async_chunk->locked_folio);
fs/btrfs/inode.c
1162
folio_size(async_chunk->locked_folio) - 1;
fs/btrfs/inode.c
1165
locked_folio = async_chunk->locked_folio;
fs/btrfs/inode.c
1228
if (async_chunk->blkcg_css)
fs/btrfs/inode.c
1246
if (async_chunk->blkcg_css)
fs/btrfs/inode.c
1659
struct async_chunk *async_chunk = container_of(work, struct async_chunk,
fs/btrfs/inode.c
1669
btrfs_add_delayed_iput(async_chunk->inode);
fs/btrfs/inode.c
1670
if (async_chunk->blkcg_css)
fs/btrfs/inode.c
1671
css_put(async_chunk->blkcg_css);
fs/btrfs/inode.c
1673
async_cow = async_chunk->async_cow;
fs/btrfs/inode.c
1679
nr_pages = (async_chunk->end - async_chunk->start + PAGE_SIZE) >>
fs/btrfs/inode.c
1682
while (!list_empty(&async_chunk->extents)) {
fs/btrfs/inode.c
1683
async_extent = list_first_entry(&async_chunk->extents,
fs/btrfs/inode.c
1686
submit_one_async_extent(async_chunk, async_extent, &alloc_hint);
fs/btrfs/inode.c
1702
struct async_chunk *async_chunk;
fs/btrfs/inode.c
1717
async_chunk = ctx->chunks;
fs/btrfs/inode.c
1728
async_chunk[i].async_cow = ctx;
fs/btrfs/inode.c
1729
async_chunk[i].inode = inode;
fs/btrfs/inode.c
1730
async_chunk[i].start = start;
fs/btrfs/inode.c
1731
async_chunk[i].end = cur_end;
fs/btrfs/inode.c
1732
async_chunk[i].write_flags = write_flags;
fs/btrfs/inode.c
1733
INIT_LIST_HEAD(&async_chunk[i].extents);
fs/btrfs/inode.c
1757
async_chunk[i].locked_folio = locked_folio;
fs/btrfs/inode.c
1760
async_chunk[i].locked_folio = NULL;
fs/btrfs/inode.c
1765
async_chunk[i].blkcg_css = blkcg_css;
fs/btrfs/inode.c
1766
async_chunk[i].write_flags |= REQ_BTRFS_CGROUP_PUNT;
fs/btrfs/inode.c
1768
async_chunk[i].blkcg_css = NULL;
fs/btrfs/inode.c
1771
btrfs_init_work(&async_chunk[i].work, compress_file_range,
fs/btrfs/inode.c
1777
btrfs_queue_work(fs_info->delalloc_workers, &async_chunk[i].work);
fs/btrfs/inode.c
776
struct async_chunk chunks[];
fs/btrfs/inode.c
779
static int add_async_extent(struct async_chunk *cow, u64 start, u64 ram_size,
fs/btrfs/inode.c
934
struct async_chunk *async_chunk =
fs/btrfs/inode.c
935
container_of(work, struct async_chunk, work);
fs/btrfs/inode.c
936
struct btrfs_inode *inode = async_chunk->inode;
fs/btrfs/inode.c
942
u64 start = async_chunk->start;
fs/btrfs/inode.c
943
u64 end = async_chunk->end;