Home
last modified time | relevance | path

Searched refs:last_fd (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dperf_buffer.c53 int last_fd = -1, fd; in serial_test_perf_buffer() local
122 CHECK(fd < 0 || last_fd == fd, "fd_check", "last fd %d == fd %d\n", last_fd, fd); in serial_test_perf_buffer()
123 last_fd = fd; in serial_test_perf_buffer()
Dtc_opts.c2407 int err, ifindex, i, prog_fd, last_fd = -1; in test_tc_opts_max_target() local
2426 last_fd = prog_fd; in test_tc_opts_max_target()
2435 if (last_fd > 0) in test_tc_opts_max_target()
2436 opta.relative_fd = last_fd; in test_tc_opts_max_target()
2442 if (last_fd > 0) in test_tc_opts_max_target()
2443 close(last_fd); in test_tc_opts_max_target()
/linux-6.12.1/fs/
Dfile.c670 static inline unsigned last_fd(struct fdtable *fdt) in last_fd() function
683 max_fd = min(last_fd(fdt), max_fd); in __range_cloexec()
696 n = last_fd(files_fdtable(files)); in __range_close()