mdi 44 drivers/media/mc/mc-dev-allocator.c struct media_device_instance *mdi = mdi 47 drivers/media/mc/mc-dev-allocator.c dev_dbg(mdi->mdev.dev, "%s: releasing Media Device\n", __func__); mdi 51 drivers/media/mc/mc-dev-allocator.c media_device_unregister(&mdi->mdev); mdi 52 drivers/media/mc/mc-dev-allocator.c media_device_cleanup(&mdi->mdev); mdi 54 drivers/media/mc/mc-dev-allocator.c list_del(&mdi->list); mdi 57 drivers/media/mc/mc-dev-allocator.c kfree(mdi); mdi 65 drivers/media/mc/mc-dev-allocator.c struct media_device_instance *mdi; mdi 67 drivers/media/mc/mc-dev-allocator.c list_for_each_entry(mdi, &media_device_list, list) { mdi 68 drivers/media/mc/mc-dev-allocator.c if (mdi->mdev.dev != dev) mdi 71 drivers/media/mc/mc-dev-allocator.c kref_get(&mdi->refcount); mdi 74 drivers/media/mc/mc-dev-allocator.c if (owner != mdi->owner && !try_module_get(mdi->owner)) mdi 81 drivers/media/mc/mc-dev-allocator.c return &mdi->mdev; mdi 84 drivers/media/mc/mc-dev-allocator.c mdi = kzalloc(sizeof(*mdi), GFP_KERNEL); mdi 85 drivers/media/mc/mc-dev-allocator.c if (!mdi) mdi 88 drivers/media/mc/mc-dev-allocator.c mdi->owner = owner; mdi 89 drivers/media/mc/mc-dev-allocator.c kref_init(&mdi->refcount); mdi 90 drivers/media/mc/mc-dev-allocator.c list_add_tail(&mdi->list, &media_device_list); mdi 94 drivers/media/mc/mc-dev-allocator.c return &mdi->mdev; mdi 122 drivers/media/mc/mc-dev-allocator.c struct media_device_instance *mdi = to_media_device_instance(mdev); mdi 126 drivers/media/mc/mc-dev-allocator.c if (mdi->owner != owner) { mdi 127 drivers/media/mc/mc-dev-allocator.c module_put(mdi->owner); mdi 128 drivers/media/mc/mc-dev-allocator.c dev_dbg(mdi->mdev.dev, mdi 133 drivers/media/mc/mc-dev-allocator.c kref_put(&mdi->refcount, media_device_instance_release); mdi 978 fs/nilfs2/inode.c struct nilfs_mdt_info *mdi = NILFS_MDT(inode); mdi 986 fs/nilfs2/inode.c if (mdi) { mdi 471 fs/nilfs2/mdt.c struct nilfs_mdt_info *mdi = NILFS_MDT(inode); mdi 473 fs/nilfs2/mdt.c if (mdi->mi_palloc_cache) mdi 483 fs/nilfs2/mdt.c struct nilfs_mdt_info *mdi = NILFS_MDT(inode); mdi 485 fs/nilfs2/mdt.c kfree(mdi->mi_bgl); /* kfree(NULL) is safe */ mdi 486 fs/nilfs2/mdt.c kfree(mdi); mdi 44 tools/testing/selftests/media_tests/media_device_open.c struct media_device_info mdi; mdi 76 tools/testing/selftests/media_tests/media_device_open.c ret = ioctl(fd, MEDIA_IOC_DEVICE_INFO, &mdi); mdi 81 tools/testing/selftests/media_tests/media_device_open.c mdi.model, mdi.driver); mdi 49 tools/testing/selftests/media_tests/media_device_test.c struct media_device_info mdi; mdi 94 tools/testing/selftests/media_tests/media_device_test.c ret = ioctl(fd, MEDIA_IOC_DEVICE_INFO, &mdi); mdi 99 tools/testing/selftests/media_tests/media_device_test.c mdi.model, mdi.driver, count);