Lines Matching refs:env
245 struct kobj_uevent_env *env)
255 if (add_uevent_var(env, "MODALIAS="))
259 len = create_of_modalias(adev, &env->buf[env->buflen - 1],
260 sizeof(env->buf) - env->buflen);
262 len = create_pnp_modalias(adev, &env->buf[env->buflen - 1],
263 sizeof(env->buf) - env->buflen);
267 env->buflen += len;
275 * @env: Environment variables of the kobject uevent.
282 int acpi_device_uevent_modalias(const struct device *dev, struct kobj_uevent_env *env)
284 return __acpi_device_uevent_modalias(acpi_companion_match(dev), env);