Lines Matching refs:total_locks
55 int total_locks, u64 cookie,
61 int total_locks);
1091 int total_locks = 0; in dlm_num_locks_in_lockres() local
1097 total_locks++; in dlm_num_locks_in_lockres()
1100 return total_locks; in dlm_num_locks_in_lockres()
1108 int total_locks) in dlm_send_mig_lockres_msg() argument
1111 int mres_total_locks = be32_to_cpu(mres->total_locks); in dlm_send_mig_lockres_msg()
1122 BUG_ON(total_locks > mres_total_locks); in dlm_send_mig_lockres_msg()
1123 if (total_locks == mres_total_locks) in dlm_send_mig_lockres_msg()
1166 int total_locks, u64 cookie, in dlm_init_migratable_lockres() argument
1174 mres->total_locks = cpu_to_be32(total_locks); in dlm_init_migratable_lockres()
1274 int total_locks, i; in dlm_send_one_lockres() local
1283 total_locks = dlm_num_locks_in_lockres(res); in dlm_send_one_lockres()
1284 if (total_locks > DLM_MAX_MIGRATABLE_LOCKS) { in dlm_send_one_lockres()
1288 "migrate\n", total_locks); in dlm_send_one_lockres()
1293 res->lockname.len, total_locks, in dlm_send_one_lockres()
1296 total_locks = 0; in dlm_send_one_lockres()
1301 total_locks++; in dlm_send_one_lockres()
1308 res, total_locks); in dlm_send_one_lockres()
1313 if (total_locks == 0) { in dlm_send_one_lockres()
1322 ret = dlm_send_mig_lockres_msg(dlm, mres, send_to, res, total_locks); in dlm_send_one_lockres()