Lines Matching refs:fp
51 FILE *fp; in kgsl_memtrack_get_memory() local
68 fp = fopen(syspath, "r"); in kgsl_memtrack_get_memory()
69 if (fp == NULL) in kgsl_memtrack_get_memory()
72 ret = fscanf(fp, "%zu", &accounted_size); in kgsl_memtrack_get_memory()
74 fclose(fp); in kgsl_memtrack_get_memory()
77 fclose(fp); in kgsl_memtrack_get_memory()
82 fp = fopen(syspath, "r"); in kgsl_memtrack_get_memory()
83 if (fp == NULL) { in kgsl_memtrack_get_memory()
87 ret = fscanf(fp, "%zu", &unaccounted_size); in kgsl_memtrack_get_memory()
89 fclose(fp); in kgsl_memtrack_get_memory()
92 fclose(fp); in kgsl_memtrack_get_memory()
99 fp = fopen(syspath, "r"); in kgsl_memtrack_get_memory()
100 if (fp == NULL) in kgsl_memtrack_get_memory()
103 ret = fscanf(fp, "%zu", &unaccounted_size); in kgsl_memtrack_get_memory()
105 fclose(fp); in kgsl_memtrack_get_memory()
108 fclose(fp); in kgsl_memtrack_get_memory()