Home
last modified time | relevance | path

Searched refs:libbpf_strlcpy (Results 1 – 6 of 6) sorted by relevance

/tools/lib/bpf/
Dlibbpf_internal.h215 static inline void libbpf_strlcpy(char *dst, const char *src, size_t sz) in libbpf_strlcpy() function
Dgen_loader.c466 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()
Dbpf.c185 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()
Dusdt.c470 libbpf_strlcpy(path, lib_path, sizeof(path)); in parse_vma_segs()
Dbtf_dump.c2532 libbpf_strlcpy(d->typed_dump->indent_str, opts->indent_str, in btf_dump__dump_type_data()
Dlibbpf.c1265 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()