Lines Matching refs:nargs
445 static int rmmod_all(struct kmod_ctx *ctx, char **args, int nargs) in rmmod_all() argument
449 for (i = 0; i < nargs; i++) { in rmmod_all()
558 static int insmod_all(struct kmod_ctx *ctx, char **args, int nargs) in insmod_all() argument
562 for (i = 0; i < nargs; i++) { in insmod_all()
591 static int options_from_array(char **args, int nargs, char **output) in options_from_array() argument
597 for (i = 1; i < nargs; i++) { in options_from_array()
721 int nargs = 0, n_config_paths = 0; in do_modprobe() local
844 nargs = argc - optind; in do_modprobe()
849 if (nargs == 0) { in do_modprobe()
890 err = rmmod_all(ctx, args, nargs); in do_modprobe()
892 err = insmod_all(ctx, args, nargs); in do_modprobe()
895 err = options_from_array(args, nargs, &opts); in do_modprobe()