Lines Matching refs:pasid
10 int pasid;
19 pasid = idr_alloc(&afu->contexts_idr, ctx, afu->pasid_base,
21 if (pasid < 0) {
24 return pasid;
29 ctx->pasid = pasid;
86 rc = ocxl_link_add_pe(ctx->afu->fn->link, ctx->pasid, pidr, ctx->tidr,
129 pasid_off = ctx->pasid - ctx->afu->pasid_base;
147 pr_debug("%s: pasid %d address 0x%lx offset 0x%llx\n", __func__,
148 ctx->pasid, vmf->address, offset);
231 rc = ocxl_config_terminate_pasid(dev, afu_control_pos, ctx->pasid);
233 trace_ocxl_terminate_pasid(ctx->pasid, rc);
237 * pasid, then it's dangerous to clean up the Process
251 rc = ocxl_link_remove_pe(ctx->afu->fn->link, ctx->pasid);
287 idr_remove(&ctx->afu->contexts_idr, ctx->pasid);