Searched refs:dlm_config (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/fs/dlm/ |
D | config.c | 125 strlcpy(dlm_config.ci_cluster_name, buf, in cluster_cluster_name_store() 126 sizeof(dlm_config.ci_cluster_name)); in cluster_cluster_name_store() 163 return cluster_set(cl, &cl->cl_##name, &dlm_config.ci_##name, \ 430 cl->cl_tcp_port = dlm_config.ci_tcp_port; in make_cluster() 431 cl->cl_buffer_size = dlm_config.ci_buffer_size; in make_cluster() 432 cl->cl_rsbtbl_size = dlm_config.ci_rsbtbl_size; in make_cluster() 433 cl->cl_recover_timer = dlm_config.ci_recover_timer; in make_cluster() 434 cl->cl_toss_secs = dlm_config.ci_toss_secs; in make_cluster() 435 cl->cl_scan_secs = dlm_config.ci_scan_secs; in make_cluster() 436 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() 284 schedule_timeout_interruptible(dlm_config.ci_scan_secs * HZ); in dlm_scand() 432 if (!dlm_config.ci_recover_callbacks) in new_lockspace() 440 dlm_config.ci_cluster_name); in new_lockspace() 442 if (dlm_config.ci_recover_callbacks && cluster && in new_lockspace() 443 strncmp(cluster, dlm_config.ci_cluster_name, DLM_LOCKSPACE_LEN)) { in new_lockspace() 446 dlm_config.ci_cluster_name, cluster); in new_lockspace() 487 if (ops && dlm_config.ci_recover_callbacks) { in new_lockspace() 515 size = READ_ONCE(dlm_config.ci_rsbtbl_size); in new_lockspace()
|
D | dlm_internal.h | 65 if (dlm_config.ci_log_info) \ 68 else if (dlm_config.ci_log_debug) \ 75 if (dlm_config.ci_log_debug) \ 82 if (dlm_config.ci_log_debug) \
|
D | config.h | 48 extern struct dlm_config_info dlm_config;
|
D | lowcomms.c | 250 con->rx_buflen = dlm_config.ci_buffer_size; in dlm_con_init() 478 new_node->mark = dlm_config.ci_mark; in dlm_lowcomms_addr() 924 buflen = dlm_config.ci_buffer_size; in receive_from_sock() 1593 make_sockaddr(&addr, dlm_config.ci_tcp_port, &addr_len); in dlm_connect() 1813 sock_set_mark(sock->sk, dlm_config.ci_mark); in dlm_listen_for_all() 1902 make_sockaddr(dlm_local_addr[0], dlm_config.ci_tcp_port, &addr_len); in dlm_tcp_listen_bind() 1960 return sctp_bind_addrs(sock, dlm_config.ci_tcp_port); in dlm_sctp_bind_listen() 2006 switch (dlm_config.ci_protocol) { in dlm_lowcomms_start() 2015 dlm_config.ci_protocol); in dlm_lowcomms_start()
|
D | recover.c | 50 dlm_config.ci_recover_timer * HZ); in dlm_wait_function()
|
D | lock.c | 374 if (ls->ls_new_rsb_count > dlm_config.ci_new_rsb_count / 2) { in pre_rsb_struct() 415 count, dlm_config.ci_new_rsb_count, in get_rsb_struct() 1658 dlm_config.ci_toss_secs * HZ)) { in shrink_bucket() 1739 dlm_config.ci_toss_secs * HZ)) { in shrink_bucket() 1853 wait_us >= dlm_config.ci_timewarn_cs * 10000) in dlm_scan_timeout() 5096 if (dlm_config.ci_log_debug) { in dlm_receive_buffer()
|
D | user.c | 426 error = dlm_new_user_lockspace(params->name, dlm_config.ci_cluster_name, in device_create_lockspace()
|