Lines Matching refs:buflen
256 len = strlcpy(&env->buf[env->buflen], subsystem, in init_uevent_argv()
257 sizeof(env->buf) - env->buflen); in init_uevent_argv()
258 if (len >= (sizeof(env->buf) - env->buflen)) { in init_uevent_argv()
264 env->argv[1] = &env->buf[env->buflen]; in init_uevent_argv()
267 env->buflen += len + 1; in init_uevent_argv()
289 skb = alloc_skb(len + env->buflen, GFP_KERNEL); in alloc_uevent_skb()
297 skb_put_data(skb, env->buf, env->buflen); in alloc_uevent_skb()
435 env->buflen - len); in zap_modalias_env()
442 env->buflen -= len; in zap_modalias_env()
664 len = vsnprintf(&env->buf[env->buflen], in add_uevent_var()
665 sizeof(env->buf) - env->buflen, in add_uevent_var()
669 if (len >= (sizeof(env->buf) - env->buflen)) { in add_uevent_var()
674 env->envp[env->envp_idx++] = &env->buf[env->buflen]; in add_uevent_var()
675 env->buflen += len + 1; in add_uevent_var()