Searched refs:last_fd (Results 1 - 3 of 3) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | perf_buffer.c | 53 int last_fd = -1, fd; local 122 CHECK(fd < 0 || last_fd == fd, "fd_check", "last fd %d == fd %d\n", last_fd, fd); 123 last_fd = fd;
|
H A D | tc_opts.c | 2407 int err, ifindex, i, prog_fd, last_fd = -1; local 2426 last_fd = prog_fd; 2435 if (last_fd > 0) 2436 opta.relative_fd = last_fd; 2442 if (last_fd > 0) 2443 close(last_fd);
|
/linux-master/fs/ |
H A D | file.c | 677 * last_fd - return last valid index into fd table 684 static inline unsigned last_fd(struct fdtable *fdt) function 697 max_fd = min(last_fd(fdt), max_fd); 710 n = last_fd(files_fdtable(files)); 766 if (max_fd >= last_fd(files_fdtable(cur_fds)))
|
Completed in 119 milliseconds