Home
last modified time | relevance | path

Searched refs:ctxp (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_nvmet.c227 struct lpfc_nvmet_rcv_ctx *ctxp; in lpfc_nvmet_get_ctx_for_xri() local
232 list_for_each_entry(ctxp, &phba->sli4_hba.t_active_ctx_list, list) { in lpfc_nvmet_get_ctx_for_xri()
233 if (ctxp->ctxbuf->sglq->sli4_xritag != xri) in lpfc_nvmet_get_ctx_for_xri()
241 return ctxp; in lpfc_nvmet_get_ctx_for_xri()
249 struct lpfc_nvmet_rcv_ctx *ctxp; in lpfc_nvmet_get_ctx_for_oxid() local
254 list_for_each_entry(ctxp, &phba->sli4_hba.t_active_ctx_list, list) { in lpfc_nvmet_get_ctx_for_oxid()
255 if (ctxp->oxid != oxid || ctxp->sid != sid) in lpfc_nvmet_get_ctx_for_oxid()
263 return ctxp; in lpfc_nvmet_get_ctx_for_oxid()
270 lpfc_nvmet_defer_release(struct lpfc_hba *phba, struct lpfc_nvmet_rcv_ctx *ctxp) in lpfc_nvmet_defer_release() argument
272 lockdep_assert_held(&ctxp->ctxlock); in lpfc_nvmet_defer_release()
[all …]
Dlpfc_crtn.h250 struct lpfc_nvmet_ctxbuf *ctxp);
Dlpfc_debugfs.c1037 struct lpfc_nvmet_rcv_ctx *ctxp, *next_ctxp; in lpfc_debugfs_nvmestat_data() local
1130 list_for_each_entry_safe(ctxp, next_ctxp, in lpfc_debugfs_nvmestat_data()
1140 list_for_each_entry_safe(ctxp, next_ctxp, in lpfc_debugfs_nvmestat_data()
1148 ctxp->oxid, ctxp->state, in lpfc_debugfs_nvmestat_data()
1149 ctxp->flag); in lpfc_debugfs_nvmestat_data()
Dlpfc_init.c1038 struct lpfc_nvmet_rcv_ctx *ctxp, *ctxp_next; in lpfc_hba_down_post_s4() local
1104 list_for_each_entry_safe(ctxp, ctxp_next, &nvmet_aborts, list) { in lpfc_hba_down_post_s4()
1105 ctxp->flag &= ~(LPFC_NVMET_XBUSY | LPFC_NVMET_ABORT_OP); in lpfc_hba_down_post_s4()
1106 lpfc_nvmet_ctxbuf_post(phba, ctxp->ctxbuf); in lpfc_hba_down_post_s4()
Dlpfc_sli.c19653 struct lpfc_nvmet_rcv_ctx *ctxp; in lpfc_sli4_issue_wqe() local
19715 ctxp = pwqe->context2; in lpfc_sli4_issue_wqe()
19716 sglq = ctxp->ctxbuf->sglq; in lpfc_sli4_issue_wqe()
/Linux-v5.4/tools/perf/util/
Dstat-shadow.c737 void *ctxp = out->ctx; in generic_metric() local
796 print_metric(config, ctxp, NULL, "%8.1f", in generic_metric()
799 print_metric(config, ctxp, NULL, "%8.1f", in generic_metric()
806 print_metric(config, ctxp, NULL, NULL, in generic_metric()
811 print_metric(config, ctxp, NULL, NULL, "", 0); in generic_metric()
824 void *ctxp = out->ctx; in perf_stat__print_shadow_stats() local
837 print_metric(config, ctxp, NULL, "%7.2f ", in perf_stat__print_shadow_stats()
840 print_metric(config, ctxp, NULL, NULL, "insn per cycle", 0); in perf_stat__print_shadow_stats()
851 out->new_line(config, ctxp); in perf_stat__print_shadow_stats()
853 print_metric(config, ctxp, NULL, "%7.2f ", in perf_stat__print_shadow_stats()
[all …]
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c251 struct crypto_ctx_hdr *ctxp; in crypto_free_context() local
256 ctxp = ctx; in crypto_free_context()
257 dma_pool_free(ctxp->pool, ctxp->vaddr, ctxp->dma); in crypto_free_context()
258 kfree(ctxp); in crypto_free_context()
Dnitrox_req.h354 __be64 ctxp; member
Dnitrox_reqmgr.c466 sr->instr.irh.s.ctxp = cpu_to_be64(ctx_handle); in nitrox_process_se_request()
/Linux-v5.4/arch/sparc/mm/
Dsrmmu.c110 static inline void srmmu_ctxd_set(ctxd_t *ctxp, pgd_t *pgdp) in srmmu_ctxd_set() argument
115 set_pte((pte_t *)ctxp, pte); in srmmu_ctxd_set()
437 struct ctx_list *ctxp; in alloc_context() local
439 ctxp = ctx_free.next; in alloc_context()
440 if (ctxp != &ctx_free) { in alloc_context()
441 remove_from_ctx_list(ctxp); in alloc_context()
442 add_to_used_ctxlist(ctxp); in alloc_context()
443 mm->context = ctxp->ctx_number; in alloc_context()
444 ctxp->ctx_mm = mm; in alloc_context()
447 ctxp = ctx_used.next; in alloc_context()
[all …]
/Linux-v5.4/security/selinux/
Dxfrm.c74 static int selinux_xfrm_alloc_user(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_alloc_user() argument
83 if (ctxp == NULL || uctx == NULL || in selinux_xfrm_alloc_user()
112 *ctxp = ctx; in selinux_xfrm_alloc_user()
284 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_policy_alloc() argument
288 return selinux_xfrm_alloc_user(ctxp, uctx, gfp); in selinux_xfrm_policy_alloc()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Ddmanv04.c103 u32 cv = (nvkm_ro32(fctx, c->ctxp + data) & ~cm); in nv04_fifo_dma_fini()
104 nvkm_wo32(fctx, c->ctxp + data, cv | (rv << c->ctxs)); in nv04_fifo_dma_fini()
149 nvkm_wo32(imem->ramfc, chan->ramfc + c->ctxp, 0x00000000); in nv04_fifo_dma_dtor()
Dnv04.h10 unsigned ctxp:8; member
/Linux-v5.4/security/selinux/include/
Dxfrm.h13 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
/Linux-v5.4/fs/
Daio.c1312 SYSCALL_DEFINE2(io_setup, unsigned, nr_events, aio_context_t __user *, ctxp) in SYSCALL_DEFINE2() argument
1318 ret = get_user(ctx, ctxp); in SYSCALL_DEFINE2()
1332 ret = put_user(ioctx->user_id, ctxp); in SYSCALL_DEFINE2()
/Linux-v5.4/include/linux/
Dsecurity.h1572 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
1591 static inline int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc() argument
Dlsm_hooks.h1770 int (*xfrm_policy_alloc_security)(struct xfrm_sec_ctx **ctxp,
/Linux-v5.4/security/
Dsecurity.c2227 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc() argument
2231 return call_int_hook(xfrm_policy_alloc_security, 0, ctxp, sec_ctx, gfp); in security_xfrm_policy_alloc()
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_context.c574 destroy_kernel_context(struct i915_gem_context **ctxp) in destroy_kernel_context() argument
579 ctx = i915_gem_context_get(fetch_and_zero(ctxp)); in destroy_kernel_context()