lib/iommu-helper.c

Source file repositories/reference/linux-study-clean/lib/iommu-helper.c

File Facts

System
Linux kernel
Corpus path
lib/iommu-helper.c
Extension
.c
Size
755 bytes
Lines
30
Domain
Kernel Services
Bucket
lib
Inferred role
Kernel Services: implementation source
Status
source implementation candidate

Why This File Exists

Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.

Dependency Surface

Detected Declarations

Annotated Snippet

if (iommu_is_span_boundary(index, nr, shift, boundary_size)) {
			start = ALIGN(shift + index, boundary_size) - shift;
			goto again;
		}
		bitmap_set(map, index, nr);
		return index;
	}
	return -1;
}

Annotation

Implementation Notes