Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:queue_poll_store

Proto:static ssize_t queue_poll_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
404  If Not tag_set || nr_maps <= HCTX_TYPE_POLL || Not nr_queues Then Return -EINVAL
408  ret = queue_var_store( & poll_on, page, count)
409  If ret < 0 Then Return ret
412  If poll_on Then lk_queue_flag_set - atomically set a queue flag*@flag: flag to be set*@q: request queue
414  Else lk_queue_flag_clear - atomically clear a queue flag*@flag: flag to be cleared*@q: request queue
417  Return ret