Lines Matching defs:map
34 * These locks are held while a map is being updated from the
121 * create/rewrite the file, m-map it into memory and initialize the
124 * good file, and m-map the lock structure directly to it.
224 lock_map_update(map_ctrl *map)
226 int hashval = map->hash_val;
280 unlock_map_update(map_ctrl *map)
282 int hashval = map->hash_val;
306 * DESCRIPTION: Determines if a map is currently locked for update
314 is_map_updating(map_ctrl *map)
319 ret = mutex_trylock(&(shmupdatearray->updatenode[map->hash_val]));
327 mutex_unlock(&(shmupdatearray->updatenode[map->hash_val]));
334 * DESCRIPTION: Tries to to lock a map for update.
336 * GIVEN : Pointer to the map to lock
338 * RETURNS : 0 = The map is now locked
339 * EBUSY = The map was already locked lock not obtained.
343 try_lock_map_update(map_ctrl *map)
345 int hashval = map->hash_val;