Home
last modified time | relevance | path

Searched refs:hammer2_chain_lock (Results 1 – 21 of 21) sorted by relevance

/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_flush.c668 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_flush_core()
669 hammer2_chain_lock(chain, HAMMER2_RESOLVE_MAYBE); in hammer2_flush_core()
804 hammer2_chain_lock(&hmp->fchain, in hammer2_flush_core()
1205 hammer2_chain_lock(child, HAMMER2_RESOLVE_MAYBE); in hammer2_flush_recurse()
1272 hammer2_chain_lock(parent, HAMMER2_RESOLVE_MAYBE); in hammer2_flush_recurse()
1413 hammer2_chain_lock(chain, HAMMER2_RESOLVE_ALWAYS); in hammer2_xop_inode_flush()
1437 hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_xop_inode_flush()
1439 hammer2_chain_lock(&hmp->fchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_xop_inode_flush()
1455 hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_xop_inode_flush()
H A Dhammer2_chain.c429 hammer2_chain_lock(chain, HAMMER2_RESOLVE_SHARED); in hammer2_chain_rehold()
903 hammer2_chain_lock(chain, how);
2094 hammer2_chain_lock(chain, how); in hammer2_chain_get()
2184 hammer2_chain_lock(parent, flags); in hammer2_chain_getparent()
2185 hammer2_chain_lock(chain, flags); in hammer2_chain_getparent()
2276 hammer2_chain_lock(parent, flags); in hammer2_chain_repparent()
2475 hammer2_chain_lock(chain, how_maybe); in hammer2_chain_lookup()
2521 hammer2_chain_lock(parent, how_always | in hammer2_chain_lookup()
2645 hammer2_chain_lock(chain, how_maybe); in hammer2_chain_lookup()
2647 hammer2_chain_lock(chain, how); in hammer2_chain_lookup()
[all …]
H A Dhammer2_bulkfree.c125 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS | in hammer2_bulkfree_scan()
344 hammer2_chain_lock(parent, in hammer2_bulkfree_scan()
347 hammer2_chain_lock(chain, in hammer2_bulkfree_scan()
1021 hammer2_chain_lock(live_parent, HAMMER2_RESOLVE_ALWAYS); in h2_bulkfree_sync()
H A Dhammer2_inode.c426 hammer2_chain_lock(chain, how); in hammer2_inode_chain()
449 hammer2_chain_lock(chain, how); in hammer2_inode_chain_and_parent()
461 hammer2_chain_lock(parent, how); in hammer2_inode_chain_and_parent()
462 hammer2_chain_lock(chain, how); in hammer2_inode_chain_and_parent()
H A Dhammer2_vfsops.c1759 hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_unmount_helper()
1760 hammer2_chain_lock(&hmp->fchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_unmount_helper()
2160 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_recovery()
2206 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_recovery_scan()
2219 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_recovery_scan()
H A Dhammer2_ioctl.c689 hammer2_chain_lock(nchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_ioctl_pfs_create()
873 hammer2_chain_lock(chain, HAMMER2_RESOLVE_ALWAYS); in hammer2_ioctl_pfs_snapshot()
933 hammer2_chain_lock(nchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_ioctl_pfs_snapshot()
H A Dhammer2_freemap.c259 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_freemap_alloc()
985 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_freemap_adjust()
H A Dhammer2_cluster.c262 hammer2_chain_lock(chain, how); in hammer2_cluster_lock()
H A Dhammer2_xops.c142 hammer2_chain_lock(oparent, HAMMER2_RESOLVE_ALWAYS); in checkdirempty()
143 hammer2_chain_lock(ochain, HAMMER2_RESOLVE_ALWAYS); in checkdirempty()
H A Dhammer2.h1589 int hammer2_chain_lock(hammer2_chain_t *chain, int how);
/dragonfly/sys/vfs/hammer2/
H A Dhammer2_flush.c664 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_flush_core()
665 hammer2_chain_lock(chain, HAMMER2_RESOLVE_MAYBE); in hammer2_flush_core()
800 hammer2_chain_lock(&hmp->fchain, in hammer2_flush_core()
1197 hammer2_chain_lock(child, HAMMER2_RESOLVE_MAYBE); in hammer2_flush_recurse()
1264 hammer2_chain_lock(parent, HAMMER2_RESOLVE_MAYBE); in hammer2_flush_recurse()
1405 hammer2_chain_lock(chain, HAMMER2_RESOLVE_ALWAYS); in hammer2_xop_inode_flush()
1429 hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_xop_inode_flush()
1431 hammer2_chain_lock(&hmp->fchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_xop_inode_flush()
1447 hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_xop_inode_flush()
H A Dhammer2_synchro.c747 hammer2_chain_lock(*parentp, HAMMER2_RESOLVE_ALWAYS); in hammer2_sync_insert()
839 hammer2_chain_lock(*parentp, HAMMER2_RESOLVE_SHARED | in hammer2_sync_insert()
842 hammer2_chain_lock(chain, HAMMER2_RESOLVE_SHARED | in hammer2_sync_insert()
890 hammer2_chain_lock(*parentp, HAMMER2_RESOLVE_ALWAYS); in hammer2_sync_destroy()
891 hammer2_chain_lock(chain, HAMMER2_RESOLVE_NEVER); in hammer2_sync_destroy()
899 hammer2_chain_lock(*parentp, HAMMER2_RESOLVE_SHARED | in hammer2_sync_destroy()
934 hammer2_chain_lock(chain, HAMMER2_RESOLVE_ALWAYS); in hammer2_sync_replace()
1065 hammer2_chain_lock(chain, HAMMER2_RESOLVE_SHARED | in hammer2_sync_replace()
H A Dhammer2_chain.c423 hammer2_chain_lock(chain, HAMMER2_RESOLVE_SHARED); in hammer2_chain_rehold()
893 hammer2_chain_lock(chain, how);
2077 hammer2_chain_lock(chain, how); in hammer2_chain_get()
2167 hammer2_chain_lock(parent, flags); in hammer2_chain_getparent()
2168 hammer2_chain_lock(chain, flags); in hammer2_chain_getparent()
2259 hammer2_chain_lock(parent, flags); in hammer2_chain_repparent()
2458 hammer2_chain_lock(chain, how_maybe); in hammer2_chain_lookup()
2504 hammer2_chain_lock(parent, how_always | in hammer2_chain_lookup()
2628 hammer2_chain_lock(chain, how_maybe); in hammer2_chain_lookup()
2630 hammer2_chain_lock(chain, how); in hammer2_chain_lookup()
[all …]
H A Dhammer2_bulkfree.c120 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS | in hammer2_bulkfree_scan()
339 hammer2_chain_lock(parent, in hammer2_bulkfree_scan()
342 hammer2_chain_lock(chain, in hammer2_bulkfree_scan()
1010 hammer2_chain_lock(live_parent, HAMMER2_RESOLVE_ALWAYS); in h2_bulkfree_sync()
H A Dhammer2_inode.c422 hammer2_chain_lock(chain, how); in hammer2_inode_chain()
445 hammer2_chain_lock(chain, how); in hammer2_inode_chain_and_parent()
457 hammer2_chain_lock(parent, how); in hammer2_inode_chain_and_parent()
458 hammer2_chain_lock(chain, how); in hammer2_inode_chain_and_parent()
H A Dhammer2_ioctl.c681 hammer2_chain_lock(nchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_ioctl_pfs_create()
865 hammer2_chain_lock(chain, HAMMER2_RESOLVE_ALWAYS); in hammer2_ioctl_pfs_snapshot()
925 hammer2_chain_lock(nchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_ioctl_pfs_snapshot()
H A Dhammer2_freemap.c255 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_freemap_alloc()
981 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_freemap_adjust()
H A Dhammer2_vfsops.c1792 hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_unmount_helper()
1793 hammer2_chain_lock(&hmp->fchain, HAMMER2_RESOLVE_ALWAYS); in hammer2_unmount_helper()
2194 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_recovery()
2240 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_recovery_scan()
2253 hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS); in hammer2_recovery_scan()
H A Dhammer2_cluster.c257 hammer2_chain_lock(chain, how); in hammer2_cluster_lock()
H A Dhammer2_xops.c139 hammer2_chain_lock(oparent, HAMMER2_RESOLVE_ALWAYS); in checkdirempty()
140 hammer2_chain_lock(ochain, HAMMER2_RESOLVE_ALWAYS); in checkdirempty()
H A Dhammer2.h1533 int hammer2_chain_lock(hammer2_chain_t *chain, int how);