Searched refs:libbpf_strlcpy (Results 1 – 6 of 6) sorted by relevance
/third_party/libbpf/src/ |
D | libbpf_internal.h | 200 static inline void libbpf_strlcpy(char *dst, const char *src, size_t sz) in libbpf_strlcpy() function
|
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 | gen_loader.c | 466 libbpf_strlcpy(attr.map_name, map_name, sizeof(attr.map_name)); in bpf_gen__map_create() 972 libbpf_strlcpy(attr.prog_name, prog_name, sizeof(attr.prog_name)); in bpf_gen__prog_load()
|
D | usdt.c | 464 libbpf_strlcpy(path, lib_path, sizeof(path)); in parse_vma_segs()
|
D | btf_dump.c | 2514 libbpf_strlcpy(d->typed_dump->indent_str, opts->indent_str, in btf_dump__dump_type_data()
|
D | libbpf.c | 1321 libbpf_strlcpy(obj->name, obj_name, sizeof(obj->name)); in bpf_object__new() 1324 libbpf_strlcpy(obj->name, basename((void *)path), sizeof(obj->name)); in bpf_object__new() 1507 libbpf_strlcpy(obj->license, data, min(size + 1, sizeof(obj->license))); 4864 libbpf_strlcpy(attr.prog_name, "libbpf_nametest", sizeof(attr.prog_name));
|