Lines Matching refs:acquired_refs
961 if (state->acquired_refs && state->refs[0].id) { in print_verifier_state()
963 for (i = 1; i < state->acquired_refs; i++) in print_verifier_state()
1051 dst->refs = copy_array(dst->refs, src->refs, src->acquired_refs, in copy_reference_state()
1056 dst->acquired_refs = src->acquired_refs; in copy_reference_state()
1075 state->refs = realloc_array(state->refs, state->acquired_refs, n, in resize_reference_state()
1080 state->acquired_refs = n; in resize_reference_state()
1107 int new_ofs = state->acquired_refs; in acquire_reference_state()
1110 err = resize_reference_state(state, state->acquired_refs + 1); in acquire_reference_state()
1126 last_idx = state->acquired_refs - 1; in release_reference_state()
1127 for (i = 0; i < state->acquired_refs; i++) { in release_reference_state()
1136 state->acquired_refs--; in release_reference_state()
1181 memcpy(dst, src, offsetof(struct bpf_func_state, acquired_refs)); in copy_func_state()
7143 for (i = 0; i < state->acquired_refs; i++) { in check_reference_leak()
11680 if (old->acquired_refs != cur->acquired_refs) in refsafe()
11683 sizeof(*old->refs) * old->acquired_refs); in refsafe()