Home
last modified time | relevance | path

Searched refs:pin_file (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_offload.py1068 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp") variable
1079 rm(pin_file)
1102 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp") variable
1109 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp2", idx=1) variable
Dtest_btf.c4766 FILE *pin_file = NULL; in do_test_pprint() local
4835 pin_file = fopen(pin_path, "r"); in do_test_pprint()
4836 if (CHECK(!pin_file, "fopen(%s): errno:%d", pin_path, errno)) { in do_test_pprint()
4842 while ((nread = getline(&line, &line_len, pin_file)) > 0 && in do_test_pprint()
4889 nread = getline(&line, &line_len, pin_file); in do_test_pprint()
4908 nread = getline(&line, &line_len, pin_file); in do_test_pprint()
4913 nread = getline(&line, &line_len, pin_file); in do_test_pprint()
4942 if (pin_file) in do_test_pprint()
4943 fclose(pin_file); in do_test_pprint()