Searched refs:opt (Results 1 - 22 of 22) sorted by relevance

/fs/qnx6/
H A Dqnx6.h68 #define clear_opt(o, opt) (o &= ~(QNX6_MOUNT_##opt))
69 #define set_opt(o, opt) (o |= (QNX6_MOUNT_##opt))
70 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \
71 QNX6_MOUNT_##opt)
/fs/ufs/
H A Dufs.h71 #define ufs_clear_opt(o,opt) o &= ~UFS_MOUNT_##opt
72 #define ufs_set_opt(o,opt) o |= UFS_MOUNT_##opt
73 #define ufs_test_opt(o,opt) ((o) & UFS_MOUNT_##opt)
/fs/nilfs2/
H A Dthe_nilfs.h228 #define nilfs_clear_opt(nilfs, opt) \
229 do { (nilfs)->ns_mount_opt &= ~NILFS_MOUNT_##opt; } while (0)
230 #define nilfs_set_opt(nilfs, opt) \
231 do { (nilfs)->ns_mount_opt |= NILFS_MOUNT_##opt; } while (0)
232 #define nilfs_test_opt(nilfs, opt) ((nilfs)->ns_mount_opt & NILFS_MOUNT_##opt)
233 #define nilfs_write_opt(nilfs, mask, opt) \
236 NILFS_MOUNT_##opt); \
/fs/isofs/
H A Dinode.c579 struct iso9660_options opt; local
595 if (!parse_options((char *)data, &opt))
607 opt.blocksize = sb_min_blocksize(s, opt.blocksize);
611 vol_desc_start = (opt.sbsector != -1) ?
612 opt.sbsector : isofs_get_last_session(s,opt.session);
646 if (opt.joliet) {
671 opt.rock = 0;
694 if (joliet_level && (pri == NULL || !opt
[all...]
/fs/ceph/
H A Dsuper.c420 struct ceph_options *opt = fsc->client->options; local
422 if (opt->flags & CEPH_OPT_FSID)
423 seq_printf(m, ",fsid=%pU", &opt->fsid);
424 if (opt->flags & CEPH_OPT_NOSHARE)
426 if (opt->flags & CEPH_OPT_NOCRC)
429 if (opt->name)
430 seq_printf(m, ",name=%s", opt->name);
431 if (opt->key)
434 if (opt->mount_timeout != CEPH_MOUNT_TIMEOUT_DEFAULT)
435 seq_printf(m, ",mount_timeout=%d", opt
512 create_fs_client(struct ceph_mount_options *fsopt, struct ceph_options *opt) argument
874 struct ceph_options *opt = new->client->options; local
931 struct ceph_options *opt = NULL; local
[all...]
H A Ddebugfs.c166 struct ceph_options *opt = fsc->client->options; local
175 seq_printf(s, "name \"%s\"\n", opt->name ? opt->name : "");
H A Dsuper.h41 #define ceph_set_mount_opt(fsc, opt) \
42 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt;
43 #define ceph_test_mount_opt(fsc, opt) \
44 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
H A Dmds_client.c833 struct ceph_options *opt = mdsc->fsc->client->options; local
838 {"entity_id", opt->name ? opt->name : ""},
1577 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; local
1586 num_entries = min(num_entries, opt->max_readdir);
1600 num_entries = min(num_entries, opt->max_readdir);
1605 req->r_args.readdir.max_bytes = cpu_to_le32(opt->max_readdir_bytes);
/fs/jffs2/
H A Dsuper.c182 unsigned int opt; local
221 if (match_int(&args[0], &opt))
223 opt *= 1024;
224 if (opt > c->mtd->size) {
229 c->mount_opts.rp_size = opt;
/fs/reiserfs/
H A Dsuper.c919 * return -1 if unknown option is found, opt->arg_required otherwise
932 const opt_desc_t *opt; local
959 for (opt = opts; opt->option_name; opt++) {
960 if (!strncmp(p, opt->option_name, strlen(opt->option_name))) {
962 if (opt->clrmask ==
968 *bit_flags &= ~opt->clrmask;
969 if (opt
2323 int opt = type == USRQUOTA ? REISERFS_USRQUOTA : REISERFS_GRPQUOTA; local
[all...]
/fs/ext2/
H A Dext2.h389 #define clear_opt(o, opt) o &= ~EXT2_MOUNT_##opt
390 #define set_opt(o, opt) o |= EXT2_MOUNT_##opt
391 #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \
392 EXT2_MOUNT_##opt)
/fs/ext3/
H A Dext3.h372 #define clear_opt(o, opt) o &= ~EXT3_MOUNT_##opt
373 #define set_opt(o, opt) o |= EXT3_MOUNT_##opt
374 #define test_opt(sb, opt) (EXT3_SB(sb)->s_mount_opt & \
375 EXT3_MOUNT_##opt)
/fs/ext4/
H A Dext4.h1008 #define clear_opt(sb, opt) EXT4_SB(sb)->s_mount_opt &= \
1009 ~EXT4_MOUNT_##opt
1010 #define set_opt(sb, opt) EXT4_SB(sb)->s_mount_opt |= \
1011 EXT4_MOUNT_##opt
1012 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \
1013 EXT4_MOUNT_##opt)
1015 #define clear_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 &= \
1016 ~EXT4_MOUNT2_##opt
1017 #define set_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 |= \
1018 EXT4_MOUNT2_##opt
[all...]
H A Dsuper.c1428 static int handle_mount_opt(struct super_block *sb, char *opt, int token, argument
1451 ext4_msg(sb, KERN_WARNING, deprecated_msg, opt, "3.5");
1456 ext4_msg(sb, KERN_WARNING, "Ignoring removed %s option", opt);
1472 "or missing value", opt);
1478 "Mount option \"%s\" incompatible with ext2", opt);
1483 "Mount option \"%s\" incompatible with ext3", opt);
1502 ext4_msg(sb, KERN_ERR, "%s option not supported", opt);
1632 "buggy handling of option %s", opt);
/fs/btrfs/
H A Dctree.h2101 #define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt)
2102 #define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt)
2103 #define btrfs_raw_test_opt(o, opt) ((o) & BTRFS_MOUNT_##opt)
2104 #define btrfs_test_opt(root, opt) ((root)->fs_info->mount_opt & \
2105 BTRFS_MOUNT_##opt)
2106 #define btrfs_set_and_info(root, opt, fmt, args...) \
2108 if (!btrfs_test_opt(root, opt)) \
[all...]
/fs/ntfs/
H A Dsuper.c97 * @opt: string containing the (re)mount options
99 * Parse the recognized options in @opt for the ntfs volume described by @vol.
101 static bool parse_options(ntfs_volume *vol, char *opt) argument
187 if (!opt || !*opt)
189 ntfs_debug("Entering with mount options string: %s", opt);
190 while ((p = strsep(&opt, ","))) {
458 * @opt: remount options string
466 static int ntfs_remount(struct super_block *sb, int *flags, char *opt) argument
470 ntfs_debug("Entering with remount options string: %s", opt);
2721 ntfs_fill_super(struct super_block *sb, void *opt, const int silent) argument
[all...]
H A Dlayout.h1142 } __attribute__ ((__packed__)) opt; member in struct:__anon441
1166 } __attribute__ ((__packed__)) opt; member in struct:__anon444
/fs/overlayfs/
H A Dsuper.c483 static int ovl_parse_opt(char *opt, struct ovl_config *config) argument
487 while ((p = ovl_next_opt(&opt)) != NULL) {
/fs/f2fs/
H A Df2fs.h52 #define clear_opt(sbi, option) (sbi->mount_opt.opt &= ~F2FS_MOUNT_##option)
53 #define set_opt(sbi, option) (sbi->mount_opt.opt |= F2FS_MOUNT_##option)
54 #define test_opt(sbi, option) (sbi->mount_opt.opt & F2FS_MOUNT_##option)
67 unsigned int opt; member in struct:f2fs_mount_info
H A Dsuper.c631 sbi->mount_opt.opt = 0;
/fs/fat/
H A Ddir.c239 wchar_t *uni_buf, unsigned short opt, int lower)
243 if (opt & VFAT_SFN_DISPLAY_LOWER)
245 else if (opt & VFAT_SFN_DISPLAY_WIN95)
247 else if (opt & VFAT_SFN_DISPLAY_WINNT) {
238 fat_shortname2uni(struct nls_table *nls, unsigned char *buf, int buf_size, wchar_t *uni_buf, unsigned short opt, int lower) argument
/fs/fuse/
H A Dinode.c492 static int parse_fuse_opt(char *opt, struct fuse_mount_data *d, int is_bdev) argument
499 while ((p = strsep(&opt, ",")) != NULL) {

Completed in 302 milliseconds