Searched refs:locked_size (Results 1 – 1 of 1) sorted by relevance
1081 static size_t locked_size; variable1098 locked_size = size * 1024 * 1024; in igt_lock_mem()1100 locked_mem = malloc(locked_size); in igt_lock_mem()1105 for (i = 0; i < locked_size; i += pagesize) in igt_lock_mem()1108 ret = mlock(locked_mem, locked_size); in igt_lock_mem()1122 munlock(locked_mem, locked_size); in igt_unlock_mem()