Lines Matching refs:object
258 usif_object_dtor(struct usif_object *object) in usif_object_dtor() argument
260 list_del(&object->head); in usif_object_dtor()
261 kfree(object); in usif_object_dtor()
272 struct usif_object *object; in usif_object_new() local
275 if (!(object = kmalloc(sizeof(*object), GFP_KERNEL))) in usif_object_new()
277 list_add(&object->head, &cli->objects); in usif_object_new()
280 object->route = args->v0.route; in usif_object_new()
281 object->token = args->v0.token; in usif_object_new()
283 args->v0.token = (unsigned long)(void *)object; in usif_object_new()
285 args->v0.token = object->token; in usif_object_new()
286 args->v0.route = object->route; in usif_object_new()
290 usif_object_dtor(object); in usif_object_new()
304 struct usif_object *object; in usif_ioctl() local
316 if (argv->v0.object == 0ULL) in usif_ioctl()
357 object = (void *)(unsigned long)argv->v0.token; in usif_ioctl()
358 argv->v0.route = object->route; in usif_ioctl()
359 argv->v0.token = object->token; in usif_ioctl()
361 list_del(&object->head); in usif_ioctl()
362 kfree(object); in usif_ioctl()
381 struct usif_object *object, *otemp; in usif_client_fini() local
388 list_for_each_entry_safe(object, otemp, &cli->objects, head) { in usif_client_fini()
389 usif_object_dtor(object); in usif_client_fini()