Home
last modified time | relevance | path

Searched refs:fm_eba_sem (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/drivers/mtd/ubi/
Dfastmap-wl.c235 down_read(&ubi->fm_eba_sem); in ubi_wl_get_peb()
242 up_read(&ubi->fm_eba_sem); in ubi_wl_get_peb()
246 down_read(&ubi->fm_eba_sem); in ubi_wl_get_peb()
249 down_read(&ubi->fm_eba_sem); in ubi_wl_get_peb()
261 up_read(&ubi->fm_eba_sem); in ubi_wl_get_peb()
264 down_read(&ubi->fm_eba_sem); in ubi_wl_get_peb()
339 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in get_peb_for_wl()
Deba.c469 down_read(&ubi->fm_eba_sem); in ubi_eba_unmap_leb()
471 up_read(&ubi->fm_eba_sem); in ubi_eba_unmap_leb()
531 down_read(&ubi->fm_eba_sem); in check_mapping()
533 up_read(&ubi->fm_eba_sem); in check_mapping()
869 up_read(&ubi->fm_eba_sem); in try_recover_peb()
982 up_read(&ubi->fm_eba_sem); in try_write_vid_and_data()
1309 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in ubi_eba_copy_leb()
Dwl.c667 down_read(&ubi->fm_eba_sem);
912 up_read(&ubi->fm_eba_sem);
963 up_read(&ubi->fm_eba_sem);
985 up_read(&ubi->fm_eba_sem);
993 up_read(&ubi->fm_eba_sem);
2105 down_read(&ubi->fm_eba_sem);
2121 up_read(&ubi->fm_eba_sem);
Dfastmap.c1543 down_write(&ubi->fm_eba_sem); in ubi_update_fastmap()
1548 up_write(&ubi->fm_eba_sem); in ubi_update_fastmap()
1556 up_write(&ubi->fm_eba_sem); in ubi_update_fastmap()
1673 up_write(&ubi->fm_eba_sem); in ubi_update_fastmap()
Dubi.h595 struct rw_semaphore fm_eba_sem; member
Dbuild.c951 init_rwsem(&ubi->fm_eba_sem); in ubi_attach_mtd_dev()