forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'bitmap-for-6.7' of https://github.com/norov/linux
Pull bitmap updates from Yury Norov: "This includes the 'bitmap: cleanup bitmap_*_region() implementation' series, and scattered cleanup patches" * tag 'bitmap-for-6.7' of https://github.com/norov/linux: buildid: reduce header file dependencies for module bitmap: move bitmap_*_region() functions to bitmap.h bitmap: drop _reg_op() function bitmap: replace _reg_op(REG_OP_ISFREE) with find_next_bit() bitmap: replace _reg_op(REG_OP_RELEASE) with bitmap_clear() bitmap: replace _reg_op(REG_OP_ALLOC) with bitmap_set() bitmap: fix opencoded bitmap_allocate_region() bitmap: add test for bitmap_*_region() functions bitmap: align __reg_op() wrappers with modern coding style lib/bitmap: split-out string-related operations to a separate files bitmap: Remove dead code, i.e. bitmap_copy_le() bitmap: Fix a typo ("identify map") cpumask: kernel-doc cleanups and additions
- Loading branch information
Showing
10 changed files
with
700 additions
and
754 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3539,12 +3539,14 @@ R: Andy Shevchenko <[email protected]> | |
R: Rasmus Villemoes <[email protected]> | ||
S: Maintained | ||
F: include/linux/bitfield.h | ||
F: include/linux/bitmap-str.h | ||
F: include/linux/bitmap.h | ||
F: include/linux/bits.h | ||
F: include/linux/cpumask.h | ||
F: include/linux/find.h | ||
F: include/linux/nodemask.h | ||
F: include/vdso/bits.h | ||
F: lib/bitmap-str.c | ||
F: lib/bitmap.c | ||
F: lib/cpumask.c | ||
F: lib/cpumask_kunit.c | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
#ifndef __LINUX_BITMAP_STR_H | ||
#define __LINUX_BITMAP_STR_H | ||
|
||
int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *dst, int nbits); | ||
int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, int nmaskbits); | ||
extern int bitmap_print_bitmask_to_buf(char *buf, const unsigned long *maskp, | ||
int nmaskbits, loff_t off, size_t count); | ||
extern int bitmap_print_list_to_buf(char *buf, const unsigned long *maskp, | ||
int nmaskbits, loff_t off, size_t count); | ||
int bitmap_parse(const char *buf, unsigned int buflen, unsigned long *dst, int nbits); | ||
int bitmap_parselist(const char *buf, unsigned long *maskp, int nmaskbits); | ||
int bitmap_parselist_user(const char __user *ubuf, unsigned int ulen, | ||
unsigned long *dst, int nbits); | ||
|
||
#endif /* __LINUX_BITMAP_STR_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.