函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_back_seek_max_store

函数原型:static ssize_t bfq_back_seek_max_store(struct elevator_queue *e, const char *page, size_t count)

返回类型:ssize_t

参数:

类型参数名称
struct elevator_queue *e
const char *page
size_tcount
6642  bfqd等于elevator_data
6642  __min等于0, __max等于0U的反右移1位
6642  ret等于bfq_var_store( & __data, (page))
6642  如果ret则返回:ret
6642  如果__data小于__min__data等于__min
6642  否则如果__data大于__max__data等于__max
6642  如果0恒等于1则* maximum allowed backward seek 等于msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than
6642  否则如果0恒等于2则* maximum allowed backward seek 等于__data乘1000000L
6642  否则* maximum allowed backward seek 等于__data
6642  返回:count