Lines Matching defs:file
25 /* Description: This file contains the definitions for the functions/apis */
62 * Check if we can get stat of the file
65 error_function("Can not read stat for file ", fullpath);
128 * Each file under a group contains some diff parameter/s
147 error_function("Could not open file", filepath);
154 error_function("Could not close file", filepath);
179 * Reads shares value from a given shares file and writes them to
189 error_function("Could not open file", filepath);
194 error_function("Could not close file", filepath);
201 * writes value to shares file or pid to tasks file
204 int write_to_file(char *file, const char *mode, unsigned int value)
207 fp = fopen(file, mode);
209 error_function("in opening file for writing:", file);