Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\kyber-iosched.c Create Date:2022-07-28 17:52:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:flush_busy_kcq

Proto:static bool flush_busy_kcq(struct sbitmap *sb, unsigned int bitnr, void *data)

Type:bool

Parameter:

TypeParameterName
struct sbitmap *sb
unsigned intbitnr
void *data
665  flush_data = data
666  kcq = kcqs[bitnr]
668  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.)
669  list_splice_tail_init - join two lists and reinitialise the emptied list*@list: the new list to add.*@head: the place to add it in the first list.* Each of the lists is a queue.* The list at @list is reinitialised
671  sbitmap_clear_bit(sb, bitnr)
672  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.)
674  Return true