Home
last modified time | relevance | path

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

/linux/drivers/scsi/lpfc/
H A Dlpfc_nvmet.c219 struct lpfc_async_xchg_ctx *ctxp; in lpfc_nvmet_get_ctx_for_xri() local
224 list_for_each_entry(ctxp, &phba->sli4_hba.t_active_ctx_list, list) { in lpfc_nvmet_get_ctx_for_xri()
225 if (ctxp->ctxbuf->sglq->sli4_xritag != xri) in lpfc_nvmet_get_ctx_for_xri()
233 return ctxp; in lpfc_nvmet_get_ctx_for_xri()
241 struct lpfc_async_xchg_ctx *ctxp; in lpfc_nvmet_get_ctx_for_oxid() local
246 list_for_each_entry(ctxp, &phba->sli4_hba.t_active_ctx_list, list) { in lpfc_nvmet_get_ctx_for_oxid()
247 if (ctxp->oxid != oxid || ctxp->sid != sid) in lpfc_nvmet_get_ctx_for_oxid()
255 return ctxp; in lpfc_nvmet_get_ctx_for_oxid()
263 struct lpfc_async_xchg_ctx *ctxp) in lpfc_nvmet_defer_release() argument
265 lockdep_assert_held(&ctxp->ctxlock); in lpfc_nvmet_defer_release()
[all …]
H A Dlpfc_nvme.h245 struct lpfc_async_xchg_ctx *ctxp, uint32_t sid,
H A Dlpfc_init.c1087 struct lpfc_async_xchg_ctx *ctxp, *ctxp_next; in lpfc_hba_down_post_s4() local
1153 list_for_each_entry_safe(ctxp, ctxp_next, &nvmet_aborts, list) { in lpfc_hba_down_post_s4()
1154 ctxp->flag &= ~(LPFC_NVME_XBUSY | LPFC_NVME_ABORT_OP); in lpfc_hba_down_post_s4()
1155 lpfc_nvmet_ctxbuf_post(phba, ctxp->ctxbuf); in lpfc_hba_down_post_s4()
H A Dlpfc_sli.c21433 struct lpfc_async_xchg_ctx *ctxp; in lpfc_sli4_issue_wqe() local
21499 ctxp = pwqe->context_un.axchg; in lpfc_sli4_issue_wqe()
21500 sglq = ctxp->ctxbuf->sglq; in lpfc_sli4_issue_wqe()
/linux/tools/perf/util/
H A Dstat-shadow.c135 void *ctxp = out->ctx; in generic_metric() local
175 print_metric(config, ctxp, thresh, "%8.1f", in generic_metric()
178 print_metric(config, ctxp, thresh, "%8.2f", in generic_metric()
185 print_metric(config, ctxp, thresh, /*fmt=*/NULL, in generic_metric()
190 print_metric(config, ctxp, thresh, /*fmt=*/NULL, in generic_metric()
220 void *ctxp, in perf_stat__print_metricgroup_header() argument
237 out->print_metricgroup_header(config, ctxp, NULL); in perf_stat__print_metricgroup_header()
246 out->print_metricgroup_header(config, ctxp, full_name); in perf_stat__print_metricgroup_header()
272 void *ctxp = out->ctx; in perf_stat__print_shadow_stats_metricgroup() local
300 perf_stat__print_metricgroup_header(config, evsel, ctxp, in perf_stat__print_shadow_stats_metricgroup()
[all …]
/linux/arch/sparc/mm/
H A 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()
410 struct ctx_list *ctxp; in alloc_context() local
412 ctxp = ctx_free.next; in alloc_context()
413 if (ctxp != &ctx_free) { in alloc_context()
414 remove_from_ctx_list(ctxp); in alloc_context()
415 add_to_used_ctxlist(ctxp); in alloc_context()
416 mm->context = ctxp->ctx_number; in alloc_context()
417 ctxp->ctx_mm = mm; in alloc_context()
420 ctxp = ctx_used.next; in alloc_context()
[all …]
/linux/kernel/bpf/
H A Dstream.c346 struct dump_stack_ctx *ctxp = cookie; in dump_stack_cb() local
358 ctxp->err = bpf_stream_stage_printk(ctxp->ss, "%pS\n %s @ %s:%d\n", in dump_stack_cb()
360 return !ctxp->err; in dump_stack_cb()
363 ctxp->err = bpf_stream_stage_printk(ctxp->ss, "%pS\n", (void *)(long)ip); in dump_stack_cb()
364 return !ctxp->err; in dump_stack_cb()
H A Dcore.c3330 struct walk_stack_ctx *ctxp = cookie; in find_from_stack_cb() local
3344 ctxp->prog = prog->aux->main_prog_aux->prog; in find_from_stack_cb()
/linux/security/selinux/
H A Dxfrm.c74 static int selinux_xfrm_alloc_user(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_alloc_user() argument
82 if (ctxp == NULL || uctx == NULL || in selinux_xfrm_alloc_user()
110 *ctxp = ctx; in selinux_xfrm_alloc_user()
279 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_policy_alloc() argument
283 return selinux_xfrm_alloc_user(ctxp, uctx, gfp); in selinux_xfrm_policy_alloc()
/linux/mm/damon/
H A Dmodules-common.c17 int damon_modules_new_paddr_ctx_target(struct damon_ctx **ctxp, in damon_modules_new_paddr_ctx_target() argument
39 *ctxp = ctx; in damon_modules_new_paddr_ctx_target()
H A Dmodules-common.h48 int damon_modules_new_paddr_ctx_target(struct damon_ctx **ctxp,
/linux/tools/testing/selftests/lsm/
H A Dlsm_get_self_attr_test.c19 static struct lsm_ctx *next_ctx(struct lsm_ctx *ctxp) in next_ctx() argument
23 vp = (void *)ctxp + sizeof(*ctxp) + ctxp->ctx_len; in next_ctx()
/linux/security/selinux/include/
H A Dxfrm.h16 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_req.h361 __be64 ctxp; member
H A Dnitrox_reqmgr.c471 sr->instr.irh.s.ctxp = cpu_to_be64(ctx_handle); in nitrox_process_se_request()
/linux/fs/
H A Daio.c1382 SYSCALL_DEFINE2(io_setup, unsigned, nr_events, aio_context_t __user *, ctxp) in SYSCALL_DEFINE2() argument
1388 ret = get_user(ctx, ctxp); in SYSCALL_DEFINE2()
1402 ret = put_user(ioctx->user_id, ctxp); in SYSCALL_DEFINE2()
/linux/include/linux/
H A Dsecurity.h1962 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
1981 static inline int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc() argument
H A Dlsm_hook_defs.h389 LSM_HOOK(int, 0, xfrm_policy_alloc_security, struct xfrm_sec_ctx **ctxp,
/linux/security/
H A Dsecurity.c4818 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc() argument
4822 return call_int_hook(xfrm_policy_alloc_security, ctxp, sec_ctx, gfp); in security_xfrm_policy_alloc()