Searched refs:dlm_config (Results 1 – 9 of 9) sorted by relevance
/fs/dlm/ |
D | config.c | 147 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_lkbtbl_size = dlm_config.ci_lkbtbl_size; in make_cluster() 434 cl->cl_dirtbl_size = dlm_config.ci_dirtbl_size; in make_cluster() 435 cl->cl_recover_timer = dlm_config.ci_recover_timer; in make_cluster() 436 cl->cl_toss_secs = dlm_config.ci_toss_secs; in make_cluster() 437 cl->cl_scan_secs = dlm_config.ci_scan_secs; in make_cluster() 438 cl->cl_log_debug = dlm_config.ci_log_debug; in make_cluster() [all …]
|
D | midcomms.c | 95 if (msglen > dlm_config.ci_buffer_size) { in dlm_process_incoming_buffer() 115 p = kmalloc(dlm_config.ci_buffer_size, GFP_NOFS); in dlm_process_incoming_buffer()
|
D | rcom.c | 149 memset(ls->ls_recover_buf, 0, dlm_config.ci_buffer_size); in dlm_rcom_status() 213 int max_size = dlm_config.ci_buffer_size - sizeof(struct dlm_rcom); in dlm_rcom_names() 219 dlm_config.ci_buffer_size; in dlm_rcom_names() 232 memset(ls->ls_recover_buf, 0, dlm_config.ci_buffer_size); in dlm_rcom_names() 250 outlen = dlm_config.ci_buffer_size - sizeof(struct dlm_rcom); in receive_rcom_names()
|
D | lockspace.c | 222 dlm_config.ci_scan_secs * HZ)) { in find_ls_to_scan() 234 int timeout_jiffies = dlm_config.ci_scan_secs * HZ; in dlm_scand() 458 size = dlm_config.ci_rsbtbl_size; in new_lockspace() 470 size = dlm_config.ci_lkbtbl_size; in new_lockspace() 482 size = dlm_config.ci_dirtbl_size; in new_lockspace() 532 ls->ls_recover_buf = kmalloc(dlm_config.ci_buffer_size, GFP_KERNEL); in new_lockspace()
|
D | lowcomms.c | 810 make_sockaddr(&rem_addr, dlm_config.ci_tcp_port, &addrlen); in sctp_init_assoc() 914 make_sockaddr(&saddr, dlm_config.ci_tcp_port, &addr_len); in tcp_connect_to_sock() 978 make_sockaddr(saddr, dlm_config.ci_tcp_port, &addr_len); in tcp_create_listen_sock() 981 log_print("Can't bind to port %d", dlm_config.ci_tcp_port); in tcp_create_listen_sock() 995 log_print("Can't listen on port %d", dlm_config.ci_tcp_port); in tcp_create_listen_sock() 1043 dlm_config.ci_tcp_port, num); in add_sctp_bind_addr() 1101 make_sockaddr(&localaddr, dlm_config.ci_tcp_port, &addr_len); in sctp_listen_for_all() 1468 if (dlm_config.ci_protocol == 0) in dlm_lowcomms_start()
|
D | config.h | 33 extern struct dlm_config_info dlm_config;
|
D | recover.c | 47 mod_timer(&ls->ls_timer, jiffies + (dlm_config.ci_recover_timer * HZ)); in dlm_wait_timer_fn() 58 ls->ls_timer.expires = jiffies + (dlm_config.ci_recover_timer * HZ); in dlm_wait_function()
|
D | dlm_internal.h | 72 if (dlm_config.ci_log_debug) \
|
D | lock.c | 974 dlm_config.ci_toss_secs * HZ)) in shrink_bucket() 1080 wait_us >= dlm_config.ci_timewarn_cs * 10000) in dlm_scan_timeout() 3877 if (dlm_config.ci_log_debug) in dlm_receive_buffer()
|