Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Copy bitmap and clear tail bits in last word.

Proto:static inline void bitmap_copy_clear_tail(unsigned long *dst, const unsigned long *src, unsigned int nbits)

Type:void

Parameter:

TypeParameterName
unsigned long *dst
const unsigned long *src
unsigned intnbits
250  bitmap_copy(dst, src, nbits)
251  If nbits % BITS_PER_LONG Then dst[nbits / BITS_PER_LONG] &= BITMAP_LAST_WORD_MASK(nbits)