Symbol: async_chunk
fs/btrfs/inode.c
1024
static void submit_one_async_extent(struct async_chunk *async_chunk,
fs/btrfs/inode.c
1028
struct btrfs_inode *inode = async_chunk->inode;
fs/btrfs/inode.c
1043
if (async_chunk->blkcg_css)
fs/btrfs/inode.c
1044
kthread_associate_blkcg(async_chunk->blkcg_css);
fs/btrfs/inode.c
1050
if (async_chunk->locked_folio) {
fs/btrfs/inode.c
1051
u64 locked_folio_start = folio_pos(async_chunk->locked_folio);
fs/btrfs/inode.c
1053
folio_size(async_chunk->locked_folio) - 1;
fs/btrfs/inode.c
1056
locked_folio = async_chunk->locked_folio;
fs/btrfs/inode.c
1119
if (async_chunk->blkcg_css)
fs/btrfs/inode.c
1137
if (async_chunk->blkcg_css)
fs/btrfs/inode.c
1524
struct async_chunk *async_chunk = container_of(work, struct async_chunk,
fs/btrfs/inode.c
1534
btrfs_add_delayed_iput(async_chunk->inode);
fs/btrfs/inode.c
1535
if (async_chunk->blkcg_css)
fs/btrfs/inode.c
1536
css_put(async_chunk->blkcg_css);
fs/btrfs/inode.c
1538
async_cow = async_chunk->async_cow;
fs/btrfs/inode.c
1544
nr_pages = (async_chunk->end - async_chunk->start + PAGE_SIZE) >>
fs/btrfs/inode.c
1547
while (!list_empty(&async_chunk->extents)) {
fs/btrfs/inode.c
1548
async_extent = list_first_entry(&async_chunk->extents,
fs/btrfs/inode.c
1551
submit_one_async_extent(async_chunk, async_extent, &alloc_hint);
fs/btrfs/inode.c
1567
struct async_chunk *async_chunk;
fs/btrfs/inode.c
1582
async_chunk = ctx->chunks;
fs/btrfs/inode.c
1593
async_chunk[i].async_cow = ctx;
fs/btrfs/inode.c
1594
async_chunk[i].inode = inode;
fs/btrfs/inode.c
1595
async_chunk[i].start = start;
fs/btrfs/inode.c
1596
async_chunk[i].end = cur_end;
fs/btrfs/inode.c
1597
async_chunk[i].write_flags = write_flags;
fs/btrfs/inode.c
1598
INIT_LIST_HEAD(&async_chunk[i].extents);
fs/btrfs/inode.c
1622
async_chunk[i].locked_folio = locked_folio;
fs/btrfs/inode.c
1625
async_chunk[i].locked_folio = NULL;
fs/btrfs/inode.c
1630
async_chunk[i].blkcg_css = blkcg_css;
fs/btrfs/inode.c
1631
async_chunk[i].write_flags |= REQ_BTRFS_CGROUP_PUNT;
fs/btrfs/inode.c
1633
async_chunk[i].blkcg_css = NULL;
fs/btrfs/inode.c
1636
btrfs_init_work(&async_chunk[i].work, compress_file_range,
fs/btrfs/inode.c
1642
btrfs_queue_work(fs_info->delalloc_workers, &async_chunk[i].work);
fs/btrfs/inode.c
706
struct async_chunk chunks[];
fs/btrfs/inode.c
709
static int add_async_extent(struct async_chunk *cow, u64 start, u64 ram_size,
fs/btrfs/inode.c
858
struct async_chunk *async_chunk =
fs/btrfs/inode.c
859
container_of(work, struct async_chunk, work);
fs/btrfs/inode.c
860
struct btrfs_inode *inode = async_chunk->inode;
fs/btrfs/inode.c
864
u64 start = async_chunk->start;
fs/btrfs/inode.c
865
u64 end = async_chunk->end;
fs/btrfs/inode.c
945
compress_level, async_chunk->write_flags);
fs/btrfs/inode.c
976
ret = add_async_extent(async_chunk, start, total_in, cb);
fs/btrfs/inode.c
989
ret = add_async_extent(async_chunk, start, end - start + 1, NULL);