Home
last modified time | relevance | path

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

12345678

/external/e2fsprogs/e2fsck/
Dpass1.c67 static void check_blocks(e2fsck_t ctx, struct problem_context *pctx,
96 struct problem_context *pctx; member
288 struct problem_context *pctx) in check_extents_inlinedata() argument
290 if (!(pctx->inode->i_flags & BAD_SPECIAL_FLAGS)) in check_extents_inlinedata()
293 if (!fix_problem(ctx, PR_1_SPECIAL_EXTENTS_IDATA, pctx)) in check_extents_inlinedata()
296 pctx->inode->i_flags &= ~BAD_SPECIAL_FLAGS; in check_extents_inlinedata()
297 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_extents_inlinedata()
306 static void check_immutable(e2fsck_t ctx, struct problem_context *pctx) in check_immutable() argument
308 if (!(pctx->inode->i_flags & BAD_SPECIAL_FLAGS)) in check_immutable()
311 if (!fix_problem(ctx, PR_1_SET_IMMUTABLE, pctx)) in check_immutable()
[all …]
Dpass5.c38 struct problem_context pctx; in e2fsck_pass5() local
45 clear_problem_context(&pctx); in e2fsck_pass5()
48 fix_problem(ctx, PR_5_PASS_HEADER, &pctx); in e2fsck_pass5()
86 struct problem_context pctx; in check_inode_bitmap_checksum() local
108 clear_problem_context(&pctx); in check_inode_bitmap_checksum()
122 pctx.group = i; in check_inode_bitmap_checksum()
123 if (!fix_problem(ctx, PR_5_INODE_BITMAP_CSUM_INVALID, &pctx)) in check_inode_bitmap_checksum()
140 struct problem_context pctx; in check_block_bitmap_checksum() local
162 clear_problem_context(&pctx); in check_block_bitmap_checksum()
178 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
91 struct problem_context pctx; in e2fsck_pass2() local
109 clear_problem_context(&cd.pctx); in e2fsck_pass2()
116 fix_problem(ctx, PR_2_PASS_HEADER, &cd.pctx); in e2fsck_pass2()
118 cd.pctx.errcode = e2fsck_setup_icount(ctx, "inode_count", in e2fsck_pass2()
121 if (cd.pctx.errcode) { in e2fsck_pass2()
122 fix_problem(ctx, PR_2_ALLOCATE_ICOUNT, &cd.pctx); in e2fsck_pass2()
151 cd.pctx.errcode = ext2fs_dblist_iterate2(fs->dblist, check_dir_func, in e2fsck_pass2()
161 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; member
68 struct problem_context *pctx; in release_inode_block() local
74 pctx = pb->pctx; in release_inode_block()
76 pctx->blk = blk; in release_inode_block()
77 pctx->blkcount = blockcnt; in release_inode_block()
[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()
267 struct problem_context *pctx; member
277 struct problem_context pctx; in pass1b() local
280 clear_problem_context(&pctx); in pass1b()
283 fix_problem(ctx, PR_1B_PASS_HEADER, &pctx); in pass1b()
284 pctx.errcode = ext2fs_open_inode_scan(fs, ctx->inode_buffer_blocks, in pass1b()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.c42 fd_context_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, in fd_context_flush() argument
45 struct fd_context *ctx = fd_context(pctx); in fd_context_flush()
65 fd_fence_ref(pctx->screen, fence, ctx->last_fence); in fd_context_flush()
74 fd_emit_string_marker(struct pipe_context *pctx, const char *string, int len) in fd_emit_string_marker() argument
76 struct fd_context *ctx = fd_context(pctx); in fd_emit_string_marker()
107 fd_context_destroy(struct pipe_context *pctx) in fd_context_destroy() argument
109 struct fd_context *ctx = fd_context(pctx); in fd_context_destroy()
120 fd_fence_ref(pctx->screen, &ctx->last_fence, NULL); in fd_context_destroy()
122 fd_prog_fini(pctx); in fd_context_destroy()
123 fd_hw_query_fini(pctx); in fd_context_destroy()
[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()
44 fd_vp_state_bind(struct pipe_context *pctx, void *hwcso) in fd_vp_state_bind() argument
46 struct fd_context *ctx = fd_context(pctx); in fd_vp_state_bind()
76 static void * assemble_tgsi(struct pipe_context *pctx, in assemble_tgsi() argument
88 return pctx->create_fs_state(pctx, &cso); in assemble_tgsi()
90 return pctx->create_vs_state(pctx, &cso); in assemble_tgsi()
94 fd_prog_blit(struct pipe_context *pctx, int rts, bool depth) in fd_prog_blit() argument
120 return ureg_create_shader_and_destroy(ureg, pctx); in fd_prog_blit()
124 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, uint shader, uint index, in fd_set_constant_buffer() argument
95 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
66 return q->funcs->begin_query(fd_context(pctx), q); in fd_begin_query()
70 fd_end_query(struct pipe_context *pctx, struct pipe_query *pq) in fd_end_query() argument
73 q->funcs->end_query(fd_context(pctx), q); in fd_end_query()
78 fd_get_query_result(struct pipe_context *pctx, struct pipe_query *pq, in fd_get_query_result() argument
82 return q->funcs->get_query_result(fd_context(pctx), q, wait, result); in fd_get_query_result()
[all …]
Dfreedreno_draw.c59 fd_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info) in fd_draw_vbo() argument
61 struct fd_context *ctx = fd_context(pctx); in fd_draw_vbo()
74 if (!fd_render_condition_check(pctx)) in fd_draw_vbo()
208 fd_blitter_clear(struct pipe_context *pctx, unsigned buffers, in fd_blitter_clear() argument
211 struct fd_context *ctx = fd_context(pctx); in fd_blitter_clear()
223 pctx->set_stencil_ref(pctx, &sr); in fd_blitter_clear()
229 pctx->set_constant_buffer(pctx, PIPE_SHADER_FRAGMENT, 0, &cb); in fd_blitter_clear()
239 ctx->clear_rs_state = pctx->create_rasterizer_state(pctx, &tmpl); in fd_blitter_clear()
241 pctx->bind_rasterizer_state(pctx, ctx->clear_rs_state); in fd_blitter_clear()
247 pctx->set_viewport_states(pctx, 0, 1, &vp); in fd_blitter_clear()
[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()
70 vc4_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsc) in vc4_invalidate_resource() argument
72 struct vc4_context *vc4 = vc4_context(pctx); in vc4_invalidate_resource()
88 vc4_context_destroy(struct pipe_context *pctx) in vc4_context_destroy() argument
90 struct vc4_context *vc4 = vc4_context(pctx); in vc4_context_destroy()
[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/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/a4xx/
Dfd4_context.c42 fd4_context_destroy(struct pipe_context *pctx) in fd4_context_destroy() argument
44 struct fd4_context *fd4_ctx = fd4_context(fd_context(pctx)); in fd4_context_destroy()
54 fd_context_destroy(pctx); in fd4_context_destroy()
73 struct pipe_context *pctx; in fd4_context_create() local
78 pctx = &fd4_ctx->base.base; in fd4_context_create()
83 pctx->destroy = fd4_context_destroy; in fd4_context_create()
84 pctx->create_blend_state = fd4_blend_state_create; in fd4_context_create()
85 pctx->create_rasterizer_state = fd4_rasterizer_state_create; in fd4_context_create()
86 pctx->create_depth_stencil_alpha_state = fd4_zsa_state_create; in fd4_context_create()
88 fd4_draw_init(pctx); in fd4_context_create()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_context.c42 fd3_context_destroy(struct pipe_context *pctx) in fd3_context_destroy() argument
44 struct fd3_context *fd3_ctx = fd3_context(fd_context(pctx)); in fd3_context_destroy()
54 fd_context_destroy(pctx); in fd3_context_destroy()
73 struct pipe_context *pctx; in fd3_context_create() local
78 pctx = &fd3_ctx->base.base; in fd3_context_create()
83 pctx->destroy = fd3_context_destroy; in fd3_context_create()
84 pctx->create_blend_state = fd3_blend_state_create; in fd3_context_create()
85 pctx->create_rasterizer_state = fd3_rasterizer_state_create; in fd3_context_create()
86 pctx->create_depth_stencil_alpha_state = fd3_zsa_state_create; in fd3_context_create()
88 fd3_draw_init(pctx); in fd3_context_create()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_context.c40 fd5_context_destroy(struct pipe_context *pctx) in fd5_context_destroy() argument
42 struct fd5_context *fd5_ctx = fd5_context(fd_context(pctx)); in fd5_context_destroy()
53 fd_context_destroy(pctx); in fd5_context_destroy()
72 struct pipe_context *pctx; in fd5_context_create() local
77 pctx = &fd5_ctx->base.base; in fd5_context_create()
82 pctx->destroy = fd5_context_destroy; in fd5_context_create()
83 pctx->create_blend_state = fd5_blend_state_create; in fd5_context_create()
84 pctx->create_rasterizer_state = fd5_rasterizer_state_create; in fd5_context_create()
85 pctx->create_depth_stencil_alpha_state = fd5_zsa_state_create; in fd5_context_create()
87 fd5_draw_init(pctx); in fd5_context_create()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c56 etna_context_destroy(struct pipe_context *pctx) in etna_context_destroy() argument
58 struct etna_context *ctx = etna_context(pctx); in etna_context_destroy()
71 FREE(pctx); in etna_context_destroy()
106 etna_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info) in etna_draw_vbo() argument
108 struct etna_context *ctx = etna_context(pctx); in etna_draw_vbo()
204 pctx->flush(pctx, NULL, 0); in etna_draw_vbo()
213 etna_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, in etna_flush() argument
216 struct etna_context *ctx = etna_context(pctx); in etna_flush()
221 *fence = etna_fence_create(pctx); in etna_flush()
254 struct pipe_context *pctx; in etna_context_create() local
[all …]
Detnaviv_state.c45 etna_set_blend_color(struct pipe_context *pctx, const struct pipe_blend_color *bc) in etna_set_blend_color() argument
47 struct etna_context *ctx = etna_context(pctx); in etna_set_blend_color()
59 etna_set_stencil_ref(struct pipe_context *pctx, const struct pipe_stencil_ref *sr) in etna_set_stencil_ref() argument
61 struct etna_context *ctx = etna_context(pctx); in etna_set_stencil_ref()
74 etna_set_clip_state(struct pipe_context *pctx, const struct pipe_clip_state *pcs) in etna_set_clip_state() argument
80 etna_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) in etna_set_sample_mask() argument
82 struct etna_context *ctx = etna_context(pctx); in etna_set_sample_mask()
89 etna_set_constant_buffer(struct pipe_context *pctx, uint shader, uint index, in etna_set_constant_buffer() argument
92 struct etna_context *ctx = etna_context(pctx); in etna_set_constant_buffer()
114 etna_update_render_resource(struct pipe_context *pctx, struct pipe_resource *pres) in etna_update_render_resource() argument
[all …]
Detnaviv_query.c35 etna_create_query(struct pipe_context *pctx, unsigned query_type, in etna_create_query() argument
38 struct etna_context *ctx = etna_context(pctx); in etna_create_query()
47 etna_destroy_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_destroy_query() argument
51 q->funcs->destroy_query(etna_context(pctx), q); in etna_destroy_query()
55 etna_begin_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_begin_query() argument
59 return q->funcs->begin_query(etna_context(pctx), q); in etna_begin_query()
63 etna_end_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_end_query() argument
67 q->funcs->end_query(etna_context(pctx), q); in etna_end_query()
72 etna_get_query_result(struct pipe_context *pctx, struct pipe_query *pq, in etna_get_query_result() argument
77 return q->funcs->get_query_result(etna_context(pctx), q, wait, result); in etna_get_query_result()
[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/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 …]
/external/libdrm/nouveau/
Dbufctx.c88 struct nouveau_bufctx_priv *pctx = nouveau_bufctx(*pbctx); in nouveau_bufctx_del() local
90 if (pctx) { in nouveau_bufctx_del()
91 while (pctx->nr_bins--) in nouveau_bufctx_del()
92 nouveau_bufctx_reset(&pctx->base, pctx->nr_bins); in nouveau_bufctx_del()
93 while ((pref = pctx->free)) { in nouveau_bufctx_del()
94 pctx->free = pref->next; in nouveau_bufctx_del()
97 free(pctx); in nouveau_bufctx_del()
105 struct nouveau_bufctx_priv *pctx = nouveau_bufctx(bctx); in nouveau_bufctx_reset() local
106 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_reset()
112 pref->next = pctx->free; in nouveau_bufctx_reset()
[all …]
/external/webrtc/webrtc/libjingle/xmpp/
Dxmppstanzaparser.h42 virtual void StartElement(XmlParseContext * pctx, in StartElement() argument
44 { outer_->IncomingStartElement(pctx, name, atts); } in StartElement()
45 virtual void EndElement(XmlParseContext * pctx, in EndElement() argument
47 { outer_->IncomingEndElement(pctx, name); } in EndElement()
48 virtual void CharacterData(XmlParseContext * pctx, in CharacterData() argument
50 { outer_->IncomingCharacterData(pctx, text, len); } in CharacterData()
51 virtual void Error(XmlParseContext * pctx, in Error() argument
53 { outer_->IncomingError(pctx, errCode); } in Error()
60 void IncomingStartElement(XmlParseContext * pctx,
62 void IncomingEndElement(XmlParseContext * pctx,
[all …]
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlbuilder.cc35 XmlBuilder::BuildElement(XmlParseContext * pctx, in BuildElement() argument
37 QName tagName(pctx->ResolveQName(name, false)); in BuildElement()
49 QName attName(pctx->ResolveQName(*atts, true)); in BuildElement()
72 XmlBuilder::StartElement(XmlParseContext * pctx, in StartElement() argument
74 XmlElement * pelNew = BuildElement(pctx, name, atts); in StartElement()
76 pctx->RaiseError(XML_ERROR_SYNTAX); in StartElement()
92 XmlBuilder::EndElement(XmlParseContext * pctx, const char * name) { in EndElement() argument
93 RTC_UNUSED(pctx); in EndElement()
100 XmlBuilder::CharacterData(XmlParseContext * pctx, in CharacterData() argument
102 RTC_UNUSED(pctx); in CharacterData()
[all …]

12345678