函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-debugfs.c Create Date:2022-07-27 19:43:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hctx_sched_tags_bitmap_show

函数原型:static int hctx_sched_tags_bitmap_show(void *data, struct seq_file *m)

返回类型:int

参数:

类型参数名称
void *data
struct seq_file *m
513  hctx等于data
514  q等于@queue: Pointer to the request queue that owns this hardware context.
517  res等于mutex_lock_interruptible( & sysfs_lock)
518  如果res则转到:out
520  如果@sched_tags: Tags owned by I/O scheduler. If there is an I/O* scheduler associated with a request queue, a tag is assigned when* that request is allocated. Else, this member is not used.sbitmap_bitmap_show( & sb, m)
522  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.
524  out :
525  返回:res