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() 182 char filename[MAX_FILENAME]; in pm_process_workingset() 208 error = snprintf(filename, MAX_FILENAME, "/proc/%d/clear_refs", in pm_process_workingset() 210 if (error < 0 || error >= MAX_FILENAME) { in pm_process_workingset() 246 char filename[MAX_FILENAME]; in read_maps() 263 error = snprintf(filename, MAX_FILENAME, "/proc/%d/maps", proc->pid); in read_maps() 264 if (error < 0 || error >= MAX_FILENAME) { in read_maps()
|
/system/extras/ksmutils/ |
D | ksminfo.c | 30 #define MAX_FILENAME 64 macro 200 char filename[MAX_FILENAME]; in read_pages() 212 error = snprintf(filename, MAX_FILENAME, "/proc/%d/mem", pid); in read_pages() 213 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()
|