Lines Matching refs:dinfo
5327 struct bpf_subprog_call_depth_info *dinfo, in check_max_stack_depth_subprog() argument
5338 dinfo[idx].caller = -1; in check_max_stack_depth_subprog()
5391 for (tmp = idx; tmp >= 0; tmp = dinfo[tmp].caller) in check_max_stack_depth_subprog()
5409 for (tmp = idx; tmp >= 0 && !err; tmp = dinfo[tmp].caller) { in check_max_stack_depth_subprog()
5447 dinfo[idx].frame = frame; in check_max_stack_depth_subprog()
5448 dinfo[idx].ret_insn = i + 1; in check_max_stack_depth_subprog()
5451 dinfo[sidx].caller = idx; in check_max_stack_depth_subprog()
5476 for (tmp = idx; tmp >= 0; tmp = dinfo[tmp].caller) { in check_max_stack_depth_subprog()
5489 if (frame == 0 && dinfo[idx].caller < 0) in check_max_stack_depth_subprog()
5495 idx = dinfo[idx].caller; in check_max_stack_depth_subprog()
5498 frame = dinfo[idx].frame; in check_max_stack_depth_subprog()
5499 i = dinfo[idx].ret_insn; in check_max_stack_depth_subprog()
5507 struct bpf_subprog_call_depth_info *dinfo; in check_max_stack_depth() local
5512 dinfo = kvcalloc(env->subprog_cnt, sizeof(*dinfo), GFP_KERNEL_ACCOUNT); in check_max_stack_depth()
5513 if (!dinfo) in check_max_stack_depth()
5537 ret = check_max_stack_depth_subprog(env, i, dinfo, in check_max_stack_depth()
5540 kvfree(dinfo); in check_max_stack_depth()
5553 kvfree(dinfo); in check_max_stack_depth()