函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:queue_poll_delay_store

函数原型:static ssize_t queue_poll_delay_store(struct request_queue *q, const char *page, size_t count)

返回类型:ssize_t

参数:

类型参数名称
struct request_queue *q
const char *page
size_tcount
376  如果非mq_ops或非poll则返回:负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  如果err小于0则返回:err
383  如果val恒等于Doing classic polling poll_nsec等于Doing classic polling
385  否则如果val大于等于0则poll_nsec等于val乘1000
387  否则返回:负EINVAL
390  返回:count