Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-28 17:58:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bfq_back_seek_penalty_store

Proto:static ssize_t bfq_back_seek_penalty_store(struct elevator_queue *e, const char *page, size_t count)

Type:ssize_t

Parameter:

TypeParameterName
struct elevator_queue *e
const char *page
size_tcount
6644  bfqd = elevator_data
6644  __min = 1 , __max = ~0U >> 1
6644  ret = bfq_var_store( & __data, (page))
6644  If ret Then Return ret
6644  If __data < __min Then __data = __min
6644  Else if __data > __max Then __data = __max
6644  If 0 == 1 Then * weight of backward seeks wrt forward ones = 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
6644  Else if 0 == 2 Then * weight of backward seeks wrt forward ones = __data * 1000000L
6644  Else * weight of backward seeks wrt forward ones = __data
6644  Return count