函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-27 18:44:30
Last Modify:2020-03-17 23:18:05 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_mq_add_to_requeue_list

函数原型:void blk_mq_add_to_requeue_list(struct request *rq, bool at_head, bool kick_requeue_list)

返回类型:void

参数:

类型参数名称
struct request *rq
boolat_head
boolkick_requeue_list
747  q等于q
754  BUG_ON(rq_flags & may not be passed by ioscheduler )
756  spin_lock_irqsave( & requeue_lock, flags)
757  如果at_head
758  rq_flags或等于may not be passed by ioscheduler
759  添加链表项
760  否则
761  添加链表项
763  spin_unlock_irqrestore( & requeue_lock, flags)
765  如果kick_requeue_listblk_mq_kick_requeue_list(q)
调用者
名称描述
blk_mq_requeue_request