binder_device
struct binder_device *device;
device = container_of(proc->context, struct binder_device, context);
struct binder_device *binder_dev;
struct binder_device, miscdev);
void binder_add_device(struct binder_device *device)
void binder_remove_device(struct binder_device *device)
struct binder_device *binder_device;
binder_device = kzalloc_obj(*binder_device);
if (!binder_device)
binder_device->miscdev.fops = &binder_fops;
binder_device->miscdev.minor = MISC_DYNAMIC_MINOR;
binder_device->miscdev.name = name;
refcount_set(&binder_device->ref, 1);
binder_device->context.binder_context_mgr_uid = INVALID_UID;
binder_device->context.name = name;
mutex_init(&binder_device->context.context_mgr_node_lock);
ret = misc_register(&binder_device->miscdev);
kfree(binder_device);
binder_add_device(binder_device);
struct binder_device *device;
struct binder_device *device = NULL;
struct binder_device *device = inode->i_private;
struct binder_device *device;
void binder_add_device(struct binder_device *device);
void binder_remove_device(struct binder_device *device);
struct binder_device *device;
struct binder_device *device = inode->i_private;
struct binder_device *device;