Home
last modified time | relevance | path

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

/openbmc/qemu/linux-user/
H A Dfd-trans.h32 extern unsigned int target_fd_max;
56 if (fd < target_fd_max && target_fd_trans[fd]) { in fd_trans_target_to_host_data()
69 if (fd < target_fd_max && target_fd_trans[fd]) { in fd_trans_host_to_target_data()
82 if (fd < target_fd_max && target_fd_trans[fd]) { in fd_trans_target_to_host_addr()
93 if (fd >= target_fd_max) { in internal_fd_trans_register_unsafe()
94 oldmax = target_fd_max; in internal_fd_trans_register_unsafe()
95 target_fd_max = ((fd >> 6) + 1) << 6; /* by slice of 64 entries */ in internal_fd_trans_register_unsafe()
97 target_fd_trans, target_fd_max); in internal_fd_trans_register_unsafe()
99 (target_fd_max - oldmax) * sizeof(TargetFdTrans *)); in internal_fd_trans_register_unsafe()
112 if (fd >= 0 && fd < target_fd_max) { in internal_fd_trans_unregister_unsafe()
[all …]
H A Dfd-trans.c337 unsigned int target_fd_max; variable
H A Dsyscall.c9776 maxfd = MIN(arg2, target_fd_max); in _syscall2()