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