Searched refs:new_cnt (Results 1 – 4 of 4) sorted by relevance
18 struct bpf_insn *new_prog, size_t *new_cnt,25 size_t *new_cnt, in bpf__gen_prologue() argument28 if (!new_cnt) in bpf__gen_prologue()30 *new_cnt = 0; in bpf__gen_prologue()
312 struct bpf_insn *new_prog, size_t *new_cnt, in bpf__gen_prologue() argument322 if (!new_prog || !new_cnt) in bpf__gen_prologue()339 *new_cnt = pos_get_cnt(&pos); in bpf__gen_prologue()451 *new_cnt = pos_get_cnt(&pos); in bpf__gen_prologue()
285 int cnt = btsr->snapshot_ref_cnt, new_cnt = cnt * 2; in intel_bts_alloc_snapshot_refs() local288 if (!new_cnt) in intel_bts_alloc_snapshot_refs()289 new_cnt = 16; in intel_bts_alloc_snapshot_refs()291 while (new_cnt <= idx) in intel_bts_alloc_snapshot_refs()292 new_cnt *= 2; in intel_bts_alloc_snapshot_refs()294 refs = calloc(new_cnt, sz); in intel_bts_alloc_snapshot_refs()301 btsr->snapshot_ref_cnt = new_cnt; in intel_bts_alloc_snapshot_refs()
804 int cnt = ptr->snapshot_ref_cnt, new_cnt = cnt * 2; in intel_pt_alloc_snapshot_refs() local807 if (!new_cnt) in intel_pt_alloc_snapshot_refs()808 new_cnt = 16; in intel_pt_alloc_snapshot_refs()810 while (new_cnt <= idx) in intel_pt_alloc_snapshot_refs()811 new_cnt *= 2; in intel_pt_alloc_snapshot_refs()813 refs = calloc(new_cnt, sz); in intel_pt_alloc_snapshot_refs()820 ptr->snapshot_ref_cnt = new_cnt; in intel_pt_alloc_snapshot_refs()