Home | History | Annotate | Download | only in ksmutils

Lines Matching refs:pr_flags

61 static int read_pages(struct ksm_pages *kp, pm_map_t **maps, size_t num_maps, uint8_t pr_flags);
62 static void print_pages(struct ksm_pages *kp, uint8_t pr_flags);
63 static void free_pages(struct ksm_pages *kp, uint8_t pr_flags);
79 uint8_t pr_flags = 0;
92 pr_flags |= PR_ALL;
95 pr_flags |= PR_SORTED;
98 pr_flags |= PR_VERBOSE;
117 if (pr_flags & PR_ALL) {
167 if (read_pages(&kp, maps, num_maps, pr_flags) < 0) {
178 if (pr_flags & PR_SORTED) {
181 print_pages(&kp, pr_flags);
184 free_pages(&kp, pr_flags);
189 static int read_pages(struct ksm_pages *kp, pm_map_t **maps, size_t num_maps, uint8_t pr_flags) {
294 if (pr_flags & PR_VERBOSE) {
329 if (pr_flags & PR_VERBOSE) {
343 static void print_pages(struct ksm_pages *kp, uint8_t pr_flags) {
358 if (!(pr_flags & PR_ALL)) {
367 if (pr_flags & PR_VERBOSE) {
376 if (pr_flags & PR_ALL) {
388 static void free_pages(struct ksm_pages *kp, uint8_t pr_flags) {
391 if (pr_flags & PR_VERBOSE) {