Home
last modified time | relevance | path

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

/fs/f2fs/
Dsegment.h199 rwlock_t segmap_lock; /* free segmap lock */ member
304 read_lock(&free_i->segmap_lock); in find_next_inuse()
306 read_unlock(&free_i->segmap_lock); in find_next_inuse()
317 write_lock(&free_i->segmap_lock); in __set_free()
326 write_unlock(&free_i->segmap_lock); in __set_free()
348 write_lock(&free_i->segmap_lock); in __set_test_and_free()
359 write_unlock(&free_i->segmap_lock); in __set_test_and_free()
367 write_lock(&free_i->segmap_lock); in __set_test_and_inuse()
373 write_unlock(&free_i->segmap_lock); in __set_test_and_inuse()
400 read_lock(&free_i->segmap_lock); in free_segments()
[all …]
Dsegment.c392 write_lock(&free_i->segmap_lock); in get_new_segment()
465 write_unlock(&free_i->segmap_lock); in get_new_segment()
1507 rwlock_init(&free_i->segmap_lock); in build_free_segmap()