Home
last modified time | relevance | path

Searched refs:env (Results 1 – 1 of 1) sorted by relevance

/lib/
Dkobject_uevent.c129 static int init_uevent_argv(struct kobj_uevent_env *env, const char *subsystem) in init_uevent_argv() argument
131 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() local
228 env = kzalloc(sizeof(struct kobj_uevent_env), GFP_KERNEL); in kobject_uevent_env()
229 if (!env) in kobject_uevent_env()
[all …]