Home
last modified time | relevance | path

Searched refs:context_id (Results 1 – 25 of 85) sorted by relevance

1234

/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_datagram.c57 u32 context_id; in dg_create_handle() local
65 context_id = VMCI_INVALID_ID; in dg_create_handle()
67 context_id = vmci_get_context_id(); in dg_create_handle()
68 if (context_id == VMCI_INVALID_ID) in dg_create_handle()
109 if (context_id == VMCI_INVALID_ID) in vmci_datagram_get_priv_flags()
112 if (context_id == VMCI_HOST_CONTEXT_ID) { in vmci_datagram_get_priv_flags()
170 if (dg->src.context != context_id) { in dg_dispatch_as_host()
254 if (context_id != dg->dst.context) { in dg_dispatch_as_host()
266 context_id, dg->dst.context); in dg_dispatch_as_host()
338 if (VMCI_INVALID_ID == context_id) in vmci_datagram_dispatch()
[all …]
H A Dvmci_context.h140 int vmci_ctx_add_notification(u32 context_id, u32 remote_cid);
141 int vmci_ctx_remove_notification(u32 context_id, u32 remote_cid);
142 int vmci_ctx_get_chkpt_state(u32 context_id, u32 cpt_type,
144 int vmci_ctx_set_chkpt_state(u32 context_id, u32 cpt_type,
154 int vmci_ctx_dbell_create(u32 context_id, struct vmci_handle handle);
155 int vmci_ctx_dbell_destroy(u32 context_id, struct vmci_handle handle);
156 int vmci_ctx_dbell_destroy_all(u32 context_id);
160 int vmci_ctx_rcv_notifications_get(u32 context_id, struct vmci_handle_arr
163 void vmci_ctx_rcv_notifications_release(u32 context_id, struct vmci_handle_arr
H A Dvmci_context.c255 ev.payload.context_id = context_id; in ctx_fire_notification()
605 context = vmci_ctx_get(context_id); in vmci_ctx_add_notification()
611 context_id, remote_cid); in vmci_ctx_add_notification()
671 context = vmci_ctx_get(context_id); in vmci_ctx_remove_notification()
772 context = vmci_ctx_get(context_id); in vmci_ctx_get_chkpt_state()
864 context = vmci_ctx_get(context_id); in vmci_ctx_rcv_notifications_get()
949 context = vmci_ctx_get(context_id); in vmci_ctx_dbell_create()
978 context = vmci_ctx_get(context_id); in vmci_ctx_dbell_destroy()
1003 if (context_id == VMCI_INVALID_ID) in vmci_ctx_dbell_destroy_all()
1006 context = vmci_ctx_get(context_id); in vmci_ctx_dbell_destroy_all()
[all …]
H A Dvmci_queue_pair.c864 ev.payload.peer_id = context_id; in qp_notify_peer_local()
1347 entry->create_id = context_id; in qp_broker_create()
1537 context_id == entry->attach_id) { in qp_broker_attach()
1672 entry->attach_id = context_id; in qp_broker_attach()
1973 context_id == VMCI_INVALID_ID) in vmci_qp_broker_set_page_store()
2091 context_id == VMCI_INVALID_ID) { in vmci_qp_broker_detach()
2112 if (context_id != entry->create_id && context_id != entry->attach_id) { in vmci_qp_broker_detach()
2221 context_id == VMCI_INVALID_ID) in vmci_qp_broker_map()
2241 if (context_id != entry->create_id && context_id != entry->attach_id) { in vmci_qp_broker_map()
2331 context_id == VMCI_INVALID_ID) in vmci_qp_broker_unmap()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dexeclist.c45 #define same_context(a, b) (((a)->context_id == (b)->context_id) && \
109 status.context_id = 0; in emulate_execlist_status()
114 status.context_id = desc ? desc->context_id : 0; in emulate_execlist_status()
198 ctx->context_id, in emulate_execlist_ctx_schedule_out()
212 status.context_id = ctx->context_id; in emulate_execlist_ctx_schedule_out()
232 status.context_id = ctx->context_id; in emulate_execlist_ctx_schedule_out()
242 status.context_id = 0; in emulate_execlist_ctx_schedule_out()
299 ctx[1].context_id); in emulate_execlist_schedule_in()
319 status.context_id = 0; in emulate_execlist_schedule_in()
329 running->index, ctx0->context_id, ctx1->context_id); in emulate_execlist_schedule_in()
[all …]
H A Dexeclist.h57 u32 context_id; member
80 u32 context_id; member
119 u32 context_id; member
/openbmc/linux/arch/powerpc/include/asm/
H A Dmmu_context.h68 extern void __destroy_context(int context_id);
75 int context_id; in alloc_extended_context() local
79 context_id = hash__alloc_context_id(); in alloc_extended_context()
80 if (context_id < 0) in alloc_extended_context()
81 return context_id; in alloc_extended_context()
84 mm->context.extended_id[index] = context_id; in alloc_extended_context()
85 return context_id; in alloc_extended_context()
90 int context_id; in need_extra_context() local
92 context_id = get_user_context(&mm->context, ea); in need_extra_context()
93 if (!context_id) in need_extra_context()
[all …]
/openbmc/linux/include/uapi/scsi/
H A Dcxlflash_ioctl.h77 __u64 context_id; /* Returned context */ member
88 __u64 context_id; /* Context to detach */ member
94 __u64 context_id; /* Context to own physical resources */ member
104 __u64 context_id; /* Context to own virtual resources */ member
113 __u64 context_id; /* Context owning resources */ member
120 __u64 context_id; /* Context owning resources */ member
140 __u64 context_id; /* Context owning resources to verify */ member
154 __u64 context_id; /* Context to recover / updated ID */ member
/openbmc/linux/drivers/iommu/
H A Dipmmu-vmsa.c78 unsigned int context_id; member
190 unsigned int context_id, unsigned int reg) in ipmmu_ctx_reg() argument
194 if (context_id > 7) in ipmmu_ctx_reg()
201 unsigned int context_id, unsigned int reg) in ipmmu_ctx_read() argument
295 mmu->utlb_ctx[utlb] = domain->context_id; in ipmmu_utlb_enable()
341 unsigned int context_id) in ipmmu_domain_free_context() argument
347 clear_bit(context_id, mmu->ctx); in ipmmu_domain_free_context()
348 mmu->domains[context_id] = NULL; in ipmmu_domain_free_context()
442 domain->context_id = ret; in ipmmu_domain_init_context()
448 domain->context_id); in ipmmu_domain_init_context()
[all …]
/openbmc/qemu/target/arm/
H A Darm-powerctl.c55 uint64_t context_id; member
76 target_cpu->env.xregs[0] = info->context_id; in arm_set_cpu_on_async_work()
78 target_cpu->env.regs[0] = info->context_id; in arm_set_cpu_on_async_work()
96 int arm_set_cpu_on(uint64_t cpuid, uint64_t entry, uint64_t context_id, in arm_set_cpu_on() argument
107 context_id); in arm_set_cpu_on()
179 info->context_id = context_id; in arm_set_cpu_on()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dmmu_context.c220 void __destroy_context(int context_id) in __destroy_context() argument
222 ida_free(&mmu_context_ida, context_id); in __destroy_context()
232 int index, context_id; in destroy_contexts() local
235 context_id = ctx->extended_id[index]; in destroy_contexts()
236 if (context_id) in destroy_contexts()
237 ida_free(&mmu_context_ida, context_id); in destroy_contexts()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dcik_event_interrupt.c93 uint32_t context_id = ihre->data & 0xfffffff; in cik_event_interrupt_wq() local
101 kfd_signal_event_interrupt(pasid, context_id, 28); in cik_event_interrupt_wq()
103 kfd_signal_event_interrupt(pasid, context_id, 28); in cik_event_interrupt_wq()
105 kfd_signal_event_interrupt(pasid, context_id & 0xff, 8); in cik_event_interrupt_wq()
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Dpsci_test.c26 uint64_t context_id) in psci_cpu_on() argument
30 smccc_hvc(PSCI_0_2_FN64_CPU_ON, target_cpu, entry_addr, context_id, in psci_cpu_on()
47 static uint64_t psci_system_suspend(uint64_t entry_addr, uint64_t context_id) in psci_system_suspend() argument
51 smccc_hvc(PSCI_1_0_FN64_SYSTEM_SUSPEND, entry_addr, context_id, in psci_system_suspend()
/openbmc/u-boot/arch/arm/cpu/armv7/
H A Dpsci-common.c30 void __secure psci_save(int cpu, u32 pc, u32 context_id) in psci_save() argument
33 psci_context_id[cpu] = context_id; in psci_save()
/openbmc/u-boot/arch/arm/mach-uniphier/arm32/
H A Dpsci.c134 u32 context_id) in psci_cpu_on() argument
143 debug_puth(context_id); in psci_cpu_on()
146 psci_save(cpu, entry_point, context_id); in psci_cpu_on()
/openbmc/linux/drivers/firmware/
H A Dqcom_scm-legacy.c138 int ret = 0, context_id; in scm_legacy_call() local
173 smc.args[1] = (unsigned long)&context_id; in scm_legacy_call()
228 int context_id; in scm_legacy_call_atomic() local
235 (unsigned long)&context_id, in scm_legacy_call_atomic()
/openbmc/qemu/target/arm/tcg/
H A Dpsci.c69 uint64_t context_id, mpidr; in arm_handle_psci_call() local
150 context_id = param[3]; in arm_handle_psci_call()
151 ret = arm_set_cpu_on(mpidr, entry, context_id, in arm_handle_psci_call()
/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_hwi.c410 enbl_req.context_id = tgt->context_id; in bnx2fc_send_session_enable_req()
469 disable_req.context_id = tgt->context_id; in bnx2fc_send_session_disable_req()
504 destroy_req.context_id = tgt->context_id; in bnx2fc_send_session_destroy_req()
1179 tgt->context_id = context_id; in bnx2fc_process_ofld_cmpl()
1228 if (tgt->context_id != context_id) { in bnx2fc_process_enable_conn_cmpl()
1445 u32 context_id = tgt->context_id; in bnx2fc_map_doorbell() local
1500 u32 context_id = tgt->context_id; in bnx2fc_init_seq_cleanup_task() local
1574 u32 context_id = tgt->context_id; in bnx2fc_init_cleanup_task() local
1616 u32 context_id; in bnx2fc_init_mp_task() local
1671 context_id = tgt->context_id; in bnx2fc_init_mp_task()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dmcdi_filters.c393 if (ctx->context_id == EFX_MCDI_RSS_CONTEXT_INVALID) { in efx_mcdi_filter_insert_locked()
1419 if (ctx->context_id == EFX_MCDI_RSS_CONTEXT_INVALID) { in efx_mcdi_filter_table_restore()
1923 ctx->context_id); in efx_mcdi_set_rss_context_flags()
1950 ctx->context_id = EFX_MCDI_RSS_CONTEXT_INVALID; in efx_mcdi_filter_alloc_rss_context()
2062 u32 old_rx_rss_context = efx->rss_context.context_id; in efx_mcdi_filter_rx_push_exclusive_rss_config()
2096 efx->rss_context.context_id = old_rx_rss_context; in efx_mcdi_filter_rx_push_exclusive_rss_config()
2112 if (ctx->context_id == EFX_MCDI_RSS_CONTEXT_INVALID) { in efx_mcdi_rx_push_rss_context_config()
2147 if (ctx->context_id == EFX_MCDI_RSS_CONTEXT_INVALID) in efx_mcdi_rx_pull_rss_context_config()
2151 ctx->context_id); in efx_mcdi_rx_pull_rss_context_config()
2167 ctx->context_id); in efx_mcdi_rx_pull_rss_context_config()
[all …]
/openbmc/linux/arch/arm/mm/
H A Dcontext.c56 u64 context_id, asid; in a15_erratum_get_cpumask() local
59 context_id = mm->context.id.counter; in a15_erratum_get_cpumask()
70 if (context_id == asid) in a15_erratum_get_cpumask()
/openbmc/linux/drivers/scsi/cxlflash/
H A Dsuperpipe.c40 resize->context_id = release->context_id; in marshal_rele_to_resize()
53 release->context_id = detach->context_id; in marshal_det_to_rele()
65 release->context_id = udirect->context_id; in marshal_udir_to_rele()
647 rctxid = release->context_id; in _cxlflash_disk_release()
904 rctxid = detach->context_id; in _cxlflash_disk_detach()
1027 detach.context_id = ctxi->ctxid; in cxlflash_cxl_release()
1361 rctxid = attach->context_id; in cxlflash_disk_attach()
1473 attach->context_id = ctxi->ctxid; in cxlflash_disk_attach()
1663 rctxid = recover->context_id; in cxlflash_afu_recover()
1848 rctxid = verify->context_id; in cxlflash_disk_verify()
[all …]
/openbmc/u-boot/arch/arm/mach-stm32mp/
H A Dpsci.c111 u32 context_id) in psci_cpu_on() argument
125 psci_save(cpu, pc, context_id); in psci_cpu_on()
/openbmc/qemu/include/block/
H A Dnbd.h66 uint32_t context_id; member
166 uint32_t context_id; member
179 uint32_t context_id; member
388 uint32_t context_id; member
/openbmc/linux/include/linux/
H A Dvmw_vmci_api.h40 bool vmci_is_context_owner(u32 context_id, kuid_t uid);
47 u32 vmci_context_get_priv_flags(u32 context_id);
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_32_mmu_host.c352 __destroy_context(to_book3s(vcpu)->context_id[i]); in kvmppc_mmu_destroy_pr()
368 vcpu3s->context_id[i] = err; in kvmppc_mmu_init_pr()
388 if (!vcpu3s->context_id[j]) in kvmppc_mmu_init_pr()
391 __destroy_context(to_book3s(vcpu)->context_id[j]); in kvmppc_mmu_init_pr()

1234