Home
last modified time | relevance | path

Searched defs:map (Results 1 – 19 of 19) sorted by relevance

/kernel/bpf/
Darraymap.c144 static void *array_map_lookup_elem(struct bpf_map *map, void *key) in array_map_lookup_elem()
156 static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key) in percpu_array_map_lookup_elem()
167 int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_array_copy()
194 static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in array_map_get_next_key()
213 static int array_map_update_elem(struct bpf_map *map, void *key, void *value, in array_map_update_elem()
241 int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_array_update()
280 static int array_map_delete_elem(struct bpf_map *map, void *key) in array_map_delete_elem()
286 static void array_map_free(struct bpf_map *map) in array_map_free()
347 static void fd_array_map_free(struct bpf_map *map) in fd_array_map_free()
361 static void *fd_array_map_lookup_elem(struct bpf_map *map, void *key) in fd_array_map_lookup_elem()
[all …]
Dsyscall.c34 struct bpf_map *map; in find_and_alloc_map() local
92 static int bpf_map_charge_memlock(struct bpf_map *map) in bpf_map_charge_memlock()
110 static void bpf_map_uncharge_memlock(struct bpf_map *map) in bpf_map_uncharge_memlock()
121 struct bpf_map *map = container_of(work, struct bpf_map, work); in bpf_map_free_deferred() local
129 static void bpf_map_put_uref(struct bpf_map *map) in bpf_map_put_uref()
140 void bpf_map_put(struct bpf_map *map) in bpf_map_put()
148 void bpf_map_put_with_uref(struct bpf_map *map) in bpf_map_put_with_uref()
156 struct bpf_map *map = filp->private_data; in bpf_map_release() local
168 const struct bpf_map *map = filp->private_data; in bpf_map_show_fdinfo() local
211 int bpf_map_new_fd(struct bpf_map *map, int flags) in bpf_map_new_fd()
[all …]
Dstackmap.c25 struct bpf_map map; member
119 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3() argument
198 static void *stack_map_lookup_elem(struct bpf_map *map, void *key) in stack_map_lookup_elem()
204 int bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) in bpf_stackmap_copy()
227 static int stack_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in stack_map_get_next_key()
232 static int stack_map_update_elem(struct bpf_map *map, void *key, void *value, in stack_map_update_elem()
239 static int stack_map_delete_elem(struct bpf_map *map, void *key) in stack_map_delete_elem()
258 static void stack_map_free(struct bpf_map *map) in stack_map_free()
Dhashtab.c26 struct bpf_map map; member
293 static void *__htab_map_lookup_elem(struct bpf_map *map, void *key) in __htab_map_lookup_elem()
314 static void *htab_map_lookup_elem(struct bpf_map *map, void *key) in htab_map_lookup_elem()
325 static int htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in htab_map_get_next_key()
517 static int htab_map_update_elem(struct bpf_map *map, void *key, void *value, in htab_map_update_elem()
572 static int __htab_percpu_map_update_elem(struct bpf_map *map, void *key, in __htab_percpu_map_update_elem()
638 static int htab_percpu_map_update_elem(struct bpf_map *map, void *key, in htab_percpu_map_update_elem()
645 static int htab_map_delete_elem(struct bpf_map *map, void *key) in htab_map_delete_elem()
694 static void htab_map_free(struct bpf_map *map) in htab_map_free()
735 static void *htab_percpu_map_lookup_elem(struct bpf_map *map, void *key) in htab_percpu_map_lookup_elem()
[all …]
Dhelpers.c30 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() argument
45 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4() argument
63 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() argument
Dcore.c716 struct bpf_map *map = (struct bpf_map *) (unsigned long) BPF_R2; in __bpf_prog_run() local
957 struct bpf_map *map = aux->used_maps[i]; in bpf_check_tail_call() local
1076 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, in bpf_event_output()
Dverifier.c621 struct bpf_map *map = env->cur_state.regs[regno].map_ptr; in check_map_access() local
1102 static int check_map_func_compatibility(struct bpf_map *map, int func_id) in check_map_func_compatibility()
3138 static int check_map_prog_compatibility(struct bpf_map *map, in check_map_prog_compatibility()
3176 struct bpf_map *map; in replace_map_fd_with_map_ptr() local
/kernel/trace/
Dtracing_map.c143 static int tracing_map_add_field(struct tracing_map *map, in tracing_map_add_field()
168 int tracing_map_add_sum_field(struct tracing_map *map) in tracing_map_add_sum_field()
189 int tracing_map_add_key_field(struct tracing_map *map, in tracing_map_add_key_field()
313 static struct tracing_map_elt *tracing_map_elt_alloc(struct tracing_map *map) in tracing_map_elt_alloc()
350 static struct tracing_map_elt *get_free_elt(struct tracing_map *map) in get_free_elt()
365 static void tracing_map_free_elts(struct tracing_map *map) in tracing_map_free_elts()
381 static int tracing_map_alloc_elts(struct tracing_map *map) in tracing_map_alloc_elts()
414 __tracing_map_insert(struct tracing_map *map, void *key, bool lookup_only) in __tracing_map_insert()
500 struct tracing_map_elt *tracing_map_insert(struct tracing_map *map, void *key) in tracing_map_insert()
522 struct tracing_map_elt *tracing_map_lookup(struct tracing_map *map, void *key) in tracing_map_lookup()
[all …]
Dbpf_trace.c257 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2() argument
302 __bpf_perf_event_output(struct pt_regs *regs, struct bpf_map *map, in __bpf_perf_event_output()
335 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5() argument
364 u64 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, in bpf_event_output()
399 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2() argument
499 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5() argument
523 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3() argument
Dtrace_mmiotrace.c325 struct mmiotrace_map *map) in __trace_mmiotrace_map()
346 void mmio_trace_mapping(struct mmiotrace_map *map) in mmio_trace_mapping()
Dtracing_map.h137 struct tracing_map *map; member
186 struct tracing_map_array *map; member
Dtrace_events_hist.c145 struct tracing_map *map; member
737 struct tracing_map *map = hist_data->map; in create_tracing_map_fields() local
1041 struct tracing_map *map = hist_data->map; in print_entries() local
Dtrace_events.c2101 static char *enum_replace(char *ptr, struct trace_enum_map *map, int len) in enum_replace()
2124 struct trace_enum_map *map) in update_event_printk()
2199 void trace_event_enum_update(struct trace_enum_map **map, int len) in trace_event_enum_update()
Dtrace.c149 struct trace_enum_map map; member
1848 unsigned map; in __trace_find_cmdline() local
1885 unsigned map; in trace_find_tgid() local
4559 struct trace_enum_map **map; in trace_insert_enum_map_file() local
4619 struct trace_enum_map **map; in trace_insert_enum_map() local
7425 union trace_enum_map_item *map; in trace_module_remove_enums() local
Dtrace.h1673 static inline void trace_event_enum_update(struct trace_enum_map **map, int len) { } in trace_event_enum_update()
/kernel/
Dpid.c56 struct pidmap *map, int off) in mk_pid()
61 #define find_next_offset(map, off) \ argument
108 struct pidmap *map = upid->ns->pidmap + nr / BITS_PER_PAGE; in free_pidmap() local
157 struct pidmap *map; in alloc_pidmap() local
219 struct pidmap *map, *end; in next_pidmap() local
Duser_namespace.c200 static u32 map_id_range_down(struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down()
226 static u32 map_id_down(struct uid_gid_map *map, u32 id) in map_id_down()
249 static u32 map_id_up(struct uid_gid_map *map, u32 id) in map_id_up()
540 struct uid_gid_map *map) in m_start()
643 struct uid_gid_map *map, in map_write()
Dmemremap.c234 #define for_each_device_pfn(pfn, map) \ argument
/kernel/power/
Dswap.c86 struct swap_map_page *map; member