Searched defs:argv (Results 1 - 25 of 50) sorted by relevance

12

/drivers/md/
H A Ddm-zero.c18 static int zero_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument
H A Ddm-exception-store.c191 int dm_exception_store_create(struct dm_target *ti, int argc, char **argv, argument
212 persistent = toupper(*argv[0]);
232 r = set_chunk_size(tmp_store, argv[1], &ti->error);
H A Ddm-linear.c28 static int linear_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument
45 if (sscanf(argv[1], "%llu%c", &tmp, &dummy) != 1) {
51 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &lc->dev)) {
H A Ddm-round-robin.c63 static int rr_create(struct path_selector *ps, unsigned argc, char **argv) argument
112 int argc, char **argv, char **error)
125 if ((argc == 1) && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) {
111 rr_add_path(struct path_selector *ps, struct dm_path *path, int argc, char **argv, char **error) argument
H A Ddm-snap-transient.c74 unsigned argc, char **argv)
73 transient_ctr(struct dm_exception_store *store, unsigned argc, char **argv) argument
H A Ddm-delay.c127 static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument
146 if (sscanf(argv[1], "%llu%c", &tmpll, &dummy) != 1) {
152 if (sscanf(argv[2], "%u%c", &dc->read_delay, &dummy) != 1) {
157 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table),
167 if (sscanf(argv[4], "%llu%c", &tmpll, &dummy) != 1) {
173 if (sscanf(argv[5], "%u%c", &dc->write_delay, &dummy) != 1) {
178 if (dm_get_device(ti, argv[3], dm_table_get_mode(ti->table),
H A Ddm-flakey.c155 static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument
170 as.argv = argv;
H A Ddm-queue-length.c53 static int ql_create(struct path_selector *ps, unsigned argc, char **argv) argument
110 int argc, char **argv, char **error)
127 if ((argc == 1) && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) {
109 ql_add_path(struct path_selector *ps, struct dm_path *path, int argc, char **argv, char **error) argument
H A Ddm-service-time.c49 static int st_create(struct path_selector *ps, unsigned argc, char **argv) argument
107 int argc, char **argv, char **error)
132 if (argc && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) {
138 (sscanf(argv[1], "%u%c", &relative_throughput, &dummy) != 1 ||
106 st_add_path(struct path_selector *ps, struct dm_path *path, int argc, char **argv, char **error) argument
H A Ddm-stripe.c74 unsigned int stripe, char **argv)
79 if (sscanf(argv[1], "%llu%c", &start, &dummy) != 1)
82 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table),
95 static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument
109 if (kstrtouint(argv[0], 10, &stripes) || !stripes) {
114 if (kstrtouint(argv[1], 10, &chunk_size) || !chunk_size) {
181 argv += 2;
183 r = get_stripe(ti, sc, i, argv);
73 get_stripe(struct dm_target *ti, struct stripe_c *sc, unsigned int stripe, char **argv) argument
H A Ddm-switch.c252 static int switch_ctr(struct dm_target *ti, unsigned argc, char **argv) argument
266 as.argv = argv;
374 unsigned argc, char **argv)
381 const char *string = argv[i];
388 DMWARN("invalid set_region_mappings argument: '%s'", argv[i]);
393 DMWARN("invalid set_region_mappings argument: '%s'", argv[i]);
398 DMWARN("invalid set_region_mappings argument: '%s'", argv[i]);
403 DMWARN("invalid set_region_mappings argument: '%s'", argv[i]);
433 DMWARN("invalid set_region_mappings argument: '%s'", argv[
373 process_set_region_mappings(struct switch_ctx *sctx, unsigned argc, char **argv) argument
469 switch_message(struct dm_target *ti, unsigned argc, char **argv) argument
[all...]
H A Ddm-log-userspace-base.c130 unsigned argc, char **argv,
142 str_size += strlen(argv[i]) + 1; /* +1 for space between args */
154 str_size += sprintf(str + str_size, " %s", argv[i]);
176 * argv contains:
195 unsigned argc, char **argv)
222 if (strlen(argv[0]) > (DM_UUID_LEN - 1)) {
230 strncpy(lc->uuid, argv[0], DM_UUID_LEN);
232 argv++;
237 if (!strcasecmp(argv[0], "integrated_flush")) {
240 argv
129 build_constructor_string(struct dm_target *ti, unsigned argc, char **argv, char **ctr_str) argument
194 userspace_ctr(struct dm_dirty_log *log, struct dm_target *ti, unsigned argc, char **argv) argument
[all...]
H A Ddm-log.c150 unsigned int argc, char **argv)
167 if (type->ctr(log, ti, argc, argv)) {
358 * argv contains region_size followed optionally by [no]sync
362 unsigned int argc, char **argv,
380 if (!strcmp(argv[1], "sync"))
382 else if (!strcmp(argv[1], "nosync"))
386 "dirty region log: %s", argv[1]);
391 if (sscanf(argv[0], "%u%c", &region_size, &dummy) != 1 ||
393 DMWARN("invalid region size %s", argv[0]);
515 unsigned int argc, char **argv)
147 dm_dirty_log_create(const char *type_name, struct dm_target *ti, int (*flush_callback_fn)(struct dm_target *ti), unsigned int argc, char **argv) argument
361 create_log_context(struct dm_dirty_log *log, struct dm_target *ti, unsigned int argc, char **argv, struct dm_dev *dev) argument
514 core_ctr(struct dm_dirty_log *log, struct dm_target *ti, unsigned int argc, char **argv) argument
540 disk_ctr(struct dm_dirty_log *log, struct dm_target *ti, unsigned int argc, char **argv) argument
[all...]
/drivers/media/platform/vivid/
H A Dvivid-tpg-colors.c260 int main(int argc, char **argv) argument
/drivers/staging/iio/Documentation/
H A Diio_event_monitor.c194 int main(int argc, char **argv) argument
204 printf("Usage: %s <device_name>\n", argv[0]);
208 device_name = argv[1];
H A Dgeneric_buffer.c141 int main(int argc, char **argv) argument
165 while ((c = getopt(argc, argv, "l:w:c:et:n:")) != -1) {
H A Dlsiio.c129 int main(int argc, char **argv) argument
133 while ((c = getopt(argc, argv, "d:D:v")) != EOF) {
/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-debug.c74 char *argv[3]; local
81 argv[0] = lnet_debug_log_upcall;
84 argv[1] = file; /* only need to pass the path of the file */
86 argv[2] = NULL;
88 rc = call_usermodehelper(argv[0], argv, envp, 1);
92 rc, argv[0], argv[1]);
95 argv[0], argv[
99 libcfs_run_upcall(char **argv) argument
136 char *argv[6]; local
[all...]
/drivers/char/tpm/
H A Dtpm_ppi.c257 union acpi_object argv = ACPI_INIT_DSM_ARGV4(1, &tmp); local
274 obj = tpm_eval_dsm(TPM_PPI_FN_GETOPR, ACPI_TYPE_INTEGER, &argv);
/drivers/gpu/drm/nouveau/
H A Dnouveau_usif.c121 usif_notify_new(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argument
151 ret = nvif_client_ioctl(client, argv, argc);
165 usif_notify_del(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argument
181 ret = nvif_client_ioctl(client, argv, argc);
188 usif_notify_get(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argument
217 ret = nvif_client_ioctl(client, argv, argc);
227 usif_notify_put(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argument
243 ret = nvif_client_ioctl(client, argv, argc);
264 usif_object_new(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argument
283 ret = nvif_client_ioctl(client, argv, arg
302 } *argv = data; local
[all...]
/drivers/macintosh/
H A Dwindfarm_core.c78 char *argv[] = { critical_overtemp_path, NULL }; local
85 argv, envp, UMH_WAIT_EXEC);
/drivers/net/wireless/brcm80211/brcmfmac/
H A Ddhd_common.c120 char *argv; local
131 argv = strsep(&arg_save, " ");
133 if (argv == NULL) {
140 if (!kstrtoul(argv, 0, &res))
168 char *argv[8], *buf = NULL; local
182 argv[i] = strsep(&arg_save, " ");
183 while (argv[i]) {
189 argv[i] = strsep(&arg_save, " ");
201 if (!kstrtoul(argv[0], 0, &res))
206 if (!kstrtoul(argv[
[all...]
/drivers/pnp/pnpbios/
H A Dcore.c101 char *argv[3], **envp, *buf, *scratch; local
115 argv[0] = "/sbin/pnpbios";
116 argv[1] = "dock";
117 argv[2] = NULL;
142 value = call_usermodehelper(argv [0], argv, envp, UMH_WAIT_EXEC);
/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.c114 int main(int argc, char *argv[]);
117 main(int argc, char *argv[]) argument
137 appname = *argv;
146 while ((ch = getopt(argc, argv, "d:i:l:n:o:p:r:I:")) != -1) {
254 argv += optind;
271 inputfilename = *argv;
272 include_file(*argv, SOURCE_FILE);
/drivers/gpu/drm/radeon/
H A Dmkregtable.c697 int main(int argc, char *argv[]) argument
702 fprintf(stderr, "Usage: %s <authfile>\n", argv[0]);
706 if (parser_auth(&t, argv[1])) {
707 fprintf(stderr, "Failed to parse file %s\n", argv[1]);

Completed in 386 milliseconds

12