Function report |
Source Code:include\linux\iocontext.h |
Create Date:2022-07-28 05:42:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_io_context_active - get active reference on ioc*@ioc: ioc of interest* Only iocs with active reference can issue new IOs. This function* acquires an active reference on @ioc. The caller must already have an* active reference on @ioc.
Proto:static inline void get_io_context_active(struct io_context *ioc)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct io_context * | ioc |
131 | WARN_ON_ONCE(atomic_long_read( & refcount) <= 0) |
132 | WARN_ON_ONCE(atomic_read( & active_ref) <= 0) |
133 | atomic_long_inc( & refcount) |
134 | atomic_inc( & active_ref) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |