/openbmc/linux/net/xdp/ |
H A D | xdp_umem.c | 24 static void xdp_umem_unpin_pages(struct xdp_umem *umem) in xdp_umem_unpin_pages() 32 static void xdp_umem_unaccount_pages(struct xdp_umem *umem) in xdp_umem_unaccount_pages() 40 static void xdp_umem_addr_unmap(struct xdp_umem *umem) in xdp_umem_addr_unmap() 46 static int xdp_umem_addr_map(struct xdp_umem *umem, struct page **pages, in xdp_umem_addr_map() 55 static void xdp_umem_release(struct xdp_umem *umem) in xdp_umem_release() 69 struct xdp_umem *umem = container_of(work, struct xdp_umem, work); in xdp_umem_release_deferred() local 74 void xdp_get_umem(struct xdp_umem *umem) in xdp_get_umem() 79 void xdp_put_umem(struct xdp_umem *umem, bool defer_cleanup) in xdp_put_umem() 128 static int xdp_umem_account_pages(struct xdp_umem *umem) in xdp_umem_account_pages() 151 static int xdp_umem_reg(struct xdp_umem *umem, struct xdp_umem_reg *mr) in xdp_umem_reg() [all …]
|
H A D | xsk_buff_pool.c | 56 struct xdp_umem *umem) in xp_create_and_assign_umem() 232 struct xdp_umem *umem = umem_xs->umem; in xp_assign_dev_shared() local 311 u32 nr_pages, struct xdp_umem *umem) in xp_create_dma_map()
|
H A D | xsk_diag.c | 50 struct xdp_umem *umem = xs->umem; in xsk_diag_put_umem() local
|
/openbmc/linux/include/rdma/ |
H A D | ib_umem.h | 32 struct ib_umem umem; member 43 static inline struct ib_umem_dmabuf *to_ib_umem_dmabuf(struct ib_umem *umem) in to_ib_umem_dmabuf() 49 static inline int ib_umem_offset(struct ib_umem *umem) in ib_umem_offset() 54 static inline unsigned long ib_umem_dma_offset(struct ib_umem *umem, in ib_umem_dma_offset() 61 static inline size_t ib_umem_num_dma_blocks(struct ib_umem *umem, in ib_umem_num_dma_blocks() 69 static inline size_t ib_umem_num_pages(struct ib_umem *umem) in ib_umem_num_pages() 75 struct ib_umem *umem, in __rdma_umem_block_iter_start() 133 static inline unsigned long ib_umem_find_best_pgoff(struct ib_umem *umem, in ib_umem_find_best_pgoff() 167 static inline void ib_umem_release(struct ib_umem *umem) { } in ib_umem_release() 172 static inline unsigned long ib_umem_find_best_pgsz(struct ib_umem *umem, in ib_umem_find_best_pgsz() [all …]
|
H A D | ib_umem_odp.h | 13 struct ib_umem umem; member 47 static inline struct ib_umem_odp *to_ib_umem_odp(struct ib_umem *umem) in to_ib_umem_odp()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | umem.c | 40 struct nvkm_umem *umem; in nvkm_umem_search() local 65 struct nvkm_umem *umem = nvkm_umem(object); in nvkm_umem_unmap() local 89 struct nvkm_umem *umem = nvkm_umem(object); in nvkm_umem_map() local 126 struct nvkm_umem *umem = nvkm_umem(object); in nvkm_umem_dtor() local 149 struct nvkm_umem *umem; in nvkm_umem_new() local
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | umem.c | 48 static void __ib_umem_release(struct ib_device *dev, struct ib_umem *umem, int dirty) in __ib_umem_release() 79 unsigned long ib_umem_find_best_pgsz(struct ib_umem *umem, in ib_umem_find_best_pgsz() 145 struct ib_umem *umem; in ib_umem_get() local 262 void ib_umem_release(struct ib_umem *umem) in ib_umem_release() 289 int ib_umem_copy_from(void *dst, struct ib_umem *umem, size_t offset, in ib_umem_copy_from()
|
H A D | umem_odp.c | 119 struct ib_umem *umem; in ib_umem_odp_alloc_implicit() local 167 struct ib_umem *umem; in ib_umem_odp_alloc_child() local
|
H A D | umem_dmabuf.c | 120 struct ib_umem *umem; in ib_umem_dmabuf_get() local
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xsk.c | 72 struct xsk_umem *umem; member 92 int xsk_umem__fd(const struct xsk_umem *umem) in xsk_umem__fd() 161 static int xsk_create_umem_rings(struct xsk_umem *umem, int fd, in xsk_create_umem_rings() 227 struct xsk_umem *umem; in xsk_umem__create() local 456 static struct xsk_ctx *xsk_get_ctx(struct xsk_umem *umem, int ifindex, in xsk_get_ctx() 476 struct xsk_umem *umem = ctx->umem; in xsk_put_ctx() local 501 struct xsk_umem *umem, int ifindex, in xsk_create_ctx() 538 __u32 queue_id, struct xsk_umem *umem, in xsk_socket__create_shared() 707 __u32 queue_id, struct xsk_umem *umem, in xsk_socket__create() 719 int xsk_umem__delete(struct xsk_umem *umem) in xsk_umem__delete() [all …]
|
H A D | xskxceiver.c | 174 static u64 umem_size(struct xsk_umem_info *umem) in umem_size() 208 static u64 umem_alloc_buffer(struct xsk_umem_info *umem) in umem_alloc_buffer() 220 static void umem_reset_alloc(struct xsk_umem_info *umem) in umem_reset_alloc() 271 struct xsk_umem_info *umem; in ifobj_zc_avail() local 654 struct xsk_umem_info *umem = ifobj->umem; in __pkt_stream_replace_half() local 673 struct xsk_umem_info *umem = test->ifobj_rx->umem; in pkt_stream_receive_half() local 974 struct xsk_umem_info *umem = xsk->umem; in receive_pkts() local 1100 struct xsk_umem_info *umem = ifobject->umem; in __send_pkts() local 1352 struct xsk_umem_info *umem, bool tx) in xsk_configure_socket() 1848 struct xsk_umem_info *umem = test->ifobj_tx->umem; in testapp_invalid_desc_mb() local [all …]
|
H A D | xskxceiver.h | 106 struct xsk_umem *umem; member 119 struct xsk_umem_info *umem; member 149 struct xsk_umem_info *umem; member
|
/openbmc/linux/drivers/infiniband/hw/mana/ |
H A D | mana_ib.h | 37 struct ib_umem *umem; member 60 struct ib_umem *umem; member 66 struct ib_umem *umem; member
|
H A D | wq.c | 16 struct ib_umem *umem; in mana_ib_create_wq() local
|
/openbmc/linux/lib/ |
H A D | test_user_copy.c | 47 static int test_check_nonzero_user(char *kmem, char __user *umem, size_t size) in test_check_nonzero_user() 105 static int test_copy_struct_from_user(char *kmem, char __user *umem, in test_copy_struct_from_user()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | mem.c | 42 void mlx5_ib_populate_pas(struct ib_umem *umem, size_t page_size, __be64 *pas, in mlx5_ib_populate_pas() 60 struct ib_umem *umem, unsigned long pgsz_bitmap, in __mlx5_umem_find_best_quantized_pgoff()
|
H A D | doorbell.c | 42 struct ib_umem *umem; member
|
H A D | mr.c | 1149 static unsigned int mlx5_umem_dmabuf_default_pgsz(struct ib_umem *umem, in mlx5_umem_dmabuf_default_pgsz() 1161 struct ib_umem *umem, u64 iova, in alloc_cacheable_mr() 1214 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem, in reg_create() 1397 static struct ib_mr *create_real_mr(struct ib_pd *pd, struct ib_umem *umem, in create_real_mr() 1503 struct ib_umem *umem; in mlx5_ib_reg_user_mr() local 1707 struct ib_umem *umem; in mlx5_ib_rereg_user_mr() local
|
/openbmc/linux/drivers/infiniband/sw/rdmavt/ |
H A D | mr.h | 13 struct ib_umem *umem; member
|
/openbmc/linux/drivers/infiniband/sw/siw/ |
H A D | siw_mem.h | 58 static inline struct page *siw_get_upage(struct siw_umem *umem, u64 addr) in siw_get_upage()
|
H A D | siw_mem.c | 69 void siw_umem_release(struct siw_umem *umem, bool dirty) in siw_umem_release() 367 struct siw_umem *umem; in siw_umem_get() local
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | doorbell.c | 40 struct ib_umem *umem; member
|
H A D | mr.c | 183 struct ib_umem *umem) in mlx4_ib_umem_write_mtt() 257 int mlx4_ib_umem_calc_optimal_mtt_size(struct ib_umem *umem, u64 start_va, in mlx4_ib_umem_calc_optimal_mtt_size()
|
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_alloc.c | 157 int buf_cnt, struct ib_umem *umem, in hns_roce_get_umem_bufs()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | client.h | 19 struct list_head umem; member
|