Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:deadline_writes_starved_store

Proto:static ssize_t deadline_writes_starved_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
638  dd = elevator_data
638  deadline_var_store( & __data, (page))
638  If __data < -( ~0U >> 1) - 1 Then __data = -( ~0U >> 1) - 1
638  Else if __data > ~0U >> 1 Then __data = ~0U >> 1
638  If 0 Then *writes_starved = 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
638  Else *writes_starved = __data
638  Return count