Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:queue_store_random

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

Type:ssize_t

Parameter:

TypeParameterName
struct request_queue *q
const char *page
size_tcount
280  ret = queue_var_store( & val, page, count)
280  If ret < 0 Then Return ret
280  If 0 Then val = Not val
280  If val Then lk_queue_flag_set - atomically set a queue flag*@flag: flag to be set*@q: request queue
280  Else lk_queue_flag_clear - atomically clear a queue flag*@flag: flag to be cleared*@q: request queue
280  Return ret