/Linux-v6.6/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()
|
/Linux-v6.6/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 | 414 if (dev_WARN_ONCE(dev, !is_root_decoder(dev), in to_cxl_root_decoder() 469 if (dev_WARN_ONCE(dev, in to_cxl_decoder() 479 if (dev_WARN_ONCE(dev, !is_endpoint_decoder(dev), in to_cxl_endpoint_decoder() 488 if (dev_WARN_ONCE(dev, !is_switch_decoder(dev), in to_cxl_switch_decoder() 543 if (dev_WARN_ONCE(dev, dev->type != &cxl_port_type, in to_cxl_port() 973 dev_WARN_ONCE(&port->dev, 1, "dport:%s bad devm context\n", in __devm_cxl_add_dport() 1578 if (dev_WARN_ONCE(&cxld->dev, iw != cxlsd->nr_targets, in cxl_hb_modulo()
|
D | region.c | 211 if (dev_WARN_ONCE(&cxld->dev, !cxlsd || cxlsd->nr_targets > 1, in commit_decoder() 812 dev_WARN_ONCE(&cxlr->dev, cxld->region != cxlr, "region mismatch\n"); in cxl_rr_free_decoder() 883 dev_WARN_ONCE(&cxlr->dev, in cxl_rr_alloc_decoder() 1807 dev_WARN_ONCE(&cxlr->dev, 1, "expected %s:%s at position %d\n", in cxl_region_detach() 2035 if (dev_WARN_ONCE(dev, dev->type != &cxl_region_type, in to_cxl_region() 2311 if (dev_WARN_ONCE(dev, !is_cxl_pmem_region(dev), in to_cxl_pmem_region() 2535 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-v6.6/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-v6.6/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-v6.6/kernel/dma/ |
D | direct.h | 104 dev_WARN_ONCE(dev, 1, in dma_direct_map_page()
|
D | swiotlb.c | 844 dev_WARN_ONCE(dev, 1, in swiotlb_bounce() 852 dev_WARN_ONCE(dev, 1, in swiotlb_bounce() 862 dev_WARN_ONCE(dev, 1, in swiotlb_bounce() 1457 dev_WARN_ONCE(dev, 1, in swiotlb_map()
|
/Linux-v6.6/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-v6.6/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-v6.6/drivers/base/power/ |
D | wakeirq.c | 27 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq()
|
/Linux-v6.6/drivers/tty/serdev/ |
D | serdev-ttyport.c | 37 dev_WARN_ONCE(&ctrl->dev, ret < 0 || ret > count, in ttyport_receive_buf()
|
/Linux-v6.6/drivers/usb/core/ |
D | urb.c | 411 dev_WARN_ONCE(&dev->dev, (usb_pipeout(urb->pipe) != is_out), in usb_submit_urb()
|
/Linux-v6.6/drivers/usb/phy/ |
D | phy.c | 632 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_usb_put_phy()
|
/Linux-v6.6/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()
|
/Linux-v6.6/drivers/cxl/ |
D | acpi.c | 55 if (dev_WARN_ONCE(&cxld->dev, in cxl_hb_xor()
|