Searched refs:MAX_FILENAME (Results 1 – 3 of 3) sorted by relevance
/system/extras/libpagemap/ |
D | pm_process.c | 31 #define MAX_FILENAME 64 macro 35 char filename[MAX_FILENAME]; in pm_process_create() 48 error = snprintf(filename, MAX_FILENAME, "/proc/%d/pagemap", pid); in pm_process_create() 49 if (error < 0 || error >= MAX_FILENAME) { in pm_process_create() 178 char filename[MAX_FILENAME]; in pm_process_workingset() 199 error = snprintf(filename, MAX_FILENAME, "/proc/%d/clear_refs", in pm_process_workingset() 201 if (error < 0 || error >= MAX_FILENAME) { in pm_process_workingset() 245 char filename[MAX_FILENAME]; in read_maps() 260 error = snprintf(filename, MAX_FILENAME, "/proc/%d/maps", proc->pid); in read_maps() 261 if (error < 0 || error >= MAX_FILENAME) { in read_maps()
|
/system/extras/ksmutils/ |
D | ksminfo.c | 30 #define MAX_FILENAME 64 macro 201 char filename[MAX_FILENAME]; in read_pages() 213 error = snprintf(filename, MAX_FILENAME, "/proc/%d/mem", pid); in read_pages() 214 if (error < 0 || error >= MAX_FILENAME) { in read_pages()
|
/system/extras/latencytop/ |
D | latencytop.c | 27 #define MAX_FILENAME 64 macro 203 char dirname[MAX_FILENAME]; in read_process_stats() 233 char filename[MAX_FILENAME]; in read_thread_stats()
|