Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Dlibbpf_internal.h200 static inline void libbpf_strlcpy(char *dst, const char *src, size_t sz) in libbpf_strlcpy() function
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()
Dgen_loader.c466 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()
Dusdt.c464 libbpf_strlcpy(path, lib_path, sizeof(path)); in parse_vma_segs()
Dbtf_dump.c2514 libbpf_strlcpy(d->typed_dump->indent_str, opts->indent_str, in btf_dump__dump_type_data()
Dlibbpf.c1321 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));