Searched refs:sparsebit_idx_t (Results 1 – 4 of 4) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/kvm/include/ |
D | sparsebit.h | 28 typedef uint64_t sparsebit_idx_t; typedef 35 bool sparsebit_is_set(struct sparsebit *sbit, sparsebit_idx_t idx); 37 sparsebit_idx_t idx, sparsebit_num_t num); 38 bool sparsebit_is_clear(struct sparsebit *sbit, sparsebit_idx_t idx); 40 sparsebit_idx_t idx, sparsebit_num_t num); 46 sparsebit_idx_t sparsebit_first_set(struct sparsebit *sbit); 47 sparsebit_idx_t sparsebit_first_clear(struct sparsebit *sbit); 48 sparsebit_idx_t sparsebit_next_set(struct sparsebit *sbit, sparsebit_idx_t prev); 49 sparsebit_idx_t sparsebit_next_clear(struct sparsebit *sbit, sparsebit_idx_t prev); 50 sparsebit_idx_t sparsebit_next_set_num(struct sparsebit *sbit, [all …]
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | sparsebit.c | 172 sparsebit_idx_t idx; /* index of least-significant bit in mask */ 310 static struct node *node_find(struct sparsebit *s, sparsebit_idx_t idx) in node_find() 333 static struct node *node_add(struct sparsebit *s, sparsebit_idx_t idx) in node_add() 498 static struct node *node_split(struct sparsebit *s, sparsebit_idx_t idx) in node_split() 501 sparsebit_idx_t offset; in node_split() 672 sparsebit_idx_t prev_highest_bit; in node_reduce() 779 bool sparsebit_is_set(struct sparsebit *s, sparsebit_idx_t idx) in sparsebit_is_set() 805 static void bit_set(struct sparsebit *s, sparsebit_idx_t idx) in bit_set() 832 static void bit_clear(struct sparsebit *s, sparsebit_idx_t idx) in bit_clear() 901 static inline sparsebit_idx_t node_first_set(struct node *nodep, int start) in node_first_set() [all …]
|
D | kvm_util.c | 1561 sparsebit_idx_t pg, base; in vm_phy_pages_alloc()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 511 sparsebit_idx_t i, last; in nested_map_memslot()
|