函数逻辑报告 |
Source Code:block\mq-deadline.c |
Create Date:2022-07-27 19:26:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:alize elevator private data (deadline_data).
函数原型:static int dd_init_queue(struct request_queue *q, struct elevator_type *e)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
struct elevator_type * | e |
411 | eq等于elevator_alloc(q, e) |
415 | dd等于根据内存节点分配内存 |
416 | 如果非dd则 |
420 | elevator_data等于dd |
422 | 初始化链表头 |
423 | 初始化链表头 |
424 | * requests (deadline_rq s) are present on both sort_list and fifo_list[generic data direction definitions ] = |
426 | * settings that change how the i/o scheduler behaves[generic data direction definitions ]等于max time before a read is submitted. |
427 | * settings that change how the i/o scheduler behaves[WRITE]等于ditto for writes, these limits are SOFT! |
429 | front_merges等于1 |
431 | spin_lock_init( & lock) |
432 | spin_lock_init( & zone_lock) |
433 | 初始化链表头 |
436 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |