- Combine dg_fd_locks and dg_cv into one array.
- Similarly for vc_fd_locks and vc_cv
- Turn some macros into inline functions
This is a mostly cosmetic change to make refactoring these strutures in
a future commit easier.
MFC after: 2 weeks
Sponsored by: Axcient
Switch the per-fd structs in clnt_{dg,vc}.c to RB Trees
This saves oodles of memory, especially when "ulimit -n" is large. It
also prevents a buffer overflow if getrlimit should fail.
PR: 274968
MFC after: 2 weeks
Sponsored by: Axcient