Home
last modified time | relevance | path

Searched refs:ctx_entry (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c310 struct nfp_fl_stats_ctx_to_flow *ctx_entry; in nfp_compile_flow_metadata() local
327 ctx_entry = kzalloc(sizeof(*ctx_entry), GFP_KERNEL); in nfp_compile_flow_metadata()
328 if (!ctx_entry) { in nfp_compile_flow_metadata()
333 ctx_entry->stats_cxt = stats_cxt; in nfp_compile_flow_metadata()
334 ctx_entry->flow = nfp_flow; in nfp_compile_flow_metadata()
336 if (rhashtable_insert_fast(&priv->stats_ctx_table, &ctx_entry->ht_node, in nfp_compile_flow_metadata()
382 &ctx_entry->ht_node, in nfp_compile_flow_metadata()
385 kfree(ctx_entry); in nfp_compile_flow_metadata()
403 struct nfp_fl_stats_ctx_to_flow *ctx_entry; in nfp_modify_flow_metadata() local
421 ctx_entry = rhashtable_lookup_fast(&priv->stats_ctx_table, &temp_ctx_id, in nfp_modify_flow_metadata()
[all …]
/linux-6.1.9/drivers/gpu/drm/
Ddrm_context.c369 struct drm_ctx_list *ctx_entry; in drm_legacy_addctx() local
391 ctx_entry = kmalloc(sizeof(*ctx_entry), GFP_KERNEL); in drm_legacy_addctx()
392 if (!ctx_entry) { in drm_legacy_addctx()
397 INIT_LIST_HEAD(&ctx_entry->head); in drm_legacy_addctx()
398 ctx_entry->handle = ctx->handle; in drm_legacy_addctx()
399 ctx_entry->tag = file_priv; in drm_legacy_addctx()
402 list_add(&ctx_entry->head, &dev->ctxlist); in drm_legacy_addctx()
/linux-6.1.9/drivers/iommu/intel/
Ddebugfs.c26 struct context_entry *ctx_entry; member
167 tbl_wlk->rt_entry->lo, tbl_wlk->ctx_entry->hi, in print_tbl_walk()
168 tbl_wlk->ctx_entry->lo); in print_tbl_walk()
250 tbl_wlk.ctx_entry = context; in ctx_tbl_walk()
Diommu.c850 struct context_entry *ctx_entry; in dmar_fault_dump_ptes() local
873 ctx_entry = iommu_context_addr(iommu, bus, devfn, 0); in dmar_fault_dump_ptes()
874 if (!ctx_entry) { in dmar_fault_dump_ptes()
880 ctx_entry->hi, ctx_entry->lo); in dmar_fault_dump_ptes()
884 level = agaw_to_level(ctx_entry->hi & 7); in dmar_fault_dump_ptes()
885 pgtable = phys_to_virt(ctx_entry->lo & VTD_PAGE_MASK); in dmar_fault_dump_ptes()
890 dir = phys_to_virt(ctx_entry->lo & VTD_PAGE_MASK); in dmar_fault_dump_ptes()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c1023 struct vmw_res_cache_entry *ctx_entry = in vmw_query_bo_switch_prepare() local
1027 BUG_ON(!ctx_entry->valid); in vmw_query_bo_switch_prepare()
1028 sw_context->last_query_ctx = ctx_entry->res; in vmw_query_bo_switch_prepare()
1082 struct vmw_res_cache_entry *ctx_entry = in vmw_query_bo_switch_commit() local
1087 BUG_ON(!ctx_entry->valid); in vmw_query_bo_switch_commit()
1088 ctx = ctx_entry->res; in vmw_query_bo_switch_commit()