Searched refs:kmem (Results 1 – 17 of 17) sorted by relevance
| /drivers/infiniband/hw/mana/ |
| A D | cq.c | 145 if (cq->queue.kmem) in mana_ib_install_cq_cb() 146 gdma_cq = cq->queue.kmem; in mana_ib_install_cq_cb() 167 if (cq->queue.kmem) in mana_ib_remove_cq_cb() 178 struct gdma_queue *gdma_cq = cq->queue.kmem; in mana_ib_arm_cq() 190 struct gdma_queue *wq = qp->ud_qp.queues[MANA_UD_SEND_QUEUE].kmem; in handle_ud_sq_cqe() 206 struct gdma_queue *wq = qp->ud_qp.queues[MANA_UD_RECV_QUEUE].kmem; in handle_ud_rq_cqe() 298 struct gdma_queue *queue = cq->queue.kmem; in mana_ib_poll_cq()
|
| A D | wr.c | 13 struct gdma_queue *queue = qp->ud_qp.queues[MANA_UD_RECV_QUEUE].kmem; in mana_ib_post_recv_ud() 80 struct gdma_queue *queue = qp->ud_qp.queues[MANA_UD_SEND_QUEUE].kmem; in mana_ib_post_send_ud()
|
| A D | main.c | 255 err = mana_gd_create_mana_wq_cq(mdev->gdma_dev, &spec, &queue->kmem); in mana_ib_create_kernel_queue() 259 queue->gdma_region = queue->kmem->mem_info.dma_region_handle; in mana_ib_create_kernel_queue() 260 queue->kmem->mem_info.dma_region_handle = GDMA_INVALID_DMA_REGION; in mana_ib_create_kernel_queue() 303 if (queue->kmem) in mana_ib_destroy_queue() 304 mana_gd_destroy_queue(mdev_to_gc(mdev), queue->kmem); in mana_ib_destroy_queue()
|
| A D | mana_ib.h | 68 struct gdma_queue *kmem; member
|
| A D | qp.c | 680 qp->ud_qp.queues[i].kmem->id = qp->ud_qp.queues[i].id; in mana_ib_create_ud_qp()
|
| /drivers/infiniband/hw/hns/ |
| A D | hns_roce_mr.c | 577 if (mtr->kmem) { in mtr_free_bufs() 578 hns_roce_buf_free(hr_dev, mtr->kmem); in mtr_free_bufs() 579 mtr->kmem = NULL; in mtr_free_bufs() 593 mtr->kmem = NULL; in mtr_alloc_bufs() 603 mtr->kmem = hns_roce_buf_alloc(hr_dev, total_size, in mtr_alloc_bufs() 607 if (IS_ERR(mtr->kmem)) { in mtr_alloc_bufs() 609 PTR_ERR(mtr->kmem)); in mtr_alloc_bufs() 610 return PTR_ERR(mtr->kmem); in mtr_alloc_bufs() 662 mtr->kmem, page_shift); in mtr_map_bufs() 1049 mtr->kmem = NULL; in hns_roce_mtr_create()
|
| A D | hns_roce_device.h | 315 struct hns_roce_buf *kmem; /* kernel space buffer */ member
|
| A D | hns_roce_hw_v2.c | 874 return hns_roce_buf_offset(srq->buf_mtr.kmem, n << srq->wqe_shift); in get_srq_wqe_buf() 879 return hns_roce_buf_offset(idx_que->mtr.kmem, in get_idx_buf() 3530 return hns_roce_buf_offset(hr_cq->mtr.kmem, n * hr_cq->cqe_size); in get_cqe_v2() 6221 aeqe = hns_roce_buf_offset(eq->mtr.kmem, in next_aeqe_sw_v2() 6290 ceqe = hns_roce_buf_offset(eq->mtr.kmem, in next_ceqe_sw_v2()
|
| A D | hns_roce_qp.c | 1535 return hns_roce_buf_offset(hr_qp->mtr.kmem, offset); in get_wqe()
|
| /drivers/crypto/nx/ |
| A D | nx.c | 285 memset(nx_ctx->kmem, 0, nx_ctx->kmem_len); in nx_ctx_init() 646 nx_ctx->kmem = kmalloc(nx_ctx->kmem_len, GFP_KERNEL); in nx_crypto_ctx_init() 647 if (!nx_ctx->kmem) in nx_crypto_ctx_init() 651 nx_ctx->csbcpb = (struct nx_csbcpb *)(round_up((u64)nx_ctx->kmem, in nx_crypto_ctx_init() 726 kfree_sensitive(nx_ctx->kmem); in nx_crypto_ctx_exit() 742 kfree_sensitive(nx_ctx->kmem); in nx_crypto_ctx_aead_exit()
|
| A D | nx.h | 123 void *kmem; /* unaligned, kmalloc'd buffer */ member
|
| /drivers/dax/ |
| A D | Makefile | 4 obj-$(CONFIG_DEV_DAX_KMEM) += kmem.o
|
| A D | Kconfig | 77 device_dax driver and bound to this kmem driver on each boot.
|
| /drivers/infiniband/hw/irdma/ |
| A D | verbs.h | 126 struct irdma_dma_mem kmem; member
|
| A D | verbs.c | 1790 iwcq->kmem.va, iwcq->kmem.pa); in irdma_cq_free_rsrc() 1791 iwcq->kmem.va = NULL; in irdma_cq_free_rsrc() 2001 cq_buf->kmem_buf = iwcq->kmem; in irdma_resize_cq() 2006 iwcq->kmem = kmem_buf; in irdma_resize_cq() 2164 iwcq->kmem.size = ALIGN(round_up(rsize, 256), 256); in irdma_create_cq() 2165 iwcq->kmem.va = dma_alloc_coherent(dev->hw->device, in irdma_create_cq() 2166 iwcq->kmem.size, in irdma_create_cq() 2167 &iwcq->kmem.pa, GFP_KERNEL); in irdma_create_cq() 2168 if (!iwcq->kmem.va) { in irdma_create_cq() 2185 ukinfo->cq_base = iwcq->kmem.va; in irdma_create_cq() [all …]
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_ethtool.c | 3397 u8 *kmem; in bnxt_flash_nvram() local 3399 kmem = hwrm_req_dma_slice(bp, req, data_len, &dma_handle); in bnxt_flash_nvram() 3400 if (!kmem) { in bnxt_flash_nvram() 3407 memcpy(kmem, data, data_len); in bnxt_flash_nvram() 3802 u8 *kmem = NULL; in bnxt_flash_package_from_fw_obj() local 3826 kmem = hwrm_req_dma_slice(bp, modify, modify_len, &dma_handle); in bnxt_flash_package_from_fw_obj() 3827 if (!kmem && modify_len > PAGE_SIZE) in bnxt_flash_package_from_fw_obj() 3832 if (!kmem) { in bnxt_flash_package_from_fw_obj() 3883 memcpy(kmem, fw->data + copied, len); in bnxt_flash_package_from_fw_obj()
|
| /drivers/firmware/efi/ |
| A D | Kconfig | 45 device-dax kmem facility. Say N to have the kernel treat this
|
Completed in 75 milliseconds