Home
last modified time | relevance | path

Searched refs:ctx_id (Results 1 – 25 of 74) sorted by relevance

123

/kernel/linux/linux-5.10/include/linux/sunrpc/
Dgss_api.h51 struct gss_ctx **ctx_id,
55 struct gss_ctx *ctx_id,
59 struct gss_ctx *ctx_id,
63 struct gss_ctx *ctx_id,
68 struct gss_ctx *ctx_id,
73 struct gss_ctx **ctx_id);
113 struct gss_ctx *ctx_id,
117 struct gss_ctx *ctx_id,
121 struct gss_ctx *ctx_id,
125 struct gss_ctx *ctx_id,
[all …]
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dgss_mech_switch.c355 struct gss_ctx **ctx_id, in gss_import_sec_context() argument
359 if (!(*ctx_id = kzalloc(sizeof(**ctx_id), gfp_mask))) in gss_import_sec_context()
361 (*ctx_id)->mech_type = gss_mech_get(mech); in gss_import_sec_context()
364 *ctx_id, endtime, gfp_mask); in gss_import_sec_context()
408 gss_wrap(struct gss_ctx *ctx_id, in gss_wrap() argument
413 return ctx_id->mech_type->gm_ops in gss_wrap()
414 ->gss_wrap(ctx_id, offset, buf, inpages); in gss_wrap()
418 gss_unwrap(struct gss_ctx *ctx_id, in gss_unwrap() argument
423 return ctx_id->mech_type->gm_ops in gss_unwrap()
424 ->gss_unwrap(ctx_id, offset, len, buf); in gss_unwrap()
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_trace.h21 __field(u32, ctx_id)
30 __entry->ctx_id = le32_to_cpu(hdr->ctx_id);
35 __entry->ctx_id)
Dvirtgpu_vq.c920 cmd_p->hdr.ctx_id = cpu_to_le32(id); in virtio_gpu_cmd_context_create()
937 cmd_p->hdr.ctx_id = cpu_to_le32(id); in virtio_gpu_cmd_context_destroy()
942 uint32_t ctx_id, in virtio_gpu_cmd_context_attach_resource() argument
954 cmd_p->hdr.ctx_id = cpu_to_le32(ctx_id); in virtio_gpu_cmd_context_attach_resource()
960 uint32_t ctx_id, in virtio_gpu_cmd_context_detach_resource() argument
972 cmd_p->hdr.ctx_id = cpu_to_le32(ctx_id); in virtio_gpu_cmd_context_detach_resource()
1011 uint32_t ctx_id, in virtio_gpu_cmd_transfer_to_host_3d() argument
1033 cmd_p->hdr.ctx_id = cpu_to_le32(ctx_id); in virtio_gpu_cmd_transfer_to_host_3d()
1043 uint32_t ctx_id, in virtio_gpu_cmd_transfer_from_host_3d() argument
1059 cmd_p->hdr.ctx_id = cpu_to_le32(ctx_id); in virtio_gpu_cmd_transfer_from_host_3d()
[all …]
Dvirtgpu_drv.h227 uint32_t ctx_id; member
313 uint32_t ctx_id,
316 uint32_t ctx_id,
320 uint32_t ctx_id,
324 uint32_t ctx_id,
330 uint32_t ctx_id,
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_easrc.c240 unsigned int ctx_id, int mem_type) in fsl_easrc_coeff_mem_ptr_reset() argument
253 if (ctx_id >= EASRC_CTX_MAX_NUM) { in fsl_easrc_coeff_mem_ptr_reset()
254 dev_err(dev, "Invalid context id[%d]\n", ctx_id); in fsl_easrc_coeff_mem_ptr_reset()
258 reg = REG_EASRC_CCE1(ctx_id); in fsl_easrc_coeff_mem_ptr_reset()
428 static int fsl_easrc_write_pf_coeff_mem(struct fsl_asrc *easrc, int ctx_id, in fsl_easrc_write_pf_coeff_mem() argument
450 ret = fsl_easrc_coeff_mem_ptr_reset(easrc, ctx_id, EASRC_PF_COEFF_MEM); in fsl_easrc_write_pf_coeff_mem()
460 regmap_write(easrc->regmap, REG_EASRC_PCF(ctx_id), in fsl_easrc_write_pf_coeff_mem()
462 regmap_write(easrc->regmap, REG_EASRC_PCF(ctx_id), in fsl_easrc_write_pf_coeff_mem()
470 unsigned int ctx_id) in fsl_easrc_prefilter_config() argument
488 if (ctx_id >= EASRC_CTX_MAX_NUM) { in fsl_easrc_prefilter_config()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
Dhva-hw.c120 u8 ctx_id = 0; in hva_hw_its_irq_thread() local
130 ctx_id = (hva->sts_reg & 0xFF00) >> 8; in hva_hw_its_irq_thread()
131 if (ctx_id >= HVA_MAX_INSTANCES) { in hva_hw_its_irq_thread()
133 HVA_PREFIX, __func__, ctx_id); in hva_hw_its_irq_thread()
137 ctx = hva->instances[ctx_id]; in hva_hw_its_irq_thread()
223 u8 ctx_id = 0; in hva_hw_err_irq_thread() local
233 ctx_id = (hva->sts_reg & 0xFF00) >> 8; in hva_hw_err_irq_thread()
234 if (ctx_id >= HVA_MAX_INSTANCES) { in hva_hw_err_irq_thread()
236 ctx_id); in hva_hw_err_irq_thread()
240 ctx = hva->instances[ctx_id]; in hva_hw_err_irq_thread()
/kernel/linux/linux-5.10/arch/x86/mm/
Dtlb.c197 this_cpu_write(cpu_tlbstate.ctxs[asid].ctx_id, 0); in clear_asid_other()
220 if (this_cpu_read(cpu_tlbstate.ctxs[asid].ctx_id) != in choose_new_asid()
221 next->context.ctx_id) in choose_new_asid()
487 VM_WARN_ON(this_cpu_read(cpu_tlbstate.ctxs[prev_asid].ctx_id) != in switch_mm_irqs_off()
488 next->context.ctx_id); in switch_mm_irqs_off()
559 this_cpu_write(cpu_tlbstate.ctxs[new_asid].ctx_id, next->context.ctx_id); in switch_mm_irqs_off()
642 this_cpu_write(cpu_tlbstate.ctxs[0].ctx_id, mm->context.ctx_id); in initialize_tlbstate_and_flush()
646 this_cpu_write(cpu_tlbstate.ctxs[i].ctx_id, 0); in initialize_tlbstate_and_flush()
679 VM_WARN_ON(this_cpu_read(cpu_tlbstate.ctxs[loaded_mm_asid].ctx_id) != in flush_tlb_func_common()
680 loaded_mm->context.ctx_id); in flush_tlb_func_common()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/
Ddcss-ctxld.c340 void dcss_ctxld_write_irqsafe(struct dcss_ctxld *ctxld, u32 ctx_id, u32 val, in dcss_ctxld_write_irqsafe() argument
349 int item_idx = ctxld->ctx_size[curr_ctx][ctx_id]; in dcss_ctxld_write_irqsafe()
351 if (item_idx + 1 > dcss_ctxld_ctx_size[ctx_id]) { in dcss_ctxld_write_irqsafe()
356 ctx[ctx_id][item_idx].val = val; in dcss_ctxld_write_irqsafe()
357 ctx[ctx_id][item_idx].ofs = reg_ofs; in dcss_ctxld_write_irqsafe()
358 ctxld->ctx_size[curr_ctx][ctx_id] += 1; in dcss_ctxld_write_irqsafe()
361 void dcss_ctxld_write(struct dcss_ctxld *ctxld, u32 ctx_id, in dcss_ctxld_write() argument
365 dcss_ctxld_write_irqsafe(ctxld, ctx_id, val, reg_ofs); in dcss_ctxld_write()
Ddcss-ss.c68 u32 ctx_id; member
78 dcss_ctxld_write(ss->ctxld, ss->ctx_id, val, in dcss_ss_write()
102 ss->ctx_id = CTX_SB_HP; in dcss_ss_init()
/kernel/linux/linux-5.10/include/uapi/misc/
Dhabanalabs.h447 __u32 ctx_id; member
478 __u32 ctx_id; member
580 __u32 ctx_id; member
605 __u32 ctx_id; member
700 __u32 ctx_id; member
831 __u32 ctx_id; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/misc/
Dhabanalabs.h322 __u32 ctx_id; member
335 __u32 ctx_id; member
371 __u32 ctx_id; member
385 __u32 ctx_id; member
431 __u32 ctx_id; member
494 __u32 ctx_id; member
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dmmu.h18 u64 ctx_id; member
57 .ctx_id = 1, \
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sched.c95 unsigned ctx_id, in amdgpu_sched_context_priority_override() argument
112 ctx = amdgpu_ctx_get(fpriv, ctx_id); in amdgpu_sched_context_priority_override()
158 args->in.ctx_id, in amdgpu_sched_ioctl()
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_com.c243 u16 ctx_id; in efa_com_alloc_ctx_id() local
246 ctx_id = aq->comp_ctx_pool[aq->comp_ctx_pool_next]; in efa_com_alloc_ctx_id()
250 return ctx_id; in efa_com_alloc_ctx_id()
254 u16 ctx_id) in efa_com_dealloc_ctx_id() argument
258 aq->comp_ctx_pool[aq->comp_ctx_pool_next] = ctx_id; in efa_com_dealloc_ctx_id()
267 u16 ctx_id = cmd_id & (aq->depth - 1); in efa_com_put_comp_ctx() local
271 efa_com_dealloc_ctx_id(aq, ctx_id); in efa_com_put_comp_ctx()
277 u16 ctx_id = cmd_id & (aq->depth - 1); in efa_com_get_comp_ctx() local
279 if (aq->comp_ctx[ctx_id].occupied && capture) { in efa_com_get_comp_ctx()
288 aq->comp_ctx[ctx_id].occupied = 1; in efa_com_get_comp_ctx()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c1430 u32 ctx_id = be32_to_cpu(link->sub_flow.flow->meta.host_ctx_id); in nfp_flower_remove_merge_flow() local
1432 parent_ctx = (parent_ctx << 32) | (u64)(ctx_id); in nfp_flower_remove_merge_flow()
1543 u32 ctx_id; in __nfp_flower_update_merge_stats() local
1545 ctx_id = be32_to_cpu(merge_flow->meta.host_ctx_id); in __nfp_flower_update_merge_stats()
1546 pkts = priv->stats[ctx_id].pkts; in __nfp_flower_update_merge_stats()
1550 bytes = priv->stats[ctx_id].bytes; in __nfp_flower_update_merge_stats()
1551 used = priv->stats[ctx_id].used; in __nfp_flower_update_merge_stats()
1554 priv->stats[ctx_id].pkts = 0; in __nfp_flower_update_merge_stats()
1555 priv->stats[ctx_id].bytes = 0; in __nfp_flower_update_merge_stats()
1563 ctx_id = be32_to_cpu(sub_flow->meta.host_ctx_id); in __nfp_flower_update_merge_stats()
[all …]
Dmetadata.c118 u32 ctx_id; in nfp_flower_rx_flow_stats() local
126 ctx_id = be32_to_cpu(stats->stats_con_id); in nfp_flower_rx_flow_stats()
127 priv->stats[ctx_id].pkts += be32_to_cpu(stats->pkt_count); in nfp_flower_rx_flow_stats()
128 priv->stats[ctx_id].bytes += be64_to_cpu(stats->byte_count); in nfp_flower_rx_flow_stats()
129 priv->stats[ctx_id].used = jiffies; in nfp_flower_rx_flow_stats()
443 nfp_flower_get_fl_payload_from_ctx(struct nfp_app *app, u32 ctx_id) in nfp_flower_get_fl_payload_from_ctx() argument
448 ctx_entry = rhashtable_lookup_fast(&priv->stats_ctx_table, &ctx_id, in nfp_flower_get_fl_payload_from_ctx()
/kernel/linux/linux-5.10/include/uapi/drm/
Damdgpu_drm.h244 __u32 ctx_id; member
251 __u32 ctx_id; member
300 __u32 ctx_id; member
432 __u32 ctx_id; member
446 __u32 ctx_id; member
563 __u32 ctx_id; member
629 __u32 ctx_id; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Damdgpu_drm.h133 __u32 ctx_id; member
138 __u32 ctx_id; member
170 __u32 ctx_id; member
257 __u32 ctx_id; member
267 __u32 ctx_id; member
345 __u32 ctx_id; member
378 __u32 ctx_id; member
/kernel/linux/linux-5.10/fs/
Daio.c1052 static struct kioctx *lookup_ioctx(unsigned long ctx_id) in lookup_ioctx() argument
1054 struct aio_ring __user *ring = (void __user *)ctx_id; in lookup_ioctx()
1071 if (ctx && ctx->user_id == ctx_id) { in lookup_ioctx()
2032 SYSCALL_DEFINE3(io_submit, aio_context_t, ctx_id, long, nr, in SYSCALL_DEFINE3() argument
2043 ctx = lookup_ioctx(ctx_id); in SYSCALL_DEFINE3()
2074 COMPAT_SYSCALL_DEFINE3(io_submit, compat_aio_context_t, ctx_id, in COMPAT_SYSCALL_DEFINE3() argument
2085 ctx = lookup_ioctx(ctx_id); in COMPAT_SYSCALL_DEFINE3()
2126 SYSCALL_DEFINE3(io_cancel, aio_context_t, ctx_id, struct iocb __user *, iocb, in SYSCALL_DEFINE3() argument
2140 ctx = lookup_ioctx(ctx_id); in SYSCALL_DEFINE3()
2169 static long do_io_getevents(aio_context_t ctx_id, in do_io_getevents() argument
[all …]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dcommand_buffer.c183 int ctx_id, bool internal_cb) in hl_cb_alloc() argument
197 if (ctx_id == HL_KERNEL_ASID_ID) in hl_cb_alloc()
215 } else if (ctx_id == HL_KERNEL_ASID_ID) { in hl_cb_alloc()
244 int rc, ctx_id = ctx->asid; in hl_cb_create() local
251 (ctx_id != HL_KERNEL_ASID_ID))) { in hl_cb_create()
270 if (ctx_id == HL_KERNEL_ASID_ID && in hl_cb_create()
288 cb = hl_cb_alloc(hdev, cb_size, ctx_id, internal_cb); in hl_cb_create()
300 if (ctx_id == HL_KERNEL_ASID_ID) { in hl_cb_create()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Damdgpu_drm.h136 __u32 ctx_id; member
141 __u32 ctx_id; member
272 __u32 ctx_id; member
283 __u32 ctx_id; member
368 __u32 ctx_id; member
406 __u32 ctx_id; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.h172 u16 ctx_id; member
178 u16 ctx_id;
194 u16 ctx_id; member
196 u16 ctx_id;
238 u16 ctx_id; member
244 u16 ctx_id; member
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
Dsislite.h27 u16 ctx_id; /* ctx_hndl_t */ member
304 #define SISL_RHT_CNT_ID(cnt, ctx_id) (((cnt) << 48) | ((ctx_id) << 32)) argument
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c1000 int ctx_id, in vmw_cmdbuf_reserve_cur() argument
1012 ctx_id != cur->cb_header->dxContext))) in vmw_cmdbuf_reserve_cur()
1027 if (ctx_id != SVGA3D_INVALID_ID) { in vmw_cmdbuf_reserve_cur()
1029 cur->cb_header->dxContext = ctx_id; in vmw_cmdbuf_reserve_cur()
1074 int ctx_id, bool interruptible, in vmw_cmdbuf_reserve() argument
1078 return vmw_cmdbuf_reserve_cur(man, size, ctx_id, interruptible); in vmw_cmdbuf_reserve()
1083 if (ctx_id != SVGA3D_INVALID_ID) { in vmw_cmdbuf_reserve()
1085 header->cb_header->dxContext = ctx_id; in vmw_cmdbuf_reserve()

123