// 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 | 101 | 57.06% | 1 | 33.33% |
Jeremy Fitzhardinge | 75 | 42.37% | 1 | 33.33% |
Neil Horman | 1 | 0.56% | 1 | 33.33% |
Total | 177 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 150 | 50.68% | 1 | 14.29% |
Oleg Nesterov | 137 | 46.28% | 1 | 14.29% |
André Goddard Rosa | 3 | 1.01% | 1 | 14.29% |
Robert P. J. Day | 3 | 1.01% | 1 | 14.29% |
Greg Kroah-Hartman | 1 | 0.34% | 1 | 14.29% |
Neil Horman | 1 | 0.34% | 1 | 14.29% |
Paul Gortmaker | 1 | 0.34% | 1 | 14.29% |
Total | 296 | 100.00% | 7 | 100.00% |