Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/nvdimm/
Dblk.c39 dev_WARN_ONCE(&nsblk->common.dev, 1, in to_dev_offset()
48 dev_WARN_ONCE(&nsblk->common.dev, 1, "request out of range\n"); in to_dev_offset()
216 dev_WARN_ONCE(&ndns->dev, 1, "request out of range\n"); in nsblk_rw_bytes()
Dclaim.c23 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()
264 dev_WARN_ONCE(&ndns->dev, 1, "request out of range\n"); in nsio_rw_bytes()
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()
Dbadrange.c275 dev_WARN_ONCE(&nd_region->dev, 1, in nvdimm_badblocks_populate()
Dnd-core.h65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
Ddimm_devs.c351 dev_WARN_ONCE(dev, 1, "we ate our last label?\n"); in available_slots_show()
688 if (dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), in dpa_align()
691 if (dev_WARN_ONCE(dev, !nd_region->ndr_mappings || nd_region->align in dpa_align()
Dcore.c109 dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), "%s: bus unlocked!", in alloc_nvdimm_map()
Dnamespace_devs.c349 dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, in nd_namespace_label_update()
804 dev_WARN_ONCE(&nd_region->dev, rem, in __reserve_free_pmem()
885 dev_WARN_ONCE(&nd_region->dev, rem, in grow_dpa_allocation()
1723 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe()
/Linux-v5.10/drivers/dax/
Dbus.c712 if (dev_WARN_ONCE(&dev_dax->dev, !dax_region->dev->driver, in devm_register_dax_mapping()
759 if (dev_WARN_ONCE(dev, dev_dax->nr_range, in alloc_dev_dax_range()
830 if (dev_WARN_ONCE(dev, !size, "deletion is handled by dev_dax_shrink\n")) in adjust_dev_dax_range()
907 if (dev_WARN_ONCE(dev, !adjust || i != dev_dax->nr_range - 1, in dev_dax_shrink()
963 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc), in dev_dax_resize()
1302 if (dev_WARN_ONCE(parent, data->id < 0, in devm_create_dev_dax()
1310 if (dev_WARN_ONCE(parent, data->id >= 0, in devm_create_dev_dax()
1332 dev_WARN_ONCE(parent, !is_static(dax_region), in devm_create_dev_dax()
Ddevice.c402 if (dev_WARN_ONCE(dev, pgmap && dev_dax->nr_range > 1, in dev_dax_probe()
/Linux-v5.10/include/linux/
Dbadblocks.h60 dev_WARN_ONCE(dev, 1, "%s: badblocks instance not associated\n", in devm_exit_badblocks()
Ddev_printk.h241 #define dev_WARN_ONCE(dev, condition, format, arg...) \ macro
Ddma-mapping.h275 if (dev_WARN_ONCE(dev, is_vmalloc_addr(ptr), in dma_map_single_attrs()
/Linux-v5.10/kernel/dma/
Ddirect.h97 dev_WARN_ONCE(dev, 1, in dma_direct_map_page()
Dswiotlb.c681 dev_WARN_ONCE(dev, 1, in swiotlb_map()
/Linux-v5.10/drivers/phy/
Dphy-core.c619 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_put()
990 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_phy_destroy()
1133 dev_WARN_ONCE(dev, r, "couldn't find PHY provider device resource\n"); in devm_of_phy_provider_unregister()
/Linux-v5.10/drivers/base/power/
Dwakeirq.c30 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq()
/Linux-v5.10/drivers/acpi/
Dacpi_ipmi.c267 dev_WARN_ONCE(tx_msg->device->dev, true, in acpi_format_ipmi_request()
408 dev_WARN_ONCE(dev, true, in ipmi_msg_handler()
/Linux-v5.10/drivers/tty/serdev/
Dserdev-ttyport.c37 dev_WARN_ONCE(&ctrl->dev, ret < 0 || ret > count, in ttyport_receive_buf()
/Linux-v5.10/drivers/pci/endpoint/
Dpci-epc-core.c595 dev_WARN_ONCE(dev, r, "couldn't find PCI EPC resource\n"); in devm_pci_epc_destroy()
/Linux-v5.10/drivers/usb/phy/
Dphy.c594 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); in devm_usb_put_phy()
/Linux-v5.10/drivers/i2c/busses/
Di2c-designware-master.c465 if (dev_WARN_ONCE(dev->dev, dev->suspended, "Transfer while suspended\n")) { in i2c_dw_xfer()
/Linux-v5.10/drivers/s390/cio/
Dqdio_main.c504 dev_WARN_ONCE(&q->irq_ptr->cdev->dev, 1, in get_inbound_buffer_frontier()
687 dev_WARN_ONCE(&q->irq_ptr->cdev->dev, 1, in get_outbound_buffer_frontier()
/Linux-v5.10/drivers/usb/dwc3/
Dgadget.c319 dev_WARN_ONCE(dwc->dev, ret, "wakeup failed --> %d\n", in dwc3_send_gadget_ep_cmd()
830 if (dev_WARN_ONCE(dwc->dev, dep->flags & DWC3_EP_ENABLED, in dwc3_gadget_ep_enable()
857 if (dev_WARN_ONCE(dwc->dev, !(dep->flags & DWC3_EP_ENABLED), in dwc3_gadget_ep_disable()
3589 if (dev_WARN_ONCE(dwc->dev, !dwc->has_hibernation, in dwc3_gadget_interrupt()
/Linux-v5.10/drivers/usb/mtu3/
Dmtu3_gadget.c177 dev_WARN_ONCE(mtu->dev, true, "%s is already enabled\n", in mtu3_gadget_ep_enable()

12