Home
last modified time | relevance | path

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

12345

/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/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/objtool/
Dorc_gen.c85 unsigned int idx, struct section *insn_sec, in create_orc_entry()
123 unsigned int idx; in create_orc_sections() local
Dspecial.c72 struct section *sec, int idx, in get_alt_entry()
165 int idx, ret; in special_get_alts() local
Delf.c36 unsigned int idx) in find_section_by_index()
47 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index()
595 int nr, idx = 0, size; in elf_rebuild_rela_section() 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/util/
Dmmap.c171 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc()
183 static void perf_mmap__aio_free(struct mmap *map, int idx) in perf_mmap__aio_free()
191 static int perf_mmap__aio_bind(struct mmap *map, int idx, int cpu, int affinity) in perf_mmap__aio_bind()
211 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc()
220 static void perf_mmap__aio_free(struct mmap *map, int idx) in perf_mmap__aio_free()
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()
Dauxtrace.c130 struct evlist *evlist, int idx, in auxtrace_mmap_params__set_idx()
237 unsigned int idx, in auxtrace_queues__queue_buffer()
275 unsigned int idx, in auxtrace_queues__split_buffer()
314 unsigned int idx, in auxtrace_queues__add_buffer()
371 unsigned int idx = event->auxtrace.idx; in auxtrace_queues__add_event() local
552 int auxtrace_record__find_snapshot(struct auxtrace_record *itr, int idx, in auxtrace_record__find_snapshot()
1588 static int parse_sym_idx(char **inp, int *idx) in parse_sym_idx()
1619 static int parse_addr_size(char **inp, u64 *num, const char **str, int *idx) in parse_addr_size()
1708 int idx; member
1765 static int sym_not_found_error(const char *sym_name, int idx) in sym_not_found_error()
[all …]
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()
209 int cpu_map__get_core(struct perf_cpu_map *map, int idx, void *data) in cpu_map__get_core()
465 int cpu_map__cpu(struct perf_cpu_map *cpus, int idx) in cpu_map__cpu()
Dparse-events.c320 __add_event(struct list_head *list, int *idx, in __add_event()
352 static int add_event(struct list_head *list, int *idx, in add_event()
359 static int add_event_tool(struct list_head *list, int *idx, in add_event_tool()
406 int parse_events_add_cache(struct list_head *list, int *idx, in parse_events_add_cache()
510 static int add_tracepoint(struct list_head *list, int *idx, in add_tracepoint()
535 static int add_tracepoint_multi_event(struct list_head *list, int *idx, in add_tracepoint_multi_event()
583 static int add_tracepoint_event(struct list_head *list, int *idx, in add_tracepoint_event()
595 static int add_tracepoint_multi_sys(struct list_head *list, int *idx, in add_tracepoint_multi_sys()
900 int parse_events_add_breakpoint(struct list_head *list, int *idx, in parse_events_add_breakpoint()
1245 int parse_events_add_tracepoint(struct list_head *list, int *idx, in parse_events_add_tracepoint()
[all …]
Dperf_regs.c29 int i, idx = 0; in perf_reg_value() local
/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
442 s64 offset, s64 *idx) in annotate_browser__find_offset()
464 s64 idx; in annotate_browser__jump() local
488 char *s, s64 *idx) in annotate_browser__find_string()
510 s64 idx; in __annotate_browser__search() local
525 char *s, s64 *idx) in annotate_browser__find_string_reverse()
547 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/perf/
Dbuiltin-stat.c828 aggr_get_id_t get_id, struct perf_cpu_map *map, int idx) in perf_stat__get_aggr()
844 struct perf_cpu_map *map, int idx) in perf_stat__get_socket_cached()
850 struct perf_cpu_map *map, int idx) in perf_stat__get_die_cached()
856 struct perf_cpu_map *map, int idx) in perf_stat__get_core_cached()
934 static inline int perf_env__get_cpu(struct perf_env *env, struct perf_cpu_map *map, int idx) in perf_env__get_cpu()
949 static int perf_env__get_socket(struct perf_cpu_map *map, int idx, void *data) in perf_env__get_socket()
957 static int perf_env__get_die(struct perf_cpu_map *map, int idx, void *data) in perf_env__get_die()
981 static int perf_env__get_core(struct perf_cpu_map *map, int idx, void *data) in perf_env__get_core()
1030 struct perf_cpu_map *map, int idx) in perf_stat__get_socket_file()
1035 struct perf_cpu_map *map, int idx) in perf_stat__get_die_file()
[all …]
/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/perf/lib/include/perf/
Dcpumap.h21 #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/bpf/bpftool/
Dmap_perf_ring.c62 int idx; member
75 int idx = ctx->all_cpus ? cpu : ctx->idx; in print_bpf_output() local
/tools/lib/traceevent/
Dtep_strerror.c33 int idx; in tep_strerror() local
/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c73 int ri, idx; in virt_pg_map() local
132 int ri, idx; in addr_gva2gpa() local
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/tests/store_buffering/
Dtest.c14 int idx; in rcu_reader() local

12345