| /OK3568_Linux_fs/kernel/drivers/misc/vmw_vmci/ |
| H A D | vmci_datagram.c | 57 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() 72 handle = vmci_make_handle(context_id, resource_id); in dg_create_handle() 105 static int vmci_datagram_get_priv_flags(u32 context_id, in vmci_datagram_get_priv_flags() argument 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() 125 } else if (context_id == VMCI_HYPERVISOR_CONTEXT_ID) in vmci_datagram_get_priv_flags() 128 *priv_flags = vmci_context_get_priv_flags(context_id); in vmci_datagram_get_priv_flags() [all …]
|
| H A D | vmci_context.c | 201 static int ctx_fire_notification(u32 context_id, u32 priv_flags) in ctx_fire_notification() argument 207 vmci_make_handle(context_id, VMCI_EVENT_HANDLER); in ctx_fire_notification() 255 ev.payload.context_id = context_id; in ctx_fire_notification() 598 int vmci_ctx_add_notification(u32 context_id, u32 remote_cid) in vmci_ctx_add_notification() argument 605 context = vmci_ctx_get(context_id); in vmci_ctx_add_notification() 609 if (VMCI_CONTEXT_IS_VM(context_id) && VMCI_CONTEXT_IS_VM(remote_cid)) { in vmci_ctx_add_notification() 611 context_id, remote_cid); in vmci_ctx_add_notification() 665 int vmci_ctx_remove_notification(u32 context_id, u32 remote_cid) in vmci_ctx_remove_notification() argument 672 context = vmci_ctx_get(context_id); in vmci_ctx_remove_notification() 767 int vmci_ctx_get_chkpt_state(u32 context_id, in vmci_ctx_get_chkpt_state() argument [all …]
|
| H A D | vmci_context.h | 140 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 D | vmci_queue_pair.c | 852 u32 context_id = vmci_get_context_id(); in qp_notify_peer_local() local 856 ev.msg.hdr.dst = vmci_make_handle(context_id, VMCI_EVENT_HANDLER); in qp_notify_peer_local() 862 ev.payload.peer_id = context_id; in qp_notify_peer_local() 891 u32 context_id = vmci_get_context_id(); in qp_guest_endpoint_create() local 893 handle = vmci_make_handle(context_id, VMCI_INVALID_ID); in qp_guest_endpoint_create() 1189 u32 context_id = vmci_get_context_id(); in qp_alloc_guest_work() local 1200 if (queue_pair_entry->qp.handle.context != context_id || in qp_alloc_guest_work() 1202 queue_pair_entry->qp.peer != context_id)) { in qp_alloc_guest_work() 1292 const u32 context_id = vmci_ctx_get_id(context); in qp_broker_create() local 1306 if (handle.context != context_id && handle.context != peer) in qp_broker_create() [all …]
|
| H A D | vmci_resource.c | 69 static u32 vmci_resource_find_id(u32 context_id, in vmci_resource_find_id() argument 90 handle = vmci_make_handle(context_id, current_rid); in vmci_resource_find_id()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/ |
| H A D | execlist.c | 45 #define same_context(a, b) (((a)->context_id == (b)->context_id) && \ 70 execlist->running_context->context_id : 0, in switch_virtual_execlist_slot() 83 execlist->running_context->context_id : 0, in switch_virtual_execlist_slot() 109 status.context_id = 0; in emulate_execlist_status() 114 status.context_id = desc ? desc->context_id : 0; in emulate_execlist_status() 193 gvt_dbg_el("schedule out context id %x\n", ctx->context_id); in emulate_execlist_ctx_schedule_out() 198 ctx->context_id, in emulate_execlist_ctx_schedule_out() 199 execlist->running_context->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() [all …]
|
| H A D | execlist.h | 57 u32 context_id; member 80 u32 context_id; member 119 u32 context_id; member
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | mmu_context.h | 74 extern void __destroy_context(int context_id); 80 int context_id; in alloc_extended_context() local 84 context_id = hash__alloc_context_id(); in alloc_extended_context() 85 if (context_id < 0) in alloc_extended_context() 86 return context_id; in alloc_extended_context() 89 mm->context.extended_id[index] = context_id; in alloc_extended_context() 90 return context_id; in alloc_extended_context() 95 int context_id; in need_extra_context() local 97 context_id = get_user_context(&mm->context, ea); in need_extra_context() 98 if (!context_id) in need_extra_context() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/scsi/ |
| H A D | cxlflash_ioctl.h | 77 __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
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/scsi/ |
| H A D | cxlflash_ioctl.h | 77 __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
|
| /OK3568_Linux_fs/kernel/include/uapi/scsi/ |
| H A D | cxlflash_ioctl.h | 77 __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
|
| /OK3568_Linux_fs/kernel/drivers/iommu/ |
| H A D | ipmmu-vmsa.c | 80 unsigned int context_id; member 192 unsigned int context_id, unsigned int reg) in ipmmu_ctx_reg() argument 195 context_id * mmu->features->ctx_offset_stride + reg; in ipmmu_ctx_reg() 199 unsigned int context_id, unsigned int reg) in ipmmu_ctx_read() argument 201 return ipmmu_read(mmu, ipmmu_ctx_reg(mmu, context_id, reg)); in ipmmu_ctx_read() 205 unsigned int context_id, unsigned int reg, u32 data) in ipmmu_ctx_write() argument 207 ipmmu_write(mmu, ipmmu_ctx_reg(mmu, context_id, reg), data); in ipmmu_ctx_write() 213 return ipmmu_ctx_read(domain->mmu->root, domain->context_id, reg); in ipmmu_ctx_read_root() 219 ipmmu_ctx_write(domain->mmu->root, domain->context_id, reg, data); in ipmmu_ctx_write_root() 226 ipmmu_ctx_write(domain->mmu, domain->context_id, reg, data); in ipmmu_ctx_write_all() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_int_process_v9.c | 91 uint32_t context_id; in event_interrupt_wq_v9() local 97 context_id = SOC15_CONTEXT_ID0_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v9() 100 kfd_signal_event_interrupt(pasid, context_id, 32); in event_interrupt_wq_v9() 102 kfd_signal_event_interrupt(pasid, context_id & 0xfffffff, 28); in event_interrupt_wq_v9() 104 kfd_signal_event_interrupt(pasid, context_id & 0xffffff, 24); in event_interrupt_wq_v9()
|
| H A D | cik_event_interrupt.c | 92 uint32_t context_id = ihre->data & 0xfffffff; in cik_event_interrupt_wq() local 100 kfd_signal_event_interrupt(pasid, context_id, 28); in cik_event_interrupt_wq() 102 kfd_signal_event_interrupt(pasid, context_id, 28); in cik_event_interrupt_wq() 104 kfd_signal_event_interrupt(pasid, context_id & 0xff, 8); in cik_event_interrupt_wq()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/mm/book3s64/ |
| H A D | mmu_context.c | 208 void __destroy_context(int context_id) in __destroy_context() argument 210 ida_free(&mmu_context_ida, context_id); in __destroy_context() 216 int index, context_id; in destroy_contexts() local 219 context_id = ctx->extended_id[index]; in destroy_contexts() 220 if (context_id) in destroy_contexts() 221 ida_free(&mmu_context_ida, context_id); in destroy_contexts()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/bnx2fc/ |
| H A D | bnx2fc_hwi.c | 410 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() 1160 u32 context_id; in bnx2fc_process_ofld_cmpl() local 1163 context_id = ofld_kcqe->fcoe_conn_context_id; in bnx2fc_process_ofld_cmpl() 1180 tgt->context_id = context_id; in bnx2fc_process_ofld_cmpl() 1212 u32 context_id; in bnx2fc_process_enable_conn_cmpl() local 1214 context_id = ofld_kcqe->fcoe_conn_context_id; in bnx2fc_process_enable_conn_cmpl() 1229 if (tgt->context_id != context_id) { in bnx2fc_process_enable_conn_cmpl() 1446 u32 context_id = tgt->context_id; in bnx2fc_map_doorbell() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/firmware/ |
| H A D | qcom_scm-legacy.c | 135 int ret = 0, context_id; in scm_legacy_call() local 170 smc.args[1] = (unsigned long)&context_id; in scm_legacy_call() 224 int context_id; in scm_legacy_call_atomic() local 231 (unsigned long)&context_id, in scm_legacy_call_atomic()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | mcdi_filters.c | 212 else if (WARN_ON_ONCE(ctx->context_id == EFX_MCDI_RSS_CONTEXT_INVALID)) in efx_mcdi_filter_push_prep() 240 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_RX_CONTEXT, ctx->context_id); in efx_mcdi_filter_push_prep() 390 if (ctx->context_id == EFX_MCDI_RSS_CONTEXT_INVALID) { in efx_mcdi_filter_insert_locked() 1415 if (ctx->context_id == EFX_MCDI_RSS_CONTEXT_INVALID) { in efx_mcdi_filter_table_restore() 1916 if (efx_mcdi_get_rss_context_flags(efx, ctx->context_id, &flags) != 0) in efx_mcdi_set_rss_context_flags() 1919 ctx->context_id); in efx_mcdi_set_rss_context_flags() 1946 ctx->context_id = EFX_MCDI_RSS_CONTEXT_INVALID; in efx_mcdi_filter_alloc_rss_context() 1968 ctx->context_id = MCDI_DWORD(outbuf, RSS_CONTEXT_ALLOC_OUT_RSS_CONTEXT_ID); in efx_mcdi_filter_alloc_rss_context() 2031 if (efx->rss_context.context_id != EFX_MCDI_RSS_CONTEXT_INVALID) { in efx_mcdi_rx_free_indir_table() 2032 rc = efx_mcdi_filter_free_rss_context(efx, efx->rss_context.context_id); in efx_mcdi_rx_free_indir_table() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/cxlflash/ |
| H A D | superpipe.c | 40 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() 645 u64 ctxid = DECODE_CTXID(release->context_id), in _cxlflash_disk_release() 646 rctxid = release->context_id; in _cxlflash_disk_release() 902 u64 ctxid = DECODE_CTXID(detach->context_id), in _cxlflash_disk_detach() 903 rctxid = detach->context_id; in _cxlflash_disk_detach() 1026 detach.context_id = ctxi->ctxid; in cxlflash_cxl_release() 1360 rctxid = attach->context_id; in cxlflash_disk_attach() 1472 attach->context_id = ctxi->ctxid; in cxlflash_disk_attach() [all …]
|
| H A D | vlun.c | 35 resize->context_id = virt->context_id; in marshal_virt_to_resize() 50 release->context_id = clone->context_id_dst; in marshal_clone_to_rele() 743 u64 ctxid = DECODE_CTXID(resize->context_id), in _cxlflash_vlun_resize() 744 rctxid = resize->context_id; in _cxlflash_vlun_resize() 983 u64 ctxid = DECODE_CTXID(virt->context_id), in cxlflash_disk_virtual_open() 984 rctxid = virt->context_id; in cxlflash_disk_virtual_open()
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | xvmc.c | 90 XvMCDestroyContextRes((void *) pContext, pContext->context_id); in XvMCDestroySurfaceRes() 105 XvMCDestroyContextRes((void *) pContext, pContext->context_id); in XvMCDestroySubpictureRes() 243 pContext->context_id = stuff->context_id; in ProcXvMCCreateContext() 256 if (!AddResource(pContext->context_id, XvMCRTContext, pContext)) { in ProcXvMCCreateContext() 288 rc = dixLookupResourceByType(&val, stuff->context_id, XvMCRTContext, in ProcXvMCDestroyContext() 293 FreeResource(stuff->context_id, RT_NONE); in ProcXvMCDestroyContext() 312 result = dixLookupResourceByType((void **) &pContext, stuff->context_id, in ProcXvMCCreateSurface() 392 result = dixLookupResourceByType((void **) &pContext, stuff->context_id, in ProcXvMCCreateSubpicture()
|
| /OK3568_Linux_fs/kernel/arch/arm/mm/ |
| H A D | context.c | 56 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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_32_mmu_host.c | 352 __destroy_context(to_book3s(vcpu)->context_id[i]); in kvmppc_mmu_destroy_pr() 371 vcpu3s->context_id[i] = err; in kvmppc_mmu_init_pr() 391 if (!vcpu3s->context_id[j]) in kvmppc_mmu_init_pr() 394 __destroy_context(to_book3s(vcpu)->context_id[j]); in kvmppc_mmu_init_pr()
|
| H A D | book3s_64_mmu_host.c | 384 __destroy_context(to_book3s(vcpu)->context_id[0]); in kvmppc_mmu_destroy_pr() 395 vcpu3s->context_id[0] = err; in kvmppc_mmu_init_pr() 397 vcpu3s->proto_vsid_max = ((u64)(vcpu3s->context_id[0] + 1) in kvmppc_mmu_init_pr() 399 vcpu3s->proto_vsid_first = (u64)vcpu3s->context_id[0] << ESID_BITS; in kvmppc_mmu_init_pr()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | vmw_vmci_api.h | 40 bool vmci_is_context_owner(u32 context_id, kuid_t uid); 47 u32 vmci_context_get_priv_flags(u32 context_id);
|