| /linux/drivers/nvdimm/ |
| A D | claim.c | 24 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()
|
| A D | nd-core.h | 65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
|
| A D | btt.c | 70 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), in btt_info_write() 72 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), in btt_info_write() 425 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->mapoff, 512), in btt_map_init() 431 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_map_init() 469 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->logoff, 512), in btt_log_init() 475 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_log_init()
|
| A D | dimm_devs.c | 332 dev_WARN_ONCE(dev, 1, "we ate our last label?\n"); in __available_slots_show() 711 if (dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), in dpa_align() 714 if (dev_WARN_ONCE(dev, !nd_region->ndr_mappings || nd_region->align in dpa_align()
|
| A D | badrange.c | 275 dev_WARN_ONCE(&nd_region->dev, 1, in nvdimm_badblocks_populate()
|
| A D | namespace_devs.c | 238 dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, in nd_namespace_label_update() 636 dev_WARN_ONCE(&nd_region->dev, rem, in __reserve_free_pmem() 683 dev_WARN_ONCE(&nd_region->dev, rem, in grow_dpa_allocation() 1467 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe()
|
| A D | core.c | 108 dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), "%s: bus unlocked!", in alloc_nvdimm_map()
|
| A D | nd.h | 156 if (dev_WARN_ONCE(ndd->dev, ndd->cxl, in nsl_get_isetcookie()
|
| /linux/drivers/cxl/core/ |
| A D | pmem.c | 47 if (dev_WARN_ONCE(dev, dev->type != &cxl_nvdimm_bridge_type, in to_cxl_nvdimm_bridge() 195 if (dev_WARN_ONCE(dev, !is_cxl_nvdimm(dev), in to_cxl_nvdimm()
|
| A D | port.c | 435 if (dev_WARN_ONCE(dev, !is_root_decoder(dev), in to_cxl_root_decoder() 490 if (dev_WARN_ONCE(dev, in to_cxl_decoder() 500 if (dev_WARN_ONCE(dev, !is_endpoint_decoder(dev), in to_cxl_endpoint_decoder() 509 if (dev_WARN_ONCE(dev, !is_switch_decoder(dev), in to_cxl_switch_decoder() 592 if (dev_WARN_ONCE(dev, dev->type != &cxl_port_type, in to_cxl_port() 1131 dev_WARN_ONCE(&port->dev, 1, "dport:%s bad devm context\n", in __devm_cxl_add_dport()
|
| A D | region.c | 301 if (dev_WARN_ONCE(&cxld->dev, !cxlsd || cxlsd->nr_targets > 1, in commit_decoder() 951 dev_WARN_ONCE(&cxlr->dev, cxld->region != cxlr, "region mismatch\n"); in cxl_rr_free_decoder() 1019 dev_WARN_ONCE(&cxlr->dev, in cxl_rr_alloc_decoder() 2076 dev_WARN_ONCE(&cxlr->dev, 1, "expected %s:%s at position %d\n", in cxl_region_detach() 2306 if (dev_WARN_ONCE(dev, dev->type != &cxl_region_type, in to_cxl_region() 2665 if (dev_WARN_ONCE(dev, !is_cxl_pmem_region(dev), in to_cxl_pmem_region() 3019 if (dev_WARN_ONCE(dev, !is_cxl_dax_region(dev), in to_cxl_dax_region()
|
| A D | mbox.c | 418 dev_WARN_ONCE(mds->cxlds.dev, true, "raw command path used\n"); in cxl_to_mem_cmd_raw() 619 dev_WARN_ONCE(dev, mbox_cmd->size_out > *size_out, in handle_mailbox_cmd_from_user()
|
| /linux/drivers/dax/ |
| A D | bus.c | 806 if (dev_WARN_ONCE(&dev_dax->dev, !dax_region->dev->driver, in devm_register_dax_mapping() 854 if (dev_WARN_ONCE(dev, dev_dax->nr_range, in alloc_dev_dax_range() 911 if (dev_WARN_ONCE(dev, !size, "deletion is handled by dev_dax_shrink\n")) in adjust_dev_dax_range() 986 if (dev_WARN_ONCE(dev, !adjust || i != dev_dax->nr_range - 1, in dev_dax_shrink() 1042 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc), in dev_dax_resize() 1436 if (dev_WARN_ONCE(parent, data->id < 0, in __devm_create_dev_dax() 1444 if (dev_WARN_ONCE(parent, data->id >= 0, in __devm_create_dev_dax() 1464 dev_WARN_ONCE(parent, !is_static(dax_region), in __devm_create_dev_dax()
|
| /linux/include/linux/ |
| A D | badblocks.h | 67 dev_WARN_ONCE(dev, 1, "%s: badblocks instance not associated\n", in devm_exit_badblocks()
|
| A D | dev_printk.h | 274 #define dev_WARN_ONCE(dev, condition, format, arg...) \ macro
|
| /linux/kernel/dma/ |
| A D | direct.h | 103 dev_WARN_ONCE(dev, 1, in dma_direct_map_page()
|
| A D | swiotlb.c | 889 dev_WARN_ONCE(dev, 1, in swiotlb_bounce() 1398 dev_WARN_ONCE(dev, alloc_align_mask > ~PAGE_MASK, in swiotlb_tbl_map_single() 1594 dev_WARN_ONCE(dev, 1, in swiotlb_map() 1769 dev_WARN_ONCE(dev, 1, "Cannot allocate pages from non page-aligned swiotlb addr 0x%pa.\n", in swiotlb_alloc()
|
| /linux/drivers/acpi/ |
| A D | acpi_ipmi.c | 270 dev_WARN_ONCE(tx_msg->device->dev, true, in acpi_format_ipmi_request() 409 dev_WARN_ONCE(dev, true, in ipmi_msg_handler()
|
| /linux/drivers/phy/ |
| A D | phy-core.c | 741 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_put() 1125 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_destroy() 1268 dev_WARN_ONCE(dev, r, "couldn't find PHY provider device resource\n"); in devm_of_phy_provider_unregister()
|
| /linux/drivers/base/power/ |
| A D | wakeirq.c | 27 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq()
|
| /linux/drivers/tty/serdev/ |
| A D | serdev-ttyport.c | 37 dev_WARN_ONCE(&ctrl->dev, ret > count, in ttyport_receive_buf()
|
| /linux/drivers/usb/core/ |
| A D | urb.c | 411 dev_WARN_ONCE(&dev->dev, (usb_pipeout(urb->pipe) != is_out), in usb_submit_urb()
|
| /linux/drivers/usb/phy/ |
| A D | phy.c | 632 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_usb_put_phy()
|
| /linux/drivers/s390/cio/ |
| A D | qdio_main.c | 494 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/tools/testing/cxl/test/ |
| A D | cxl.c | 666 dev_WARN_ONCE(dev, 1, "too many targets found?\n"); in map_targets() 955 dev_WARN_ONCE(&port->dev, 1, "unexpected depth %d\n", in mock_cxl_port_enumerate_dports()
|