Lines Matching defs:hdr
1203 struct rdma_ucm_cmd_hdr hdr;
1206 if (len < sizeof(hdr))
1209 if (copy_from_user(&hdr, buf, sizeof(hdr)))
1212 if (hdr.cmd < 0 || hdr.cmd >= ARRAY_SIZE(ucma_cmd_table))
1215 if (hdr.in + sizeof(hdr) > len)
1218 if (!ucma_cmd_table[hdr.cmd])
1221 ret = ucma_cmd_table[hdr.cmd](file, buf + sizeof(hdr), hdr.in, hdr.out);