Lines Matching refs:args
39 } args = { in nvif_notify_put_() local
47 return nvif_object_ioctl(object, &args, sizeof(args), NULL); in nvif_notify_put_()
70 } args = { in nvif_notify_get_() local
78 return nvif_object_ioctl(object, &args, sizeof(args), NULL); in nvif_notify_get_()
117 } *args = header; in nvif_notify() local
120 if (length == sizeof(args->v0) && args->v0.version == 0) { in nvif_notify()
121 if (WARN_ON(args->v0.route)) in nvif_notify()
123 notify = (void *)(unsigned long)args->v0.token; in nvif_notify()
151 } args = { in nvif_notify_fini() local
157 ret = nvif_object_ioctl(object, &args, sizeof(args), NULL); in nvif_notify_fini()
175 } *args; in nvif_notify_init() local
192 if (!(args = kmalloc(sizeof(*args) + size, GFP_KERNEL))) in nvif_notify_init()
194 args->ioctl.version = 0; in nvif_notify_init()
195 args->ioctl.type = NVIF_IOCTL_V0_NTFY_NEW; in nvif_notify_init()
196 args->ntfy.version = 0; in nvif_notify_init()
197 args->ntfy.event = event; in nvif_notify_init()
198 args->req.version = 0; in nvif_notify_init()
199 args->req.reply = notify->size; in nvif_notify_init()
200 args->req.route = 0; in nvif_notify_init()
201 args->req.token = (unsigned long)(void *)notify; in nvif_notify_init()
203 memcpy(args->req.data, data, size); in nvif_notify_init()
204 ret = nvif_object_ioctl(object, args, sizeof(*args) + size, NULL); in nvif_notify_init()
205 notify->index = args->ntfy.index; in nvif_notify_init()
206 kfree(args); in nvif_notify_init()