Searched refs:pin_file (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_btf.c | 2209 FILE *pin_file = NULL; in do_test_pprint() local 2269 pin_file = fopen(pin_path, "r"); in do_test_pprint() 2270 if (CHECK(!pin_file, "fopen(%s): errno:%d", pin_path, errno)) { in do_test_pprint() 2276 while ((nread = getline(&line, &line_len, pin_file)) > 0 && in do_test_pprint() 2318 nread = getline(&line, &line_len, pin_file); in do_test_pprint() 2345 if (pin_file) in do_test_pprint() 2346 fclose(pin_file); in do_test_pprint()
|
D | test_offload.py | 920 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp") variable 931 rm(pin_file) 1004 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp") variable 1011 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp2", idx=1) variable
|