Lines Matching refs:object
257 usif_object_dtor(struct usif_object *object) in usif_object_dtor() argument
259 list_del(&object->head); in usif_object_dtor()
260 kfree(object); in usif_object_dtor()
271 struct usif_object *object; in usif_object_new() local
274 if (!(object = kmalloc(sizeof(*object), GFP_KERNEL))) in usif_object_new()
276 list_add(&object->head, &cli->objects); in usif_object_new()
279 object->route = args->v0.route; in usif_object_new()
280 object->token = args->v0.token; in usif_object_new()
282 args->v0.token = (unsigned long)(void *)object; in usif_object_new()
284 args->v0.token = object->token; in usif_object_new()
285 args->v0.route = object->route; in usif_object_new()
289 usif_object_dtor(object); in usif_object_new()
303 struct usif_object *object; in usif_ioctl() local
343 object = (void *)(unsigned long)argv->v0.token; in usif_ioctl()
344 argv->v0.route = object->route; in usif_ioctl()
345 argv->v0.token = object->token; in usif_ioctl()
347 list_del(&object->head); in usif_ioctl()
348 kfree(object); in usif_ioctl()
367 struct usif_object *object, *otemp; in usif_client_fini() local
374 list_for_each_entry_safe(object, otemp, &cli->objects, head) { in usif_client_fini()
375 usif_object_dtor(object); in usif_client_fini()