Home
last modified time | relevance | path

Searched refs:work_sem (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dwl.c196 * @ubi->work_sem is used to synchronize with the workers. Workers take in do_work()
201 down_read(&ubi->work_sem); in do_work()
205 up_read(&ubi->work_sem); in do_work()
223 up_read(&ubi->work_sem); in do_work()
540 * list. Can only be used if ubi->work_sem is already held in read mode!
563 down_read(&ubi->work_sem); in schedule_ubi_work()
565 up_read(&ubi->work_sem); in schedule_ubi_work()
578 * @nested: denotes whether the work_sem is already held
1423 down_read(&ubi->work_sem);
1435 up_read(&ubi->work_sem);
[all...]
H A Dfastmap.c1533 down_write(&ubi->work_sem); in ubi_update_fastmap()
1540 up_write(&ubi->work_sem); in ubi_update_fastmap()
1548 up_write(&ubi->work_sem); in ubi_update_fastmap()
1665 up_write(&ubi->work_sem); in ubi_update_fastmap()
H A Dubi.h510 * @work_sem: used to wait for all the scheduled works to finish and prevent
617 struct rw_semaphore work_sem; member
/kernel/linux/linux-6.6/drivers/mtd/ubi/
H A Dwl.c196 * @ubi->work_sem is used to synchronize with the workers. Workers take in do_work()
201 down_read(&ubi->work_sem); in do_work()
205 up_read(&ubi->work_sem); in do_work()
223 up_read(&ubi->work_sem); in do_work()
540 * list. Can only be used if ubi->work_sem is already held in read mode!
563 down_read(&ubi->work_sem); in schedule_ubi_work()
565 up_read(&ubi->work_sem); in schedule_ubi_work()
578 * @nested: denotes whether the work_sem is already held
1433 down_read(&ubi->work_sem);
1445 up_read(&ubi->work_sem);
[all...]
H A Dfastmap.c1543 down_write(&ubi->work_sem); in ubi_update_fastmap()
1550 up_write(&ubi->work_sem); in ubi_update_fastmap()
1558 up_write(&ubi->work_sem); in ubi_update_fastmap()
1675 up_write(&ubi->work_sem); in ubi_update_fastmap()
H A Dubi.h508 * @work_sem: used to wait for all the scheduled works to finish and prevent
615 struct rw_semaphore work_sem; member

Completed in 12 milliseconds