Lines Matching refs:PATH_MAX
161 char path[PATH_MAX]; in read_string()
166 ret = snprintf(path, PATH_MAX, THP_SYSFS "%s", name); in read_string()
167 if (ret >= PATH_MAX) { in read_string()
206 char path[PATH_MAX]; in write_string()
209 ret = snprintf(path, PATH_MAX, THP_SYSFS "%s", name); in write_string()
210 if (ret >= PATH_MAX) { in write_string()
223 char path[PATH_MAX]; in read_num()
227 ret = snprintf(path, PATH_MAX, THP_SYSFS "%s", name); in read_num()
228 if (ret >= PATH_MAX) { in read_num()
244 char path[PATH_MAX]; in write_num()
248 ret = snprintf(path, PATH_MAX, THP_SYSFS "%s", name); in write_num()
249 if (ret >= PATH_MAX) { in write_num()