drivers/infiniband/sw/rdmavt/mmap.h

Source file repositories/reference/linux-study-clean/drivers/infiniband/sw/rdmavt/mmap.h

File Facts

System
Linux kernel
Corpus path
drivers/infiniband/sw/rdmavt/mmap.h
Extension
.h
Size
612 bytes
Lines
20
Domain
Driver Families
Bucket
drivers/infiniband
Inferred role
Driver Families: implementation source
Status
source 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

#ifndef DEF_RDMAVTMMAP_H
#define DEF_RDMAVTMMAP_H

#include <rdma/rdma_vt.h>

void rvt_mmap_init(struct rvt_dev_info *rdi);
void rvt_release_mmap_info(struct kref *ref);
int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
struct rvt_mmap_info *rvt_create_mmap_info(struct rvt_dev_info *rdi, u32 size,
					   struct ib_udata *udata, void *obj);
void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip,
			  u32 size, void *obj);

#endif          /* DEF_RDMAVTMMAP_H */

Annotation

Implementation Notes