Searched refs:mnt_opts (Results 1 - 8 of 8) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/
H A Dmount.c214 char *mnt_opts = NULL; local
233 if (get_mnt_flag_opts(&mnt_opts, mo.flags) == -1)
235 if (!(mo.flags & MS_NODEV) && fuse_opt_add_opt(&mnt_opts, "dev") == -1)
237 if (!(mo.flags & MS_NOSUID) && fuse_opt_add_opt(&mnt_opts, "suid") == -1)
239 if (mo.kernel_opts && fuse_opt_add_opt(&mnt_opts, mo.kernel_opts) == -1)
241 if (mo.mtab_opts && fuse_opt_add_opt(&mnt_opts, mo.mtab_opts) == -1)
243 if (mo.fusermount_opts && fuse_opt_add_opt(&mnt_opts, mo.fusermount_opts) < 0)
246 res = fusermount(0, 0, 0, mnt_opts ? mnt_opts : "", mountpoint);
249 free(mnt_opts);
[all...]
H A Dfusermount.c311 char *mnt_opts = NULL; local
371 res = get_mnt_opts(flags, optbuf, &mnt_opts);
421 *mnt_optsp = mnt_opts;
430 free(mnt_opts);
568 char *mnt_opts = NULL; local
588 &source, &mnt_opts);
610 res = add_mount(source, mnt, type, mnt_opts);
623 free(mnt_opts);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Dmtab.c35 entries[i].mnt_opts = xstrdup(m->mnt_opts);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/util-linux/
H A Dmount.c290 append_mount_options(&(mp->mnt_opts), mount_options[i].name);
845 if (!mp->mnt_opts) { /* TODO: actually mp->mnt_opts is never NULL */
846 mp->mnt_opts = xasprintf("addr=%s", inet_ntoa(server_addr.sin_addr));
848 char *tmp = xasprintf("%s%saddr=%s", mp->mnt_opts,
849 mp->mnt_opts[0] ? "," : "",
851 free(mp->mnt_opts);
852 mp->mnt_opts = tmp;
1377 vfsflags = parse_mount_options(mp->mnt_opts, &filteropts);
1587 mtpair->mnt_opts);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/client/
H A Dmount.cifs.c1259 mountent.mnt_opts = (char *)malloc(220);
1260 if(mountent.mnt_opts) {
1262 memset(mountent.mnt_opts,0,200);
1264 strcat(mountent.mnt_opts,"ro");
1266 strcat(mountent.mnt_opts,"rw");
1268 strcat(mountent.mnt_opts,",mand");
1270 strcat(mountent.mnt_opts,",noexec");
1272 strcat(mountent.mnt_opts,",nosuid");
1274 strcat(mountent.mnt_opts,",nodev");
1276 strcat(mountent.mnt_opts,",sync
[all...]
H A Dsmbmnt.c279 ment.mnt_opts = "";
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/selinux/
H A Dhooks.c470 opts->mnt_opts = kcalloc(opts->num_mnt_opts, sizeof(char *), GFP_ATOMIC);
471 if (!opts->mnt_opts) {
487 opts->mnt_opts[i] = context;
494 opts->mnt_opts[i] = context;
501 opts->mnt_opts[i] = context;
511 opts->mnt_opts[i] = context;
515 opts->mnt_opts[i] = NULL;
563 char **mount_options = opts->mnt_opts;
892 opts->mnt_opts = kcalloc(NUM_SEL_MNT_OPTS, sizeof(char *), GFP_ATOMIC);
893 if (!opts->mnt_opts)
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dsecurity.h152 char **mnt_opts; member in struct:security_mnt_opts
159 opts->mnt_opts = NULL;
167 if (opts->mnt_opts)
169 kfree(opts->mnt_opts[i]);
170 kfree(opts->mnt_opts);
171 opts->mnt_opts = NULL;

Completed in 91 milliseconds