Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-debugfs.c Create Date:2022-07-28 18:08:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hctx_tags_bitmap_show

Proto:static int hctx_tags_bitmap_show(void *data, struct seq_file *m)

Type:int

Parameter:

TypeParameterName
void *data
struct seq_file *m
479  hctx = data
480  q = @queue: Pointer to the request queue that owns this hardware context.
483  res = mutex_lock_interruptible( & sysfs_lock)
484  If res Then Go to out
486  If @tags: Tags owned by the block driver. A tag at this set is only* assigned when a request is dispatched from a hardware queue. Then sbitmap_bitmap_show( & sb, m)
488  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
490  out :
491  Return res