Lines Matching refs:total_locks
70 int total_locks, u64 cookie,
76 int total_locks);
1099 int total_locks = 0; in dlm_num_locks_in_lockres() local
1105 total_locks++; in dlm_num_locks_in_lockres()
1108 return total_locks; in dlm_num_locks_in_lockres()
1116 int total_locks) in dlm_send_mig_lockres_msg() argument
1119 int mres_total_locks = be32_to_cpu(mres->total_locks); in dlm_send_mig_lockres_msg()
1133 BUG_ON(total_locks > mres_total_locks); in dlm_send_mig_lockres_msg()
1134 if (total_locks == mres_total_locks) in dlm_send_mig_lockres_msg()
1176 int total_locks, u64 cookie, in dlm_init_migratable_lockres() argument
1184 mres->total_locks = cpu_to_be32(total_locks); in dlm_init_migratable_lockres()
1284 int total_locks, i; in dlm_send_one_lockres() local
1293 total_locks = dlm_num_locks_in_lockres(res); in dlm_send_one_lockres()
1294 if (total_locks > DLM_MAX_MIGRATABLE_LOCKS) { in dlm_send_one_lockres()
1298 "migrate\n", total_locks); in dlm_send_one_lockres()
1303 res->lockname.len, total_locks, in dlm_send_one_lockres()
1306 total_locks = 0; in dlm_send_one_lockres()
1311 total_locks++; in dlm_send_one_lockres()
1318 res, total_locks); in dlm_send_one_lockres()
1323 if (total_locks == 0) { in dlm_send_one_lockres()
1332 ret = dlm_send_mig_lockres_msg(dlm, mres, send_to, res, total_locks); in dlm_send_one_lockres()