Home
last modified time | relevance | path

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

/linux/arch/um/kernel/
H A Dtime.c49 static struct um_timetravel_schedshm *time_travel_shm; variable
92 time_travel_shm = os_mmap_rw_shared(fd, sizeof(*time_travel_shm)); in time_travel_setup_shm()
94 if (!time_travel_shm) in time_travel_setup_shm()
97 len = time_travel_shm->len; in time_travel_setup_shm()
99 if (time_travel_shm->version != UM_TIMETRAVEL_SCHEDSHM_VERSION || in time_travel_setup_shm()
100 len < struct_size(time_travel_shm, clients, id + 1)) { in time_travel_setup_shm()
101 os_unmap_memory(time_travel_shm, sizeof(*time_travel_shm)); in time_travel_setup_shm()
102 time_travel_shm = NULL; in time_travel_setup_shm()
106 time_travel_shm = os_mremap_rw_shared(time_travel_shm, in time_travel_setup_shm()
107 sizeof(*time_travel_shm), in time_travel_setup_shm()
[all …]