/linux-master/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-ctxld.c | 79 u16 ctx_size[2][3]; /* holds the sizes of DB, SB_HP and SB_LP ctx */ member in struct:dcss_ctxld 110 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_DB], 111 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_SB_HP], 112 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_SB_LP]); 262 sb_hp_cnt = ctxld->ctx_size[curr_ctx][CTX_SB_HP]; 263 sb_lp_cnt = ctxld->ctx_size[curr_ctx][CTX_SB_LP]; 264 db_cnt = ctxld->ctx_size[curr_ctx][CTX_DB]; 304 ctxld->ctx_size[ctxld->current_ctx][CTX_DB] = 0; 305 ctxld->ctx_size[ctxld->current_ctx][CTX_SB_HP] = 0; 306 ctxld->ctx_size[ctxl [all...] |
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_context.c | 292 int ctx_size; local 299 ctx_size = get_fw_obj_size(args->type); 300 if (ctx_size < 0) 301 return ctx_size; 307 ctx->data_size = ctx_size; 323 ctx->data = kzalloc(ctx_size, GFP_KERNEL); 337 err = pvr_fw_object_create(pvr_dev, ctx_size, PVR_BO_FW_FLAGS_DEVICE_UNCACHED,
|
/linux-master/arch/powerpc/include/asm/ |
H A D | syscalls.h | 54 struct ucontext __user *new_ctx, long ctx_size); 77 int ctx_size);
|
/linux-master/fs/crypto/ |
H A D | fscrypt_private.h | 91 int ctx_size) 93 return ctx_size >= 1 && ctx_size == fscrypt_context_size(ctx); 718 int ctx_size); 90 fscrypt_context_is_valid(const union fscrypt_context *ctx, int ctx_size) argument
|
H A D | policy.c | 374 * @ctx_size: size of input context in bytes 386 int ctx_size) 390 if (!fscrypt_context_is_valid(ctx_u, ctx_size)) 384 fscrypt_policy_from_context(union fscrypt_policy *policy_u, const union fscrypt_context *ctx_u, int ctx_size) argument
|
/linux-master/arch/powerpc/kernel/ |
H A D | signal_32.c | 991 struct ucontext __user *, new_ctx, int, ctx_size) 994 struct ucontext __user *, new_ctx, long, ctx_size) 1022 if (ctx_size < UCONTEXTSIZEWITHOUTVSX) 1028 if ((ctx_size < sizeof(struct ucontext)) && 1032 if (ctx_size >= sizeof(struct ucontext)) 1038 if (ctx_size < sizeof(struct ucontext)) 1054 if (!user_write_access_begin(old_ctx, ctx_size)) 1063 if (!access_ok(new_ctx, ctx_size) || 1064 fault_in_readable((char __user *)new_ctx, ctx_size))
|
H A D | signal_64.c | 658 struct ucontext __user *, new_ctx, long, ctx_size) 671 if (ctx_size < UCONTEXTSIZEWITHOUTVSX) 677 if ((ctx_size < sizeof(struct ucontext)) && 681 if (ctx_size >= sizeof(struct ucontext)) 686 if (!user_write_access_begin(old_ctx, ctx_size)) 698 if (!access_ok(new_ctx, ctx_size) || 699 fault_in_readable((char __user *)new_ctx, ctx_size)) 720 if (!user_read_access_begin(new_ctx, ctx_size))
|
/linux-master/drivers/dma/bestcomm/ |
H A D | bestcomm.c | 278 unsigned int tdt_size, ctx_size, var_size, fdt_size; local 282 ctx_size = BCOM_MAX_TASKS * BCOM_CTX_SIZE; 287 bcom_eng->ctx = bcom_sram_alloc(ctx_size, BCOM_CTX_ALIGN, &ctx_pa); 303 memset_io(bcom_eng->ctx, 0x00, ctx_size);
|
/linux-master/drivers/usb/cdns3/ |
H A D | cdnsp-mem.c | 467 pdev->out_ctx.ctx_size = CTX_SIZE(pdev->hcc_params); 475 pdev->in_ctx.ctx_size = pdev->out_ctx.ctx_size; 476 pdev->in_ctx.size = size + pdev->out_ctx.ctx_size; 503 return (struct cdnsp_slot_ctx *)(ctx->bytes + ctx->ctx_size); 514 return (struct cdnsp_ep_ctx *)(ctx->bytes + (ep_index * ctx->ctx_size));
|
H A D | cdnsp-gadget.h | 550 * @ctx_size: context data structure size - 64 or 32 bits. 562 int ctx_size; member in struct:cdnsp_container_ctx
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_init_fw_funcs.c | 1639 u16 ctx_size, u8 ctx_type, u32 cid) 1648 memset(p_ctx, 0, ctx_size); 1657 u16 ctx_size, u8 ctx_type, u32 tid) 1664 memset(p_ctx, 0, ctx_size); 1670 void qed_memset_session_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type) argument 1684 memset(p_ctx, 0, ctx_size); 1692 void qed_memset_task_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type) argument 1702 memset(p_ctx, 0, ctx_size); 1638 qed_calc_session_ctx_validation(void *p_ctx_mem, u16 ctx_size, u8 ctx_type, u32 cid) argument 1656 qed_calc_task_ctx_validation(void *p_ctx_mem, u16 ctx_size, u8 ctx_type, u32 tid) argument
|
H A D | qed_hsi.h | 2674 * @ctx_size: Context size. 2681 u16 ctx_size, u8 ctx_type, u32 cid); 2688 * @ctx_size: Context size. 2695 u16 ctx_size, u8 ctx_type, u32 tid); 2702 * @ctx_size: Size to initialzie. 2707 void qed_memset_session_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type); 2714 * @ctx_size: size to initialzie. 2719 void qed_memset_task_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type);
|
/linux-master/drivers/crypto/ccp/ |
H A D | ccp-ops.c | 1500 int ctx_size; local 1593 ctx_size = SHA1_DIGEST_SIZE; 1603 ctx_size = SHA256_DIGEST_SIZE; 1614 ctx_size = SHA256_DIGEST_SIZE; 1621 ctx_size = SHA512_DIGEST_SIZE; 1629 ctx_size = SHA512_DIGEST_SIZE; 1665 memcpy(ctx.address + ioffset, init, ctx_size); 1669 memcpy(ctx.address + ctx_size / 2, init, 1670 ctx_size / 2); 1671 memcpy(ctx.address, init + ctx_size / [all...] |
/linux-master/net/key/ |
H A D | af_key.c | 467 int ctx_size = sec_ctx->sadb_x_ctx_len; local 469 uctx = kmalloc((sizeof(*uctx)+ctx_size), gfp); 772 int ctx_size = 0; local 796 ctx_size = PFKEY_ALIGN8(xfrm_ctx->ctx_len); 797 size += sizeof(struct sadb_x_sec_ctx) + ctx_size; 1029 sizeof(struct sadb_x_sec_ctx) + ctx_size); 1031 (sizeof(struct sadb_x_sec_ctx) + ctx_size) / sizeof(uint64_t); 2196 int ctx_size = pfkey_xfrm_policy2sec_ctx_size(xp); local 2198 sec_ctx = skb_put(skb, ctx_size); 2199 sec_ctx->sadb_x_sec_len = ctx_size / sizeo 3163 int ctx_size = 0; local [all...] |
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | cmd_parser.c | 2996 int ctx_size = wa_ctx->indirect_ctx.size; local 3007 roundup(ctx_size + CACHELINE_BYTES, 3030 guest_gma, guest_gma + ctx_size, 3158 unsigned long gma_head, gma_tail, gma_start, ctx_size; local 3166 ctx_size = workload->engine->context_size - PAGE_SIZE; 3176 gma_tail = ctx_size; 3183 s.ring_size = ctx_size; 3199 gma_start, ctx_size);
|
/linux-master/drivers/firmware/qcom/ |
H A D | qcom_scm.c | 50 __le32 ctx_size; member in struct:qcom_scm_current_perm_info 1033 destvm->ctx_size = 0;
|
/linux-master/net/xfrm/ |
H A D | xfrm_user.c | 930 int ctx_size = sizeof(*uctx) + s->ctx_len; local 932 attr = nla_reserve(skb, XFRMA_SEC_CTX, ctx_size); 938 uctx->len = ctx_size;
|
/linux-master/kernel/trace/ |
H A D | bpf_trace.c | 719 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) 723 .size = ctx_size, 729 .next = ctx_size ? &frag : NULL, 718 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) argument
|
/linux-master/kernel/bpf/ |
H A D | core.c | 2874 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) 2873 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) argument
|
/linux-master/include/linux/ |
H A D | bpf.h | 1957 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy);
|