Searched refs:hd (Results 1 – 2 of 2) sorted by relevance
25 static void header_out(struct dlm_header *hd) in header_out() argument27 hd->h_version = cpu_to_le32(hd->h_version); in header_out()28 hd->h_lockspace = cpu_to_le32(hd->h_lockspace); in header_out()29 hd->h_nodeid = cpu_to_le32(hd->h_nodeid); in header_out()30 hd->h_length = cpu_to_le16(hd->h_length); in header_out()33 static void header_in(struct dlm_header *hd) in header_in() argument35 hd->h_version = le32_to_cpu(hd->h_version); in header_in()36 hd->h_lockspace = le32_to_cpu(hd->h_lockspace); in header_in()37 hd->h_nodeid = le32_to_cpu(hd->h_nodeid); in header_in()38 hd->h_length = le16_to_cpu(hd->h_length); in header_in()
5019 struct dlm_header *hd = &p->header; in dlm_receive_buffer() local5023 switch (hd->h_cmd) { in dlm_receive_buffer()5033 log_print("invalid h_cmd %d from %u", hd->h_cmd, nodeid); in dlm_receive_buffer()5037 if (hd->h_nodeid != nodeid) { in dlm_receive_buffer()5039 hd->h_nodeid, nodeid, hd->h_lockspace); in dlm_receive_buffer()5043 ls = dlm_find_lockspace_global(hd->h_lockspace); in dlm_receive_buffer()5048 hd->h_lockspace, nodeid, hd->h_cmd, type); in dlm_receive_buffer()5051 if (hd->h_cmd == DLM_RCOM && type == DLM_RCOM_STATUS) in dlm_receive_buffer()5060 if (hd->h_cmd == DLM_MSG) in dlm_receive_buffer()