hammer2_chain_lock
int hammer2_chain_lock(hammer2_chain_t *chain, int how);
hammer2_chain_lock(live_parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS |
hammer2_chain_lock(parent,
hammer2_chain_lock(chain,
hammer2_chain_lock(chain, how);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS |
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
if (hammer2_chain_lock(parent, flags|HAMMER2_RESOLVE_NONBLOCK) == 0)
hammer2_chain_lock(parent, flags);
hammer2_chain_lock(chain, flags);
if (hammer2_chain_lock(parent, flags|HAMMER2_RESOLVE_NONBLOCK) == 0) {
hammer2_chain_lock(parent, flags);
hammer2_chain_lock(chain, how_maybe);
hammer2_chain_lock(parent, how_always |
hammer2_chain_lock(chain, how_maybe);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(ichain, HAMMER2_RESOLVE_MAYBE);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_NEVER);
hammer2_chain_lock(sub, HAMMER2_RESOLVE_NEVER);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_SHARED);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(child, HAMMER2_RESOLVE_MAYBE);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_MAYBE);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(&hmp->fchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_MAYBE);
hammer2_chain_lock(&hmp->fchain,
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(parent, how);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(nchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(nchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_SHARED |
hammer2_chain_lock(*parentp, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(*parentp, HAMMER2_RESOLVE_SHARED |
hammer2_chain_lock(chain, HAMMER2_RESOLVE_SHARED |
hammer2_chain_lock(*parentp, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_NEVER);
hammer2_chain_lock(*parentp, HAMMER2_RESOLVE_SHARED |
hammer2_chain_lock(chain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(&hmp->fchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(oparent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(ochain, HAMMER2_RESOLVE_ALWAYS);
int hammer2_chain_lock(hammer2_chain_t *chain, int how);
hammer2_chain_lock(live_parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS |
hammer2_chain_lock(parent,
hammer2_chain_lock(chain,
hammer2_chain_lock(chain, how);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS |
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
if (hammer2_chain_lock(parent, flags|HAMMER2_RESOLVE_NONBLOCK) == 0)
hammer2_chain_lock(parent, flags);
hammer2_chain_lock(chain, flags);
if (hammer2_chain_lock(parent, flags|HAMMER2_RESOLVE_NONBLOCK) == 0) {
hammer2_chain_lock(parent, flags);
hammer2_chain_lock(chain, how_maybe);
hammer2_chain_lock(parent, how_always |
hammer2_chain_lock(chain, how_maybe);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(ichain, HAMMER2_RESOLVE_MAYBE);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_NEVER);
hammer2_chain_lock(sub, HAMMER2_RESOLVE_NEVER);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_SHARED);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(child, HAMMER2_RESOLVE_MAYBE);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_MAYBE);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(&hmp->fchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_MAYBE);
hammer2_chain_lock(&hmp->fchain,
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(parent, how);
hammer2_chain_lock(chain, how);
hammer2_chain_lock(nchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(chain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(nchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(&hmp->vchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(&hmp->fchain, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(parent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(oparent, HAMMER2_RESOLVE_ALWAYS);
hammer2_chain_lock(ochain, HAMMER2_RESOLVE_ALWAYS);