Lines Matching defs:map
32 * These locks are held while a map is being updated from the
119 * create/rewrite the file, m-map it into memory and initialize the
122 * good file, and m-map the lock structure directly to it.
222 lock_map_update(map_ctrl *map)
224 int hashval = map->hash_val;
278 unlock_map_update(map_ctrl *map)
280 int hashval = map->hash_val;
304 * DESCRIPTION: Determines if a map is currently locked for update
312 is_map_updating(map_ctrl *map)
317 ret = mutex_trylock(&(shmupdatearray->updatenode[map->hash_val]));
325 mutex_unlock(&(shmupdatearray->updatenode[map->hash_val]));
332 * DESCRIPTION: Tries to to lock a map for update.
334 * GIVEN : Pointer to the map to lock
336 * RETURNS : 0 = The map is now locked
337 * EBUSY = The map was already locked lock not obtained.
341 try_lock_map_update(map_ctrl *map)
343 int hashval = map->hash_val;