Searched refs:dlm_config (Results 1 – 10 of 10) sorted by relevance
/fs/dlm/ |
D | config.c | 122 strlcpy(dlm_config.ci_cluster_name, buf, in cluster_cluster_name_store() 123 sizeof(dlm_config.ci_cluster_name)); in cluster_cluster_name_store() 160 return cluster_set(cl, &cl->cl_##name, &dlm_config.ci_##name, \ 395 cl->cl_tcp_port = dlm_config.ci_tcp_port; in make_cluster() 396 cl->cl_buffer_size = dlm_config.ci_buffer_size; in make_cluster() 397 cl->cl_rsbtbl_size = dlm_config.ci_rsbtbl_size; in make_cluster() 398 cl->cl_recover_timer = dlm_config.ci_recover_timer; in make_cluster() 399 cl->cl_toss_secs = dlm_config.ci_toss_secs; in make_cluster() 400 cl->cl_scan_secs = dlm_config.ci_scan_secs; in make_cluster() 401 cl->cl_log_debug = dlm_config.ci_log_debug; in make_cluster() [all …]
|
D | lockspace.c | 258 dlm_config.ci_scan_secs * HZ)) { in find_ls_to_scan() 285 schedule_timeout_interruptible(dlm_config.ci_scan_secs * HZ); in dlm_scand() 439 if (!dlm_config.ci_recover_callbacks) in new_lockspace() 447 dlm_config.ci_cluster_name); in new_lockspace() 449 if (dlm_config.ci_recover_callbacks && cluster && in new_lockspace() 450 strncmp(cluster, dlm_config.ci_cluster_name, DLM_LOCKSPACE_LEN)) { in new_lockspace() 453 dlm_config.ci_cluster_name, cluster); in new_lockspace() 493 if (ops && dlm_config.ci_recover_callbacks) { in new_lockspace() 506 size = dlm_config.ci_rsbtbl_size; in new_lockspace() 575 ls->ls_recover_buf = kmalloc(dlm_config.ci_buffer_size, GFP_NOFS); in new_lockspace()
|
D | lowcomms.c | 189 con->rx_buflen = dlm_config.ci_buffer_size; in nodeid2con() 696 buflen = dlm_config.ci_buffer_size; in receive_from_sock() 840 othercon->rx_buflen = dlm_config.ci_buffer_size; in accept_from_sock() 1007 make_sockaddr(&daddr, dlm_config.ci_tcp_port, &addr_len); in sctp_connect_to_sock() 1110 make_sockaddr(&saddr, dlm_config.ci_tcp_port, &addr_len); in tcp_connect_to_sock() 1172 sock_set_mark(sock->sk, dlm_config.ci_mark); in tcp_create_listen_sock() 1187 make_sockaddr(saddr, dlm_config.ci_tcp_port, &addr_len); in tcp_create_listen_sock() 1190 log_print("Can't bind to port %d", dlm_config.ci_tcp_port); in tcp_create_listen_sock() 1200 log_print("Can't listen on port %d", dlm_config.ci_tcp_port); in tcp_create_listen_sock() 1256 sock_set_mark(sock->sk, dlm_config.ci_mark); in sctp_listen_for_all() [all …]
|
D | dlm_internal.h | 68 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) \
|
D | config.h | 44 extern struct dlm_config_info dlm_config;
|
D | rcom.c | 165 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()
|
D | lock.c | 368 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() 1687 dlm_config.ci_toss_secs * HZ)) { in shrink_bucket() 1768 dlm_config.ci_toss_secs * HZ)) { in shrink_bucket() 1880 wait_us >= dlm_config.ci_timewarn_cs * 10000) in dlm_scan_timeout() 1935 if (!dlm_config.ci_waitwarn_us) in dlm_adjust_timeouts() [all …]
|
D | member.c | 273 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) - in dlm_slots_assign()
|
D | recover.c | 50 dlm_config.ci_recover_timer * HZ); in dlm_wait_function()
|
D | user.c | 405 error = dlm_new_lockspace(params->name, dlm_config.ci_cluster_name, params->flags, in device_create_lockspace()
|