Home
last modified time | relevance | path

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

/qemu/util/
H A Doslib-posix.c811 static bool qemu_close_all_open_fd_proc(const int *skip, unsigned int nskip) in qemu_close_all_open_fd_proc() argument
816 unsigned int skip_start = 0, skip_end = nskip; in qemu_close_all_open_fd_proc()
863 unsigned int nskip, in qemu_close_all_open_fd_close_range() argument
874 while (cur_skip < nskip && first == skip[cur_skip]) { in qemu_close_all_open_fd_close_range()
881 if (cur_skip < nskip) { in qemu_close_all_open_fd_close_range()
912 if (cur_skip < nskip && i == skip[cur_skip]) { in qemu_close_all_open_fd_fallback()
923 void qemu_close_all_open_fd(const int *skip, unsigned int nskip) in qemu_close_all_open_fd() argument
927 assert(skip != NULL || nskip == 0); in qemu_close_all_open_fd()
929 if (!qemu_close_all_open_fd_close_range(skip, nskip, open_max) && in qemu_close_all_open_fd()
930 !qemu_close_all_open_fd_proc(skip, nskip)) { in qemu_close_all_open_fd()
[all …]
/qemu/net/
H A Dtap.c392 unsigned int nskip = ARRAY_SIZE(skip_fd); in close_all_fds_after_fork() local
400 nskip--; in close_all_fds_after_fork()
403 qemu_close_all_open_fd(skip_fd, nskip); in close_all_fds_after_fork()
/qemu/include/qemu/
H A Dosdep.h769 void qemu_close_all_open_fd(const int *skip, unsigned int nskip);