/lxc/src/lxc/tools/ |
H A D | lxc_clone.c | 95 static struct option options[] = { variable in typeref:struct:option 130 c = getopt_long(argc, argv, "sB:L:o:n:v:KMHp:P:Rt:h", options, &option_index);
|
H A D | lxc_init.c | 45 static const struct option options[] = { variable in typeref:struct:option 63 "Common options :\n" 70 "Mandatory or optional arguments to long options are also mandatory or optional\n" 71 "for any corresponding short options.\n" 87 while ((opt = getopt_long(argc, argv, "n:l:qP:", options, NULL)) != -1) {
|
H A D | lxc_attach.c | 240 .options = my_longopts, 246 lxc_attach_options_t *options; member in struct:wrapargs 328 if (c->attach(c, get_pty_on_host_callback, wrap, wrap->options, pid) < 0) 454 .options = &attach_options
|
H A D | lxc_copy.c | 65 char *options; member in struct:mnts 104 --name=NAME [-P lxcpath] -N newname [-p newpath] [-B backingstorage] [-s] [-K] [-M] [-L size [unit]] -- hook options\n\ 105 --name=NAME [-P lxcpath] [-N newname] [-p newpath] [-B backingstorage] -e [-d] [-D] [-K] [-M] [-m {bind,aufs,overlay}=/src:/dest] -- hook options\n\ 125 -- hook options arguments passed to the hook program\n\ 128 .options = my_longopts, 342 strlen(m->src) + strlen(m->dest) + strlen(m->options) + 1; 349 m->src, m->dest, m->options, 514 free(n->options); 677 m->options = strdup("rw"); 680 m->options [all...] |
/lxc/src/lxc/ |
H A D | initutils.c | 90 static const char * const options[][2] = { local 104 static __thread const char *values[sizeof(options) / sizeof(options[0])] = { 0 }; 106 static const char *values[sizeof(options) / sizeof(options[0])] = { 0 }; 146 for (i = 0, ptr = options; (*ptr)[0]; ptr++, i++) {
|
H A D | arguments.h | 42 const struct option* options; member in struct:lxc_arguments 154 /* option keys for long only options */
|
H A D | attach.c | 660 lxc_attach_options_t* options; member in struct:attach_clone_payload 671 /* Define default options if no options are supplied by the user. */ 675 struct lxc_proc_context_info *i, lxc_attach_options_t *options) 680 if (!(options->namespaces & CLONE_NEWNS) || !(options->attach_flags & LXC_ATTACH_LSM)) 727 int lxc_attach(const char* name, const char* lxcpath, lxc_attach_exec_t exec_function, void* exec_payload, lxc_attach_options_t* options, pid_t* attached_process) argument 737 if (!options) 738 options = &attach_static_default_options; 761 if (!fetch_seccomp(name, lxcpath, init_ctx, options)) 674 fetch_seccomp(const char *name, const char *lxcpath, struct lxc_proc_context_info *i, lxc_attach_options_t *options) argument 1066 lxc_attach_options_t* options = payload->options; local [all...] |
H A D | conf.h | 222 * @options : mount options 228 char *options; member in struct:lxc_rootfs
|
H A D | conf.c | 522 const char *options) 528 if (parse_mntopts(options, &mntflags, &mntdata) < 0) { 540 const char *options) 550 ret = mount_unknown_fs(path, target, options); 559 const char *options) 561 return mount_unknown_fs(rootfs, target, options); 655 const char *options; member in struct:__anon6 719 r = safe_mount(source, destination, default_mounts[i].fstype, mflags, default_mounts[i].options, conf->rootfs.path ? conf->rootfs.mount : NULL); 772 static int mount_rootfs(const char *rootfs, const char *target, const char *options) argument 808 return rtfs_type[i].cb(absrootfs, target, options); 521 mount_rootfs_dir(const char *rootfs, const char *target, const char *options) argument 539 lxc_mount_rootfs_file(const char *rootfs, const char *target, const char *options) argument 558 mount_rootfs_block(const char *rootfs, const char *target, const char *options) argument [all...] |
H A D | lxccontainer.c | 1372 fprintf(f, "# For additional config options, please look at lxc.container.conf(5)\n"); 3284 static int lxcapi_attach(struct lxc_container *c, lxc_attach_exec_t exec_function, void *exec_payload, lxc_attach_options_t *options, pid_t *attached_process) argument 3293 ret = lxc_attach(c->name, c->config_path, exec_function, exec_payload, options, attached_process); 3298 static int do_lxcapi_attach_run_wait(struct lxc_container *c, lxc_attach_options_t *options, const char *program, const char * const argv[]) argument 3309 r = lxc_attach(c->name, c->config_path, lxc_attach_run_command, &command, options, &pid); 3317 static int lxcapi_attach_run_wait(struct lxc_container *c, lxc_attach_options_t *options, const char *program, const char * const argv[]) argument 3321 ret = do_lxcapi_attach_run_wait(c, options, program, argv); 4068 static int lxcapi_attach_run_waitl(struct lxc_container *c, lxc_attach_options_t *options, const char *program, const char *arg, ...) argument 4090 ret = do_lxcapi_attach_run_wait(c, options, program, (const char * const *)argv);
|
/lxc/src/tests/ |
H A D | concurrent.c | 37 static const struct option options[] = { variable in typeref:struct:option 51 "Common options :\n" 62 "Mandatory or optional arguments to long options are also mandatory or optional\n" 63 "for any corresponding short options.\n\n"); 157 while ((opt = getopt_long(argc, argv, "j:i:t:d:m:qD", options, NULL)) != -1) {
|
/lxc/src/lxc/bdev/ |
H A D | lxcaufs.c | 238 char *tmp, *options, *dup, *lower, *upper; local 276 // so add xino=/dev/shm/aufs.xino parameter to mount options. 284 options = alloca(len); 285 ret = snprintf(options, len, "br=%s=rw:%s=ro,%s,xino=%s", upper, lower, mntdata, xinopath); 289 options = alloca(len); 290 ret = snprintf(options, len, "br=%s=rw:%s=ro,xino=%s", upper, lower, xinopath); 298 ret = mount(lower, bdev->dest, "aufs", MS_MGC_VAL | mntflags, options); 300 SYSERROR("aufs: error mounting %s onto %s options %s", 301 lower, bdev->dest, options); 303 INFO("aufs: mounted %s onto %s options [all...] |
H A D | bdev.c | 740 const char *options) 745 const char *options; member in struct:cbarg 749 .options = options, 886 const char *options; member in struct:cbarg 904 if (parse_mntopts(cbarg->options, &mntflags, &mntdata) < 0) { 739 mount_unknown_fs(const char *rootfs, const char *target, const char *options) argument
|
H A D | lxcoverlay.c | 55 const void *options); 316 char *tmp, *options, *dup, *lower, *upper; local 390 options = alloca(len); 391 ret = snprintf(options, len, "upperdir=%s,lowerdir=%s,%s", upper, lower, mntdata); 396 ret2 = snprintf(options, len2, "upperdir=%s,lowerdir=%s,workdir=%s,%s", 400 options = alloca(len); 401 ret = snprintf(options, len, "upperdir=%s,lowerdir=%s", upper, lower); 419 INFO("Overlayfs: Error mounting %s onto %s with options %s. " 425 MS_MGC_VAL | mntflags, options); 428 "options 664 ovl_remount_on_enodev(const char *lower, const char *target, const char *name, unsigned long mountflags, const void *options) argument [all...] |
/lxc/src/python-lxc/ |
H A D | lxc.c | 141 static void lxc_attach_free_options(lxc_attach_options_t *options); 161 lxc_attach_options_t *options = malloc(sizeof(*options)); local 163 if (!options) { 167 memcpy(options, &default_options, sizeof(*options)); 173 temp_env_policy = options->env_policy; 179 kwlist, &options->attach_flags, 180 &options->namespaces, 181 &options 241 lxc_attach_free_options(lxc_attach_options_t *options) argument 659 lxc_attach_options_t *options = NULL; local [all...] |