// SPDX-License-Identifier: GPL-2.0 /* * Helper function for splitting a string into an argv-like array. */ #include <linux/kernel.h> #include <linux/ctype.h> #include <linux/string.h> #include <linux/slab.h> #include <linux/export.h>
static int count_argc(const char *str) { int count = 0; bool was_space; for (was_space = true; *str; str++) { if (isspace(*str)) { was_space = true; } else if (was_space) { was_space = false; count++; } } return count; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 35 | 54.69% | 1 | 50.00% |
Oleg Nesterov | 29 | 45.31% | 1 | 50.00% |
Total | 64 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 20 | 76.92% | 1 | 50.00% |
Oleg Nesterov | 6 | 23.08% | 1 | 50.00% |
Total | 26 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Oleg Nesterov | 99 | 56.57% | 1 | 25.00% |
Jeremy Fitzhardinge | 70 | 40.00% | 1 | 25.00% |
Kees Cook | 5 | 2.86% | 1 | 25.00% |
Neil Horman | 1 | 0.57% | 1 | 25.00% |
Total | 175 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 145 | 49.32% | 1 | 12.50% |
Oleg Nesterov | 135 | 45.92% | 1 | 12.50% |
Kees Cook | 5 | 1.70% | 1 | 12.50% |
Robert P. J. Day | 3 | 1.02% | 1 | 12.50% |
André Goddard Rosa | 3 | 1.02% | 1 | 12.50% |
Paul Gortmaker | 1 | 0.34% | 1 | 12.50% |
Greg Kroah-Hartman | 1 | 0.34% | 1 | 12.50% |
Neil Horman | 1 | 0.34% | 1 | 12.50% |
Total | 294 | 100.00% | 8 | 100.00% |