Home
last modified time | relevance | path

Searched refs:dynptr (Results 1 – 2 of 2) sorted by relevance

/kernel/bpf/
Dringbuf.c734 struct bpf_dynptr_kern dynptr; in BPF_CALL_4() local
749 bpf_dynptr_init(&dynptr, sample, BPF_DYNPTR_TYPE_LOCAL, 0, size); in BPF_CALL_4()
750 ret = callback((uintptr_t)&dynptr, (uintptr_t)callback_ctx, 0, 0, 0); in BPF_CALL_4()
Dverifier.c730 state->stack[spi].spilled_ptr.dynptr.first_slot = true; in mark_stack_slots_dynptr()
731 state->stack[spi].spilled_ptr.dynptr.type = type; in mark_stack_slots_dynptr()
732 state->stack[spi - 1].spilled_ptr.dynptr.type = type; in mark_stack_slots_dynptr()
763 if (dynptr_type_refcounted(state->stack[spi].spilled_ptr.dynptr.type)) { in unmark_stack_slots_dynptr()
769 state->stack[spi].spilled_ptr.dynptr.first_slot = false; in unmark_stack_slots_dynptr()
770 state->stack[spi].spilled_ptr.dynptr.type = 0; in unmark_stack_slots_dynptr()
771 state->stack[spi - 1].spilled_ptr.dynptr.type = 0; in unmark_stack_slots_dynptr()
802 !state->stack[spi].spilled_ptr.dynptr.first_slot) in is_dynptr_reg_valid_init()
828 return state->stack[spi].spilled_ptr.dynptr.type == dynptr_type; in is_dynptr_type_expected()