Searched refs:addr_pattern (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/vm/ |
D | vm_util.c | 82 char addr_pattern[MAX_LINE_LENGTH]; in __check_huge() local 84 ret = snprintf(addr_pattern, MAX_LINE_LENGTH, "%08lx-", in __check_huge() 93 if (!check_for_pattern(fp, addr_pattern, buffer, sizeof(buffer))) in __check_huge() 103 snprintf(addr_pattern, MAX_LINE_LENGTH, "%s%%9ld kB", pattern); in __check_huge() 105 if (sscanf(buffer, addr_pattern, &thp) != 1) in __check_huge()
|
D | khugepaged.c | 523 char addr_pattern[MAX_LINE_LENGTH]; in check_swap() local 525 ret = snprintf(addr_pattern, MAX_LINE_LENGTH, "%08lx-", in check_swap() 538 if (!check_for_pattern(fp, addr_pattern, buffer, sizeof(buffer))) in check_swap() 541 ret = snprintf(addr_pattern, MAX_LINE_LENGTH, "Swap:%19ld kB", in check_swap() 554 if (strncmp(buffer, addr_pattern, strlen(addr_pattern))) in check_swap()
|