Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 67) sorted by relevance

123

/fs/9p/
Dv9fs.c81 char *options; in v9fs_parse_options() local
93 if (!v9ses->options) in v9fs_parse_options()
96 options = kstrdup(v9ses->options, GFP_KERNEL); in v9fs_parse_options()
97 if (!options) { in v9fs_parse_options()
103 while ((p = strsep(&options, ",")) != NULL) { in v9fs_parse_options()
174 kfree(options); in v9fs_parse_options()
210 v9ses->options = kstrdup(data, GFP_KERNEL); in v9fs_session_init()
211 if (!v9ses->options) { in v9fs_session_init()
225 v9ses->clnt = p9_client_create(dev_name, v9ses->options); in v9fs_session_init()
283 kfree(v9ses->options); in v9fs_session_close()
/fs/afs/
Dmntpt.c144 char *buf, *devname = NULL, *options = NULL; in afs_mntpt_do_automount() local
161 options = (char *) get_zeroed_page(GFP_KERNEL); in afs_mntpt_do_automount()
162 if (!options) in afs_mntpt_do_automount()
184 memcpy(options, "cell=", 5); in afs_mntpt_do_automount()
185 strcpy(options + 5, super->volume->cell->name); in afs_mntpt_do_automount()
187 strcat(options, ",rwpath"); in afs_mntpt_do_automount()
190 _debug("--- attempting mount %s -o %s ---", devname, options); in afs_mntpt_do_automount()
191 mnt = vfs_kern_mount(&afs_fs_type, 0, devname, options); in afs_mntpt_do_automount()
195 free_page((unsigned long) options); in afs_mntpt_do_automount()
204 if (options) in afs_mntpt_do_automount()
[all …]
Dsuper.c135 char *options, const char **devname) in afs_parse_options() argument
142 _enter("%s", options); in afs_parse_options()
144 options[PAGE_SIZE - 1] = 0; in afs_parse_options()
146 while ((p = strsep(&options, ","))) { in afs_parse_options()
353 void *options, in afs_get_sb() argument
360 char *new_opts = kstrdup(options, GFP_KERNEL); in afs_get_sb()
363 _enter(",,%s,%p", dev_name, options); in afs_get_sb()
368 if (options) { in afs_get_sb()
369 ret = afs_parse_options(&params, options, &dev_name); in afs_get_sb()
/fs/fat/
Dfile.c82 if (sbi->options.sys_immutable) { in fat_generic_ioctl()
106 if (sbi->options.sys_immutable) { in fat_generic_ioctl()
129 MSDOS_SB(inode->i_sb)->options.flush) { in fat_file_release()
276 mask = sbi->options.fs_fmask; in fat_sanitize_mode()
278 mask = sbi->options.fs_dmask; in fat_sanitize_mode()
305 mode_t allow_utime = sbi->options.allow_utime; in fat_allow_set_time()
353 if (sbi->options.quiet) in fat_setattr()
359 (attr->ia_uid != sbi->options.fs_uid)) || in fat_setattr()
361 (attr->ia_gid != sbi->options.fs_gid)) || in fat_setattr()
367 if (sbi->options.quiet) in fat_setattr()
Dinode.c340 inode->i_uid = sbi->options.fs_uid; in fat_fill_inode()
341 inode->i_gid = sbi->options.fs_gid; in fat_fill_inode()
365 ((sbi->options.showexec && !is_exec(de->name + 8)) in fat_fill_inode()
379 if (sbi->options.sys_immutable) in fat_fill_inode()
388 if (sbi->options.isvfat) { in fat_fill_inode()
457 sbi->options.codepage = fat_default_codepage; in fat_put_super()
463 if (sbi->options.iocharset != fat_default_iocharset) { in fat_put_super()
464 kfree(sbi->options.iocharset); in fat_put_super()
465 sbi->options.iocharset = fat_default_iocharset; in fat_put_super()
520 *flags |= MS_NODIRATIME | (sbi->options.isvfat ? 0 : MS_NOATIME); in fat_remount()
[all …]
Dnamei_msdos.c127 err = msdos_format_name(name, len, msdos_name, &sbi->options); in msdos_find()
132 if (!err && sbi->options.dotsOK) { in msdos_find()
154 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; in msdos_hash() local
158 error = msdos_format_name(qstr->name, qstr->len, msdos_name, options); in msdos_hash()
170 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; in msdos_cmp() local
174 error = msdos_format_name(a->name, a->len, a_msdos_name, options); in msdos_cmp()
177 error = msdos_format_name(b->name, b->len, b_msdos_name, options); in msdos_cmp()
291 msdos_name, &MSDOS_SB(sb)->options); in msdos_create()
372 msdos_name, &MSDOS_SB(sb)->options); in msdos_mkdir()
630 &MSDOS_SB(old_dir->i_sb)->options); in msdos_rename()
[all …]
Dfat.h73 struct fat_mount_options options; member
142 if (!sbi->options.rodir) in fat_mode_can_hold_ro()
144 mask = ~sbi->options.fs_dmask; in fat_mode_can_hold_ro()
146 mask = ~sbi->options.fs_fmask; in fat_mode_can_hold_ro()
157 if (attrs & ATTR_RO && !((attrs & ATTR_DIR) && !sbi->options.rodir)) in fat_make_mode()
161 return (mode & ~sbi->options.fs_dmask) | S_IFDIR; in fat_make_mode()
163 return (mode & ~sbi->options.fs_fmask) | S_IFREG; in fat_make_mode()
Dmisc.c24 struct fat_mount_options *opts = &MSDOS_SB(s)->options; in fat_fs_error()
198 if (!sbi->options.tz_utc) in fat_time_fat2unix()
217 if (!sbi->options.tz_utc) in fat_time_unix2fat()
Ddir.c173 if (sbi->options.utf8) in fat_uni_to_x8()
176 return uni16_to_x8(buf, uni, size, sbi->options.unicode_xlate, in fat_uni_to_x8()
247 if (sbi->options.name_check != 's') in fat_name_match()
357 unsigned short opt_shortname = sbi->options.shortname; in fat_search_long()
482 unsigned short opt_shortname = sbi->options.shortname; in __fat_readdir()
483 int isvfat = sbi->options.isvfat; in __fat_readdir()
484 int nocase = sbi->options.nocase; in __fat_readdir()
563 if (sbi->options.dotsOK) { in __fat_readdir()
1126 if (sbi->options.isvfat) { in fat_alloc_new_dir()
/fs/btrfs/
Dsuper.c118 int btrfs_parse_options(struct btrfs_root *root, char *options) in btrfs_parse_options() argument
125 if (!options) in btrfs_parse_options()
132 options = kstrdup(options, GFP_NOFS); in btrfs_parse_options()
133 if (!options) in btrfs_parse_options()
137 while ((p = strsep(&options, ",")) != NULL) { in btrfs_parse_options()
229 kfree(options); in btrfs_parse_options()
239 static int btrfs_parse_early_options(const char *options, fmode_t flags, in btrfs_parse_early_options() argument
247 if (!options) in btrfs_parse_early_options()
254 opts = kstrdup(options, GFP_KERNEL); in btrfs_parse_early_options()
/fs/smbfs/
Dgetopt.c26 int smb_getopt(char *caller, char **options, struct option *opts, in smb_getopt() argument
35 if ((token = strsep(options, ",")) == NULL) in smb_getopt()
Dgetopt.h10 extern int smb_getopt(char *caller, char **options, struct option *opts,
/fs/ncpfs/
Dgetopt.c26 int ncp_getopt(const char *caller, char **options, const struct ncp_option *opts, in ncp_getopt() argument
33 if ((token = strsep(options, ",")) == NULL) in ncp_getopt()
Dinode.c356 static int ncp_parse_options(struct ncp_mount_data_kernel *data, char *options) { in ncp_parse_options() argument
377 while ((optval = ncp_getopt("ncpfs", &options, ncp_opts, NULL, &optarg, &optint)) != 0) { in ncp_parse_options()
444 int options; in ncp_fill_super() local
643 NCP_DEFAULT_OPTIONS, &(server->buffer_size), &options) == 0) in ncp_fill_super()
645 if (options != NCP_DEFAULT_OPTIONS) in ncp_fill_super()
649 options & 2, in ncp_fill_super()
650 &(server->buffer_size), &options) != 0) in ncp_fill_super()
656 if (options & 2) in ncp_fill_super()
Dgetopt.h13 extern int ncp_getopt(const char *caller, char **options, const struct ncp_option *opts,
/fs/hostfs/
Dhostfs_kern.c54 static int __init hostfs_args(char *options, int *add) in hostfs_args() argument
58 ptr = strchr(options, ','); in hostfs_args()
61 if (*options != '\0') in hostfs_args()
62 root_ino = options; in hostfs_args()
64 options = ptr; in hostfs_args()
65 while (options) { in hostfs_args()
66 ptr = strchr(options, ','); in hostfs_args()
69 if (*options != '\0') { in hostfs_args()
70 if (!strcmp(options, "append")) in hostfs_args()
73 options); in hostfs_args()
[all …]
/fs/gfs2/
Dmount.c84 char *options, *o, *v; in gfs2_mount_args() local
96 for (options = data; (o = strsep(&options, ",")); ) { in gfs2_mount_args()
/fs/ext2/
Dsuper.c371 char *options = (char *) *data; in get_sb_block() local
373 if (!options || strncmp(options, "sb=", 3) != 0) in get_sb_block()
375 options += 3; in get_sb_block()
376 sb_block = simple_strtoul(options, &options, 0); in get_sb_block()
377 if (*options && *options != ',') { in get_sb_block()
382 if (*options == ',') in get_sb_block()
383 options++; in get_sb_block()
384 *data = (void *) options; in get_sb_block()
431 static int parse_options (char * options, in parse_options() argument
438 if (!options) in parse_options()
[all …]
/fs/gfs2/locking/dlm/
Dmount.c56 char *options, *x, *y; in make_args() local
67 for (options = data; (x = strsep(&options, ":")); ) { in make_args()
/fs/autofs/
Dinode.c72 static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid, in parse_options() argument
87 if (!options) in parse_options()
90 while ((p = strsep(&options, ",")) != NULL) { in parse_options()
/fs/yaffs2/
Dyaffs_fs.c1802 static int yaffs_parse_options(yaffs_options *options, const char *options_str) argument
1823 options->inband_tags = 1;
1825 options->no_cache = 1;
1827 options->skip_checkpoint_read = 1;
1829 options->skip_checkpoint_write = 1;
1831 options->skip_checkpoint_read = 1;
1832 options->skip_checkpoint_write = 1;
1856 yaffs_options options; local
1878 memset(&options, 0, sizeof(options));
1880 if (yaffs_parse_options(&options, data_str)) {
[all …]
/fs/hfs/
Dsuper.c206 static int parse_options(char *options, struct hfs_sb_info *hsb) in parse_options() argument
222 if (!options) in parse_options()
225 while ((p = strsep(&options, ",")) != NULL) { in parse_options()
/fs/hfsplus/
DMakefile7 hfsplus-objs := super.o options.o inode.o ioctl.o extents.o catalog.o dir.o btree.o \
/fs/autofs4/
Dinode.c231 static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid, in parse_options() argument
247 if (!options) in parse_options()
250 while ((p = strsep(&options, ",")) != NULL) { in parse_options()
/fs/
DKconfig193 Say Y here to get to see options for various miscellaneous
199 If you say N, all options in this submenu will be skipped and
237 Say Y here to get to see options for network filesystems and
243 If you say N, all options in this submenu will be skipped and

123