函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:queue_poll_store

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

返回类型:ssize_t

参数:

类型参数名称
struct request_queue *q
const char *page
size_tcount
404  如果非tag_setnr_maps小于等于HCTX_TYPE_POLL或非nr_queues则返回:负EINVAL
408  ret等于queue_var_store( & poll_on, page, count)
409  如果ret小于0则返回:ret
412  如果poll_onlk_queue_flag_set - atomically set a queue flag*@flag: flag to be set*@q: request queue
414  否则lk_queue_flag_clear - atomically clear a queue flag*@flag: flag to be cleared*@q: request queue
417  返回:ret