Lines Matching defs:binder_device
5308 struct binder_device *device;
5315 device = container_of(proc->context, struct binder_device, context);
6053 struct binder_device *binder_dev;
6081 struct binder_device, miscdev);
7048 void binder_add_device(struct binder_device *device)
7054 void binder_remove_device(struct binder_device *device)
7063 struct binder_device *binder_device;
7065 binder_device = kzalloc_obj(*binder_device);
7066 if (!binder_device)
7069 binder_device->miscdev.fops = &binder_fops;
7070 binder_device->miscdev.minor = MISC_DYNAMIC_MINOR;
7071 binder_device->miscdev.name = name;
7073 refcount_set(&binder_device->ref, 1);
7074 binder_device->context.binder_context_mgr_uid = INVALID_UID;
7075 binder_device->context.name = name;
7076 mutex_init(&binder_device->context.context_mgr_node_lock);
7078 ret = misc_register(&binder_device->miscdev);
7080 kfree(binder_device);
7084 binder_add_device(binder_device);
7093 struct binder_device *device;