Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Dbpf_offload.py1038 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp") variable
1049 rm(pin_file)
1072 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp") variable
1079 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp2", idx=1) variable
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c5547 FILE *pin_file = NULL; in do_test_pprint() local
5611 pin_file = fopen(pin_path, "r"); in do_test_pprint()
5612 if (CHECK(!pin_file, "fopen(%s): errno:%d", pin_path, errno)) { in do_test_pprint()
5618 while ((nread = getline(&line, &line_len, pin_file)) > 0 && in do_test_pprint()
5665 nread = getline(&line, &line_len, pin_file); in do_test_pprint()
5684 nread = getline(&line, &line_len, pin_file); in do_test_pprint()
5689 nread = getline(&line, &line_len, pin_file); in do_test_pprint()
5718 if (pin_file) in do_test_pprint()
5719 fclose(pin_file); in do_test_pprint()