Home
last modified time | relevance | path

Searched refs:dev_WARN_ONCE (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.1.9/drivers/nvdimm/
Dclaim.c24 dev_WARN_ONCE(dev, ndns->claim != dev, "%s: invalid claim\n", __func__); in __nd_detach_ndns()
52 dev_WARN_ONCE(dev, *_ndns, "%s: invalid claim\n", __func__); in __nd_attach_ndns()
265 dev_WARN_ONCE(&ndns->dev, 1, "request out of range\n"); in nsio_rw_bytes()
Dnd-core.h65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
Dbtt.c68 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), in btt_info_write()
70 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), in btt_info_write()
423 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->mapoff, 512), in btt_map_init()
429 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_map_init()
467 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->logoff, 512), in btt_log_init()
473 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_log_init()
Ddimm_devs.c330 dev_WARN_ONCE(dev, 1, "we ate our last label?\n"); in __available_slots_show()
699 if (dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), in dpa_align()
702 if (dev_WARN_ONCE(dev, !nd_region->ndr_mappings || nd_region->align in dpa_align()
Dbadrange.c275 dev_WARN_ONCE(&nd_region->dev, 1, in nvdimm_badblocks_populate()
Dnamespace_devs.c235 dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, in nd_namespace_label_update()
631 dev_WARN_ONCE(&nd_region->dev, rem, in __reserve_free_pmem()
676 dev_WARN_ONCE(&nd_region->dev, rem, in grow_dpa_allocation()
1458 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe()
Dcore.c109 dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), "%s: bus unlocked!", in alloc_nvdimm_map()
/linux-6.1.9/drivers/cxl/core/
Dpmem.c47 if (dev_WARN_ONCE(dev, dev->type != &cxl_nvdimm_bridge_type, in to_cxl_nvdimm_bridge()
214 if (dev_WARN_ONCE(dev, !is_cxl_nvdimm(dev), in to_cxl_nvdimm()
Dport.c408 if (dev_WARN_ONCE(dev, !is_root_decoder(dev), in to_cxl_root_decoder()
461 if (dev_WARN_ONCE(dev, in to_cxl_decoder()
471 if (dev_WARN_ONCE(dev, !is_endpoint_decoder(dev), in to_cxl_endpoint_decoder()
480 if (dev_WARN_ONCE(dev, !is_switch_decoder(dev), in to_cxl_switch_decoder()
534 if (dev_WARN_ONCE(dev, dev->type != &cxl_port_type, in to_cxl_port()
899 dev_WARN_ONCE(&port->dev, 1, "dport:%s bad devm context\n", in devm_cxl_add_dport()
1438 if (dev_WARN_ONCE(&cxld->dev, iw != cxlsd->nr_targets, in cxl_hb_modulo()
Dmbox.c319 dev_WARN_ONCE(cxlds->dev, true, "raw command path used\n"); in cxl_to_mem_cmd_raw()
512 dev_WARN_ONCE(dev, mbox_cmd->size_out > *size_out, in handle_mailbox_cmd_from_user()
Dregion.c701 dev_WARN_ONCE(&cxlr->dev, cxld->region != cxlr, "region mismatch\n"); in cxl_rr_free_decoder()
1353 dev_WARN_ONCE(&cxlr->dev, 1, "expected %s:%s at position %d\n", in cxl_region_detach()
1572 if (dev_WARN_ONCE(dev, dev->type != &cxl_region_type, in to_cxl_region()
1803 if (dev_WARN_ONCE(dev, !is_cxl_pmem_region(dev), in to_cxl_pmem_region()
/linux-6.1.9/drivers/dax/
Dbus.c750 if (dev_WARN_ONCE(&dev_dax->dev, !dax_region->dev->driver, in devm_register_dax_mapping()
797 if (dev_WARN_ONCE(dev, dev_dax->nr_range, in alloc_dev_dax_range()
855 if (dev_WARN_ONCE(dev, !size, "deletion is handled by dev_dax_shrink\n")) in adjust_dev_dax_range()
927 if (dev_WARN_ONCE(dev, !adjust || i != dev_dax->nr_range - 1, in dev_dax_shrink()
983 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc), in dev_dax_resize()
1314 if (dev_WARN_ONCE(parent, data->id < 0, in devm_create_dev_dax()
1322 if (dev_WARN_ONCE(parent, data->id >= 0, in devm_create_dev_dax()
1344 dev_WARN_ONCE(parent, !is_static(dax_region), in devm_create_dev_dax()
/linux-6.1.9/include/linux/
Dbadblocks.h60 dev_WARN_ONCE(dev, 1, "%s: badblocks instance not associated\n", in devm_exit_badblocks()
Ddev_printk.h273 #define dev_WARN_ONCE(dev, condition, format, arg...) \ macro
/linux-6.1.9/kernel/dma/
Dswiotlb.c528 dev_WARN_ONCE(dev, 1, in swiotlb_bounce()
536 dev_WARN_ONCE(dev, 1, in swiotlb_bounce()
546 dev_WARN_ONCE(dev, 1, in swiotlb_bounce()
885 dev_WARN_ONCE(dev, 1, in swiotlb_map()
Ddirect.h103 dev_WARN_ONCE(dev, 1, in dma_direct_map_page()
/linux-6.1.9/drivers/acpi/
Dacpi_ipmi.c267 dev_WARN_ONCE(tx_msg->device->dev, true, in acpi_format_ipmi_request()
406 dev_WARN_ONCE(dev, true, in ipmi_msg_handler()
/linux-6.1.9/drivers/phy/
Dphy-core.c687 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_put()
1060 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_destroy()
1203 dev_WARN_ONCE(dev, r, "couldn't find PHY provider device resource\n"); in devm_of_phy_provider_unregister()
/linux-6.1.9/drivers/base/power/
Dwakeirq.c27 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq()
/linux-6.1.9/drivers/tty/serdev/
Dserdev-ttyport.c37 dev_WARN_ONCE(&ctrl->dev, ret < 0 || ret > count, in ttyport_receive_buf()
/linux-6.1.9/tools/testing/cxl/test/
Dcxl.c503 dev_WARN_ONCE(dev, 1, "too many targets found?\n"); in map_targets()
668 dev_WARN_ONCE(&port->dev, 1, "unexpected depth %d\n", in mock_cxl_port_enumerate_dports()
/linux-6.1.9/drivers/usb/core/
Durb.c411 dev_WARN_ONCE(&dev->dev, (usb_pipeout(urb->pipe) != is_out), in usb_submit_urb()
/linux-6.1.9/drivers/usb/phy/
Dphy.c632 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_usb_put_phy()
/linux-6.1.9/drivers/s390/cio/
Dqdio_main.c494 dev_WARN_ONCE(&q->irq_ptr->cdev->dev, 1, in get_inbound_buffer_frontier()
598 dev_WARN_ONCE(&q->irq_ptr->cdev->dev, 1, in get_outbound_buffer_frontier()
/linux-6.1.9/drivers/pci/endpoint/
Dpci-epc-core.c745 dev_WARN_ONCE(dev, r, "couldn't find PCI EPC resource\n"); in devm_pci_epc_destroy()

12