Lines Matching defs:map
35 * These locks are held while a map is being updated from the
122 * create/rewrite the file, m-map it into memory and initialize the
125 * good file, and m-map the lock structure directly to it.
225 lock_map_update(map_ctrl *map)
227 int hashval = map->hash_val;
281 unlock_map_update(map_ctrl *map)
283 int hashval = map->hash_val;
307 * DESCRIPTION: Determines if a map is currently locked for update
315 is_map_updating(map_ctrl *map)
320 ret = mutex_trylock(&(shmupdatearray->updatenode[map->hash_val]));
328 mutex_unlock(&(shmupdatearray->updatenode[map->hash_val]));
335 * DESCRIPTION: Tries to to lock a map for update.
337 * GIVEN : Pointer to the map to lock
339 * RETURNS : 0 = The map is now locked
340 * EBUSY = The map was already locked lock not obtained.
344 try_lock_map_update(map_ctrl *map)
346 int hashval = map->hash_val;