* Function to initialize a va_filerev field sensibly. * XXX: Wouldn't a random number make a lot more sense ?? */
| 6113 | * XXX: Wouldn't a random number make a lot more sense ?? |
| 6114 | */ |
| 6115 | u_quad_t |
| 6116 | init_va_filerev(void) |
| 6117 | { |
| 6118 | struct bintime bt; |
| 6119 | |
| 6120 | getbinuptime(&bt); |
| 6121 | return (((u_quad_t)bt.sec << 32LL) | (bt.frac >> 32LL)); |
| 6122 | } |
| 6123 | |
| 6124 | static int filt_vfsread(struct knote *kn, long hint); |
| 6125 | static int filt_vfswrite(struct knote *kn, long hint); |
nothing calls this directly
no test coverage detected