Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:queue_poll_delay_store

Proto:static ssize_t queue_poll_delay_store(struct request_queue *q, const char *page, size_t count)

Type:ssize_t

Parameter:

TypeParameterName
struct request_queue *q
const char *page
size_tcount
376  If Not mq_ops || Not poll Then Return -EINVAL
379  err = kstrtoint - convert a string to an int*@s: The start of the string. The string must be null-terminated, and may also* include a single newline before its terminating null. The first character* may also be a plus sign or a minus sign.
380  If err < 0 Then Return err
383  If val == Doing classic polling Then poll_nsec = Doing classic polling
385  Else if val >= 0 Then poll_nsec = val * 1000
387  Else Return -EINVAL
390  Return count