| /linux/drivers/nvdimm/ |
| H A D | claim.c | 24 dev_WARN_ONCE(dev, ndns->claim != dev, "%s: invalid claim\n", __func__); in __nd_detach_ndns() 51 dev_WARN_ONCE(dev, *_ndns, "%s: invalid claim\n", __func__); in __nd_attach_ndns() 246 dev_WARN_ONCE(&ndns->dev, 1, "request out of range\n"); in nsio_rw_bytes()
|
| H 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()
|
| H A D | nd-core.h | 65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
|
| H A D | dimm_devs.c | 331 dev_WARN_ONCE(dev, 1, "we ate our last label?\n"); in __available_slots_show() 697 if (dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), in dpa_align() 700 if (dev_WARN_ONCE(dev, !nd_region->ndr_mappings || nd_region->align in dpa_align()
|
| H A D | badrange.c | 275 dev_WARN_ONCE(&nd_region->dev, 1, in nvdimm_badblocks_populate()
|
| H A D | namespace_devs.c | 238 dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, in nd_namespace_label_update() 634 dev_WARN_ONCE(&nd_region->dev, rem, in __reserve_free_pmem() 681 dev_WARN_ONCE(&nd_region->dev, rem, in grow_dpa_allocation() 1461 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe()
|
| H A D | core.c | 108 dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), "%s: bus unlocked!", in alloc_nvdimm_map()
|
| H A D | nd.h | 156 if (dev_WARN_ONCE(ndd->dev, ndd->cxl, in nsl_get_isetcookie()
|
| /linux/drivers/cxl/core/ |
| H A D | pmem.c | 47 if (dev_WARN_ONCE(dev, dev->type != &cxl_nvdimm_bridge_type, in to_cxl_nvdimm_bridge() 193 if (dev_WARN_ONCE(dev, !is_cxl_nvdimm(dev), in to_cxl_nvdimm()
|
| H A D | port.c | 448 if (dev_WARN_ONCE(dev, !is_root_decoder(dev), in to_cxl_root_decoder() 503 if (dev_WARN_ONCE(dev, in to_cxl_decoder() 513 if (dev_WARN_ONCE(dev, !is_endpoint_decoder(dev), in to_cxl_endpoint_decoder() 522 if (dev_WARN_ONCE(dev, !is_switch_decoder(dev), in to_cxl_switch_decoder() 604 if (dev_WARN_ONCE(dev, dev->type != &cxl_port_type, in to_cxl_port() 1168 dev_WARN_ONCE(&port->dev, 1, "dport:%s bad devm context\n", in DEFINE_FREE()
|
| H A D | region.c | 305 if (dev_WARN_ONCE(&cxld->dev, !cxlsd || cxlsd->nr_targets > 1, in commit_decoder() 1069 dev_WARN_ONCE(&cxlr->dev, cxld->region != cxlr, "region mismatch\n"); in cxl_rr_ep_add() 1137 dev_WARN_ONCE(&cxlr->dev, in cxl_port_attach_region() 2292 dev_WARN_ONCE(&cxlr->dev, 1, "expected %s:%s at position %d\n", in store_targetN() 2533 if (dev_WARN_ONCE(dev, dev->type != &cxl_region_type, in cxl_region_perf_attrs_callback()
|
| H A D | mbox.c | 423 dev_WARN_ONCE(cxl_mbox->host, true, "raw command path used\n"); in cxl_to_mem_cmd_raw() 621 dev_WARN_ONCE(dev, mbox_cmd->size_out > *size_out, in handle_mailbox_cmd_from_user()
|
| /linux/drivers/dax/ |
| H A D | bus.c | 820 if (dev_WARN_ONCE(&dev_dax->dev, !dax_region->dev->driver, in devm_register_dax_mapping() 868 if (dev_WARN_ONCE(dev, dev_dax->nr_range, in alloc_dev_dax_range() 925 if (dev_WARN_ONCE(dev, !size, "deletion is handled by dev_dax_shrink\n")) in adjust_dev_dax_range() 1000 if (dev_WARN_ONCE(dev, !adjust || i != dev_dax->nr_range - 1, in adjust_ok() 1056 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc), in dev_dax_resize() 1450 if (dev_WARN_ONCE(parent, data->id < 0, in __devm_create_dev_dax() 1458 if (dev_WARN_ONCE(parent, data->id >= 0, in __devm_create_dev_dax() 1478 dev_WARN_ONCE(parent, !is_static(dax_region), in __devm_create_dev_dax()
|
| /linux/include/linux/ |
| H A D | badblocks.h | 67 dev_WARN_ONCE(dev, 1, "%s: badblocks instance not associated\n", in devm_exit_badblocks()
|
| H A D | device.h | 1185 dev_WARN_ONCE(__d, !lockdep_match_class(&__d->mutex, \
|
| /linux/tools/virtio/linux/ |
| H A D | kernel.h | 139 #define dev_WARN_ONCE(dev, condition, format...) \ macro
|
| /linux/kernel/dma/ |
| H A D | direct.h | 131 dev_WARN_ONCE( in dma_direct_unmap_phys()
|
| H A D | swiotlb.c | 891 dev_WARN_ONCE(dev, 1, in swiotlb_bounce() 1416 dev_WARN_ONCE(dev, alloc_align_mask > ~PAGE_MASK, in swiotlb_tbl_map_single() 1612 dev_WARN_ONCE(dev, 1, in swiotlb_map() 1789 dev_WARN_ONCE(dev, 1, "Cannot allocate pages from non page-aligned swiotlb addr 0x%pa.\n", in swiotlb_alloc()
|
| /linux/drivers/acpi/ |
| H 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/ |
| H A D | phy-core.c | 745 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_put() 1123 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_destroy() 1266 dev_WARN_ONCE(dev, r, "couldn't find PHY provider device resource\n"); in devm_of_phy_provider_unregister()
|
| /linux/drivers/base/power/ |
| H A D | wakeirq.c | 27 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq()
|
| /linux/drivers/counter/ |
| H A D | 104-quad-8.c | 1205 dev_WARN_ONCE(dev, true, in quad8_irq_handler() 1230 dev_WARN_ONCE(dev, true, in quad8_irq_handler() 1241 dev_WARN_ONCE(dev, true, in quad8_irq_handler()
|
| /linux/drivers/usb/core/ |
| H A D | urb.c | 411 dev_WARN_ONCE(&dev->dev, (usb_pipeout(urb->pipe) != is_out), in usb_submit_urb()
|
| /linux/drivers/s390/cio/ |
| H 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/ |
| H A D | cxl.c | 726 dev_WARN_ONCE(dev, 1, "too many targets found?\n"); in mock_decoder_commit() 754 dev_WARN_ONCE(&port->dev, cxld->id >= 16, in default_mock_decoder() 1358 dev_WARN_ONCE(&port->dev, 1, "unexpected depth %d\n", in cxl_mem_init()
|