Function report |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-28 17:39:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol, char *input, struct blkg_conf_ctx *ctx)__acquires(rcu) __acquires(&disk->queue->queue_lock)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct blkcg * | blkcg | |
const struct blkcg_policy * | pol | |
char * | input | |
struct blkg_conf_ctx * | ctx |
643 | spin_lock_irq( & queue_lock) |
648 | Go to fail_unlock |
658 | When (true) cycle |
663 | parent = lkcg_parent - get the parent of a blkcg*@blkcg: blkcg of interest* Return the parent blkcg of @blkcg. Can be called anytime. |
670 | spin_unlock_irq( & queue_lock) |
680 | spin_lock_irq( & queue_lock) |
685 | Go to fail_unlock |
688 | If blkg Then |
690 | Else |
701 | success : |
705 | Return 0 |
707 | fail_unlock : |
708 | spin_unlock_irq( & queue_lock) |
710 | fail : |
719 | msleep - sleep safely even with waitqueue interruptions*@msecs: Time in milliseconds to sleep for |
720 | ret = restart_syscall() |
722 | Return ret |
Name | Describe |
---|---|
tg_set_conf | |
tg_set_limit | |
iolatency_set_limit | |
ioc_weight_write |
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 |