Lines Matching refs:prealloc
828 struct btrfs_subpage *prealloc) in attach_extent_buffer_folio() argument
852 btrfs_free_subpage(prealloc); in attach_extent_buffer_folio()
856 if (prealloc) in attach_extent_buffer_folio()
858 folio_attach_private(folio, prealloc); in attach_extent_buffer_folio()
2851 struct btrfs_subpage *prealloc, in attach_eb_folio_to_filemap() argument
2914 ret = attach_extent_buffer_folio(eb, eb->folios[i], prealloc); in attach_eb_folio_to_filemap()
2938 struct btrfs_subpage *prealloc = NULL; in alloc_extent_buffer() local
2983 prealloc = btrfs_alloc_subpage(fs_info, BTRFS_SUBPAGE_METADATA); in alloc_extent_buffer()
2984 if (IS_ERR(prealloc)) { in alloc_extent_buffer()
2985 ret = PTR_ERR(prealloc); in alloc_extent_buffer()
2994 btrfs_free_subpage(prealloc); in alloc_extent_buffer()
3003 ret = attach_eb_folio_to_filemap(eb, i, prealloc, &existing_eb); in alloc_extent_buffer()