/fuchsia/zircon/kernel/syscalls/ |
H A D | channel.cpp | 21 #include <fbl/algorithm.h> 22 #include <fbl/ref_ptr.h> 61 fbl::RefPtr<Dispatcher> mpd0, mpd1; 70 result = out0->make(fbl::move(mpd0), rights); 72 result = out1->make(fbl::move(mpd1), rights); 109 up->AddHandle(fbl::move(handle)); 124 fbl::RefPtr<ChannelDispatcher> channel; 133 fbl::unique_ptr<MessagePacket> msg; 192 fbl::unique_ptr<MessagePacket> reply, 223 fbl [all...] |
H A D | port.cpp | 16 #include <fbl/alloc_checker.h> 17 #include <fbl/ref_ptr.h> 33 fbl::RefPtr<Dispatcher> dispatcher; 42 result = out->make(fbl::move(dispatcher), rights); 53 fbl::RefPtr<PortDispatcher> port; 72 fbl::RefPtr<PortDispatcher> port; 97 fbl::RefPtr<PortDispatcher> port; 103 Guard<fbl::Mutex> guard{up->handle_table_lock()};
|
/fuchsia/zircon/system/dev/light/ams-light/ |
H A D | tcs3400.cpp | 14 #include <fbl/algorithm.h> 15 #include <fbl/auto_call.h> 16 #include <fbl/auto_lock.h> 17 #include <fbl/unique_ptr.h> 57 fbl::AutoLock lock(&i2c_lock_); 84 zx_time_t timeout = fbl::min(poll_timeout, irq_rearm_timeout); 108 fbl::AutoLock lock(&feature_lock_); 131 fbl::AutoLock lock(&i2c_lock_); 144 fbl::AutoLock lock(&feature_lock_); 149 fbl [all...] |
/fuchsia/zircon/system/dev/nand/skip-block/ |
H A D | skip-block.cpp | 14 #include <fbl/algorithm.h> 15 #include <fbl/alloc_checker.h> 16 #include <fbl/unique_ptr.h> 152 fbl::AllocChecker ac; 153 fbl::unique_ptr<SkipBlockDevice> device(new (&ac) SkipBlockDevice(parent, nand_proto, 169 zx_status_t SkipBlockDevice::GetBadBlockList(fbl::Array<uint32_t>* bad_blocks) { 180 fbl::unique_ptr<uint32_t[]> bad_block_list(new uint32_t[bad_block_count]); 188 *bad_blocks = fbl::move(fbl::Array<uint32_t>(bad_block_list.release(), bad_block_count)); 195 fbl [all...] |
/fuchsia/zircon/system/ulib/fbl/include/fbl/ |
H A D | vector.h | 9 #include <fbl/alloc_checker.h> 10 #include <fbl/initializer_list.h> 11 #include <fbl/macros.h> 12 #include <fbl/new.h> 13 #include <fbl/type_support.h> 16 namespace fbl { namespace 76 Vector(fbl::initializer_list<T> init) 145 push_back_internal(fbl::move(value), ac); 154 push_back_internal(fbl::move(value)); 163 insert_internal(index, fbl [all...] |
/fuchsia/zircon/system/utest/policy/ |
H A D | job-policy.cpp | 18 #include <fbl/algorithm.h> 19 #include <fbl/type_support.h> 81 ZX_JOB_POL_ABSOLUTE, ZX_JOB_POL_BASIC, policy, static_cast<uint32_t>(fbl::count_of(policy))), ZX_OK); 86 ZX_JOB_POL_ABSOLUTE, ZX_JOB_POL_BASIC, policy, static_cast<uint32_t>(fbl::count_of(policy))), ZX_ERR_ALREADY_EXISTS); 91 ZX_JOB_POL_ABSOLUTE, ZX_JOB_POL_BASIC, policy, static_cast<uint32_t>(fbl::count_of(policy))), ZX_OK); 96 ZX_JOB_POL_RELATIVE, ZX_JOB_POL_BASIC, policy, static_cast<uint32_t>(fbl::count_of(policy))), ZX_OK); 105 ZX_JOB_POL_ABSOLUTE, ZX_JOB_POL_BASIC, more, static_cast<uint32_t>(fbl::count_of(more))), ZX_OK); 128 options, ZX_JOB_POL_BASIC, policy2, static_cast<uint32_t>(fbl::count_of(policy2))), ZX_ERR_INVALID_ARGS); 135 options, ZX_JOB_POL_BASIC, policy3, static_cast<uint32_t>(fbl::count_of(policy2))), ZX_ERR_NOT_SUPPORTED); 142 options, ZX_JOB_POL_BASIC, policy4, static_cast<uint32_t>(fbl [all...] |
/fuchsia/zircon/system/ulib/minfs/ |
H A D | host.cpp | 16 #include <fbl/limits.h> 17 #include <fbl/ref_ptr.h> 18 #include <fbl/unique_ptr.h> 30 zx_status_t do_stat(fbl::RefPtr<fs::Vnode> vn, struct stat* s) { 45 fbl::RefPtr<fs::Vnode> vn; 100 fbl::RefPtr<minfs::VnodeMinfs> fake_root = nullptr; 101 fbl::unique_ptr<fs::Vfs> fake_vfs = nullptr; 107 fbl::unique_fd fd(open(path, O_RDWR)); 121 fbl::unique_ptr<minfs::Bcache> bc; 122 if (minfs::Bcache::Create(&bc, fbl [all...] |
/fuchsia/zircon/system/dev/block/fvm/ |
H A D | fvm.cpp | 11 #include <fbl/array.h> 12 #include <fbl/atomic.h> 13 #include <fbl/auto_call.h> 14 #include <fbl/auto_lock.h> 15 #include <fbl/limits.h> 16 #include <fbl/new.h> 36 fbl::unique_ptr<SliceExtent> SliceExtent::Split(size_t vslice) { 39 fbl::AllocChecker ac; 40 fbl::unique_ptr<SliceExtent> new_extent(new (&ac) SliceExtent(vslice + 1)); 54 return fbl [all...] |
/fuchsia/zircon/kernel/arch/arm64/include/arch/ |
H A D | hypervisor.h | 10 #include <fbl/ref_ptr.h> 11 #include <fbl/unique_ptr.h> 33 static zx_status_t Create(fbl::unique_ptr<Guest>* out); 38 fbl::RefPtr<PortDispatcher> port, uint64_t key); 48 fbl::unique_ptr<hypervisor::GuestPhysicalAddressSpace> gpas_; 52 fbl::Mutex vcpu_mutex_; 105 static zx_status_t Create(Guest* guest, zx_vaddr_t entry, fbl::unique_ptr<Vcpu>* out); 118 fbl::atomic_bool running_;
|
/fuchsia/zircon/kernel/arch/x86/ |
H A D | bootstrap16.cpp | 16 #include <fbl/algorithm.h> 17 #include <fbl/auto_call.h> 18 #include <fbl/mutex.h> 27 static fbl::Mutex bootstrap_lock; 36 zx_status_t x86_bootstrap16_acquire(uintptr_t entry64, fbl::RefPtr<VmAspace>* temp_aspace, 52 fbl::RefPtr<VmAspace> bootstrap_aspace = VmAspace::Create(VmAspace::TYPE_LOW_KERNEL, 63 auto ac = fbl::MakeAutoCall([&]() TA_NO_THREAD_SAFETY_ANALYSIS { 92 for (unsigned int i = 0; i < fbl::count_of(page_mappings); ++i) {
|
/fuchsia/zircon/kernel/include/ |
H A D | mexec.h | 16 #include <fbl/ref_ptr.h> 36 void mexec_stash_crashlog(fbl::RefPtr<VmObject> vmo);
|
/fuchsia/zircon/system/core/devmgr/ |
H A D | memfs-private.h | 19 fbl::RefPtr<VnodeDir> BootfsRoot(); 20 fbl::RefPtr<VnodeDir> MemfsRoot(); 21 fbl::RefPtr<VnodeDir> SystemfsRoot(); 22 fbl::RefPtr<VnodeDir> DevfsRoot();
|
/fuchsia/zircon/system/dev/display/astro-display/ |
H A D | lcd.h | 10 #include <fbl/unique_ptr.h> 30 fbl::unique_ptr<astro_display::DwMipiDsi> dsi_;
|
H A D | osd.h | 9 #include <fbl/unique_ptr.h> 37 fbl::unique_ptr<hwreg::RegisterIo> vpu_regs_;
|
/fuchsia/zircon/system/dev/ethernet/aml-ethernet-s912/ |
H A D | aml-ethernet.h | 12 #include <fbl/atomic.h> 13 #include <fbl/unique_ptr.h>
|
/fuchsia/zircon/system/dev/pci/amlogic-pcie/ |
H A D | aml-pcie-device.h | 14 #include <fbl/unique_ptr.h> 52 fbl::unique_ptr<AmlPcie> pcie_;
|
/fuchsia/zircon/system/host/runtests/ |
H A D | runtests.cpp | 10 #include <fbl/string.h> 11 #include <fbl/vector.h>
|
/fuchsia/zircon/system/uapp/kstress/ |
H A D | vmstress.cpp | 5 #include <fbl/algorithm.h> 6 #include <fbl/atomic.h> 7 #include <fbl/auto_call.h> 8 #include <fbl/ref_ptr.h> 9 #include <fbl/unique_ptr.h> 47 fbl::atomic<bool> shutdown_{false}; 76 fbl::unique_ptr<uint8_t[]> buf{new uint8_t[buf_size]}; 82 *out_size = fbl::min(rand() % vmo_size, vmo_size - *out_offset);
|
/fuchsia/zircon/system/ulib/bitmap/include/bitmap/ |
H A D | storage.h | 13 #include <fbl/algorithm.h> 14 #include <fbl/alloc_checker.h> 15 #include <fbl/array.h> 16 #include <fbl/macros.h> 31 fbl::AllocChecker ac; 42 fbl::Array<uint8_t> storage_; 76 size_ = fbl::round_up(size, static_cast<size_t>(PAGE_SIZE)); 95 size = fbl::round_up(size, static_cast<size_t>(PAGE_SIZE));
|
/fuchsia/zircon/system/ulib/block-client/include/block-client/cpp/ |
H A D | client.h | 14 #include <fbl/macros.h> 15 #include <fbl/type_support.h>
|
/fuchsia/zircon/system/ulib/crypto/include/crypto/ |
H A D | hkdf.h | 13 #include <fbl/macros.h> 14 #include <fbl/unique_ptr.h>
|
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/protocol/ |
H A D | block.h | 10 #include <fbl/type_support.h> 11 #include <fbl/unique_ptr.h>
|
/fuchsia/zircon/system/ulib/fzl/ |
H A D | mapped-vmo.cpp | 11 #include <fbl/algorithm.h> 12 #include <fbl/alloc_checker.h> 13 #include <fbl/unique_ptr.h> 27 zx_status_t MappedVmo::Create(size_t size, const char* name, fbl::unique_ptr<MappedVmo>* out) { 42 fbl::AllocChecker ac; 43 fbl::unique_ptr<MappedVmo> mvmo(new (&ac) MappedVmo(vmo, addr, size)); 50 *out = fbl::move(mvmo); 81 len = fbl::round_up(len, static_cast<size_t>(PAGE_SIZE));
|
H A D | vmo-mapper.cpp | 5 #include <fbl/auto_call.h> 13 fbl::RefPtr<VmarManager> vmar_manager, 39 ret = InternalMap(vmo, 0, size, map_flags, fbl::move(vmar_manager)); 53 *vmo_out = fbl::move(vmo); 63 fbl::RefPtr<VmarManager> vmar_manager) { 110 zx_status_t VmoMapper::CheckReadyToMap(const fbl::RefPtr<VmarManager>& vmar_manager) { 126 fbl::RefPtr<VmarManager> vmar_manager) { 144 vmar_manager_ = fbl::move(vmar_manager);
|
/fuchsia/zircon/system/ulib/hwreg/include/hwreg/ |
H A D | internal.h | 7 #include <fbl/algorithm.h> 8 #include <fbl/type_support.h> 20 template <typename T> struct IsSupportedInt : fbl::false_type {}; 21 template <> struct IsSupportedInt<uint8_t> : fbl::true_type {}; 22 template <> struct IsSupportedInt<uint16_t> : fbl::true_type {}; 23 template <> struct IsSupportedInt<uint32_t> : fbl::true_type {}; 24 template <> struct IsSupportedInt<uint64_t> : fbl::true_type {}; 66 ZX_DEBUG_ASSERT(num_fields < fbl::count_of(fields));
|