Home
last modified time | relevance | path

Searched refs:pctx (Results 1 – 25 of 223) sorted by relevance

123456789

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.c44 fd_context_flush(struct pipe_context *pctx, struct pipe_fence_handle **fencep, in fd_context_flush() argument
47 struct fd_context *ctx = fd_context(pctx); in fd_context_flush()
51 fd_fence_ref(pctx->screen, &fence, ctx->batch->fence); in fd_context_flush()
65 fd_fence_ref(pctx->screen, fencep, fence); in fd_context_flush()
67 fd_fence_ref(pctx->screen, &fence, NULL); in fd_context_flush()
71 fd_texture_barrier(struct pipe_context *pctx, unsigned flags) in fd_texture_barrier() argument
78 fd_context_flush(pctx, NULL, 0); in fd_texture_barrier()
86 fd_emit_string_marker(struct pipe_context *pctx, const char *string, int len) in fd_emit_string_marker() argument
88 struct fd_context *ctx = fd_context(pctx); in fd_emit_string_marker()
119 fd_context_destroy(struct pipe_context *pctx) in fd_context_destroy() argument
[all …]
Dfreedreno_program.c36 fd_fp_state_bind(struct pipe_context *pctx, void *hwcso) in fd_fp_state_bind() argument
38 struct fd_context *ctx = fd_context(pctx); in fd_fp_state_bind()
45 fd_vp_state_bind(struct pipe_context *pctx, void *hwcso) in fd_vp_state_bind() argument
47 struct fd_context *ctx = fd_context(pctx); in fd_vp_state_bind()
78 static void * assemble_tgsi(struct pipe_context *pctx, in assemble_tgsi() argument
90 return pctx->create_fs_state(pctx, &cso); in assemble_tgsi()
92 return pctx->create_vs_state(pctx, &cso); in assemble_tgsi()
96 fd_prog_blit(struct pipe_context *pctx, int rts, bool depth) in fd_prog_blit() argument
122 return ureg_create_shader_and_destroy(ureg, pctx); in fd_prog_blit()
126 void fd_prog_init(struct pipe_context *pctx) in fd_prog_init() argument
[all …]
Dfreedreno_state.c49 fd_set_blend_color(struct pipe_context *pctx, in fd_set_blend_color() argument
52 struct fd_context *ctx = fd_context(pctx); in fd_set_blend_color()
58 fd_set_stencil_ref(struct pipe_context *pctx, in fd_set_stencil_ref() argument
61 struct fd_context *ctx = fd_context(pctx); in fd_set_stencil_ref()
67 fd_set_clip_state(struct pipe_context *pctx, in fd_set_clip_state() argument
70 struct fd_context *ctx = fd_context(pctx); in fd_set_clip_state()
76 fd_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) in fd_set_sample_mask() argument
78 struct fd_context *ctx = fd_context(pctx); in fd_set_sample_mask()
92 fd_set_constant_buffer(struct pipe_context *pctx, in fd_set_constant_buffer() argument
96 struct fd_context *ctx = fd_context(pctx); in fd_set_constant_buffer()
[all …]
Dfreedreno_query.c43 fd_create_query(struct pipe_context *pctx, unsigned query_type, unsigned index) in fd_create_query() argument
45 struct fd_context *ctx = fd_context(pctx); in fd_create_query()
56 fd_destroy_query(struct pipe_context *pctx, struct pipe_query *pq) in fd_destroy_query() argument
59 q->funcs->destroy_query(fd_context(pctx), q); in fd_destroy_query()
63 fd_begin_query(struct pipe_context *pctx, struct pipe_query *pq) in fd_begin_query() argument
71 ret = q->funcs->begin_query(fd_context(pctx), q); in fd_begin_query()
78 fd_end_query(struct pipe_context *pctx, struct pipe_query *pq) in fd_end_query() argument
86 fd_begin_query(pctx, pq); in fd_end_query()
91 q->funcs->end_query(fd_context(pctx), q); in fd_end_query()
98 fd_get_query_result(struct pipe_context *pctx, struct pipe_query *pq, in fd_get_query_result() argument
[all …]
/external/e2fsprogs/e2fsck/
Dpass1.c73 static void check_blocks(e2fsck_t ctx, struct problem_context *pctx,
103 struct problem_context *pctx; member
272 struct problem_context *pctx) in check_extents_inlinedata() argument
274 if (!(pctx->inode->i_flags & BAD_SPECIAL_FLAGS)) in check_extents_inlinedata()
277 if (!fix_problem(ctx, PR_1_SPECIAL_EXTENTS_IDATA, pctx)) in check_extents_inlinedata()
280 pctx->inode->i_flags &= ~BAD_SPECIAL_FLAGS; in check_extents_inlinedata()
281 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_extents_inlinedata()
290 static void check_immutable(e2fsck_t ctx, struct problem_context *pctx) in check_immutable() argument
292 if (!(pctx->inode->i_flags & BAD_SPECIAL_FLAGS)) in check_immutable()
295 if (!fix_problem(ctx, PR_1_SET_IMMUTABLE, pctx)) in check_immutable()
[all …]
Dpass5.c36 struct problem_context pctx; in e2fsck_pass5() local
43 clear_problem_context(&pctx); in e2fsck_pass5()
46 fix_problem(ctx, PR_5_PASS_HEADER, &pctx); in e2fsck_pass5()
84 struct problem_context pctx; in check_inode_bitmap_checksum() local
106 clear_problem_context(&pctx); in check_inode_bitmap_checksum()
120 pctx.group = i; in check_inode_bitmap_checksum()
121 if (!fix_problem(ctx, PR_5_INODE_BITMAP_CSUM_INVALID, &pctx)) in check_inode_bitmap_checksum()
138 struct problem_context pctx; in check_block_bitmap_checksum() local
160 clear_problem_context(&pctx); in check_block_bitmap_checksum()
176 pctx.group = i; in check_block_bitmap_checksum()
[all …]
Dpass3.c47 struct problem_context *pctx);
60 struct problem_context pctx; in e2fsck_pass3() local
65 clear_problem_context(&pctx); in e2fsck_pass3()
72 fix_problem(ctx, PR_3_PASS_HEADER, &pctx); in e2fsck_pass3()
77 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, _("inode done bitmap"), in e2fsck_pass3()
80 if (pctx.errcode) { in e2fsck_pass3()
81 pctx.num = 2; in e2fsck_pass3()
82 fix_problem(ctx, PR_3_ALLOCATE_IBITMAP_ERROR, &pctx); in e2fsck_pass3()
109 if (check_directory(ctx, dir->ino, &pctx)) in e2fsck_pass3()
162 struct problem_context pctx; in check_root() local
[all …]
Dpass2.c72 char *buf, struct problem_context *pctx);
80 struct problem_context pctx; member
124 struct problem_context pctx; in e2fsck_pass2() local
142 clear_problem_context(&cd.pctx); in e2fsck_pass2()
149 fix_problem(ctx, PR_2_PASS_HEADER, &cd.pctx); in e2fsck_pass2()
151 cd.pctx.errcode = e2fsck_setup_icount(ctx, "inode_count", in e2fsck_pass2()
154 if (cd.pctx.errcode) { in e2fsck_pass2()
155 fix_problem(ctx, PR_2_ALLOCATE_ICOUNT, &cd.pctx); in e2fsck_pass2()
184 cd.pctx.errcode = ext2fs_dblist_iterate2(fs->dblist, check_dir_func, in e2fsck_pass2()
194 if (cd.pctx.errcode) { in e2fsck_pass2()
[all …]
Dsuper.c31 struct problem_context pctx; in check_super_value() local
36 clear_problem_context(&pctx); in check_super_value()
37 pctx.num = value; in check_super_value()
38 pctx.str = descr; in check_super_value()
39 fix_problem(ctx, PR_0_MISC_CORRUPT_SUPER, &pctx); in check_super_value()
50 struct problem_context pctx; in check_super_value64() local
55 clear_problem_context(&pctx); in check_super_value64()
56 pctx.num = value; in check_super_value64()
57 pctx.str = descr; in check_super_value64()
58 fix_problem(ctx, PR_0_MISC_CORRUPT_SUPER, &pctx); in check_super_value64()
[all …]
Dquota.c72 struct problem_context pctx; in e2fsck_hide_quota() local
77 clear_problem_context(&pctx); in e2fsck_hide_quota()
84 pctx.dir = 2; /* This is a guess, but it's a good one */ in e2fsck_hide_quota()
85 pctx.ino = *quota_sb_inump(sb, qtype); in e2fsck_hide_quota()
86 pctx.num = qtype; in e2fsck_hide_quota()
88 if (pctx.ino && (pctx.ino != quota_ino) && in e2fsck_hide_quota()
89 fix_problem(ctx, PR_0_HIDE_QUOTA, &pctx)) { in e2fsck_hide_quota()
90 if (move_quota_inode(fs, pctx.ino, quota_ino, qtype)) in e2fsck_hide_quota()
103 struct problem_context pctx; in e2fsck_validate_quota_inodes() local
107 clear_problem_context(&pctx); in e2fsck_validate_quota_inodes()
[all …]
Dpass1b.c214 struct problem_context pctx; in e2fsck_pass1_dupblocks() local
219 clear_problem_context(&pctx); in e2fsck_pass1_dupblocks()
221 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, in e2fsck_pass1_dupblocks()
225 if (pctx.errcode) { in e2fsck_pass1_dupblocks()
226 fix_problem(ctx, PR_1B_ALLOCATE_IBITMAP_ERROR, &pctx); in e2fsck_pass1_dupblocks()
285 struct problem_context *pctx; member
295 struct problem_context pctx; in pass1b() local
298 clear_problem_context(&pctx); in pass1b()
301 fix_problem(ctx, PR_1B_PASS_HEADER, &pctx); in pass1b()
302 pctx.errcode = ext2fs_open_inode_scan(fs, ctx->inode_buffer_blocks, in pass1b()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_context.c41 vc4_flush(struct pipe_context *pctx) in vc4_flush() argument
43 struct vc4_context *vc4 = vc4_context(pctx); in vc4_flush()
53 vc4_pipe_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, in vc4_pipe_flush() argument
56 struct vc4_context *vc4 = vc4_context(pctx); in vc4_pipe_flush()
58 vc4_flush(pctx); in vc4_pipe_flush()
61 struct pipe_screen *screen = pctx->screen; in vc4_pipe_flush()
74 vc4_texture_barrier(struct pipe_context *pctx, unsigned flags) in vc4_texture_barrier() argument
76 vc4_flush(pctx); in vc4_texture_barrier()
80 vc4_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsc) in vc4_invalidate_resource() argument
82 struct vc4_context *vc4 = vc4_context(pctx); in vc4_invalidate_resource()
[all …]
Dvc4_state.c44 vc4_generic_cso_state_delete(struct pipe_context *pctx, void *hwcso) in vc4_generic_cso_state_delete() argument
50 vc4_set_blend_color(struct pipe_context *pctx, in vc4_set_blend_color() argument
53 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_blend_color()
61 vc4_set_stencil_ref(struct pipe_context *pctx, in vc4_set_stencil_ref() argument
64 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_stencil_ref()
70 vc4_set_clip_state(struct pipe_context *pctx, in vc4_set_clip_state() argument
73 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_clip_state()
79 vc4_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) in vc4_set_sample_mask() argument
81 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_sample_mask()
93 vc4_create_rasterizer_state(struct pipe_context *pctx, in vc4_create_rasterizer_state() argument
[all …]
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_context.c42 vc5_flush(struct pipe_context *pctx) in vc5_flush() argument
44 struct vc5_context *vc5 = vc5_context(pctx); in vc5_flush()
54 vc5_pipe_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, in vc5_pipe_flush() argument
57 struct vc5_context *vc5 = vc5_context(pctx); in vc5_pipe_flush()
59 vc5_flush(pctx); in vc5_pipe_flush()
62 struct pipe_screen *screen = pctx->screen; in vc5_pipe_flush()
71 vc5_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsc) in vc5_invalidate_resource() argument
73 struct vc5_context *vc5 = vc5_context(pctx); in vc5_invalidate_resource()
89 vc5_context_destroy(struct pipe_context *pctx) in vc5_context_destroy() argument
91 struct vc5_context *vc5 = vc5_context(pctx); in vc5_context_destroy()
[all …]
Dvc5_state.c48 vc5_generic_cso_state_delete(struct pipe_context *pctx, void *hwcso) in vc5_generic_cso_state_delete() argument
54 vc5_set_blend_color(struct pipe_context *pctx, in vc5_set_blend_color() argument
57 struct vc5_context *vc5 = vc5_context(pctx); in vc5_set_blend_color()
67 vc5_set_stencil_ref(struct pipe_context *pctx, in vc5_set_stencil_ref() argument
70 struct vc5_context *vc5 = vc5_context(pctx); in vc5_set_stencil_ref()
76 vc5_set_clip_state(struct pipe_context *pctx, in vc5_set_clip_state() argument
79 struct vc5_context *vc5 = vc5_context(pctx); in vc5_set_clip_state()
85 vc5_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) in vc5_set_sample_mask() argument
87 struct vc5_context *vc5 = vc5_context(pctx); in vc5_set_sample_mask()
99 vc5_create_rasterizer_state(struct pipe_context *pctx, in vc5_create_rasterizer_state() argument
[all …]
Dvc5_query.c48 vc5_create_query(struct pipe_context *pctx, unsigned query_type, unsigned index) in vc5_create_query() argument
59 vc5_destroy_query(struct pipe_context *pctx, struct pipe_query *query) in vc5_destroy_query() argument
68 vc5_begin_query(struct pipe_context *pctx, struct pipe_query *query) in vc5_begin_query() argument
70 struct vc5_context *vc5 = vc5_context(pctx); in vc5_begin_query()
94 vc5_end_query(struct pipe_context *pctx, struct pipe_query *query) in vc5_end_query() argument
96 struct vc5_context *vc5 = vc5_context(pctx); in vc5_end_query()
116 vc5_get_query_result(struct pipe_context *pctx, struct pipe_query *query, in vc5_get_query_result() argument
124 vc5_flush(pctx); in vc5_get_query_result()
161 vc5_set_active_query_state(struct pipe_context *pctx, boolean enable) in vc5_set_active_query_state() argument
163 struct vc5_context *vc5 = vc5_context(pctx); in vc5_set_active_query_state()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_context.c43 fd3_context_destroy(struct pipe_context *pctx) in fd3_context_destroy() argument
45 struct fd3_context *fd3_ctx = fd3_context(fd_context(pctx)); in fd3_context_destroy()
55 fd_hw_query_fini(pctx); in fd3_context_destroy()
57 fd_context_destroy(pctx); in fd3_context_destroy()
76 struct pipe_context *pctx; in fd3_context_create() local
81 pctx = &fd3_ctx->base.base; in fd3_context_create()
86 pctx->destroy = fd3_context_destroy; in fd3_context_create()
87 pctx->create_blend_state = fd3_blend_state_create; in fd3_context_create()
88 pctx->create_rasterizer_state = fd3_rasterizer_state_create; in fd3_context_create()
89 pctx->create_depth_stencil_alpha_state = fd3_zsa_state_create; in fd3_context_create()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_context.c43 fd4_context_destroy(struct pipe_context *pctx) in fd4_context_destroy() argument
45 struct fd4_context *fd4_ctx = fd4_context(fd_context(pctx)); in fd4_context_destroy()
55 fd_hw_query_fini(pctx); in fd4_context_destroy()
57 fd_context_destroy(pctx); in fd4_context_destroy()
76 struct pipe_context *pctx; in fd4_context_create() local
81 pctx = &fd4_ctx->base.base; in fd4_context_create()
86 pctx->destroy = fd4_context_destroy; in fd4_context_create()
87 pctx->create_blend_state = fd4_blend_state_create; in fd4_context_create()
88 pctx->create_rasterizer_state = fd4_rasterizer_state_create; in fd4_context_create()
89 pctx->create_depth_stencil_alpha_state = fd4_zsa_state_create; in fd4_context_create()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_context.c41 fd2_context_destroy(struct pipe_context *pctx) in fd2_context_destroy() argument
43 fd_context_destroy(pctx); in fd2_context_destroy()
47 create_solid_vertexbuf(struct pipe_context *pctx) in create_solid_vertexbuf() argument
62 struct pipe_resource *prsc = pipe_buffer_create(pctx->screen, in create_solid_vertexbuf()
64 pipe_buffer_write(pctx, prsc, 0, in create_solid_vertexbuf()
93 struct pipe_context *pctx; in fd2_context_create() local
98 pctx = &fd2_ctx->base.base; in fd2_context_create()
103 pctx->destroy = fd2_context_destroy; in fd2_context_create()
104 pctx->create_blend_state = fd2_blend_state_create; in fd2_context_create()
105 pctx->create_rasterizer_state = fd2_rasterizer_state_create; in fd2_context_create()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_context.c43 fd5_context_destroy(struct pipe_context *pctx) in fd5_context_destroy() argument
45 struct fd5_context *fd5_ctx = fd5_context(fd_context(pctx)); in fd5_context_destroy()
56 fd_context_destroy(pctx); in fd5_context_destroy()
75 struct pipe_context *pctx; in fd5_context_create() local
80 pctx = &fd5_ctx->base.base; in fd5_context_create()
85 pctx->destroy = fd5_context_destroy; in fd5_context_create()
86 pctx->create_blend_state = fd5_blend_state_create; in fd5_context_create()
87 pctx->create_rasterizer_state = fd5_rasterizer_state_create; in fd5_context_create()
88 pctx->create_depth_stencil_alpha_state = fd5_zsa_state_create; in fd5_context_create()
90 fd5_draw_init(pctx); in fd5_context_create()
[all …]
/external/boringssl/src/crypto/evp/
Ddigestsign.c75 return (op == evp_sign) ? (ctx->pctx->pmeth->sign != NULL) in uses_prehash()
76 : (ctx->pctx->pmeth->verify != NULL); in uses_prehash()
79 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, in do_sigver_init() argument
82 if (ctx->pctx == NULL) { in do_sigver_init()
83 ctx->pctx = EVP_PKEY_CTX_new(pkey, e); in do_sigver_init()
85 if (ctx->pctx == NULL) { in do_sigver_init()
91 if (!EVP_PKEY_verify_init(ctx->pctx)) { in do_sigver_init()
95 if (!EVP_PKEY_sign_init(ctx->pctx)) { in do_sigver_init()
101 !EVP_PKEY_CTX_set_signature_md(ctx->pctx, type)) { in do_sigver_init()
115 if (pctx) { in do_sigver_init()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c59 etna_context_destroy(struct pipe_context *pctx) in etna_context_destroy() argument
61 struct etna_context *ctx = etna_context(pctx); in etna_context_destroy()
69 if (pctx->stream_uploader) in etna_context_destroy()
70 u_upload_destroy(pctx->stream_uploader); in etna_context_destroy()
80 FREE(pctx); in etna_context_destroy()
146 etna_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info) in etna_draw_vbo() argument
148 struct etna_context *ctx = etna_context(pctx); in etna_draw_vbo()
187 !util_upload_index_buffer(pctx, info, &indexbuf, &index_offset)) { in etna_draw_vbo()
297 pctx->flush(pctx, NULL, 0); in etna_draw_vbo()
308 etna_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, in etna_flush() argument
[all …]
Detnaviv_query.c37 etna_create_query(struct pipe_context *pctx, unsigned query_type, in etna_create_query() argument
40 struct etna_context *ctx = etna_context(pctx); in etna_create_query()
51 etna_destroy_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_destroy_query() argument
55 q->funcs->destroy_query(etna_context(pctx), q); in etna_destroy_query()
59 etna_begin_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_begin_query() argument
67 ret = q->funcs->begin_query(etna_context(pctx), q); in etna_begin_query()
74 etna_end_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_end_query() argument
81 q->funcs->end_query(etna_context(pctx), q); in etna_end_query()
88 etna_get_query_result(struct pipe_context *pctx, struct pipe_query *pq, in etna_get_query_result() argument
98 return q->funcs->get_query_result(etna_context(pctx), q, wait, result); in etna_get_query_result()
[all …]
Detnaviv_state.c46 etna_set_stencil_ref(struct pipe_context *pctx, const struct pipe_stencil_ref *sr) in etna_set_stencil_ref() argument
48 struct etna_context *ctx = etna_context(pctx); in etna_set_stencil_ref()
61 etna_set_clip_state(struct pipe_context *pctx, const struct pipe_clip_state *pcs) in etna_set_clip_state() argument
67 etna_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) in etna_set_sample_mask() argument
69 struct etna_context *ctx = etna_context(pctx); in etna_set_sample_mask()
76 etna_set_constant_buffer(struct pipe_context *pctx, in etna_set_constant_buffer() argument
80 struct etna_context *ctx = etna_context(pctx); in etna_set_constant_buffer()
102 etna_update_render_resource(struct pipe_context *pctx, struct pipe_resource *pres) in etna_update_render_resource() argument
108 etna_copy_resource(pctx, pres, res->texture, 0, pres->last_level); in etna_update_render_resource()
114 etna_set_framebuffer_state(struct pipe_context *pctx, in etna_set_framebuffer_state() argument
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c199 struct pstip_transform_context *pctx = in pstip_transform_decl() local
207 pctx->samplersUsed |= 1u << i; in pstip_transform_decl()
210 else if (decl->Declaration.File == pctx->wincoordFile) { in pstip_transform_decl()
211 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); in pstip_transform_decl()
213 pctx->wincoordInput = (int) decl->Range.First; in pstip_transform_decl()
218 pctx->tempsUsed |= (1 << i); in pstip_transform_decl()
230 struct pstip_transform_context *pctx = in pstip_transform_immed() local
232 pctx->numImmed++; in pstip_transform_immed()
263 struct pstip_transform_context *pctx = in pstip_transform_prolog() local
269 STATIC_ASSERT(sizeof(pctx->samplersUsed) * 8 >= PIPE_MAX_SAMPLERS); in pstip_transform_prolog()
[all …]

123456789