Lines Matching refs:rc_header
37 rc->rc_header.h_version = cpu_to_le32(DLM_HEADER_MAJOR | DLM_HEADER_MINOR); in _create_rcom()
38 rc->rc_header.u.h_lockspace = cpu_to_le32(ls->ls_global_id); in _create_rcom()
39 rc->rc_header.h_nodeid = cpu_to_le32(dlm_our_nodeid()); in _create_rcom()
40 rc->rc_header.h_length = cpu_to_le16(mb_len); in _create_rcom()
41 rc->rc_header.h_cmd = DLM_RCOM; in _create_rcom()
128 if ((le32_to_cpu(rc->rc_header.h_version) & 0xFFFF0000) != DLM_HEADER_MAJOR) { in check_rcom_config()
131 le32_to_cpu(rc->rc_header.h_version)); in check_rcom_config()
228 int nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_status()
234 if (!dlm_slots_version(&rc_in->rc_header)) { in receive_rcom_status()
291 le32_to_cpu(rc_in->rc_header.h_nodeid), in receive_sync_reply()
297 le16_to_cpu(rc_in->rc_header.h_length)); in receive_sync_reply()
339 nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_names()
340 inlen = le16_to_cpu(rc_in->rc_header.h_length) - in receive_rcom_names()
379 int error, ret_nodeid, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_lookup()
380 int len = le16_to_cpu(rc_in->rc_header.h_length) - in receive_rcom_lookup()
469 int error, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_lock()
505 rc->rc_header.h_version = cpu_to_le32(DLM_HEADER_MAJOR | DLM_HEADER_MINOR); in dlm_send_ls_not_ready()
506 rc->rc_header.u.h_lockspace = rc_in->rc_header.u.h_lockspace; in dlm_send_ls_not_ready()
507 rc->rc_header.h_nodeid = cpu_to_le32(dlm_our_nodeid()); in dlm_send_ls_not_ready()
508 rc->rc_header.h_length = cpu_to_le16(mb_len); in dlm_send_ls_not_ready()
509 rc->rc_header.h_cmd = DLM_RCOM; in dlm_send_ls_not_ready()
635 if (le16_to_cpu(rc->rc_header.h_length) < lock_size) in dlm_receive_rcom()
653 if (le16_to_cpu(rc->rc_header.h_length) < lock_size) in dlm_receive_rcom()