Searched refs:libbpf_strlcpy (Results 1 – 6 of 6) sorted by relevance
/tools/lib/bpf/ |
D | libbpf_internal.h | 215 static inline void libbpf_strlcpy(char *dst, const char *src, size_t sz) in libbpf_strlcpy() function
|
D | gen_loader.c | 466 libbpf_strlcpy(attr.map_name, map_name, sizeof(attr.map_name)); in bpf_gen__map_create() 974 libbpf_strlcpy(attr.prog_name, prog_name, sizeof(attr.prog_name)); in bpf_gen__prog_load()
|
D | bpf.c | 185 libbpf_strlcpy(attr.map_name, map_name, sizeof(attr.map_name)); in bpf_map_create() 266 libbpf_strlcpy(attr.prog_name, prog_name, sizeof(attr.prog_name)); in bpf_prog_load()
|
D | usdt.c | 470 libbpf_strlcpy(path, lib_path, sizeof(path)); in parse_vma_segs()
|
D | btf_dump.c | 2532 libbpf_strlcpy(d->typed_dump->indent_str, opts->indent_str, in btf_dump__dump_type_data()
|
D | libbpf.c | 1265 libbpf_strlcpy(obj->name, obj_name, sizeof(obj->name)); in bpf_object__new() 1268 libbpf_strlcpy(obj->name, basename((void *)path), sizeof(obj->name)); in bpf_object__new() 1420 libbpf_strlcpy(obj->license, data, min(size + 1, sizeof(obj->license))); in bpf_object__init_license() 4561 libbpf_strlcpy(attr.prog_name, "libbpf_nametest", sizeof(attr.prog_name)); in probe_kern_prog_name() 11397 libbpf_strlcpy(full_path, binary_path, in bpf_program__attach_uprobe_opts()
|