Home
last modified time | relevance | path

Searched refs:hns_roce_buf (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_alloc.c160 void hns_roce_buf_free(struct hns_roce_dev *hr_dev, struct hns_roce_buf *buf) in hns_roce_buf_free()
185 struct hns_roce_buf *buf, u32 page_shift) in hns_roce_buf_alloc()
235 int buf_cnt, int start, struct hns_roce_buf *buf) in hns_roce_get_kmem_bufs()
Dhns_roce_device.h362 struct hns_roce_buf *kmem; /* kernel space buffer */
422 struct hns_roce_buf { struct
1072 static inline bool hns_roce_buf_is_direct(struct hns_roce_buf *buf) in hns_roce_buf_is_direct()
1080 static inline void *hns_roce_buf_offset(struct hns_roce_buf *buf, int offset) in hns_roce_buf_offset()
1089 static inline dma_addr_t hns_roce_buf_page(struct hns_roce_buf *buf, int idx) in hns_roce_buf_page()
1225 void hns_roce_buf_free(struct hns_roce_dev *hr_dev, struct hns_roce_buf *buf);
1227 struct hns_roce_buf *buf, u32 page_shift);
1230 int buf_cnt, int start, struct hns_roce_buf *buf);