Searched refs:ioctl_arg (Results 1 – 5 of 5) sorted by relevance
361 union acpi_battery_ioctl_arg *ioctl_arg; in acpi_battery_ioctl() 365 /* For commands that use the ioctl_arg struct, validate it first. */ in acpi_battery_ioctl() 369 ioctl_arg = NULL; in acpi_battery_ioctl() 372 ioctl_arg = (union acpi_battery_ioctl_arg *)addr; in acpi_battery_ioctl() 373 unit = ioctl_arg->unit; in acpi_battery_ioctl() 391 bzero(&ioctl_arg->battinfo, sizeof(ioctl_arg->battinfo)); in acpi_battery_ioctl() 392 error = acpi_battery_get_battinfo(dev, &ioctl_arg->battinfo); in acpi_battery_ioctl() 397 bzero(&ioctl_arg->bif, sizeof(ioctl_arg in acpi_battery_ioctl() 354 union acpi_battery_ioctl_arg *ioctl_arg; acpi_battery_ioctl() local [all...]
1085 struct blkpg_ioctl_arg ioctl_arg; in call_blkpg_ioctl() local1102 ioctl_arg.op = command; in call_blkpg_ioctl()1103 ioctl_arg.flags = 0; in call_blkpg_ioctl()1104 ioctl_arg.datalen = sizeof (struct blkpg_partition); in call_blkpg_ioctl()1105 ioctl_arg.data = &linux_part; in call_blkpg_ioctl()1107 return (ioctl(fd, BLKPG, &ioctl_arg)); in call_blkpg_ioctl()
148 IOCTL_ARG ioctl_arg; member
149 IOCTL_ARG ioctl_arg; member