Home
last modified time | relevance | path

Searched refs:dlm_config (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/fs/dlm/
Dconfig.c117 strlcpy(dlm_config.ci_cluster_name, buf, in cluster_cluster_name_store()
118 sizeof(dlm_config.ci_cluster_name)); in cluster_cluster_name_store()
152 return cluster_set(cl, &cl->cl_##name, &dlm_config.ci_##name, \
363 cl->cl_tcp_port = dlm_config.ci_tcp_port; in make_cluster()
364 cl->cl_buffer_size = dlm_config.ci_buffer_size; in make_cluster()
365 cl->cl_rsbtbl_size = dlm_config.ci_rsbtbl_size; in make_cluster()
366 cl->cl_recover_timer = dlm_config.ci_recover_timer; in make_cluster()
367 cl->cl_toss_secs = dlm_config.ci_toss_secs; in make_cluster()
368 cl->cl_scan_secs = dlm_config.ci_scan_secs; in make_cluster()
369 cl->cl_log_debug = dlm_config.ci_log_debug; in make_cluster()
[all …]
Dlockspace.c268 dlm_config.ci_scan_secs * HZ)) { in find_ls_to_scan()
295 schedule_timeout_interruptible(dlm_config.ci_scan_secs * HZ); in dlm_scand()
449 if (!dlm_config.ci_recover_callbacks) in new_lockspace()
457 dlm_config.ci_cluster_name); in new_lockspace()
459 if (dlm_config.ci_recover_callbacks && cluster && in new_lockspace()
460 strncmp(cluster, dlm_config.ci_cluster_name, DLM_LOCKSPACE_LEN)) { in new_lockspace()
463 dlm_config.ci_cluster_name, cluster); in new_lockspace()
503 if (ops && dlm_config.ci_recover_callbacks) { in new_lockspace()
516 size = dlm_config.ci_rsbtbl_size; in new_lockspace()
585 ls->ls_recover_buf = kmalloc(dlm_config.ci_buffer_size, GFP_NOFS); in new_lockspace()
Dmidcomms.c93 if (msglen > dlm_config.ci_buffer_size) { in dlm_process_incoming_buffer()
113 p = kmalloc(dlm_config.ci_buffer_size, GFP_NOFS); in dlm_process_incoming_buffer()
Ddlm_internal.h68 if (dlm_config.ci_log_info) \
71 else if (dlm_config.ci_log_debug) \
78 if (dlm_config.ci_log_debug) \
85 if (dlm_config.ci_log_debug) \
Dconfig.h41 extern struct dlm_config_info dlm_config;
Dlowcomms.c496 con->nodeid, dlm_config.ci_tcp_port, in lowcomms_error_report()
505 dlm_config.ci_tcp_port, sk->sk_err, in lowcomms_error_report()
517 dlm_config.ci_tcp_port, sk->sk_err, in lowcomms_error_report()
1077 make_sockaddr(&daddr, dlm_config.ci_tcp_port, &addr_len); in sctp_connect_to_sock()
1179 make_sockaddr(&saddr, dlm_config.ci_tcp_port, &addr_len); in tcp_connect_to_sock()
1261 make_sockaddr(saddr, dlm_config.ci_tcp_port, &addr_len); in tcp_create_listen_sock()
1264 log_print("Can't bind to port %d", dlm_config.ci_tcp_port); in tcp_create_listen_sock()
1278 log_print("Can't listen on port %d", dlm_config.ci_tcp_port); in tcp_create_listen_sock()
1349 if (sctp_bind_addrs(con, dlm_config.ci_tcp_port)) in sctp_listen_for_all()
1767 if (dlm_config.ci_protocol == 0) in dlm_lowcomms_start()
Drcom.c165 memset(ls->ls_recover_buf, 0, dlm_config.ci_buffer_size); in dlm_rcom_status()
287 memset(ls->ls_recover_buf, 0, dlm_config.ci_buffer_size); in dlm_rcom_names()
307 outlen = dlm_config.ci_buffer_size - sizeof(struct dlm_rcom); in receive_rcom_names()
Dlock.c368 if (ls->ls_new_rsb_count > dlm_config.ci_new_rsb_count / 2) { in pre_rsb_struct()
409 count, dlm_config.ci_new_rsb_count, name); in get_rsb_struct()
1403 if (!dlm_config.ci_waitwarn_us) in dlm_scan_waiters()
1416 if (us < dlm_config.ci_waitwarn_us) in dlm_scan_waiters()
1436 dlm_config.ci_waitwarn_us, lkb->lkb_wait_nodeid); in dlm_scan_waiters()
1444 dlm_config.ci_waitwarn_us, (long long)debug_maxus); in dlm_scan_waiters()
1685 dlm_config.ci_toss_secs * HZ)) { in shrink_bucket()
1766 dlm_config.ci_toss_secs * HZ)) { in shrink_bucket()
1878 wait_us >= dlm_config.ci_timewarn_cs * 10000) in dlm_scan_timeout()
1932 if (!dlm_config.ci_waitwarn_us) in dlm_adjust_timeouts()
[all …]
Dmember.c273 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) - in dlm_slots_assign()
Drecover.c50 dlm_config.ci_recover_timer * HZ); in dlm_wait_function()
Duser.c405 error = dlm_new_lockspace(params->name, dlm_config.ci_cluster_name, params->flags, in device_create_lockspace()