Home
last modified time | relevance | path

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

/linux-6.12.1/fs/nilfs2/
Dsysfs.c249 down_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_checkpoints_number_show()
251 up_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_checkpoints_number_show()
272 down_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_snapshots_number_show()
274 up_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_snapshots_number_show()
307 down_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_next_checkpoint_show()
309 up_read(&nilfs->ns_segctor_sem); in nilfs_checkpoints_next_checkpoint_show()
392 down_read(&nilfs->ns_segctor_sem); in nilfs_segments_dirty_segments_show()
394 up_read(&nilfs->ns_segctor_sem); in nilfs_segments_dirty_segments_show()
494 down_read(&nilfs->ns_segctor_sem); in nilfs_segctor_current_seg_sequence_show()
496 up_read(&nilfs->ns_segctor_sem); in nilfs_segctor_current_seg_sequence_show()
[all …]
Dioctl.c307 down_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_cpinfo()
310 up_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_cpinfo()
342 down_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_get_cpstat()
344 up_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_get_cpstat()
374 down_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_suinfo()
377 up_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_suinfo()
409 down_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_get_sustat()
411 up_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_get_sustat()
441 down_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_vinfo()
443 up_read(&nilfs->ns_segctor_sem); in nilfs_ioctl_do_get_vinfo()
[all …]
Dsegment.c223 down_read(&nilfs->ns_segctor_sem); in nilfs_transaction_begin()
225 up_read(&nilfs->ns_segctor_sem); in nilfs_transaction_begin()
278 up_read(&nilfs->ns_segctor_sem); in nilfs_transaction_commit()
304 up_read(&nilfs->ns_segctor_sem); in nilfs_transaction_abort()
324 up_read(&nilfs->ns_segctor_sem); in nilfs_relax_pressure_in_lock()
326 down_write(&nilfs->ns_segctor_sem); in nilfs_relax_pressure_in_lock()
335 downgrade_write(&nilfs->ns_segctor_sem); in nilfs_relax_pressure_in_lock()
357 down_write(&nilfs->ns_segctor_sem); in nilfs_transaction_lock()
363 up_write(&nilfs->ns_segctor_sem); in nilfs_transaction_lock()
381 up_write(&nilfs->ns_segctor_sem); in nilfs_transaction_unlock()
[all …]
Dsuper.c451 down_write(&nilfs->ns_segctor_sem); in nilfs_resize_fs()
458 up_write(&nilfs->ns_segctor_sem); in nilfs_resize_fs()
561 down_read(&nilfs->ns_segctor_sem); in nilfs_attach_checkpoint()
563 up_read(&nilfs->ns_segctor_sem); in nilfs_attach_checkpoint()
958 down_read(&nilfs->ns_segctor_sem); in nilfs_attach_snapshot()
960 up_read(&nilfs->ns_segctor_sem); in nilfs_attach_snapshot()
Dthe_nilfs.h141 struct rw_semaphore ns_segctor_sem; member
Dthe_nilfs.c74 init_rwsem(&nilfs->ns_segctor_sem); in alloc_nilfs()