Home
last modified time | relevance | path

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

/Linux-v5.10/fs/nilfs2/
Dsysfs.c262 down_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_checkpoints_number_show()
264 up_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_checkpoints_number_show()
285 down_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_snapshots_number_show()
287 up_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_snapshots_number_show()
320 down_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_next_checkpoint_show()
322 up_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_next_checkpoint_show()
404 down_read(&nilfs->ns_segctor_sem); in nilfs_segments_dirty_segments_show()
406 up_read(&nilfs->ns_segctor_sem); in nilfs_segments_dirty_segments_show()
505 down_read(&nilfs->ns_segctor_sem); in nilfs_segctor_current_seg_sequence_show()
507 up_read(&nilfs->ns_segctor_sem); in nilfs_segctor_current_seg_sequence_show()
[all …]
Dioctl.c308 down_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_cpinfo()
311 up_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_cpinfo()
343 down_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_get_cpstat()
345 up_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_get_cpstat()
375 down_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_suinfo()
378 up_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_suinfo()
410 down_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_get_sustat()
412 up_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_get_sustat()
442 down_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_vinfo()
444 up_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_vinfo()
[all …]
Dsegment.c228 down_read(&nilfs->ns_segctor_sem); in nilfs_transaction_begin()
230 up_read(&nilfs->ns_segctor_sem); in nilfs_transaction_begin()
283 up_read(&nilfs->ns_segctor_sem); in nilfs_transaction_commit()
309 up_read(&nilfs->ns_segctor_sem); in nilfs_transaction_abort()
329 up_read(&nilfs->ns_segctor_sem); in nilfs_relax_pressure_in_lock()
331 down_write(&nilfs->ns_segctor_sem); in nilfs_relax_pressure_in_lock()
340 downgrade_write(&nilfs->ns_segctor_sem); in nilfs_relax_pressure_in_lock()
362 down_write(&nilfs->ns_segctor_sem); in nilfs_transaction_lock()
368 up_write(&nilfs->ns_segctor_sem); in nilfs_transaction_lock()
386 up_write(&nilfs->ns_segctor_sem); in nilfs_transaction_unlock()
[all …]
Dsuper.c415 down_write(&nilfs->ns_segctor_sem); in nilfs_resize_fs()
422 up_write(&nilfs->ns_segctor_sem); in nilfs_resize_fs()
526 down_read(&nilfs->ns_segctor_sem); in nilfs_attach_checkpoint()
529 up_read(&nilfs->ns_segctor_sem); in nilfs_attach_checkpoint()
952 down_read(&nilfs->ns_segctor_sem); in nilfs_attach_snapshot()
954 up_read(&nilfs->ns_segctor_sem); in nilfs_attach_snapshot()
Dthe_nilfs.h142 struct rw_semaphore ns_segctor_sem; member
Dthe_nilfs.c75 init_rwsem(&nilfs->ns_segctor_sem); in alloc_nilfs()