Home
last modified time | relevance | path

Searched refs:sparsebit (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/kvm/include/
A Dsparsebit.h27 struct sparsebit;
31 struct sparsebit *sparsebit_alloc(void);
32 void sparsebit_free(struct sparsebit **sbitp);
33 void sparsebit_copy(struct sparsebit *dstp, const struct sparsebit *src);
36 bool sparsebit_is_set_num(const struct sparsebit *sbit,
42 bool sparsebit_any_set(const struct sparsebit *sbit);
43 bool sparsebit_any_clear(const struct sparsebit *sbit);
44 bool sparsebit_all_set(const struct sparsebit *sbit);
58 void sparsebit_set_all(struct sparsebit *sbitp);
61 void sparsebit_clear_num(struct sparsebit *sbitp,
[all …]
A Dkvm_util.h37 struct sparsebit *unused_phy_pages;
38 struct sparsebit *protected_phy_pages;
100 struct sparsebit *vpages_valid;
101 struct sparsebit *vpages_mapped;
/tools/testing/selftests/kvm/lib/
A Dsparsebit.c177 struct sparsebit { struct
938 struct sparsebit *sparsebit_alloc(void) in sparsebit_alloc()
940 struct sparsebit *s; in sparsebit_alloc()
955 void sparsebit_free(struct sparsebit **sbitp) in sparsebit_free()
957 struct sparsebit *s = *sbitp; in sparsebit_free()
972 void sparsebit_copy(struct sparsebit *d, const struct sparsebit *s) in sparsebit_copy()
1370 void sparsebit_set_num(struct sparsebit *s, in sparsebit_set_num()
1452 void sparsebit_clear_num(struct sparsebit *s, in sparsebit_clear_num()
1533 void sparsebit_set_all(struct sparsebit *s) in sparsebit_set_all()
1541 void sparsebit_clear_all(struct sparsebit *s) in sparsebit_clear_all()
[all …]
/tools/testing/selftests/kvm/lib/x86/
A Dsev.c20 const struct sparsebit *protected_phy_pages = region->protected_phy_pages; in encrypt_region()
/tools/testing/selftests/kvm/
A DMakefile.kvm15 LIBKVM += lib/sparsebit.c

Completed in 34 milliseconds