Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/nvdimm/
H A 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()
H A 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()
H A Dnd-core.h65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
H A Ddimm_devs.c330 dev_WARN_ONCE(dev, 1, "we ate our last label?\n"); in __available_slots_show()
709 if (dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), in dpa_align()
712 if (dev_WARN_ONCE(dev, !nd_region->ndr_mappings || nd_region->align in dpa_align()
H A Dbadrange.c275 dev_WARN_ONCE(&nd_region->dev, 1, in nvdimm_badblocks_populate()
H A Dnamespace_devs.c236 dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, in nd_namespace_label_update()
632 dev_WARN_ONCE(&nd_region->dev, rem, in __reserve_free_pmem()
677 dev_WARN_ONCE(&nd_region->dev, rem, in grow_dpa_allocation()
1459 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe()
H A Dcore.c109 dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), "%s: bus unlocked!", in alloc_nvdimm_map()
/openbmc/linux/drivers/cxl/core/
H A Dpmem.c47 if (dev_WARN_ONCE(dev, dev->type != &cxl_nvdimm_bridge_type, in to_cxl_nvdimm_bridge()
191 if (dev_WARN_ONCE(dev, !is_cxl_nvdimm(dev), in to_cxl_nvdimm()
H A Dport.c423 if (dev_WARN_ONCE(dev, !is_root_decoder(dev), in to_cxl_root_decoder()
478 if (dev_WARN_ONCE(dev, in to_cxl_decoder()
488 if (dev_WARN_ONCE(dev, !is_endpoint_decoder(dev), in to_cxl_endpoint_decoder()
497 if (dev_WARN_ONCE(dev, !is_switch_decoder(dev), in to_cxl_switch_decoder()
552 if (dev_WARN_ONCE(dev, dev->type != &cxl_port_type, in to_cxl_port()
992 dev_WARN_ONCE(&port->dev, 1, "dport:%s bad devm context\n", in __devm_cxl_add_dport()
1607 if (dev_WARN_ONCE(&cxld->dev, iw != cxlsd->nr_targets, in cxl_hb_modulo()
H A Dregion.c197 if (dev_WARN_ONCE(&cxld->dev, !cxlsd || cxlsd->nr_targets > 1, in commit_decoder()
823 dev_WARN_ONCE(&cxlr->dev, cxld->region != cxlr, "region mismatch\n"); in cxl_rr_free_decoder()
891 dev_WARN_ONCE(&cxlr->dev, in cxl_rr_alloc_decoder()
1955 dev_WARN_ONCE(&cxlr->dev, 1, "expected %s:%s at position %d\n", in cxl_region_detach()
2183 if (dev_WARN_ONCE(dev, dev->type != &cxl_region_type, in to_cxl_region()
2459 if (dev_WARN_ONCE(dev, !is_cxl_pmem_region(dev), in to_cxl_pmem_region()
2734 if (dev_WARN_ONCE(dev, !is_cxl_dax_region(dev), in to_cxl_dax_region()
H A Dmbox.c402 dev_WARN_ONCE(mds->cxlds.dev, true, "raw command path used\n"); in cxl_to_mem_cmd_raw()
601 dev_WARN_ONCE(dev, mbox_cmd->size_out > *size_out, in handle_mailbox_cmd_from_user()
/openbmc/linux/drivers/dax/
H A Dbus.c779 if (dev_WARN_ONCE(&dev_dax->dev, !dax_region->dev->driver, in devm_register_dax_mapping()
827 if (dev_WARN_ONCE(dev, dev_dax->nr_range, in alloc_dev_dax_range()
885 if (dev_WARN_ONCE(dev, !size, "deletion is handled by dev_dax_shrink\n")) in adjust_dev_dax_range()
957 if (dev_WARN_ONCE(dev, !adjust || i != dev_dax->nr_range - 1, in dev_dax_shrink()
1013 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc), in dev_dax_resize()
1343 if (dev_WARN_ONCE(parent, data->id < 0, in devm_create_dev_dax()
1351 if (dev_WARN_ONCE(parent, data->id >= 0, in devm_create_dev_dax()
1371 dev_WARN_ONCE(parent, !is_static(dax_region), in devm_create_dev_dax()
/openbmc/linux/include/linux/
H A Dbadblocks.h60 dev_WARN_ONCE(dev, 1, "%s: badblocks instance not associated\n", in devm_exit_badblocks()
H A Ddev_printk.h274 #define dev_WARN_ONCE(dev, condition, format, arg...) \ macro
H A Ddma-mapping.h332 if (dev_WARN_ONCE(dev, is_vmalloc_addr(ptr), in dma_map_single_attrs()
/openbmc/linux/kernel/dma/
H A Ddirect.h104 dev_WARN_ONCE(dev, 1, in dma_direct_map_page()
H A Dswiotlb.c874 dev_WARN_ONCE(dev, 1, in swiotlb_bounce()
882 dev_WARN_ONCE(dev, 1, in swiotlb_bounce()
892 dev_WARN_ONCE(dev, 1, in swiotlb_bounce()
1511 dev_WARN_ONCE(dev, 1, in swiotlb_map()
1668 dev_WARN_ONCE(dev, 1, "Cannot allocate pages from non page-aligned swiotlb addr 0x%pa.\n", in swiotlb_alloc()
/openbmc/linux/drivers/acpi/
H A 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()
/openbmc/linux/drivers/phy/
H A Dphy-core.c694 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_put()
1078 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_destroy()
1221 dev_WARN_ONCE(dev, r, "couldn't find PHY provider device resource\n"); in devm_of_phy_provider_unregister()
/openbmc/linux/drivers/base/power/
H A Dwakeirq.c27 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq()
/openbmc/linux/drivers/tty/serdev/
H A Dserdev-ttyport.c37 dev_WARN_ONCE(&ctrl->dev, ret < 0 || ret > count, in ttyport_receive_buf()
/openbmc/linux/drivers/usb/core/
H A Durb.c411 dev_WARN_ONCE(&dev->dev, (usb_pipeout(urb->pipe) != is_out), in usb_submit_urb()
/openbmc/linux/drivers/s390/cio/
H A 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()
/openbmc/linux/drivers/usb/phy/
H A Dphy.c632 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_usb_put_phy()
/openbmc/linux/tools/testing/cxl/test/
H A Dcxl.c660 dev_WARN_ONCE(dev, 1, "too many targets found?\n"); in map_targets()
949 dev_WARN_ONCE(&port->dev, 1, "unexpected depth %d\n", in mock_cxl_port_enumerate_dports()

12