Lines Matching refs:total_locks
53 int total_locks, u64 cookie,
59 int total_locks);
1082 int total_locks = 0; in dlm_num_locks_in_lockres() local
1088 total_locks++; in dlm_num_locks_in_lockres()
1091 return total_locks; in dlm_num_locks_in_lockres()
1099 int total_locks) in dlm_send_mig_lockres_msg() argument
1102 int mres_total_locks = be32_to_cpu(mres->total_locks); in dlm_send_mig_lockres_msg()
1113 BUG_ON(total_locks > mres_total_locks); in dlm_send_mig_lockres_msg()
1114 if (total_locks == mres_total_locks) in dlm_send_mig_lockres_msg()
1157 int total_locks, u64 cookie, in dlm_init_migratable_lockres() argument
1165 mres->total_locks = cpu_to_be32(total_locks); in dlm_init_migratable_lockres()
1265 int total_locks, i; in dlm_send_one_lockres() local
1274 total_locks = dlm_num_locks_in_lockres(res); in dlm_send_one_lockres()
1275 if (total_locks > DLM_MAX_MIGRATABLE_LOCKS) { in dlm_send_one_lockres()
1279 "migrate\n", total_locks); in dlm_send_one_lockres()
1284 res->lockname.len, total_locks, in dlm_send_one_lockres()
1287 total_locks = 0; in dlm_send_one_lockres()
1292 total_locks++; in dlm_send_one_lockres()
1299 res, total_locks); in dlm_send_one_lockres()
1304 if (total_locks == 0) { in dlm_send_one_lockres()
1313 ret = dlm_send_mig_lockres_msg(dlm, mres, send_to, res, total_locks); in dlm_send_one_lockres()