函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_mq_init_queue

函数原型:struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *set)

返回类型:struct request_queue

参数:

类型参数名称
struct blk_mq_tag_set *set
2663  uninit_q等于lk_alloc_queue_node - allocate a request queue*@gfp_mask: memory allocation flags*@node_id: NUMA node to allocate memory from
2664  如果非uninit_q则返回:错误号
2671  q等于blk_mq_init_allocated_queue(set, uninit_q, false)
2672  如果是错误释放请求队列
2675  返回:q
调用者
名称描述
blk_mq_init_sq_queueHelper for setting up a queue with mq ops, given queue depth, and* the passed in mq ops flags.
bsg_setup_queuesg_setup_queue - Create and add the bsg hooks so we can receive requests*@dev: device to attach bsg device to*@name: device to give bsg device*@job_fn: bsg job handler*@timeout: timeout handler function pointer*@dd_job_size: size of LLD data needed for