Searched refs:u_ent (Results 1 – 1 of 1) sorted by relevance
91 struct media_entity_desc u_ent; in media_device_enum_entities() local93 memset(&u_ent, 0, sizeof(u_ent)); in media_device_enum_entities()94 if (copy_from_user(&u_ent.id, &uent->id, sizeof(u_ent.id))) in media_device_enum_entities()97 ent = find_entity(mdev, u_ent.id); in media_device_enum_entities()102 u_ent.id = ent->id; in media_device_enum_entities()103 u_ent.name[0] = '\0'; in media_device_enum_entities()105 strlcpy(u_ent.name, ent->name, sizeof(u_ent.name)); in media_device_enum_entities()106 u_ent.type = ent->type; in media_device_enum_entities()107 u_ent.revision = ent->revision; in media_device_enum_entities()108 u_ent.flags = ent->flags; in media_device_enum_entities()[all …]