Searched refs:decl_stack (Results 1 – 2 of 2) sorted by relevance
| /third_party/libbpf/src/ |
| D | btf_dump.c | 104 __u32 *decl_stack; member 251 free(d->decl_stack); in btf_dump__free() 644 struct id_stack *decl_stack, 1213 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id() 1216 d->decl_stack = new_stack; in btf_dump_push_decl_stack_id() 1220 d->decl_stack[d->decl_stack_cnt++] = id; in btf_dump_push_decl_stack_id() 1290 struct id_stack decl_stack; in btf_dump_emit_type_decl() local 1354 decl_stack.ids = d->decl_stack + stack_start; in btf_dump_emit_type_decl() 1355 decl_stack.cnt = d->decl_stack_cnt - stack_start; in btf_dump_emit_type_decl() 1356 btf_dump_emit_type_chain(d, &decl_stack, fname, lvl); in btf_dump_emit_type_decl() [all …]
|
| /third_party/selinux/libsepol/src/ |
| D | module_to_cil.c | 165 struct stack *decl_stack; member 493 static int is_id_in_scope_with_start(struct policydb *pdb, struct stack *decl_stack, int start, uin… in is_id_in_scope_with_start() argument 506 decl = decl_stack->stack[i]; in is_id_in_scope_with_start() 518 static int is_id_in_ancestor_scope(struct policydb *pdb, struct stack *decl_stack, char *type, uint… in is_id_in_ancestor_scope() argument 520 int start = decl_stack->pos - 1; in is_id_in_ancestor_scope() 522 return is_id_in_scope_with_start(pdb, decl_stack, start, symbol_type, type); in is_id_in_ancestor_scope() 525 static int is_id_in_scope(struct policydb *pdb, struct stack *decl_stack, char *type, uint32_t symb… in is_id_in_scope() argument 527 int start = decl_stack->pos; in is_id_in_scope() 529 return is_id_in_scope_with_start(pdb, decl_stack, start, symbol_type, type); in is_id_in_scope() 1086 static int roletype_role_in_ancestor_to_cil(struct policydb *pdb, struct stack *decl_stack, char *t… in roletype_role_in_ancestor_to_cil() argument [all …]
|