Lines Matching refs:object
43 usif_object_dtor(struct usif_object *object) in usif_object_dtor() argument
45 list_del(&object->head); in usif_object_dtor()
46 kfree(object); in usif_object_dtor()
57 struct usif_object *object; in usif_object_new() local
85 if (!(object = kmalloc(sizeof(*object), GFP_KERNEL))) in usif_object_new()
87 list_add(&object->head, &cli->objects); in usif_object_new()
89 object->route = args->v0.route; in usif_object_new()
90 object->token = args->v0.token; in usif_object_new()
92 args->v0.token = (unsigned long)(void *)object; in usif_object_new()
95 usif_object_dtor(object); in usif_object_new()
99 args->v0.token = object->token; in usif_object_new()
100 args->v0.route = object->route; in usif_object_new()
114 struct usif_object *object; in usif_ioctl() local
127 if (argv->v0.object == 0ULL && in usif_ioctl()
159 object = (void *)(unsigned long)argv->v0.token; in usif_ioctl()
160 argv->v0.route = object->route; in usif_ioctl()
161 argv->v0.token = object->token; in usif_ioctl()
163 list_del(&object->head); in usif_ioctl()
164 kfree(object); in usif_ioctl()
183 struct usif_object *object, *otemp; in usif_client_fini() local
185 list_for_each_entry_safe(object, otemp, &cli->objects, head) { in usif_client_fini()
186 usif_object_dtor(object); in usif_client_fini()