Searched refs:MAX_FILENAME (Results 1 – 2 of 2) sorted by relevance
30 #define MAX_FILENAME 64 macro34 char filename[MAX_FILENAME]; in pm_process_create()47 error = snprintf(filename, MAX_FILENAME, "/proc/%d/pagemap", pid); in pm_process_create()48 if (error < 0 || error >= MAX_FILENAME) { in pm_process_create()162 char filename[MAX_FILENAME]; in pm_process_workingset()183 error = snprintf(filename, MAX_FILENAME, "/proc/%d/clear_refs", in pm_process_workingset()185 if (error < 0 || error >= MAX_FILENAME) { in pm_process_workingset()224 char filename[MAX_FILENAME]; in read_maps()239 error = snprintf(filename, MAX_FILENAME, "/proc/%d/maps", proc->pid); in read_maps()240 if (error < 0 || error >= MAX_FILENAME) in read_maps()
26 #define MAX_FILENAME 64 macro202 char dirname[MAX_FILENAME]; in read_process_stats()232 char filename[MAX_FILENAME]; in read_thread_stats()