Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.13-rc1 18 lines 405 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BCACHEFS_BBPOS_TYPES_H 3#define _BCACHEFS_BBPOS_TYPES_H 4 5struct bbpos { 6 enum btree_id btree; 7 struct bpos pos; 8}; 9 10static inline struct bbpos BBPOS(enum btree_id btree, struct bpos pos) 11{ 12 return (struct bbpos) { btree, pos }; 13} 14 15#define BBPOS_MIN BBPOS(0, POS_MIN) 16#define BBPOS_MAX BBPOS(BTREE_ID_NR - 1, SPOS_MAX) 17 18#endif /* _BCACHEFS_BBPOS_TYPES_H */