Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dxdp_fwd_user.c54 char prog_name[BPF_OBJ_NAME_LEN]; in do_detach()
86 prog_name[BPF_OBJ_NAME_LEN - 1] = '\0'; in do_detach()
/openbmc/linux/tools/bpf/bpftool/
H A Dcommon.c418 if (buff_len <= BPF_OBJ_NAME_LEN || in get_prog_full_name()
419 strlen(prog_info->name) < BPF_OBJ_NAME_LEN - 1) in get_prog_full_name()
1001 if (strncmp(name, info.name, BPF_OBJ_NAME_LEN)) { in map_fd_by_name()
1052 if (strlen(name) > BPF_OBJ_NAME_LEN - 1) { in map_parse_fds()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1372 #define BPF_OBJ_NAME_LEN 16U macro
1387 char map_name[BPF_OBJ_NAME_LEN];
1442 char prog_name[BPF_OBJ_NAME_LEN];
6433 char name[BPF_OBJ_NAME_LEN];
6470 char name[BPF_OBJ_NAME_LEN];
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1372 #define BPF_OBJ_NAME_LEN 16U macro
1387 char map_name[BPF_OBJ_NAME_LEN];
1442 char prog_name[BPF_OBJ_NAME_LEN];
6430 char name[BPF_OBJ_NAME_LEN];
6467 char name[BPF_OBJ_NAME_LEN];
/openbmc/linux/include/linux/
H A Dbpf.h272 char name[BPF_OBJ_NAME_LEN];
1454 char name[BPF_OBJ_NAME_LEN];
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.c633 char name[BPF_OBJ_NAME_LEN];
1545 char map_name[BPF_OBJ_NAME_LEN], *p; in internal_map_name()
1581 if (sfx_len >= BPF_OBJ_NAME_LEN) in internal_map_name()
1582 sfx_len = BPF_OBJ_NAME_LEN - 1; in internal_map_name()
1588 pfx_len = min((size_t)BPF_OBJ_NAME_LEN - sfx_len - 1, strlen(obj->name)); in internal_map_name()
4430 if (name_len == BPF_OBJ_NAME_LEN - 1 && strncmp(map->name, info.name, name_len) == 0) in bpf_map__reuse_fd()