Lines Matching refs:buf
59 * @buf: buffer containing the action string, newline is ignored
65 int kobject_action_type(const char *buf, size_t count,
71 if (count && (buf[count-1] == '\n' || buf[count-1] == '\0'))
78 if (strncmp(kobject_actions[action], buf, count) != 0)
134 len = strlcpy(&env->buf[env->buflen], subsystem,
135 sizeof(env->buf) - env->buflen);
136 if (len >= (sizeof(env->buf) - env->buflen)) {
142 env->argv[1] = &env->buf[env->buflen];
398 len = vsnprintf(&env->buf[env->buflen],
399 sizeof(env->buf) - env->buflen,
403 if (len >= (sizeof(env->buf) - env->buflen)) {
408 env->envp[env->envp_idx++] = &env->buf[env->buflen];