/fs/ |
D | compat.c | 95 void *options; in COMPAT_SYSCALL_DEFINE5() local 109 options = copy_mount_options(data); in COMPAT_SYSCALL_DEFINE5() 110 retval = PTR_ERR(options); in COMPAT_SYSCALL_DEFINE5() 111 if (IS_ERR(options)) in COMPAT_SYSCALL_DEFINE5() 114 if (kernel_type && options) { in COMPAT_SYSCALL_DEFINE5() 117 if (do_nfs4_super_data_conv(options)) in COMPAT_SYSCALL_DEFINE5() 122 retval = do_mount(kernel_dev, dir_name, kernel_type, flags, options); in COMPAT_SYSCALL_DEFINE5() 125 kfree(options); in COMPAT_SYSCALL_DEFINE5()
|
D | fs_context.c | 207 char *options = data, *key; in generic_parse_monolithic() local 210 if (!options) in generic_parse_monolithic() 213 ret = security_sb_eat_lsm_opts(options, &fc->security); in generic_parse_monolithic() 217 while ((key = strsep(&options, ",")) != NULL) { in generic_parse_monolithic()
|
D | Kconfig | 232 Say Y here to get to see options for various miscellaneous 238 If you say N, all options in this submenu will be skipped and 277 Say Y here to get to see options for network filesystems and 283 If you say N, all options in this submenu will be skipped and
|
/fs/fat/ |
D | file.c | 81 if (sbi->options.sys_immutable && in fat_ioctl_set_attributes() 103 if (sbi->options.sys_immutable) { in fat_ioctl_set_attributes() 187 MSDOS_SB(inode->i_sb)->options.flush) { in fat_file_release() 415 if (MSDOS_SB(inode->i_sb)->options.nfs == FAT_NFS_NOSTALE_RO) { in fat_getattr() 434 mask = sbi->options.fs_fmask; in fat_sanitize_mode() 436 mask = sbi->options.fs_dmask; in fat_sanitize_mode() 463 umode_t allow_utime = sbi->options.allow_utime; in fat_allow_set_time() 497 if (sbi->options.quiet) in fat_setattr() 520 (!uid_eq(attr->ia_uid, sbi->options.fs_uid))) || in fat_setattr() 522 (!gid_eq(attr->ia_gid, sbi->options.fs_gid))) || in fat_setattr() [all …]
|
D | namei_msdos.c | 126 err = msdos_format_name(name, len, msdos_name, &sbi->options); in msdos_find() 131 if (!err && sbi->options.dotsOK) { in msdos_find() 153 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; in msdos_hash() local 157 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(name->name, name->len, a_msdos_name, options); in msdos_cmp() 177 error = msdos_format_name(str, len, b_msdos_name, options); in msdos_cmp() 277 msdos_name, &MSDOS_SB(sb)->options); in msdos_create() 354 msdos_name, &MSDOS_SB(sb)->options); in msdos_mkdir() 611 &MSDOS_SB(old_dir->i_sb)->options); in msdos_rename() [all …]
|
D | inode.c | 422 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) { in fat_attach() 441 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) { in fat_detach() 521 inode->i_uid = sbi->options.fs_uid; in fat_fill_inode() 522 inode->i_gid = sbi->options.fs_gid; in fat_fill_inode() 547 ((sbi->options.showexec && !is_exec(de->name + 8)) in fat_fill_inode() 559 if (sbi->options.sys_immutable) in fat_fill_inode() 568 if (sbi->options.isvfat) { in fat_fill_inode() 580 if (sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_lock_build_inode() 586 if (sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_unlock_build_inode() 726 fat_reset_iocharset(&sbi->options); in delayed_free() [all …]
|
D | fat.h | 82 struct fat_mount_options options; member 191 if (!sbi->options.rodir) in fat_mode_can_hold_ro() 193 mask = ~sbi->options.fs_dmask; in fat_mode_can_hold_ro() 195 mask = ~sbi->options.fs_fmask; in fat_mode_can_hold_ro() 206 if (attrs & ATTR_RO && !((attrs & ATTR_DIR) && !sbi->options.rodir)) in fat_make_mode() 210 return (mode & ~sbi->options.fs_dmask) | S_IFDIR; in fat_make_mode() 212 return (mode & ~sbi->options.fs_fmask) | S_IFREG; in fat_make_mode()
|
D | misc.c | 23 struct fat_mount_options *opts = &MSDOS_SB(sb)->options; in __fat_fs_error() 192 return (sbi->options.tz_set ? in fat_tz_offset() 193 -sbi->options.time_offset : in fat_tz_offset() 310 if (sbi->options.isvfat) in fat_truncate_time()
|
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() 354 int isvfat = sbi->options.isvfat; in fat_parse_short() 355 int nocase = sbi->options.nocase; in fat_parse_short() 356 unsigned short opt_shortname = sbi->options.shortname; in fat_parse_short() 450 if (sbi->options.isvfat) { in fat_parse_short() 564 int isvfat = sbi->options.isvfat; in __fat_readdir() 636 sbi->options.dotsOK); in __fat_readdir() 650 short_len = fat_parse_short(sb, de, bufname, sbi->options.dotsOK); in __fat_readdir() [all …]
|
D | nfs.c | 46 if (MSDOS_SB(sb)->options.nfs == FAT_NFS_NOSTALE_RO) in fat_ilookup() 65 if (inode == NULL && MSDOS_SB(sb)->options.nfs == FAT_NFS_NOSTALE_RO) { in __fat_nfs_get_inode() 273 if (!parent_inode && sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_get_parent()
|
/fs/sdcardfs/ |
D | main.c | 220 copy_sb_opts(&sb_info->options, fc); in __sdcardfs_fill_super() 283 if (sb_info->options.multiuser) { in __sdcardfs_fill_super() 285 sb_info->options.fs_user_id, AID_ROOT); in __sdcardfs_fill_super() 289 sb_info->options.fs_user_id, AID_ROOT); in __sdcardfs_fill_super() 361 sbi->options.debug = fc_opts->opts.debug; in sdcardfs_reconfigure_context() 362 if (sbi->options.debug) { in sdcardfs_reconfigure_context() 363 pr_info("sdcardfs : options - debug:%d\n", sbi->options.debug); in sdcardfs_reconfigure_context()
|
D | derived_perm.c | 177 uid_t uid = sbi->options.fs_low_uid; in fixup_lower_ownership() 178 gid_t gid = sbi->options.fs_low_gid; in fixup_lower_ownership() 181 if (!sbi->options.gid_derivation) in fixup_lower_ownership() 363 if (!sbi->options.unshared_obb && in need_graft_path() 368 if (!(sbi->options.multiuser == false in need_graft_path() 429 if (sbi->options.multiuser) { in is_base_obbpath()
|
D | super.c | 83 if (sbi->options.reserved_mb) { in sdcardfs_statfs() 90 min_blocks = ((sbi->options.reserved_mb * 1024 * 1024)/buf->f_bsize); in sdcardfs_statfs() 256 struct sdcardfs_mount_options *opts = &sbi->options; in sdcardfs_show_options()
|
D | sdcardfs.h | 220 extern int parse_options_remount(struct super_block *sb, char *options, int silent, 230 struct sdcardfs_mount_options options; member 422 if (vfsopts->gid == AID_SDCARD_RW && !sbi->options.default_normal) in get_gid() 596 if (sbi->options.reserved_mb) { in check_min_free_space() 621 if ((avail - size) > (sbi->options.reserved_mb * 1024 * 1024)) in check_min_free_space()
|
D | inode.c | 37 if (sbi->options.gid_derivation) { in override_fsids() 41 uid = multiuser_get_uid(data->userid, sbi->options.fs_low_uid); in override_fsids() 43 uid = sbi->options.fs_low_uid; in override_fsids() 46 cred->fsgid = make_kgid(&init_user_ns, sbi->options.fs_low_gid); in override_fsids() 306 if ((!sbi->options.multiuser) && (qstr_case_eq(&dentry->d_name, &q_obb)) in sdcardfs_mkdir()
|
/fs/nfs/ |
D | super.c | 335 static int nfs4_validate_mount_data(void *options, 697 if (nfss->options & NFS_OPTION_FSCACHE) in nfs_show_mount_options() 700 if (nfss->options & NFS_OPTION_MIGRATION) in nfs_show_mount_options() 900 if (nfss->options & NFS_OPTION_FSCACHE) { in nfs_show_stats() 1338 mnt->options |= NFS_OPTION_FSCACHE; in nfs_parse_mount_options() 1343 mnt->options &= ~NFS_OPTION_FSCACHE; in nfs_parse_mount_options() 1348 mnt->options |= NFS_OPTION_MIGRATION; in nfs_parse_mount_options() 1351 mnt->options &= ~NFS_OPTION_MIGRATION; in nfs_parse_mount_options() 1600 mnt->options |= NFS_OPTION_FSCACHE; in nfs_parse_mount_options() 1657 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/ext2/ |
D | super.c | 414 char *options = (char *) *data; in get_sb_block() local 416 if (!options || strncmp(options, "sb=", 3) != 0) in get_sb_block() 418 options += 3; in get_sb_block() 419 sb_block = simple_strtoul(options, &options, 0); in get_sb_block() 420 if (*options && *options != ',') { in get_sb_block() 425 if (*options == ',') in get_sb_block() 426 options++; in get_sb_block() 427 *data = (void *) options; in get_sb_block() 475 static int parse_options(char *options, struct super_block *sb, in parse_options() argument 484 if (!options) in parse_options() [all …]
|
/fs/ocfs2/ |
D | super.c | 88 static int ocfs2_parse_options(struct super_block *sb, char *options, 92 struct mount_options *options); 1205 struct mount_options *options) in ocfs2_check_set_options() argument 1207 if (options->mount_opt & OCFS2_MOUNT_USRQUOTA && in ocfs2_check_set_options() 1214 if (options->mount_opt & OCFS2_MOUNT_GRPQUOTA && in ocfs2_check_set_options() 1221 if (options->mount_opt & OCFS2_MOUNT_POSIX_ACL && in ocfs2_check_set_options() 1228 if (!(options->mount_opt & (OCFS2_MOUNT_POSIX_ACL | in ocfs2_check_set_options() 1231 options->mount_opt |= OCFS2_MOUNT_POSIX_ACL; in ocfs2_check_set_options() 1233 options->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_check_set_options() 1239 char *options, in ocfs2_parse_options() argument [all …]
|
/fs/nilfs2/ |
D | super.c | 714 static int parse_options(char *options, struct super_block *sb, int is_remount) in parse_options() argument 720 if (!options) in parse_options() 723 while ((p = strsep(&options, ",")) != NULL) { in parse_options() 1230 char *p, *options = data; in nilfs_identify() local 1236 p = strsep(&options, ","); in nilfs_identify() 1243 if (!options) in nilfs_identify() 1245 BUG_ON(options == data); in nilfs_identify() 1246 *(options - 1) = ','; in nilfs_identify()
|
/fs/pstore/ |
D | inode.c | 227 static void parse_options(char *options) in parse_options() argument 233 if (!options) in parse_options() 236 while ((p = strsep(&options, ",")) != NULL) { in parse_options()
|
/fs/autofs/ |
D | inode.c | 131 static int parse_options(char *options, in parse_options() argument 150 if (!options) in parse_options() 153 while ((p = strsep(&options, ",")) != NULL) { in parse_options()
|
/fs/hfs/ |
D | super.c | 224 static int parse_options(char *options, struct hfs_sb_info *hsb) in parse_options() argument 240 if (!options) in parse_options() 243 while ((p = strsep(&options, ",")) != NULL) { in parse_options()
|
/fs/btrfs/ |
D | super.c | 427 int btrfs_parse_options(struct btrfs_fs_info *info, char *options, in btrfs_parse_options() argument 451 if (!options) in btrfs_parse_options() 454 while ((p = strsep(&options, ",")) != NULL) { in btrfs_parse_options() 894 static int btrfs_parse_device_options(const char *options, fmode_t flags, in btrfs_parse_device_options() argument 904 if (!options) in btrfs_parse_device_options() 911 opts = kstrdup(options, GFP_KERNEL); in btrfs_parse_device_options() 949 static int btrfs_parse_subvol_options(const char *options, char **subvol_name, in btrfs_parse_subvol_options() argument 957 if (!options) in btrfs_parse_subvol_options() 964 opts = kstrdup(options, GFP_KERNEL); in btrfs_parse_subvol_options() 2326 static const char options[] = "" in btrfs_print_mod_info() local [all …]
|
/fs/squashfs/ |
D | Kconfig | 30 prompt "File decompression options" 33 Squashfs now supports two options for decompressing file 58 prompt "Decompressor parallelisation options" 61 Squashfs now supports three parallelisation options for
|