Searched refs:dlm_config (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/fs/dlm/ |
D | config.c | 119 strscpy(dlm_config.ci_cluster_name, buf, in cluster_cluster_name_store() 120 sizeof(dlm_config.ci_cluster_name)); in cluster_cluster_name_store() 157 return cluster_set(cl, &cl->cl_##name, &dlm_config.ci_##name, \ 418 cl->cl_tcp_port = dlm_config.ci_tcp_port; in make_cluster() 419 cl->cl_buffer_size = dlm_config.ci_buffer_size; in make_cluster() 420 cl->cl_rsbtbl_size = dlm_config.ci_rsbtbl_size; in make_cluster() 421 cl->cl_recover_timer = dlm_config.ci_recover_timer; in make_cluster() 422 cl->cl_toss_secs = dlm_config.ci_toss_secs; in make_cluster() 423 cl->cl_scan_secs = dlm_config.ci_scan_secs; in make_cluster() 424 cl->cl_log_debug = dlm_config.ci_log_debug; in make_cluster() [all …]
|
D | lockspace.c | 257 dlm_config.ci_scan_secs * HZ)) { in find_ls_to_scan() 282 schedule_timeout_interruptible(dlm_config.ci_scan_secs * HZ); in dlm_scand() 430 if (!dlm_config.ci_recover_callbacks) in new_lockspace() 438 dlm_config.ci_cluster_name); in new_lockspace() 440 if (dlm_config.ci_recover_callbacks && cluster && in new_lockspace() 441 strncmp(cluster, dlm_config.ci_cluster_name, DLM_LOCKSPACE_LEN)) { in new_lockspace() 444 dlm_config.ci_cluster_name, cluster); in new_lockspace() 485 if (ops && dlm_config.ci_recover_callbacks) { in new_lockspace() 495 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 | 45 extern struct dlm_config_info dlm_config;
|
D | lowcomms.c | 476 con->mark = dlm_config.ci_mark; in dlm_lowcomms_addr() 651 if (dlm_config.ci_protocol == DLM_PROTO_SCTP) in add_sock() 1491 buflen = READ_ONCE(dlm_config.ci_buffer_size); in process_recv_sockets() 1581 make_sockaddr(&addr, dlm_config.ci_tcp_port, &addr_len); in dlm_connect() 1764 sock_set_mark(sock->sk, dlm_config.ci_mark); in dlm_listen_for_all() 1852 make_sockaddr(&dlm_local_addr[0], dlm_config.ci_tcp_port, &addr_len); in dlm_tcp_listen_bind() 1902 return sctp_bind_addrs(sock, dlm_config.ci_tcp_port); in dlm_sctp_bind_listen() 1940 switch (dlm_config.ci_protocol) { in dlm_lowcomms_start() 1949 dlm_config.ci_protocol); in dlm_lowcomms_start()
|
D | recover.c | 50 dlm_config.ci_recover_timer * HZ); in dlm_wait_function()
|
D | user.c | 431 error = dlm_new_user_lockspace(params->name, dlm_config.ci_cluster_name, in device_create_lockspace()
|
D | lock.c | 362 if (ls->ls_new_rsb_count > dlm_config.ci_new_rsb_count / 2) { in pre_rsb_struct() 403 count, dlm_config.ci_new_rsb_count, in get_rsb_struct() 1611 dlm_config.ci_toss_secs * HZ)) { in shrink_bucket() 1687 dlm_config.ci_toss_secs * HZ)) { in shrink_bucket() 4815 if (dlm_config.ci_log_debug) { in dlm_receive_buffer()
|