Function report |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-28 17:39:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Performs queue bypass and policy enabled checks then looks up blkg.
Proto:static struct blkcg_gq *blkg_lookup_check(struct blkcg *blkcg, const struct blkcg_policy *pol, struct request_queue *q)
Type:struct blkcg_gq
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct blkcg * | blkcg | |
| const struct blkcg_policy * | pol | |
| struct request_queue * | q |
| 569 | WARN_ON_ONCE(!_read_lock_held() - might we be in RCU read-side critical section?* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an RCU* read-side critical section) |
| 570 | lockdep_assert_held( & queue_lock) |
| 572 | If Not blkcg_policy_enabled(q, pol) Then Return ERR_PTR( - EOPNOTSUPP) |
| Name | Describe |
|---|---|
| blkg_conf_prep | lkg_conf_prep - parse and prepare for per-blkg config update*@blkcg: target block cgroup*@pol: target policy*@input: input string*@ctx: blkg_conf_ctx to be filled* Parse per-blkg config update from @input and initialize @ctx with the* result |
| 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 |