Home | History | Annotate | Download | only in memory_hotplug

Lines Matching refs:nextarg

157 static int get_range(char *args, range_t * range, char **nextarg)
161 char *nextarg;
163 args = strtok_r(args, whitespace, &nextarg);
167 args = nextarg + strspn(nextarg, whitespace);
173 args = strtok_r(args, whitespace, &nextarg);
181 args = nextarg + strspn(nextarg, whitespace);
185 *nextarg = args;
260 static int get_mbind_policy(char *args, char **nextarg)
275 *nextarg = args;
296 static int get_mbind_flags(char *args, char **nextarg)
324 *nextarg = args;
561 char *idlist, *nextarg;
578 idlist = strtok_r(args, whitespace, &nextarg);
582 args = nextarg + strspn(nextarg, whitespace);
588 idlist = strtok_r(args, whitespace, &nextarg);
662 char *segname = NULL, *nextarg;
666 segname = strtok_r(args, whitespace, &nextarg);
681 char *segname, *nextarg;
689 segname = strtok_r(args, whitespace, &nextarg);
690 args = nextarg + strspn(nextarg, whitespace);
694 args = strtok_r(args, whitespace, &nextarg);
698 args = nextarg + strspn(nextarg, whitespace);
719 char *pathname, *nextarg;
727 pathname = strtok_r(args, whitespace, &nextarg);
728 args = nextarg + strspn(nextarg, whitespace);
733 if (get_range(args, &range, &nextarg) == CMD_ERROR)
735 args = nextarg;
761 char *segname, *nextarg;
763 segname = strtok_r(args, whitespace, &nextarg);
764 args = nextarg + strspn(nextarg, whitespace);
778 char *segname, *nextarg;
785 segname = strtok_r(args, whitespace, &nextarg);
786 args = nextarg + strspn(nextarg, whitespace);
791 if (get_range(args, &range, &nextarg) == CMD_ERROR)
793 args = nextarg;
811 char *segname, *nextarg;
816 segname = strtok_r(args, whitespace, &nextarg);
817 args = nextarg + strspn(nextarg, whitespace);
832 char *segname, *nextarg;
840 segname = strtok_r(args, whitespace, &nextarg);
841 args = nextarg + strspn(nextarg, whitespace);
846 if (get_range(args, &range, &nextarg) == CMD_ERROR)
848 if (args != nextarg) {
850 args = nextarg;
872 char *segname, *nextarg;
884 segname = strtok_r(args, whitespace, &nextarg);
885 args = nextarg + strspn(nextarg, whitespace);
890 if (get_range(args, &range, &nextarg) == CMD_ERROR)
892 args = nextarg;
896 policy = get_mbind_policy(args, &nextarg);
900 args = nextarg + strspn(nextarg, whitespace);
902 flags = get_mbind_flags(++args, &nextarg);
906 args = nextarg + strspn(nextarg, whitespace);
935 char *segname, *nextarg;
942 segname = strtok_r(args, whitespace, &nextarg);
943 args = nextarg + strspn(nextarg, whitespace);
947 args = strtok_r(args, whitespace, &nextarg);
951 args = nextarg + strspn(nextarg, whitespace);
972 char *segname, *nextarg;
982 segname = strtok_r(args, whitespace, &nextarg);
983 args = nextarg + strspn(nextarg, whitespace);
988 if (get_range(args, &range, &nextarg) == CMD_ERROR)
990 if (args == nextarg)
1104 char *cmd, *nextarg;
1110 cmd = strtok_r(args, whitespace, &nextarg);