drivers/cxl/core/region_dax.c

Source file repositories/reference/linux-study-clean/drivers/cxl/core/region_dax.c

File Facts

System
Linux kernel
Corpus path
drivers/cxl/core/region_dax.c
Extension
.c
Size
2520 bytes
Lines
107
Domain
Driver Families
Bucket
drivers/cxl
Inferred role
Driver Families: exported/initcall integration point
Status
integration implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

rc = device_add(dev);
	if (rc)
		return rc;

	dev_dbg(&cxlr->dev, "%s: register %s\n", dev_name(dev->parent),
		dev_name(dev));

	return devm_add_action_or_reset(&cxlr->dev, cxlr_dax_unregister,
					no_free_ptr(cxlr_dax));
}

Annotation

Implementation Notes