Lines Matching refs:val
34 unsigned long long val; in parse_hex_sysattr() local
43 val = strtoull(buf, &endptr, 16); in parse_hex_sysattr()
44 if ((val == ULLONG_MAX && errno == ERANGE) || endptr == buf) { in parse_hex_sysattr()
48 *value = val; in parse_hex_sysattr()
209 char val[PAGE_SIZE]; in rmtfs_mem_open_rfsa() local
229 read(fd, val, sizeof(val)); in rmtfs_mem_open_rfsa()
230 rmem->address = strtoull(val, &endptr, 16); in rmtfs_mem_open_rfsa()
231 if ((rmem->address == ULLONG_MAX && errno == ERANGE) || endptr == val) { in rmtfs_mem_open_rfsa()
244 read(fd, val, sizeof(val)); in rmtfs_mem_open_rfsa()
245 rmem->size = strtoull(val, &endptr, 16); in rmtfs_mem_open_rfsa()
246 if ((rmem->size == ULLONG_MAX && errno == ERANGE) || endptr == val) { in rmtfs_mem_open_rfsa()