Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\buffer_head.h Create Date:2022-07-28 12:16:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_buffer_locked

Proto:static inline __attribute__((__always_inline__)) void set_buffer_locked(struct buffer_head *bh)

Type:void

Parameter:

TypeParameterName
struct buffer_head *bh
123  If Not If __builtin_constant_p( Is locked ) Then constant_test_bit(( Is locked ), ( & buffer state bitmap (see above) )) Else variable_test_bit(( Is locked ), ( & buffer state bitmap (see above) )) Then Atomically set a bit in memory