函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_queue_flag_test_and_set - atomically test and set a queue flag*@flag: flag to be set*@q: request queue* Returns the previous value of @flag - 0 if the flag was not set and 1 if* the flag was already set.

函数原型:bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q)

返回类型:bool

参数:

类型参数名称
unsigned intflag
struct request_queue *q
105  返回:st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).
调用者
名称描述
blk_poll_stats_enableEnable polling stats and return whether they were already enabled.