Home
last modified time | relevance | path

Searched defs:idx (Results 1 – 25 of 126) sorted by relevance

123456

/tools/testing/selftests/kvm/lib/
Dsparsebit.c172 sparsebit_idx_t idx; /* index of least-significant bit in mask */ member
310 static struct node *node_find(struct sparsebit *s, sparsebit_idx_t idx) in node_find()
333 static struct node *node_add(struct sparsebit *s, sparsebit_idx_t idx) in node_add()
498 static struct node *node_split(struct sparsebit *s, sparsebit_idx_t idx) in node_split()
779 bool sparsebit_is_set(struct sparsebit *s, sparsebit_idx_t idx) in sparsebit_is_set()
805 static void bit_set(struct sparsebit *s, sparsebit_idx_t idx) in bit_set()
832 static void bit_clear(struct sparsebit *s, sparsebit_idx_t idx) in bit_clear()
986 sparsebit_idx_t idx, sparsebit_num_t num) in sparsebit_is_set_num()
1010 sparsebit_idx_t idx) in sparsebit_is_clear()
1017 sparsebit_idx_t idx, sparsebit_num_t num) in sparsebit_is_clear_num()
[all …]
/tools/lib/bpf/
Dxsk.h49 __u32 idx) in xsk_ring_prod__fill_addr()
57 xsk_ring_cons__comp_addr(const struct xsk_ring_cons *comp, __u32 idx) in xsk_ring_cons__comp_addr()
65 __u32 idx) in xsk_ring_prod__tx_desc()
73 xsk_ring_cons__rx_desc(const struct xsk_ring_cons *rx, __u32 idx) in xsk_ring_cons__rx_desc()
117 size_t nb, __u32 *idx) in xsk_ring_prod__reserve()
139 size_t nb, __u32 *idx) in xsk_ring_cons__peek()
/tools/perf/util/
Dmmap.c77 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc()
89 static void perf_mmap__aio_free(struct mmap *map, int idx) in perf_mmap__aio_free()
97 static int perf_mmap__aio_bind(struct mmap *map, int idx, int cpu, int affinity) in perf_mmap__aio_bind()
126 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc()
135 static void perf_mmap__aio_free(struct mmap *map, int idx) in perf_mmap__aio_free()
Dstream.c73 int i, idx = 0; in evsel_streams__set_hot_cnode() local
221 static void print_callchain_pair(struct stream *base_stream, int idx, in print_callchain_pair()
267 static void print_stream_callchain(struct stream *stream, int idx, in print_stream_callchain()
306 int i, idx = 0; in callchain_streams_report() local
Dsyscalltbl.c118 int syscalltbl__strglobmatch_next(struct syscalltbl *tbl, const char *syscall_glob, int *idx) in syscalltbl__strglobmatch_next()
133 int syscalltbl__strglobmatch_first(struct syscalltbl *tbl, const char *syscall_glob, int *idx) in syscalltbl__strglobmatch_first()
172 int syscalltbl__strglobmatch_first(struct syscalltbl *tbl, const char *syscall_glob, int *idx) in syscalltbl__strglobmatch_first()
Dcpumap.c114 int cpu_map__get_socket(struct perf_cpu_map *map, int idx, void *data __maybe_unused) in cpu_map__get_socket()
170 int cpu_map__get_die(struct perf_cpu_map *map, int idx, void *data) in cpu_map__get_die()
214 int cpu_map__get_core(struct perf_cpu_map *map, int idx, void *data) in cpu_map__get_core()
243 int cpu_map__get_node(struct perf_cpu_map *map, int idx, void *data __maybe_unused) in cpu_map__get_node()
483 int cpu_map__cpu(struct perf_cpu_map *cpus, int idx) in cpu_map__cpu()
Dauxtrace.c178 struct evlist *evlist, int idx, in auxtrace_mmap_params__set_idx()
285 unsigned int idx, in auxtrace_queues__queue_buffer()
319 unsigned int idx, in auxtrace_queues__split_buffer()
358 unsigned int idx, in auxtrace_queues__add_buffer()
415 unsigned int idx = event->auxtrace.idx; in auxtrace_queues__add_event() local
596 int auxtrace_record__find_snapshot(struct auxtrace_record *itr, int idx, in auxtrace_record__find_snapshot()
646 int auxtrace_record__read_finish(struct auxtrace_record *itr, int idx) in auxtrace_record__read_finish()
1009 unsigned int idx; in auxtrace_queues__sample_queue() local
1041 unsigned int idx; in auxtrace_queues__add_sample() local
2038 static int parse_sym_idx(char **inp, int *idx) in parse_sym_idx()
[all …]
Dparse-events.c187 void parse_events__handle_error(struct parse_events_error *err, int idx, in parse_events__handle_error()
348 __add_event(struct list_head *list, int *idx, in __add_event()
392 struct evsel *parse_events__add_event(int idx, struct perf_event_attr *attr, in parse_events__add_event()
399 static int add_event(struct list_head *list, int *idx, in add_event()
407 static int add_event_tool(struct list_head *list, int *idx, in add_event_tool()
455 int parse_events_add_cache(struct list_head *list, int *idx, in parse_events_add_cache()
559 static int add_tracepoint(struct list_head *list, int *idx, in add_tracepoint()
583 static int add_tracepoint_multi_event(struct list_head *list, int *idx, in add_tracepoint_multi_event()
631 static int add_tracepoint_event(struct list_head *list, int *idx, in add_tracepoint_event()
643 static int add_tracepoint_multi_sys(struct list_head *list, int *idx, in add_tracepoint_multi_sys()
[all …]
/tools/testing/radix-tree/
Dmain.c17 long idx; in __gang_check() local
126 …uct radix_tree_root *tree, unsigned long start, unsigned long end, unsigned long *idx, int count, … in check_copied_tags()
159 unsigned long idx[ITEMS]; in copy_tag_check() local
/tools/power/cpupower/utils/helpers/
Dmsr.c27 int read_msr(int cpu, unsigned int idx, unsigned long long *val) in read_msr()
56 int write_msr(int cpu, unsigned int idx, unsigned long long val) in write_msr()
/tools/lib/
Dfind_bit.c81 unsigned long idx; in find_first_bit() local
98 unsigned long idx; in find_first_zero_bit() local
/tools/perf/
Dbuiltin-stat.c1212 aggr_get_id_t get_id, struct perf_cpu_map *map, int idx) in perf_stat__get_aggr()
1228 struct perf_cpu_map *map, int idx) in perf_stat__get_socket_cached()
1234 struct perf_cpu_map *map, int idx) in perf_stat__get_die_cached()
1240 struct perf_cpu_map *map, int idx) in perf_stat__get_core_cached()
1246 struct perf_cpu_map *map, int idx) in perf_stat__get_node_cached()
1331 static inline int perf_env__get_cpu(struct perf_env *env, struct perf_cpu_map *map, int idx) in perf_env__get_cpu()
1346 static int perf_env__get_socket(struct perf_cpu_map *map, int idx, void *data) in perf_env__get_socket()
1354 static int perf_env__get_die(struct perf_cpu_map *map, int idx, void *data) in perf_env__get_die()
1378 static int perf_env__get_core(struct perf_cpu_map *map, int idx, void *data) in perf_env__get_core()
1408 static int perf_env__get_node(struct perf_cpu_map *map, int idx, void *data) in perf_env__get_node()
[all …]
/tools/testing/selftests/kvm/x86_64/
Dkvm_pv_test.c18 static u64 do_rdmsr(u32 idx) in do_rdmsr()
33 static void do_wrmsr(u32 idx, u64 val) in do_wrmsr()
65 uint32_t idx; member
/tools/perf/ui/browsers/
Dannotate.c266 struct annotation_line *pos, u32 idx) in annotate_browser__set_top()
294 u32 idx = pos->idx; in annotate_browser__set_rb_top() local
445 s64 offset, s64 *idx) in annotate_browser__find_offset()
467 s64 idx; in annotate_browser__jump() local
491 char *s, s64 *idx) in annotate_browser__find_string()
513 s64 idx; in __annotate_browser__search() local
528 char *s, s64 *idx) in annotate_browser__find_string_reverse()
550 s64 idx; in __annotate_browser__search_reverse() local
Dmap.c65 u32 *idx = symbol__browser_index(sym); in map_browser__search() local
126 u32 *idx = symbol__browser_index(pos); in map__browse() local
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dsimple_sync_srcu.c31 int idx; in synchronize_srcu() local
/tools/perf/arch/powerpc/include/
Ddwarf-regs-table.h10 #define REG_DWARFNUM_NAME(reg, idx) [idx] = "%" #reg argument
/tools/lib/perf/include/perf/
Dcpumap.h23 #define perf_cpu_map__for_each_cpu(cpu, idx, cpus) \ argument
/tools/perf/arch/s390/include/
Ddwarf-regs-table.h5 #define REG_DWARFNUM_NAME(reg, idx) [idx] = "%" #reg argument
/tools/objtool/
Dspecial.c66 struct section *sec, int idx, in get_alt_entry()
129 int idx, ret; in special_get_alts() local
Dorc_gen.c90 struct section *ip_sec, unsigned int idx, in write_orc_entry()
143 unsigned int nr = 0, idx = 0; in orc_create() local
Delf.h40 int idx; member
53 unsigned int idx; member
79 int idx; member
111 u32 ol, oh, idx = sec->idx; in sec_offset_hash() local
/tools/testing/selftests/bpf/progs/
Dtailcall5.c28 int idx = 0; in entry() local
/tools/lib/traceevent/
Dtep_strerror.c33 int idx; in tep_strerror() local
/tools/bpf/bpftool/
Dmap_perf_ring.c62 int idx; member
75 int idx = ctx->all_cpus ? cpu : ctx->idx; in print_bpf_output() local

123456