Lines Matching defs:hd
17 static void header_out(struct dlm_header *hd)
19 hd->h_version = cpu_to_le32(hd->h_version);
20 hd->h_lockspace = cpu_to_le32(hd->h_lockspace);
21 hd->h_nodeid = cpu_to_le32(hd->h_nodeid);
22 hd->h_length = cpu_to_le16(hd->h_length);
25 static void header_in(struct dlm_header *hd)
27 hd->h_version = le32_to_cpu(hd->h_version);
28 hd->h_lockspace = le32_to_cpu(hd->h_lockspace);
29 hd->h_nodeid = le32_to_cpu(hd->h_nodeid);
30 hd->h_length = le16_to_cpu(hd->h_length);
35 struct dlm_header *hd = (struct dlm_header *) ms;
37 header_out(hd);
61 struct dlm_header *hd = (struct dlm_header *) ms;
63 header_in(hd);
129 struct dlm_header *hd = (struct dlm_header *) rc;
132 header_out(hd);
149 struct dlm_header *hd = (struct dlm_header *) rc;
151 header_in(hd);