Searched refs:ctx_entry (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/ |
D | metadata.c | 298 struct nfp_fl_stats_ctx_to_flow *ctx_entry; in nfp_compile_flow_metadata() local 315 ctx_entry = kzalloc(sizeof(*ctx_entry), GFP_KERNEL); in nfp_compile_flow_metadata() 316 if (!ctx_entry) { in nfp_compile_flow_metadata() 321 ctx_entry->stats_cxt = stats_cxt; in nfp_compile_flow_metadata() 322 ctx_entry->flow = nfp_flow; in nfp_compile_flow_metadata() 324 if (rhashtable_insert_fast(&priv->stats_ctx_table, &ctx_entry->ht_node, in nfp_compile_flow_metadata() 381 &ctx_entry->ht_node, in nfp_compile_flow_metadata() 384 kfree(ctx_entry); in nfp_compile_flow_metadata() 402 struct nfp_fl_stats_ctx_to_flow *ctx_entry; in nfp_modify_flow_metadata() local 419 ctx_entry = rhashtable_lookup_fast(&priv->stats_ctx_table, &temp_ctx_id, in nfp_modify_flow_metadata() [all …]
|
/Linux-v5.4/drivers/gpu/drm/ |
D | drm_context.c | 368 struct drm_ctx_list *ctx_entry; in drm_legacy_addctx() local 390 ctx_entry = kmalloc(sizeof(*ctx_entry), GFP_KERNEL); in drm_legacy_addctx() 391 if (!ctx_entry) { in drm_legacy_addctx() 396 INIT_LIST_HEAD(&ctx_entry->head); in drm_legacy_addctx() 397 ctx_entry->handle = ctx->handle; in drm_legacy_addctx() 398 ctx_entry->tag = file_priv; in drm_legacy_addctx() 401 list_add(&ctx_entry->head, &dev->ctxlist); in drm_legacy_addctx()
|
/Linux-v5.4/drivers/iommu/ |
D | intel-iommu-debugfs.c | 24 struct context_entry *ctx_entry; member 152 tbl_wlk->rt_entry->lo, tbl_wlk->ctx_entry->hi, in print_tbl_walk() 153 tbl_wlk->ctx_entry->lo); in print_tbl_walk() 235 tbl_wlk.ctx_entry = context; in ctx_tbl_walk()
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_execbuf.c | 1032 struct vmw_res_cache_entry *ctx_entry = in vmw_query_bo_switch_prepare() local 1036 BUG_ON(!ctx_entry->valid); in vmw_query_bo_switch_prepare() 1037 sw_context->last_query_ctx = ctx_entry->res; in vmw_query_bo_switch_prepare() 1091 struct vmw_res_cache_entry *ctx_entry = in vmw_query_bo_switch_commit() local 1096 BUG_ON(!ctx_entry->valid); in vmw_query_bo_switch_commit() 1097 ctx = ctx_entry->res; in vmw_query_bo_switch_commit()
|