Lines Matching refs:total_locks
70 int total_locks, u64 cookie,
76 int total_locks);
1106 int total_locks = 0; in dlm_num_locks_in_lockres() local
1112 total_locks++; in dlm_num_locks_in_lockres()
1115 return total_locks; in dlm_num_locks_in_lockres()
1123 int total_locks) in dlm_send_mig_lockres_msg() argument
1126 int mres_total_locks = be32_to_cpu(mres->total_locks); in dlm_send_mig_lockres_msg()
1140 BUG_ON(total_locks > mres_total_locks); in dlm_send_mig_lockres_msg()
1141 if (total_locks == mres_total_locks) in dlm_send_mig_lockres_msg()
1183 int total_locks, u64 cookie, in dlm_init_migratable_lockres() argument
1191 mres->total_locks = cpu_to_be32(total_locks); in dlm_init_migratable_lockres()
1291 int total_locks, i; in dlm_send_one_lockres() local
1300 total_locks = dlm_num_locks_in_lockres(res); in dlm_send_one_lockres()
1301 if (total_locks > DLM_MAX_MIGRATABLE_LOCKS) { in dlm_send_one_lockres()
1305 "migrate\n", total_locks); in dlm_send_one_lockres()
1310 res->lockname.len, total_locks, in dlm_send_one_lockres()
1313 total_locks = 0; in dlm_send_one_lockres()
1318 total_locks++; in dlm_send_one_lockres()
1325 res, total_locks); in dlm_send_one_lockres()
1330 if (total_locks == 0) { in dlm_send_one_lockres()
1339 ret = dlm_send_mig_lockres_msg(dlm, mres, send_to, res, total_locks); in dlm_send_one_lockres()