Searched refs:sparsebit_idx_t (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | sparsebit.h | 28 typedef u64 sparsebit_idx_t; typedef 35 bool sparsebit_is_set(const struct sparsebit *sbit, sparsebit_idx_t idx); 37 sparsebit_idx_t idx, sparsebit_num_t num); 38 bool sparsebit_is_clear(const struct sparsebit *sbit, sparsebit_idx_t idx); 40 sparsebit_idx_t idx, sparsebit_num_t num); 46 sparsebit_idx_t sparsebit_first_set(const struct sparsebit *sbit); 47 sparsebit_idx_t sparsebit_first_clear(const struct sparsebit *sbit); 48 sparsebit_idx_t sparsebit_next_set(const struct sparsebit *sbit, sparsebit_idx_t prev); 49 sparsebit_idx_t sparsebit_next_clear(const struct sparsebit *sbit, sparsebit_idx_t prev); 50 sparsebit_idx_t sparsebit_next_set_num(const struct sparsebit *sbit, [all …]
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | sparsebit.c | 172 sparsebit_idx_t idx; /* index of least-significant bit in mask */ 310 static struct node *node_find(const 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() 671 sparsebit_idx_t prev_highest_bit; in node_reduce() 778 bool sparsebit_is_set(const struct sparsebit *s, sparsebit_idx_t idx) in sparsebit_is_set() 804 static void bit_set(struct sparsebit *s, sparsebit_idx_t idx) in bit_set() 831 static void bit_clear(struct sparsebit *s, sparsebit_idx_t idx) in bit_clear() 900 static inline sparsebit_idx_t node_first_set(struct node *nodep, int start) in node_first_set() [all …]
|
| H A D | kvm_util.c | 2029 sparsebit_idx_t pg, base; in __vm_phy_pages_alloc() 2291 sparsebit_idx_t pg = 0; in vm_is_gpa_protected()
|
| /linux/tools/testing/selftests/kvm/lib/x86/ |
| H A D | sev.c | 22 const sparsebit_idx_t lowest_page_in_region = gpa_base >> vm->page_shift; in encrypt_region() 23 sparsebit_idx_t i, j; in encrypt_region()
|
| H A D | processor.c | 524 sparsebit_idx_t i, last; in tdp_identity_map_default_memslots()
|