Home
last modified time | relevance | path

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

12

/openbmc/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_debugfs.c1033 struct lpfc_async_xchg_ctx *ctxp, *next_ctxp; in lpfc_debugfs_nvmestat_data() local
1126 list_for_each_entry_safe(ctxp, next_ctxp, in lpfc_debugfs_nvmestat_data()
1136 list_for_each_entry_safe(ctxp, next_ctxp, in lpfc_debugfs_nvmestat_data()
1144 ctxp->oxid, ctxp->state, in lpfc_debugfs_nvmestat_data()
1145 ctxp->flag); in lpfc_debugfs_nvmestat_data()
H A Dlpfc_crtn.h292 struct lpfc_nvmet_ctxbuf *ctxp);
/openbmc/linux/tools/perf/util/
H A Dstat-shadow.c316 void *ctxp = out->ctx; in print_instructions() local
322 print_metric(config, ctxp, NULL, "%7.2f ", "insn per cycle", in print_instructions()
325 print_metric(config, ctxp, NULL, NULL, "insn per cycle", 0); in print_instructions()
328 out->new_line(config, ctxp); in print_instructions()
329 print_metric(config, ctxp, NULL, "%7.2f ", "stalled cycles per insn", in print_instructions()
355 void *ctxp = out->ctx; in print_nsecs() local
359 print_metric(config, ctxp, NULL, "%8.3f", "CPUs utilized", in print_nsecs()
362 print_metric(config, ctxp, NULL, NULL, "CPUs utilized", 0); in print_nsecs()
461 void *ctxp = out->ctx; in generic_metric() local
501 print_metric(config, ctxp, color, "%8.1f", in generic_metric()
[all …]
/openbmc/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()
90 static int hash_init_sha384(struct hash_algo *algo, void **ctxp) in hash_init_sha384() argument
94 *ctxp = ctx; in hash_init_sha384()
118 static int hash_init_sha512(struct hash_algo *algo, void **ctxp) in hash_init_sha512() argument
122 *ctxp = ctx; in hash_init_sha512()
146 static int hash_init_crc16_ccitt(struct hash_algo *algo, void **ctxp) in hash_init_crc16_ccitt() argument
150 *ctxp = ctx; in hash_init_crc16_ccitt()
[all …]
/openbmc/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()
215 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() argument
217 return caam_hash_init(ctxp, get_hash_type(algo)); in hw_sha_init()
/openbmc/linux/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.h361 __be64 ctxp; member
H A Dnitrox_reqmgr.c471 sr->instr.irh.s.ctxp = cpu_to_be64(ctx_handle); in nitrox_process_se_request()
/openbmc/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()
416 struct ctx_list *ctxp; in alloc_context() local
418 ctxp = ctx_free.next; in alloc_context()
419 if (ctxp != &ctx_free) { in alloc_context()
420 remove_from_ctx_list(ctxp); in alloc_context()
421 add_to_used_ctxlist(ctxp); in alloc_context()
422 mm->context = ctxp->ctx_number; in alloc_context()
423 ctxp->ctx_mm = mm; in alloc_context()
426 ctxp = ctx_used.next; in alloc_context()
[all …]
/openbmc/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,
/openbmc/linux/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()
111 *ctxp = ctx; in selinux_xfrm_alloc_user()
282 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_policy_alloc() argument
286 return selinux_xfrm_alloc_user(ctxp, uctx, gfp); in selinux_xfrm_policy_alloc()
/openbmc/u-boot/include/
H A Dhw_sha.h70 int hw_sha_init(struct hash_algo *algo, void **ctxp);
H A Dhash.h48 int (*hash_init)(struct hash_algo *algo, void **ctxp);
/openbmc/u-boot/drivers/crypto/
H A Daspeed_hace_v1.c158 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() argument
191 *ctxp = ctx; in hw_sha_init()
H A Daspeed_hace.c156 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() argument
197 *ctxp = ctx; in hw_sha_init()
/openbmc/linux/security/selinux/include/
H A Dxfrm.h15 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dnv04.c68 u32 cv = (nvkm_ro32(fctx, c->ctxp + data) & ~cm); in nv04_chan_stop()
69 nvkm_wo32(fctx, c->ctxp + data, cv | (rv << c->ctxs)); in nv04_chan_stop()
110 nvkm_wo32(ramfc, chan->ramfc_offset + c->ctxp, 0x00000000); in nv04_chan_ramfc_clear()
H A Dchan.h37 unsigned ctxp:8; member
/openbmc/linux/fs/
H A Daio.c1342 SYSCALL_DEFINE2(io_setup, unsigned, nr_events, aio_context_t __user *, ctxp) in SYSCALL_DEFINE2() argument
1348 ret = get_user(ctx, ctxp); in SYSCALL_DEFINE2()
1362 ret = put_user(ioctx->user_id, ctxp); in SYSCALL_DEFINE2()
/openbmc/linux/include/linux/
H A Dsecurity.h1748 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
1767 static inline int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc() argument
H A Dlsm_hook_defs.h361 LSM_HOOK(int, 0, xfrm_policy_alloc_security, struct xfrm_sec_ctx **ctxp,
/openbmc/linux/security/
H A Dsecurity.c4862 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc() argument
4866 return call_int_hook(xfrm_policy_alloc_security, 0, ctxp, sec_ctx, gfp); in security_xfrm_policy_alloc()

12