Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:09:21
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:flush_busy_ctx

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

Type:bool

Parameter:

TypeParameterName
struct sbitmap *sb
unsigned intbitnr
void *data
947  flush_data = data
948  hctx = hctx
949  ctx = @ctxs: Array of software queues. [bitnr]
950  type = @type: HCTX_TYPE_* flags. Type of hardware queue.
952  spin_lock( & lock)
953  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
954  sbitmap_clear_bit(sb, bitnr)
955  spin_unlock( & lock)
956  Return true