Lines Matching refs:target_cnt
582 size_t off, name_off, desc_off, seg_cnt = 0, vma_seg_cnt = 0, target_cnt = 0; in collect_usdt_targets() local
766 tmp = libbpf_reallocarray(targets, target_cnt + 1, sizeof(*targets)); in collect_usdt_targets()
773 target = &targets[target_cnt]; in collect_usdt_targets()
789 target_cnt++; in collect_usdt_targets()
793 *out_target_cnt = target_cnt; in collect_usdt_targets()
794 err = target_cnt; in collect_usdt_targets()
968 size_t target_cnt; in usdt_manager_attach_usdt() local
991 usdt_cookie, &targets, &target_cnt); in usdt_manager_attach_usdt()
1014 offsets = calloc(target_cnt, sizeof(*offsets)); in usdt_manager_attach_usdt()
1015 cookies = calloc(target_cnt, sizeof(*cookies)); in usdt_manager_attach_usdt()
1016 ref_ctr_offsets = calloc(target_cnt, sizeof(*ref_ctr_offsets)); in usdt_manager_attach_usdt()
1023 link->uprobes = calloc(target_cnt, sizeof(*link->uprobes)); in usdt_manager_attach_usdt()
1030 for (i = 0; i < target_cnt; i++) { in usdt_manager_attach_usdt()
1095 .cnt = target_cnt, in usdt_manager_attach_usdt()