Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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.h248 struct lpfc_async_xchg_ctx *ctxp, uint32_t sid,
H A Dlpfc_debugfs.c1035 struct lpfc_async_xchg_ctx *ctxp, *next_ctxp; in lpfc_debugfs_nvmestat_data() local
1128 list_for_each_entry_safe(ctxp, next_ctxp, in lpfc_debugfs_nvmestat_data()
1138 list_for_each_entry_safe(ctxp, next_ctxp, in lpfc_debugfs_nvmestat_data()
1146 ctxp->oxid, ctxp->state, in lpfc_debugfs_nvmestat_data()
1147 ctxp->flag); in lpfc_debugfs_nvmestat_data()
H A Dlpfc_crtn.h253 struct lpfc_nvmet_ctxbuf *ctxp);
H A Dlpfc_init.c1028 struct lpfc_async_xchg_ctx *ctxp, *ctxp_next; in lpfc_hba_down_post_s4() local
1094 list_for_each_entry_safe(ctxp, ctxp_next, &nvmet_aborts, list) { in lpfc_hba_down_post_s4()
1095 ctxp->flag &= ~(LPFC_NVME_XBUSY | LPFC_NVME_ABORT_OP); in lpfc_hba_down_post_s4()
1096 lpfc_nvmet_ctxbuf_post(phba, ctxp->ctxbuf); in lpfc_hba_down_post_s4()
H A Dlpfc_sli.c20244 struct lpfc_async_xchg_ctx *ctxp; in lpfc_sli4_issue_wqe() local
20310 ctxp = pwqe->context2; in lpfc_sli4_issue_wqe()
20311 sglq = ctxp->ctxbuf->sglq; in lpfc_sli4_issue_wqe()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dstat-shadow.c860 void *ctxp = out->ctx; in generic_metric() local
883 print_metric(config, ctxp, NULL, "%8.1f", in generic_metric()
886 print_metric(config, ctxp, NULL, "%8.2f", in generic_metric()
893 print_metric(config, ctxp, NULL, NULL, in generic_metric()
898 print_metric(config, ctxp, NULL, NULL, in generic_metric()
929 void *ctxp = out->ctx; in perf_stat__print_shadow_stats() local
942 print_metric(config, ctxp, NULL, "%7.2f ", in perf_stat__print_shadow_stats()
945 print_metric(config, ctxp, NULL, NULL, "insn per cycle", 0); in perf_stat__print_shadow_stats()
956 out->new_line(config, ctxp); in perf_stat__print_shadow_stats()
958 print_metric(config, ctxp, NULL, "%7.2f ", in perf_stat__print_shadow_stats()
[all …]
/OK3568_Linux_fs/u-boot/drivers/crypto/fsl/
H A Dfsl_hash.c59 static int caam_hash_init(void **ctxp, enum caam_hash_algos caam_algo) in caam_hash_init() argument
61 *ctxp = calloc(1, sizeof(struct sha_ctx)); in caam_hash_init()
62 if (*ctxp == NULL) { in caam_hash_init()
198 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() argument
200 return caam_hash_init(ctxp, get_hash_type(algo)); in hw_sha_init()
/OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/
H A 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()
H A Dnitrox_req.h358 __be64 ctxp; member
H A Dnitrox_reqmgr.c466 sr->instr.irh.s.ctxp = cpu_to_be64(ctx_handle); in nitrox_process_se_request()
/OK3568_Linux_fs/kernel/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()
415 struct ctx_list *ctxp; in alloc_context() local
417 ctxp = ctx_free.next; in alloc_context()
418 if (ctxp != &ctx_free) { in alloc_context()
419 remove_from_ctx_list(ctxp); in alloc_context()
420 add_to_used_ctxlist(ctxp); in alloc_context()
421 mm->context = ctxp->ctx_number; in alloc_context()
422 ctxp->ctx_mm = mm; in alloc_context()
425 ctxp = ctx_used.next; in alloc_context()
[all …]
/OK3568_Linux_fs/u-boot/common/
H A Dhash.c34 static int hash_init_sha1(struct hash_algo *algo, void **ctxp) in hash_init_sha1() argument
38 *ctxp = ctx; in hash_init_sha1()
62 static int hash_init_sha256(struct hash_algo *algo, void **ctxp) in hash_init_sha256() argument
66 *ctxp = ctx; in hash_init_sha256()
89 static int hash_init_crc32(struct hash_algo *algo, void **ctxp) in hash_init_crc32() argument
93 *ctxp = ctx; in hash_init_crc32()
/OK3568_Linux_fs/kernel/security/selinux/
H A 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()
285 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_policy_alloc() argument
289 return selinux_xfrm_alloc_user(ctxp, uctx, gfp); in selinux_xfrm_policy_alloc()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A 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()
H A Dnv04.h10 unsigned ctxp:8; member
/OK3568_Linux_fs/u-boot/include/
H A Dhw_sha.h45 int hw_sha_init(struct hash_algo *algo, void **ctxp);
H A Dhash.h44 int (*hash_init)(struct hash_algo *algo, void **ctxp);
/OK3568_Linux_fs/kernel/security/selinux/include/
H A Dxfrm.h13 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
/OK3568_Linux_fs/kernel/fs/
H A Daio.c1313 SYSCALL_DEFINE2(io_setup, unsigned, nr_events, aio_context_t __user *, ctxp) in SYSCALL_DEFINE2() argument
1319 ret = get_user(ctx, ctxp); in SYSCALL_DEFINE2()
1333 ret = put_user(ioctx->user_id, ctxp); in SYSCALL_DEFINE2()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsecurity.h1647 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
1666 static inline int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc() argument
H A Dlsm_hook_defs.h340 LSM_HOOK(int, 0, xfrm_policy_alloc_security, struct xfrm_sec_ctx **ctxp,
/OK3568_Linux_fs/kernel/security/
H A Dsecurity.c2343 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc() argument
2347 return call_int_hook(xfrm_policy_alloc_security, 0, ctxp, sec_ctx, gfp); in security_xfrm_policy_alloc()