| /kernel/object/ |
| A D | excp_port.cpp | 28 return nullptr; in MakePacket() 32 return nullptr; in MakePacket() 62 DEBUG_ASSERT(port_ != nullptr); in ExceptionPort() 68 DEBUG_ASSERT(port_ == nullptr); in ~ExceptionPort() 81 DEBUG_ASSERT(target != nullptr); in SetTarget() 82 DEBUG_ASSERT(port_ != nullptr); in SetTarget() 95 DEBUG_ASSERT(port_ != nullptr); in SetTarget() 108 DEBUG_ASSERT(port_ != nullptr); in SetTarget() 118 if (port_ == nullptr) { in OnPortZeroHandles() 192 if (port_ == nullptr) { in OnTargetUnbind() [all …]
|
| A D | state_tracker_tests.cpp | 29 Cancel(/* handle= */ nullptr); in CallAllOnHooks() 30 CancelByKey(/* handle= */ nullptr, /* port= */ nullptr, /* key= */ 2u); in CallAllOnHooks() 78 st.AddObserver(&obs, nullptr); in on_initialize() 104 st.AddObserver(&obs, nullptr); in on_state_change_via_update_state() 134 st.AddObserver(&obs, nullptr); in on_cancel() 138 st.Cancel(/* handle= */ nullptr); in on_cancel() 165 st.AddObserver(&obs, nullptr); in on_cancel_by_key() 169 st.CancelByKey(/* handle= */ nullptr, /* port= */ nullptr, /* key= */ 2u); in on_cancel_by_key()
|
| A D | futex_node.cpp | 31 DEBUG_ASSERT((queue_next_ == nullptr) == (queue_prev_ == nullptr)); in IsInQueue() 32 return queue_next_ != nullptr; in IsInQueue() 53 list_head = nullptr; in RemoveNodeFromList() 99 return nullptr; in WakeThreads() 137 return nullptr; in RemoveFromHead() 213 queue_next_ = nullptr; in MarkAsNotInQueue() 217 queue_prev_ = nullptr; in MarkAsNotInQueue()
|
| A D | mbuf.cpp | 62 head_ = nullptr; in Read() 72 head_ = nullptr; in Read() 92 if (buf == nullptr) { in WriteDatagram() 117 if (head_ == nullptr) { in WriteDatagram() 131 if (head_ == nullptr) { in WriteStream() 133 if (head_ == nullptr) in WriteStream() 142 if (next == nullptr) in WriteStream() 172 return (!ac.check()) ? nullptr : buf; in AllocMBuf()
|
| A D | pci_interrupt_dispatcher.cpp | 19 device_ = nullptr; in ~PciInterruptDispatcher() 86 device_->RegisterIrqHandler(vector_, nullptr, nullptr); in UnregisterInterruptHandler()
|
| A D | buffer_chain_tests.cpp | 23 ASSERT_NE(bc, nullptr, ""); in alloc_free_basic() 32 ASSERT_NE(bc, nullptr, ""); in alloc_free_basic() 39 ASSERT_NE(bc, nullptr, ""); in alloc_free_basic() 46 ASSERT_NE(bc, nullptr, ""); in alloc_free_basic() 53 ASSERT_NE(bc, nullptr, ""); in alloc_free_basic() 71 ASSERT_NE(nullptr, bc, ""); in copy_in_copy_out()
|
| /kernel/lib/hypervisor/ |
| A D | trap_map.cpp | 31 return nullptr; in AllocBlocking() 37 return arena_.New(nullptr, this); in Alloc() 52 if (port_ == nullptr) { in ~Trap() 55 port_->CancelQueued(nullptr /* handle */, key_); in ~Trap() 63 if (invalidator != nullptr) { in Queue() 66 if (port_ == nullptr) { in Queue() 70 if (port_packet == nullptr) { in Queue() 84 if (traps == nullptr) { in InsertTrap() 112 if (traps == nullptr) { in FindTrap() 138 return nullptr; in TreeOf()
|
| /kernel/lib/fbl/ |
| A D | arena.cpp | 27 if (vmar_ != nullptr) { in ~Arena() 65 DEBUG_ASSERT(kspace != nullptr); in Init() 67 DEBUG_ASSERT(root_vmar != nullptr); in Init() 145 DEBUG_ASSERT(mapping != nullptr); in Init() 168 return nullptr; in Pop() 187 return nullptr; in Pop() 237 DEBUG_ASSERT(vmar_ != nullptr); in Alloc() 251 if (allocation != nullptr) { in Alloc() 258 DEBUG_ASSERT(vmar_ != nullptr); in Free() 259 if (addr == nullptr) { in Free() [all …]
|
| /kernel/lib/oom/ |
| A D | oom.cpp | 62 oom_lowmem_callback_t* lowmem_callback = nullptr; in oom_loop() 84 DEBUG_ASSERT(lowmem_callback != nullptr); in oom_loop() 120 DEBUG_ASSERT(oom_thread == nullptr); in start_thread_locked() 122 thread_t* t = thread_create("oom", oom_loop, nullptr, HIGH_PRIORITY); in start_thread_locked() 123 if (t != nullptr) { in start_thread_locked() 137 DEBUG_ASSERT(lowmem_callback != nullptr); in oom_init() 140 DEBUG_ASSERT(oom_lowmem_callback == nullptr); in oom_init() 177 oom_thread = nullptr; in cmd_oom() 181 zx_status_t s = thread_join(t, nullptr, deadline); in cmd_oom()
|
| /kernel/dev/pcie/ |
| A D | pcie_bus_driver.cpp | 58 }, nullptr); in ~PcieBusDriver() 67 }, nullptr); in ~PcieBusDriver() 75 if (root == nullptr) in AddRoot() 103 if (provider == nullptr) { in SetAddressTranslationProvider() 124 }, nullptr); in RescanDevices() 130 }, nullptr); in RescanDevices() 181 }, nullptr); in StartBusDriver() 513 return nullptr; in GetConfig() 526 return nullptr; in GetConfig() 555 if (dev != nullptr) in RunQuirks() [all …]
|
| A D | pcie_upstream_node.cpp | 45 if (device != nullptr) { in AllocateDownstreamBars() 77 if (cfg == nullptr) { in ScanDownstream() 97 if (new_dev == nullptr) { in ScanDownstream() 131 DEBUG_ASSERT(downstream_[ndx] == nullptr); in ScanDevice() 140 return nullptr; in ScanDevice()
|
| A D | pcie_bridge.cpp | 34 DEBUG_ASSERT(driver().region_bookkeeping() != nullptr); in PcieBridge() 50 DEBUG_ASSERT(raw_bridge == nullptr); in Create() 53 return nullptr; in Create() 61 return nullptr; in Create() 210 if (upstream == nullptr) in AllocateBridgeWindowsLocked() 229 DEBUG_ASSERT(pio_window_ != nullptr); in AllocateBridgeWindowsLocked() 244 DEBUG_ASSERT(mmio_window_ != nullptr); in AllocateBridgeWindowsLocked() 273 DEBUG_ASSERT(pf_mmio_window_ != nullptr); in AllocateBridgeWindowsLocked()
|
| /kernel/lib/topology/ |
| A D | system-topology.cpp | 15 if (flat_nodes == nullptr || count == 0 || !Validate(flat_nodes, static_cast<int>(count))) { in Update() 19 if (nodes_.get() != nullptr) { in Update() 26 Node* node = nullptr; in Update() 27 zbi_topology_node_t* flat_node = nullptr; in Update() 41 nodes_.reset(nullptr); in Update() 49 nodes_.reset(nullptr); in Update() 74 nodes_.reset(nullptr); in Update()
|
| /kernel/arch/x86/ |
| A D | pvclock.cpp | 15 static volatile struct pvclock_boot_time* boot_time = nullptr; 16 static volatile struct pvclock_system_time* system_time = nullptr; 21 if (boot_time != nullptr || system_time != nullptr) { in pvclock_init()
|
| /kernel/dev/iommu/intel/ |
| A D | iommu_page.h | 23 : page_(nullptr), virt_(0) {} in IommuPage() 28 p.page_ = nullptr; in IommuPage() 34 p.page_ = nullptr;
|
| /kernel/dev/pcie/include/dev/ |
| A D | pcie_device.h | 153 return nullptr; in GetBarInfo() 158 return (!disabled_ && (ret->allocation != nullptr)) ? ret : nullptr; in GetBarInfo() 300 bool is_pcie() const { return (pcie_ != nullptr); } in is_pcie() 362 const PciConfig* cfg_ = nullptr; // Pointer to the memory mapped ECAM (kernel vaddr) 435 PciCapPcie* pcie_ = nullptr; 437 PciCapAdvFeatures* pci_af_ = nullptr; 444 pcie_irq_handler_state_t* handlers = nullptr; 454 struct list_node shared_handler_node = { nullptr, nullptr}; 458 PciCapMsi* msi = nullptr;
|
| A D | pcie_irqs.h | 121 pcie_irq_handler_fn_t handler = nullptr; 122 void* ctx = nullptr; 123 PcieDevice* dev = nullptr;
|
| /kernel/vm/ |
| A D | kstack.cpp | 109 DEBUG_ASSERT(stack->vmar == nullptr); in vm_allocate_kstack() 112 DEBUG_ASSERT(stack->unsafe_vmar == nullptr); in vm_allocate_kstack() 149 if (stack->vmar != nullptr) { in vm_free_kstack() 156 stack->vmar = nullptr; in vm_free_kstack() 162 if (stack->unsafe_vmar != nullptr) { in vm_free_kstack() 169 stack->unsafe_vmar = nullptr; in vm_free_kstack()
|
| /kernel/dev/pcie/address_provider/ |
| A D | ecam_region.cpp | 12 if (vaddr_ != nullptr) { in ~MappedEcamRegion() 27 if (vaddr_ != nullptr) { in MapEcam()
|
| /kernel/lib/crypto/entropy/ |
| A D | jitterentropy_collector.cpp | 22 static JitterentropyCollector* instance = nullptr; in GetInstance() 41 instance = nullptr; in GetInstance() 57 *ptr = nullptr; in GetInstance()
|
| /kernel/lib/ktrace/ |
| A D | ktrace.cpp | 32 {0, 0, nullptr} 53 for (probe = probe_list; probe != nullptr; probe = probe->next) { in ktrace_find_probe() 58 return nullptr; in ktrace_find_probe() 73 for (probe = probe_list; probe != nullptr; probe = probe->next) { in ktrace_report_probes() 115 if (ptr == nullptr) { in ktrace_read_user() 163 if ((probe = ktrace_find_probe((const char*) ptr)) != nullptr) { in ktrace_control() 167 if (probe == nullptr) { in ktrace_control() 268 return nullptr; in ktrace_open() 275 return nullptr; in ktrace_open()
|
| /kernel/object/include/object/ |
| A D | handle.h | 27 HandleOwner(decltype(nullptr)) : h_(nullptr) {} in HandleOwner() argument 55 h_ = nullptr; in release() 70 explicit operator bool() const { return h_ != nullptr; } 76 Handle* h_ = nullptr;
|
| /kernel/dev/interrupt/arm_gic/common/ |
| A D | arm_gic_hw_interface.cpp | 14 static const struct arm_gic_hw_interface_ops* gic_ops = nullptr; 18 DEBUG_ASSERT(ops != nullptr); in arm_gic_hw_interface_register() 23 return gic_ops == nullptr ? false : true; in arm_gic_is_registered()
|
| /kernel/lib/unittest/ |
| A D | user_memory.cpp | 27 return nullptr; in Create() 44 return nullptr; in Create() 57 return nullptr; in Create()
|
| /kernel/lib/hypervisor/include/hypervisor/ |
| A D | page.h | 20 if (page_ != nullptr) { in ~Page() 55 vm_page* page_ = nullptr;
|