diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-31 07:58:50 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 19:47:07 +0300 |
commit | 560661d4ae067276c14bf0dc89fdd0228f993150 (patch) | |
tree | 71d5a52c750c101f7cb8de585fcbf3012b158466 /fs/bcachefs/printbuf.h | |
parent | 6b49b0f7e73817265f80c565037ac812df6f1ae3 (diff) | |
download | linux-560661d4ae067276c14bf0dc89fdd0228f993150.tar.xz |
bcachefs: prt_bitflags_vector()
similar to prt_bitflags(), but for ulong arrays
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/printbuf.h')
-rw-r--r-- | fs/bcachefs/printbuf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/printbuf.h b/fs/bcachefs/printbuf.h index 2191423d9f22..9a4a56c40937 100644 --- a/fs/bcachefs/printbuf.h +++ b/fs/bcachefs/printbuf.h @@ -124,6 +124,8 @@ void bch2_prt_units_u64(struct printbuf *, u64); void bch2_prt_units_s64(struct printbuf *, s64); void bch2_prt_string_option(struct printbuf *, const char * const[], size_t); void bch2_prt_bitflags(struct printbuf *, const char * const[], u64); +void bch2_prt_bitflags_vector(struct printbuf *, const char * const[], + unsigned long *, unsigned); /* Initializer for a heap allocated printbuf: */ #define PRINTBUF ((struct printbuf) { .heap_allocated = true }) |