Function report |
Source Code:block\kyber-iosched.c |
Create Date:2022-07-28 17:52:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kyber_insert_requests
Proto:static void kyber_insert_requests(struct blk_mq_hw_ctx *hctx, struct list_head *rq_list, bool at_head)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct blk_mq_hw_ctx * | hctx | |
struct list_head * | rq_list | |
bool | at_head |
590 | khd = @sched_data: Pointer owned by the IO scheduler attached to a request* queue. It's up to the IO scheduler how to use this pointer. |
596 | head = rq_list[sched_domain] |
598 | spin_lock( & Used to ensure operations on rq_list and kcq_map to be an atmoic one.* Also protect the rqs on rq_list when merge.) |
599 | If at_head Then list_move - delete from one list and add as another's head*@list: the entry to move*@head: the head that will precede our entry |
606 | spin_unlock( & Used to ensure operations on rq_list and kcq_map to be an atmoic one.* Also protect the rqs on rq_list when merge.) |
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 |