Lines Matching refs:tmpmle
328 struct dlm_master_list_entry *tmpmle; in dlm_find_mle() local
336 hlist_for_each_entry(tmpmle, bucket, master_hash_node) { in dlm_find_mle()
337 if (!dlm_mle_equal(dlm, tmpmle, name, namelen)) in dlm_find_mle()
339 dlm_get_mle(tmpmle); in dlm_find_mle()
340 *mle = tmpmle; in dlm_find_mle()
1409 struct dlm_master_list_entry *mle = NULL, *tmpmle = NULL; in dlm_master_request_handler() local
1500 found = dlm_find_mle(dlm, &tmpmle, name, namelen); in dlm_master_request_handler()
1506 spin_lock(&tmpmle->spinlock); in dlm_master_request_handler()
1507 if (tmpmle->type == DLM_MLE_BLOCK) { in dlm_master_request_handler()
1511 } else if (tmpmle->type == DLM_MLE_MIGRATION) { in dlm_master_request_handler()
1513 "node %u.\n", tmpmle->master, tmpmle->new_master); in dlm_master_request_handler()
1514 if (tmpmle->master == dlm->node_num) { in dlm_master_request_handler()
1517 tmpmle->new_master); in dlm_master_request_handler()
1523 } else if (tmpmle->master != DLM_LOCK_RES_OWNER_UNKNOWN) { in dlm_master_request_handler()
1525 if (tmpmle->master == dlm->node_num) { in dlm_master_request_handler()
1541 set_bit(request->node_idx, tmpmle->maybe_map); in dlm_master_request_handler()
1542 spin_unlock(&tmpmle->spinlock); in dlm_master_request_handler()
1548 dlm_put_mle(tmpmle); in dlm_master_request_handler()
1561 found = dlm_find_mle(dlm, &tmpmle, name, namelen); in dlm_master_request_handler()
1585 spin_lock(&tmpmle->spinlock); in dlm_master_request_handler()
1586 if (tmpmle->master == dlm->node_num) { in dlm_master_request_handler()
1590 if (tmpmle->type == DLM_MLE_BLOCK) in dlm_master_request_handler()
1592 else if (tmpmle->type == DLM_MLE_MIGRATION) { in dlm_master_request_handler()
1594 tmpmle->master, tmpmle->new_master); in dlm_master_request_handler()
1599 set_bit(request->node_idx, tmpmle->maybe_map); in dlm_master_request_handler()
1600 spin_unlock(&tmpmle->spinlock); in dlm_master_request_handler()
1607 dlm_put_mle(tmpmle); in dlm_master_request_handler()