Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bitmap_replace

Proto:static inline void bitmap_replace(unsigned long *dst, const unsigned long *old, const unsigned long *new, const unsigned long *mask, unsigned int nbits)

Type:void

Parameter:

TypeParameterName
unsigned long *dst
const unsigned long *old
const unsigned long *new
const unsigned long *mask
unsigned intnbits
447  If The static inlines below do not handle constant nbits==0 correctly,* so make such users (should any ever turn up) call the out-of-line* versions.(nbits) Then dst = old & ~mask | new & mask
449  Else __bitmap_replace(dst, old, new, mask, nbits)
Caller
NameDescribe
test_replace