Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 16 of 16) sorted by relevance

/fs/isofs/
Dinode.c605 struct iso9660_options opt; in isofs_fill_super() local
621 if (!parse_options((char *)data, &opt)) in isofs_fill_super()
633 opt.blocksize = sb_min_blocksize(s, opt.blocksize); in isofs_fill_super()
637 vol_desc_start = (opt.sbsector != -1) ? in isofs_fill_super()
638 opt.sbsector : isofs_get_last_session(s,opt.session); in isofs_fill_super()
672 if (opt.joliet) { in isofs_fill_super()
697 opt.rock = 0; in isofs_fill_super()
720 if (joliet_level && (pri == NULL || !opt.rock)) { in isofs_fill_super()
751 if (orig_zonesize < opt.blocksize) in isofs_fill_super()
831 if (joliet_level && opt.utf8 == 0) { in isofs_fill_super()
[all …]
/fs/ceph/
Dsuper.c377 struct ceph_options *opt = fsc->client->options; in ceph_show_options() local
379 if (opt->flags & CEPH_OPT_FSID) in ceph_show_options()
380 seq_printf(m, ",fsid=%pU", &opt->fsid); in ceph_show_options()
381 if (opt->flags & CEPH_OPT_NOSHARE) in ceph_show_options()
383 if (opt->flags & CEPH_OPT_NOCRC) in ceph_show_options()
386 if (opt->name) in ceph_show_options()
387 seq_printf(m, ",name=%s", opt->name); in ceph_show_options()
388 if (opt->key) in ceph_show_options()
391 if (opt->mount_timeout != CEPH_MOUNT_TIMEOUT_DEFAULT) in ceph_show_options()
392 seq_printf(m, ",mount_timeout=%d", opt->mount_timeout); in ceph_show_options()
[all …]
Dsuper.h35 #define ceph_set_mount_opt(fsc, opt) \ argument
36 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt;
37 #define ceph_test_mount_opt(fsc, opt) \ argument
38 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
/fs/nilfs2/
Dthe_nilfs.h216 #define nilfs_clear_opt(nilfs, opt) \ argument
217 do { (nilfs)->ns_mount_opt &= ~NILFS_MOUNT_##opt; } while (0)
218 #define nilfs_set_opt(nilfs, opt) \ argument
219 do { (nilfs)->ns_mount_opt |= NILFS_MOUNT_##opt; } while (0)
220 #define nilfs_test_opt(nilfs, opt) ((nilfs)->ns_mount_opt & NILFS_MOUNT_##opt) argument
221 #define nilfs_write_opt(nilfs, mask, opt) \ argument
224 NILFS_MOUNT_##opt); \
/fs/qnx6/
Dqnx6.h68 #define clear_opt(o, opt) (o &= ~(QNX6_MOUNT_##opt)) argument
69 #define set_opt(o, opt) (o |= (QNX6_MOUNT_##opt)) argument
70 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ argument
71 QNX6_MOUNT_##opt)
/fs/ufs/
Dufs.h61 #define ufs_clear_opt(o,opt) o &= ~UFS_MOUNT_##opt argument
62 #define ufs_set_opt(o,opt) o |= UFS_MOUNT_##opt argument
63 #define ufs_test_opt(o,opt) ((o) & UFS_MOUNT_##opt) argument
/fs/reiserfs/
Dsuper.c840 const opt_desc_t *opt; in reiserfs_getopt() local
864 for (opt = opts; opt->option_name; opt++) { in reiserfs_getopt()
865 if (!strncmp(p, opt->option_name, strlen(opt->option_name))) { in reiserfs_getopt()
867 if (opt->clrmask == in reiserfs_getopt()
873 *bit_flags &= ~opt->clrmask; in reiserfs_getopt()
874 if (opt->setmask == in reiserfs_getopt()
880 *bit_flags |= opt->setmask; in reiserfs_getopt()
885 if (!opt->option_name) { in reiserfs_getopt()
891 p += strlen(opt->option_name); in reiserfs_getopt()
894 if (!opt->arg_required) { in reiserfs_getopt()
[all …]
/fs/ext2/
Dext2.h389 #define clear_opt(o, opt) o &= ~EXT2_MOUNT_##opt argument
390 #define set_opt(o, opt) o |= EXT2_MOUNT_##opt argument
391 #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \ argument
392 EXT2_MOUNT_##opt)
/fs/ext4/
Dext4.h964 #define clear_opt(sb, opt) EXT4_SB(sb)->s_mount_opt &= \ argument
965 ~EXT4_MOUNT_##opt
966 #define set_opt(sb, opt) EXT4_SB(sb)->s_mount_opt |= \ argument
967 EXT4_MOUNT_##opt
968 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \ argument
969 EXT4_MOUNT_##opt)
971 #define clear_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 &= \ argument
972 ~EXT4_MOUNT2_##opt
973 #define set_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 |= \ argument
974 EXT4_MOUNT2_##opt
[all …]
Dsuper.c1450 static int handle_mount_opt(struct super_block *sb, char *opt, int token, in handle_mount_opt() argument
1473 ext4_msg(sb, KERN_WARNING, deprecated_msg, opt, "3.5"); in handle_mount_opt()
1479 "Ignoring removed %s option", opt); in handle_mount_opt()
1524 ext4_msg(sb, KERN_ERR, "%s option not supported", opt); in handle_mount_opt()
1584 "buggy handling of option %s", opt); in handle_mount_opt()
1596 "or missing value", opt); in handle_mount_opt()
/fs/ext3/
Dext3.h370 #define clear_opt(o, opt) o &= ~EXT3_MOUNT_##opt argument
371 #define set_opt(o, opt) o |= EXT3_MOUNT_##opt argument
372 #define test_opt(sb, opt) (EXT3_SB(sb)->s_mount_opt & \ argument
373 EXT3_MOUNT_##opt)
/fs/ntfs/
Dsuper.c100 static bool parse_options(ntfs_volume *vol, char *opt) in parse_options() argument
162 if (!opt || !*opt) in parse_options()
164 ntfs_debug("Entering with mount options string: %s", opt); in parse_options()
165 while ((p = strsep(&opt, ","))) { in parse_options()
441 static int ntfs_remount(struct super_block *sb, int *flags, char *opt) in ntfs_remount() argument
445 ntfs_debug("Entering with remount options string: %s", opt); in ntfs_remount()
537 if (!parse_options(vol, opt)) in ntfs_remount()
2710 static int ntfs_fill_super(struct super_block *sb, void *opt, const int silent) in ntfs_fill_super() argument
2761 if (!parse_options(vol, (char*)opt)) in ntfs_fill_super()
Dlayout.h1142 } __attribute__ ((__packed__)) opt; member
1166 } __attribute__ ((__packed__)) opt; member
/fs/fat/
Ddir.c230 wchar_t *uni_buf, unsigned short opt, int lower) in fat_shortname2uni() argument
234 if (opt & VFAT_SFN_DISPLAY_LOWER) in fat_shortname2uni()
236 else if (opt & VFAT_SFN_DISPLAY_WIN95) in fat_shortname2uni()
238 else if (opt & VFAT_SFN_DISPLAY_WINNT) { in fat_shortname2uni()
/fs/btrfs/
Dctree.h1545 #define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt) argument
1546 #define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt) argument
1547 #define btrfs_test_opt(root, opt) ((root)->fs_info->mount_opt & \ argument
1548 BTRFS_MOUNT_##opt)
/fs/fuse/
Dinode.c437 static int parse_fuse_opt(char *opt, struct fuse_mount_data *d, int is_bdev) in parse_fuse_opt() argument
444 while ((p = strsep(&opt, ",")) != NULL) { in parse_fuse_opt()