Home
last modified time | relevance | path

Searched refs:tmp_len (Results 1 – 2 of 2) sorted by relevance

/arch/sparc/vdso/
Dvdso2c.c161 off_t tmp_len; in map_input() local
168 tmp_len = lseek(fd, 0, SEEK_END); in map_input()
169 if (tmp_len == (off_t)-1) in map_input()
171 *len = (size_t)tmp_len; in map_input()
173 *addr = mmap(NULL, tmp_len, prot, MAP_PRIVATE, fd, 0); in map_input()
/arch/x86/entry/vdso/
Dvdso2c.c186 off_t tmp_len; in map_input() local
192 tmp_len = lseek(fd, 0, SEEK_END); in map_input()
193 if (tmp_len == (off_t)-1) in map_input()
195 *len = (size_t)tmp_len; in map_input()
197 *addr = mmap(NULL, tmp_len, prot, MAP_PRIVATE, fd, 0); in map_input()