Searched refs:link_pin_path (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | link_pinning.c | 14 const char *link_pin_path = "/sys/fs/bpf/pinned_link_test"; in test_link_pinning_subtest() local 28 err = bpf_link__pin(link, link_pin_path); in test_link_pinning_subtest() 32 CHECK(strcmp(link_pin_path, bpf_link__pin_path(link)), "pin_path1", in test_link_pinning_subtest() 33 "exp %s, got %s\n", link_pin_path, bpf_link__pin_path(link)); in test_link_pinning_subtest() 36 err = stat(link_pin_path, &statbuf); in test_link_pinning_subtest() 53 link = bpf_link__open(link_pin_path); in test_link_pinning_subtest() 57 CHECK(strcmp(link_pin_path, bpf_link__pin_path(link)), "pin_path2", in test_link_pinning_subtest() 58 "exp %s, got %s\n", link_pin_path, bpf_link__pin_path(link)); in test_link_pinning_subtest()
|
/openbmc/linux/samples/bpf/ |
H A D | test_cgrp2_sock2.c | 36 const char *link_pin_path = "/sys/fs/bpf/test_cgrp2_sock2"; in main() local 83 err = bpf_link__pin(link, link_pin_path); in main()
|