/linux-6.6.21/drivers/nvdimm/ |
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()
|
D | nd-core.h | 65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
|
D | btt.c | 68 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()
|
D | dimm_devs.c | 330 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()
|
D | badrange.c | 275 dev_WARN_ONCE(&nd_region->dev, 1, in nvdimm_badblocks_populate()
|
D | namespace_devs.c | 236 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()
|
D | core.c | 109 dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), "%s: bus unlocked!", in alloc_nvdimm_map()
|
D | nd.h | 156 if (dev_WARN_ONCE(ndd->dev, ndd->cxl, in nsl_get_isetcookie()
|
/linux-6.6.21/drivers/cxl/core/ |
D | pmem.c | 47 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()
|
D | port.c | 423 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()
|
D | region.c | 205 if (dev_WARN_ONCE(&cxld->dev, !cxlsd || cxlsd->nr_targets > 1, in commit_decoder() 806 dev_WARN_ONCE(&cxlr->dev, cxld->region != cxlr, "region mismatch\n"); in cxl_rr_free_decoder() 877 dev_WARN_ONCE(&cxlr->dev, in cxl_rr_alloc_decoder() 1851 dev_WARN_ONCE(&cxlr->dev, 1, "expected %s:%s at position %d\n", in cxl_region_detach() 2079 if (dev_WARN_ONCE(dev, dev->type != &cxl_region_type, in to_cxl_region() 2355 if (dev_WARN_ONCE(dev, !is_cxl_pmem_region(dev), in to_cxl_pmem_region() 2574 if (dev_WARN_ONCE(dev, !is_cxl_dax_region(dev), in to_cxl_dax_region()
|
D | mbox.c | 402 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()
|
/linux-6.6.21/drivers/dax/ |
D | bus.c | 779 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()
|
/linux-6.6.21/include/linux/ |
D | badblocks.h | 60 dev_WARN_ONCE(dev, 1, "%s: badblocks instance not associated\n", in devm_exit_badblocks()
|
D | dev_printk.h | 273 #define dev_WARN_ONCE(dev, condition, format, arg...) \ macro
|
D | dma-mapping.h | 332 if (dev_WARN_ONCE(dev, is_vmalloc_addr(ptr), in dma_map_single_attrs()
|
/linux-6.6.21/kernel/dma/ |
D | direct.h | 104 dev_WARN_ONCE(dev, 1, in dma_direct_map_page()
|
D | swiotlb.c | 852 dev_WARN_ONCE(dev, 1, in swiotlb_bounce() 860 dev_WARN_ONCE(dev, 1, in swiotlb_bounce() 870 dev_WARN_ONCE(dev, 1, in swiotlb_bounce() 1465 dev_WARN_ONCE(dev, 1, in swiotlb_map()
|
/linux-6.6.21/drivers/acpi/ |
D | acpi_ipmi.c | 267 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.6.21/drivers/phy/ |
D | phy-core.c | 689 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_put() 1073 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_destroy() 1216 dev_WARN_ONCE(dev, r, "couldn't find PHY provider device resource\n"); in devm_of_phy_provider_unregister()
|
/linux-6.6.21/drivers/base/power/ |
D | wakeirq.c | 27 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq()
|
/linux-6.6.21/drivers/tty/serdev/ |
D | serdev-ttyport.c | 37 dev_WARN_ONCE(&ctrl->dev, ret < 0 || ret > count, in ttyport_receive_buf()
|
/linux-6.6.21/drivers/usb/core/ |
D | urb.c | 411 dev_WARN_ONCE(&dev->dev, (usb_pipeout(urb->pipe) != is_out), in usb_submit_urb()
|
/linux-6.6.21/drivers/usb/phy/ |
D | phy.c | 632 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_usb_put_phy()
|
/linux-6.6.21/drivers/s390/cio/ |
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()
|