]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r310778, r310782: Improve use of I/O's private area.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 26 Jan 2017 20:50:01 +0000 (20:50 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 26 Jan 2017 20:50:01 +0000 (20:50 +0000)
commitf8ae32a0ca3dcda35cefec9e239a2c1817009b0b
tree329cdce70a0fefc100eb242b83a9d62b4f018894
parent5772db549efbc501ceab00d31de46e79bc23e252
MFC r310778, r310782: Improve use of I/O's private area.

 - Since I/Os are allocates from per-port pools, make allocations store
pointer to CTL softc there, and use it where needed instead of global.
 - Created bunch of helper macros to access LUN, port and CTL softc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@312835 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl_backend_block.c
sys/cam/ctl/ctl_backend_ramdisk.c
sys/cam/ctl/ctl_error.c
sys/cam/ctl/ctl_io.h
sys/cam/ctl/ctl_tpc.c