/fs/afs/ |
D | mntpt.c | 131 char *devname, *options; in afs_mntpt_do_automount() local 144 options = (char *) get_zeroed_page(GFP_KERNEL); in afs_mntpt_do_automount() 145 if (!options) in afs_mntpt_do_automount() 198 memcpy(options, "cell=", 5); in afs_mntpt_do_automount() 199 strcpy(options + 5, super->volume->cell->name); in afs_mntpt_do_automount() 201 strcat(options, ",rwpath"); in afs_mntpt_do_automount() 204 _debug("--- attempting mount %s -o %s ---", devname, options); in afs_mntpt_do_automount() 205 mnt = vfs_kern_mount(&afs_fs_type, 0, devname, options); in afs_mntpt_do_automount() 209 free_page((unsigned long) options); in afs_mntpt_do_automount() 216 free_page((unsigned long) options); in afs_mntpt_do_automount()
|
D | super.c | 144 char *options, const char **devname) in afs_parse_options() argument 151 _enter("%s", options); in afs_parse_options() 153 options[PAGE_SIZE - 1] = 0; in afs_parse_options() 155 while ((p = strsep(&options, ","))) { in afs_parse_options() 355 int flags, const char *dev_name, void *options) in afs_mount() argument 361 char *new_opts = kstrdup(options, GFP_KERNEL); in afs_mount() 365 _enter(",,%s,%p", dev_name, options); in afs_mount() 374 if (options) { in afs_mount() 375 ret = afs_parse_options(¶ms, options, &dev_name); in afs_mount()
|
/fs/sdcardfs/ |
D | main.c | 54 static int parse_options(struct super_block *sb, char *options, int silent, in parse_options() argument 77 if (!options) in parse_options() 80 while ((p = strsep(&options, ",")) != NULL) { in parse_options() 150 int parse_options_remount(struct super_block *sb, char *options, int silent, in parse_options_remount() argument 158 if (!options) in parse_options_remount() 161 while ((p = strsep(&options, ",")) != NULL) { in parse_options_remount() 287 err = parse_options(sb, raw_data, silent, &debug, mnt_opt, &sb_info->options); in sdcardfs_read_super() 342 if (sb_info->options.multiuser) { in sdcardfs_read_super() 344 sb_info->options.fs_user_id, AID_ROOT); in sdcardfs_read_super() 348 sb_info->options.fs_user_id, AID_ROOT); in sdcardfs_read_super()
|
D | super.c | 81 if (sbi->options.reserved_mb) { in sdcardfs_statfs() 88 min_blocks = ((sbi->options.reserved_mb * 1024 * 1024)/buf->f_bsize); in sdcardfs_statfs() 110 static int sdcardfs_remount_fs(struct super_block *sb, int *flags, char *options) in sdcardfs_remount_fs() argument 134 int *flags, char *options) in sdcardfs_remount_fs2() argument 147 pr_info("Remount options were %s for vfsmnt %p.\n", options, mnt); in sdcardfs_remount_fs2() 148 err = parse_options_remount(sb, options, *flags & ~MS_SILENT, mnt->data); in sdcardfs_remount_fs2() 293 struct sdcardfs_mount_options *opts = &sbi->options; in sdcardfs_show_options()
|
D | derived_perm.c | 173 uid_t uid = sbi->options.fs_low_uid; in fixup_lower_ownership() 174 gid_t gid = sbi->options.fs_low_gid; in fixup_lower_ownership() 177 if (!sbi->options.gid_derivation) in fixup_lower_ownership() 363 if (!(sbi->options.multiuser == false in need_graft_path() 424 if (sbi->options.multiuser) { in is_base_obbpath()
|
D | sdcardfs.h | 208 extern int parse_options_remount(struct super_block *sb, char *options, int silent, 218 struct sdcardfs_mount_options options; member 409 if (vfsopts->gid == AID_SDCARD_RW && !sbi->options.default_normal) in get_gid() 583 if (sbi->options.reserved_mb) { in check_min_free_space() 608 if ((avail - size) > (sbi->options.reserved_mb * 1024 * 1024)) in check_min_free_space()
|
D | inode.c | 36 if (sbi->options.gid_derivation) { in override_fsids() 40 uid = multiuser_get_uid(data->userid, sbi->options.fs_low_uid); in override_fsids() 42 uid = sbi->options.fs_low_uid; in override_fsids() 45 cred->fsgid = make_kgid(&init_user_ns, sbi->options.fs_low_gid); in override_fsids() 302 if ((!sbi->options.multiuser) && (qstr_case_eq(&dentry->d_name, &q_obb)) in sdcardfs_mkdir()
|
/fs/proc/ |
D | root.c | 51 static int proc_parse_options(char *options, struct pid_namespace *pid) in proc_parse_options() argument 57 if (!options) in proc_parse_options() 60 while ((p = strsep(&options, ",")) != NULL) { in proc_parse_options() 106 char *options; in proc_mount() local 110 options = NULL; in proc_mount() 113 options = data; in proc_mount() 131 if (!proc_parse_options(options, ns)) { in proc_mount()
|
/fs/fat/ |
D | file.c | 76 if (sbi->options.sys_immutable && in fat_ioctl_set_attributes() 98 if (sbi->options.sys_immutable) { in fat_ioctl_set_attributes() 149 MSDOS_SB(inode->i_sb)->options.flush) { in fat_file_release() 318 if (MSDOS_SB(inode->i_sb)->options.nfs == FAT_NFS_NOSTALE_RO) { in fat_getattr() 337 mask = sbi->options.fs_fmask; in fat_sanitize_mode() 339 mask = sbi->options.fs_dmask; in fat_sanitize_mode() 366 umode_t allow_utime = sbi->options.allow_utime; in fat_allow_set_time() 400 if (sbi->options.quiet) in fat_setattr() 423 (!uid_eq(attr->ia_uid, sbi->options.fs_uid))) || in fat_setattr() 425 (!gid_eq(attr->ia_gid, sbi->options.fs_gid))) || in fat_setattr() [all …]
|
D | namei_msdos.c | 124 err = msdos_format_name(name, len, msdos_name, &sbi->options); in msdos_find() 129 if (!err && sbi->options.dotsOK) { in msdos_find() 151 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; in msdos_hash() local 155 error = msdos_format_name(qstr->name, qstr->len, msdos_name, options); in msdos_hash() 168 struct fat_mount_options *options = &MSDOS_SB(parent->d_sb)->options; in msdos_cmp() local 172 error = msdos_format_name(name->name, name->len, a_msdos_name, options); in msdos_cmp() 175 error = msdos_format_name(str, len, b_msdos_name, options); in msdos_cmp() 275 msdos_name, &MSDOS_SB(sb)->options); in msdos_create() 356 msdos_name, &MSDOS_SB(sb)->options); in msdos_mkdir() 609 &MSDOS_SB(old_dir->i_sb)->options); in msdos_rename() [all …]
|
D | inode.c | 378 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) { in fat_attach() 397 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) { in fat_detach() 459 inode->i_uid = sbi->options.fs_uid; in fat_fill_inode() 460 inode->i_gid = sbi->options.fs_gid; in fat_fill_inode() 481 ((sbi->options.showexec && !is_exec(de->name + 8)) in fat_fill_inode() 493 if (sbi->options.sys_immutable) in fat_fill_inode() 502 if (sbi->options.isvfat) { in fat_fill_inode() 514 if (sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_lock_build_inode() 520 if (sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_unlock_build_inode() 630 fat_reset_iocharset(&sbi->options); in delayed_free() [all …]
|
D | misc.c | 21 struct fat_mount_options *opts = &MSDOS_SB(sb)->options; in __fat_fs_error() 212 if (!sbi->options.tz_set) in fat_time_fat2unix() 215 second -= sbi->options.time_offset * SECS_PER_MIN; in fat_time_fat2unix() 232 (sbi->options.tz_set ? sbi->options.time_offset : in fat_time_unix2fat()
|
D | fat.h | 81 struct fat_mount_options options; member 162 if (!sbi->options.rodir) in fat_mode_can_hold_ro() 164 mask = ~sbi->options.fs_dmask; in fat_mode_can_hold_ro() 166 mask = ~sbi->options.fs_fmask; in fat_mode_can_hold_ro() 177 if (attrs & ATTR_RO && !((attrs & ATTR_DIR) && !sbi->options.rodir)) in fat_make_mode() 181 return (mode & ~sbi->options.fs_dmask) | S_IFDIR; in fat_make_mode() 183 return (mode & ~sbi->options.fs_fmask) | S_IFREG; in fat_make_mode()
|
D | dir.c | 144 int uni_xlate = MSDOS_SB(sb)->options.unicode_xlate; in uni16_to_x8() 185 if (sbi->options.utf8) in fat_uni_to_x8() 261 if (sbi->options.name_check != 's') in fat_name_match() 355 int isvfat = sbi->options.isvfat; in fat_parse_short() 356 int nocase = sbi->options.nocase; in fat_parse_short() 357 unsigned short opt_shortname = sbi->options.shortname; in fat_parse_short() 449 if (sbi->options.isvfat) { in fat_parse_short() 563 int isvfat = sbi->options.isvfat; in __fat_readdir() 635 sbi->options.dotsOK); in __fat_readdir() 649 short_len = fat_parse_short(sb, de, bufname, sbi->options.dotsOK); in __fat_readdir() [all …]
|
D | nfs.c | 55 if (MSDOS_SB(sb)->options.nfs == FAT_NFS_NOSTALE_RO) in fat_ilookup() 74 if (inode == NULL && MSDOS_SB(sb)->options.nfs == FAT_NFS_NOSTALE_RO) { in __fat_nfs_get_inode() 282 if (!parent_inode && sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_get_parent()
|
/fs/nfs/ |
D | super.c | 326 static int nfs4_validate_mount_data(void *options, 692 if (nfss->options & NFS_OPTION_FSCACHE) in nfs_show_mount_options() 695 if (nfss->options & NFS_OPTION_MIGRATION) in nfs_show_mount_options() 884 if (nfss->options & NFS_OPTION_FSCACHE) { in nfs_show_stats() 1312 mnt->options |= NFS_OPTION_FSCACHE; in nfs_parse_mount_options() 1317 mnt->options &= ~NFS_OPTION_FSCACHE; in nfs_parse_mount_options() 1322 mnt->options |= NFS_OPTION_MIGRATION; in nfs_parse_mount_options() 1325 mnt->options &= ~NFS_OPTION_MIGRATION; in nfs_parse_mount_options() 1562 mnt->options |= NFS_OPTION_FSCACHE; in nfs_parse_mount_options() 1619 if (mnt->options & NFS_OPTION_MIGRATION && in nfs_parse_mount_options() [all …]
|
/fs/hostfs/ |
D | hostfs_kern.c | 46 static int __init hostfs_args(char *options, int *add) in hostfs_args() argument 50 ptr = strchr(options, ','); in hostfs_args() 53 if (*options != '\0') in hostfs_args() 54 root_ino = options; in hostfs_args() 56 options = ptr; in hostfs_args() 57 while (options) { in hostfs_args() 58 ptr = strchr(options, ','); in hostfs_args() 61 if (*options != '\0') { in hostfs_args() 62 if (!strcmp(options, "append")) in hostfs_args() 65 options); in hostfs_args() [all …]
|
/fs/ncpfs/ |
D | getopt.c | 28 int ncp_getopt(const char *caller, char **options, const struct ncp_option *opts, in ncp_getopt() argument 35 if ((token = strsep(options, ",")) == NULL) in ncp_getopt()
|
D | inode.c | 379 static int ncp_parse_options(struct ncp_mount_data_kernel *data, char *options) { in ncp_parse_options() argument 400 while ((optval = ncp_getopt("ncpfs", &options, ncp_opts, NULL, &optarg, &optint)) != 0) { in ncp_parse_options() 477 int options; in ncp_fill_super() local 669 NCP_DEFAULT_OPTIONS, &(server->buffer_size), &options) == 0) in ncp_fill_super() 671 if (options != NCP_DEFAULT_OPTIONS) in ncp_fill_super() 675 options & 2, in ncp_fill_super() 676 &(server->buffer_size), &options) != 0) in ncp_fill_super() 683 if (options & 2) in ncp_fill_super()
|
/fs/ext2/ |
D | super.c | 391 char *options = (char *) *data; in get_sb_block() local 393 if (!options || strncmp(options, "sb=", 3) != 0) in get_sb_block() 395 options += 3; in get_sb_block() 396 sb_block = simple_strtoul(options, &options, 0); in get_sb_block() 397 if (*options && *options != ',') { in get_sb_block() 402 if (*options == ',') in get_sb_block() 403 options++; in get_sb_block() 404 *data = (void *) options; in get_sb_block() 452 static int parse_options(char *options, struct super_block *sb) in parse_options() argument 461 if (!options) in parse_options() [all …]
|
/fs/autofs4/ |
D | inode.c | 128 static int parse_options(char *options, int *pipefd, kuid_t *uid, kgid_t *gid, in parse_options() argument 144 if (!options) in parse_options() 147 while ((p = strsep(&options, ",")) != NULL) { in parse_options()
|
/fs/ocfs2/ |
D | super.c | 106 static int ocfs2_parse_options(struct super_block *sb, char *options, 110 struct mount_options *options); 1241 struct mount_options *options) in ocfs2_check_set_options() argument 1243 if (options->mount_opt & OCFS2_MOUNT_USRQUOTA && in ocfs2_check_set_options() 1250 if (options->mount_opt & OCFS2_MOUNT_GRPQUOTA && in ocfs2_check_set_options() 1257 if (options->mount_opt & OCFS2_MOUNT_POSIX_ACL && in ocfs2_check_set_options() 1264 if (!(options->mount_opt & (OCFS2_MOUNT_POSIX_ACL | in ocfs2_check_set_options() 1267 options->mount_opt |= OCFS2_MOUNT_POSIX_ACL; in ocfs2_check_set_options() 1269 options->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_check_set_options() 1275 char *options, in ocfs2_parse_options() argument [all …]
|
/fs/nilfs2/ |
D | super.c | 741 static int parse_options(char *options, struct super_block *sb, int is_remount) in parse_options() argument 747 if (!options) in parse_options() 750 while ((p = strsep(&options, ",")) != NULL) { in parse_options() 1227 char *p, *options = data; in nilfs_identify() local 1233 p = strsep(&options, ","); in nilfs_identify() 1255 if (!options) in nilfs_identify() 1257 BUG_ON(options == data); in nilfs_identify() 1258 *(options - 1) = ','; in nilfs_identify()
|
/fs/ |
D | Kconfig | 190 Say Y here to get to see options for various miscellaneous 196 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
|
/fs/pstore/ |
D | inode.c | 247 static void parse_options(char *options) in parse_options() argument 253 if (!options) in parse_options() 256 while ((p = strsep(&options, ",")) != NULL) { in parse_options()
|