opnsense-src/sys
Warner Losh e2c1243f42 fd: Move from using device_busy to a refcount
Use refcounting to delay the detach rather than device_busy and/or
device_unbusy. fd/fdc is one of the few consumers of device_busy in the
tree for that, and it's not a good fit. Also, nothing is waking 'fd' and
other drivers don't loop like this. Return EBUSY if we still have active
users.

Sponsored by:		Netflix
Reviewed by:		mav
Differential Revision:	https://reviews.freebsd.org/D31830
2021-09-29 20:18:28 -06:00
..
amd64 minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
arm minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
arm64 minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
bsm Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
cam cam: Avoiding waking up doneq threads if we're dumping 2021-09-25 10:15:03 -04:00
cddl kern: drop remaining references to removed makesyscalls.sh 2021-09-09 19:40:54 -05:00
compat LinuxKPI: Remove vma argument from fault method of vm_operations_struct 2021-09-29 23:26:32 +03:00
conf bluetooth: complete removal of ng_h4 2021-09-29 20:00:02 -06:00
contrib ipfilter: Save time and cycles swapping bucket table sizes 2021-09-29 17:44:02 -07:00
crypto crypto(4): Fix a few typos in camellia.c 2021-09-04 13:02:11 +02:00
ddb Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
dev fd: Move from using device_busy to a refcount 2021-09-29 20:18:28 -06:00
dts Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
fs fusefs: implement FUSE_NO_OPEN_SUPPORT and FUSE_NO_OPENDIR_SUPPORT 2021-09-26 21:57:29 -06:00
gdb gdb: report specific stop reason for watchpoints 2021-03-30 11:36:41 -03:00
geom Fix memory deadlock when GELI partition is used for swap. 2021-09-28 11:23:52 -07:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
isa newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
kern minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
kgssapi opencrypto: Introduce crypto_dispatch_async() 2021-02-08 09:19:19 -05:00
libkern libkern: remove bcopy 2021-08-24 11:24:07 +00:00
mips minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
modules bluetooth: complete removal of ng_h4 2021-09-29 20:00:02 -06:00
net pfctl: userspace adaptive syncookies configration 2021-09-29 15:11:54 +02:00
net80211 net80211(4): Fix a few common typos in source code comments 2021-09-25 13:57:41 +02:00
netgraph bluetooth: complete removal of ng_h4 2021-09-29 20:00:02 -06:00
netinet sctp: provide a specific stream scheduler function for FCFS 2021-09-29 02:08:37 +02:00
netinet6 sctp: Tighten up locking around sctp_aloc_assoc() 2021-09-11 10:15:21 -04:00
netipsec ipsec: fix typo part2 2021-09-27 07:46:56 +02:00
netpfil pf: hook up adaptive mode configuration 2021-09-29 15:11:54 +02:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-05-26 10:45:40 -04:00
nfs Fix panic when using BOOTP to resolve root path. 2021-03-28 14:02:40 -05:00
nfsclient nfs: Cleanup dead files 2021-03-17 06:16:31 +11:00
nfsserver nfs: Cleanup dead files 2021-03-17 06:16:31 +11:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed socket: De-duplicate SBLOCKWAIT() definitions 2021-09-14 09:01:32 -04:00
opencrypto opencrypto: Disallow requests which pass VERIFY_DIGEST without a MAC 2021-09-24 15:04:45 -04:00
powerpc minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
riscv minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
rpc rpc: Convert an SOLISTENING check to an assertion 2021-09-17 14:19:05 -04:00
security Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
sys Bump __FreeBSD_version to 1400034 for LinuxKPI changes 2021-09-29 23:26:46 +03:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests routing: add IPv6 fib validation procedure. 2021-08-16 23:04:01 +00:00
tools makesyscalls: sprinkle some assert() on standard function calls 2021-09-24 20:55:56 -05:00
ufs Avoid "consumer not attached in g_io_request" panic when disk lost 2021-09-27 20:04:51 -07:00
vm minidump: De-duplicate is_dumpable() 2021-09-29 16:41:52 -03:00
x86 minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: introduce xen_pv_disks_disabled() 2021-07-28 17:27:04 +02:00
Makefile