Searched refs:env (Results 1 – 1 of 1) sorted by relevance
129 static int init_uevent_argv(struct kobj_uevent_env *env, const char *subsystem) in init_uevent_argv() argument131 int buffer_size = sizeof(env->buf) - env->buflen; in init_uevent_argv()134 len = strlcpy(&env->buf[env->buflen], subsystem, buffer_size); in init_uevent_argv()141 env->argv[0] = uevent_helper; in init_uevent_argv()142 env->argv[1] = &env->buf[env->buflen]; in init_uevent_argv()143 env->argv[2] = NULL; in init_uevent_argv()145 env->buflen += len + 1; in init_uevent_argv()168 struct kobj_uevent_env *env; in kobject_uevent_env() local228 env = kzalloc(sizeof(struct kobj_uevent_env), GFP_KERNEL); in kobject_uevent_env()229 if (!env) in kobject_uevent_env()[all …]