Lines Matching defs:arg
405 char *arg;
407 arg = strsep(cmd, " ");
408 if (!arg)
411 if (sysfs_streq(arg, "memory")) {
413 } else if (sysfs_streq(arg, "cpu")) {
425 char *arg;
427 arg = strsep(cmd, " ");
428 if (!arg)
431 if (sysfs_streq(arg, "add")) {
433 } else if (sysfs_streq(arg, "remove")) {
445 char *arg;
448 arg = strsep(cmd, " ");
449 if (!arg)
452 if (sysfs_streq(arg, "indexed-count")) {
454 arg = strsep(cmd, " ");
455 if (!arg) {
460 if (kstrtou32(arg, 0, &count)) {
465 arg = strsep(cmd, " ");
466 if (!arg) {
471 if (kstrtou32(arg, 0, &index)) {
478 } else if (sysfs_streq(arg, "index")) {
480 arg = strsep(cmd, " ");
481 if (!arg) {
486 if (kstrtou32(arg, 0, &index)) {
492 } else if (sysfs_streq(arg, "count")) {
494 arg = strsep(cmd, " ");
495 if (!arg) {
500 if (kstrtou32(arg, 0, &count)) {