Lines Matching defs:hdr
3425 * @hdr: pointer to kernel memory for pmcraid_ioctl_header
3435 struct pmcraid_ioctl_header *hdr
3440 if (copy_from_user(hdr, arg, sizeof(struct pmcraid_ioctl_header))) {
3446 rc = memcmp(hdr->signature,
3448 sizeof(hdr->signature));
3467 struct pmcraid_ioctl_header *hdr = NULL;
3471 hdr = kmalloc(sizeof(struct pmcraid_ioctl_header), GFP_KERNEL);
3473 if (!hdr) {
3478 retval = pmcraid_check_ioctl_buffer(cmd, argp, hdr);
3482 kfree(hdr);
3490 kfree(hdr);
3499 hdr->buffer_length, argp);
3507 kfree(hdr);