Lines Matching refs:fbl
9 #include <fbl/auto_call.h>
10 #include <fbl/unique_ptr.h>
75 fbl::RefPtr<RegionAllocator::RegionPool> region_pool =
80 status = region_alloc_.SetRegionPool(fbl::move(region_pool));
95 fbl::unique_ptr<DeviceContext>* device) {
102 fbl::AllocChecker ac;
103 fbl::unique_ptr<DeviceContext> dev(new (&ac) DeviceContext(bdf, domain_id, parent,
124 *device = fbl::move(dev);
130 fbl::unique_ptr<DeviceContext>* device) {
138 fbl::AllocChecker ac;
139 fbl::unique_ptr<DeviceContext> dev(new (&ac) DeviceContext(bdf, domain_id,
173 *device = fbl::move(dev);
195 zx_status_t DeviceContext::SecondLevelMap(const fbl::RefPtr<VmObject>& vmo, uint64_t offset,
209 zx_status_t DeviceContext::SecondLevelMapDiscontiguous(const fbl::RefPtr<VmObject>& vmo,
226 fbl::unique_ptr<const RegionAllocator::Region> region;
234 fbl::AllocChecker ac;
243 auto cleanup_partial = fbl::MakeAutoCall([&]() {
252 size_t chunk_size = fbl::min(remaining, kNumEntriesPerLookup * PAGE_SIZE);
277 allocated_regions_.push_back(fbl::move(region), &ac);
286 zx_status_t DeviceContext::SecondLevelMapContiguous(const fbl::RefPtr<VmObject>& vmo,
308 fbl::unique_ptr<const RegionAllocator::Region> region;
317 fbl::AllocChecker ac;
334 allocated_regions_.push_back(fbl::move(region), &ac);
349 fbl::unique_ptr<const RegionAllocator::Region> region;
357 fbl::AllocChecker ac;
371 allocated_regions_.push_back(fbl::move(region), &ac);