drivers/infiniband/hw/hfi1/pinning.h

Source file repositories/reference/linux-study-clean/drivers/infiniband/hw/hfi1/pinning.h

File Facts

System
Linux kernel
Corpus path
drivers/infiniband/hw/hfi1/pinning.h
Extension
.h
Size
585 bytes
Lines
21
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 _HFI1_PINNING_H
#define _HFI1_PINNING_H

struct hfi1_user_sdma_pkt_q;
struct user_sdma_request;
struct user_sdma_txreq;
struct user_sdma_iovec;

int hfi1_init_system_pinning(struct hfi1_user_sdma_pkt_q *pq);
void hfi1_free_system_pinning(struct hfi1_user_sdma_pkt_q *pq);
int hfi1_add_pages_to_sdma_packet(struct user_sdma_request *req,
				  struct user_sdma_txreq *tx,
				  struct user_sdma_iovec *iovec,
				  u32 *pkt_data_remaining);

#endif /* _HFI1_PINNING_H */

Annotation

Implementation Notes