函数逻辑报告 |
Source Code:block\blk-core.c |
Create Date:2022-07-27 18:34:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lk_queue_enter() - try to increase q->q_usage_counter*@q: request queue pointer*@flags: BLK_MQ_REQ_NOWAIT and/or BLK_MQ_REQ_PREEMPT
函数原型:int blk_queue_enter(struct request_queue *q, blk_mq_req_flags_t flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
blk_mq_req_flags_t | flags |
405 | pm等于flags按位与BLK_MQ_REQ_PREEMPT |
407 | 当(true)循环 |
408 | bool success = false |
425 | 如果success则返回:0 |
428 | 如果flags按位与BLK_MQ_REQ_NOWAIT则返回:负EBUSY |
438 | smp_rmb() |
445 | 如果blk_queue_dying(q)则返回:负ENODEV |
名称 | 描述 |
---|---|
generic_make_request | generic_make_request - hand a buffer to its device driver for I/O*@bio: The bio describing the location in memory and on the device.* generic_make_request() is used to make I/O requests of block* devices |
direct_make_request | direct_make_request - hand a buffer directly to its device driver for I/O*@bio: The bio describing the location in memory and on the device.* This function behaves like generic_make_request(), but does not protect* against recursion |
blk_mq_alloc_request | |
blk_mq_alloc_request_hctx | |
bdev_write_page | dev_write_page() - Start writing a page to a block device*@bdev: The device to write the page to*@sector: The offset on the device to write the page to (need not be aligned)*@page: The page to write*@wbc: The writeback_control for the write |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |