Home
last modified time | relevance | path

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

/fs/isofs/
Dinode.c556 struct iso9660_options opt; in isofs_fill_super() local
572 if (!parse_options((char *)data, &opt)) in isofs_fill_super()
584 opt.blocksize = sb_min_blocksize(s, opt.blocksize); in isofs_fill_super()
588 vol_desc_start = (opt.sbsector != -1) ? in isofs_fill_super()
589 opt.sbsector : isofs_get_last_session(s,opt.session); in isofs_fill_super()
623 if (opt.joliet == 'y') { in isofs_fill_super()
648 opt.rock = 'n'; in isofs_fill_super()
671 if (joliet_level && (pri == NULL || opt.rock == 'n')) { in isofs_fill_super()
702 if (orig_zonesize < opt.blocksize) in isofs_fill_super()
786 if (joliet_level && opt.utf8 == 0) { in isofs_fill_super()
[all …]
/fs/ufs/
Dufs.h59 #define ufs_clear_opt(o,opt) o &= ~UFS_MOUNT_##opt argument
60 #define ufs_set_opt(o,opt) o |= UFS_MOUNT_##opt argument
61 #define ufs_test_opt(o,opt) ((o) & UFS_MOUNT_##opt) argument
/fs/smbfs/
Dioctl.c30 struct smb_conn_opt opt; in smb_ioctl() local
59 if (!copy_from_user(&opt, (void __user *)arg, sizeof(opt))) in smb_ioctl()
60 result = smb_newconn(server, &opt); in smb_ioctl()
Dproc.c406 if (server->opt.protocol <= SMB_PROTOCOL_COREPLUS) in smb_encode_path()
457 return time - server->opt.serverzone*60; in utc2local()
463 return time + server->opt.serverzone*60; in local2utc()
654 return server->opt.max_xmit - overhead; in smb_get_xmitsize()
667 VERBOSE("xmit=%d, size=%d\n", server->opt.max_xmit, size); in smb_get_rsize()
682 VERBOSE("xmit=%d, size=%d\n", server->opt.max_xmit, size); in smb_get_wsize()
849 smb_newconn(struct smb_sb_info *server, struct smb_conn_opt *opt) in smb_newconn() argument
855 VERBOSE("fd=%d, pid=%d\n", opt->fd, current->pid); in smb_newconn()
872 filp = fget(opt->fd); in smb_newconn()
880 server->opt = *opt; in smb_newconn()
[all …]
Drequest.c208 if ((bcc + oparam) > server->opt.max_xmit) in smb_setup_trans2request()
223 mdata = server->opt.max_xmit - mparam - 100; in smb_setup_trans2request()
389 WSET(req->rq_header, smb_tid, server->opt.tid); in smb_request_send_req()
391 WSET(req->rq_header, smb_uid, server->opt.server_uid); in smb_request_send_req()
Ddir.c255 if (server->opt.protocol < SMB_PROTOCOL_LANMAN2) { in smb_dir_open()
536 if (server->opt.capabilities & SMB_CAP_UNIX) { in smb_create()
563 if (server->opt.capabilities & SMB_CAP_UNIX) { in smb_mkdir()
Dinode.c138 if (server->opt.capabilities & SMB_CAP_UNIX) in smb_iget()
717 if (server->opt.capabilities & SMB_CAP_UNIX) { in smb_notify_change()
743 if (server->opt.protocol >= SMB_PROTOCOL_LANMAN2) in smb_notify_change()
Dproto.h15 extern int smb_newconn(struct smb_sb_info *server, struct smb_conn_opt *opt);
/fs/reiserfs/
Dsuper.c768 const opt_desc_t *opt; in reiserfs_getopt() local
792 for (opt = opts; opt->option_name; opt++) { in reiserfs_getopt()
793 if (!strncmp(p, opt->option_name, strlen(opt->option_name))) { in reiserfs_getopt()
795 if (opt->clrmask == in reiserfs_getopt()
800 *bit_flags &= ~opt->clrmask; in reiserfs_getopt()
801 if (opt->setmask == in reiserfs_getopt()
806 *bit_flags |= opt->setmask; in reiserfs_getopt()
811 if (!opt->option_name) { in reiserfs_getopt()
816 p += strlen(opt->option_name); in reiserfs_getopt()
819 if (!opt->arg_required) { in reiserfs_getopt()
[all …]
/fs/ext4/
Dext4.h547 #define clear_opt(o, opt) o &= ~EXT4_MOUNT_##opt argument
548 #define set_opt(o, opt) o |= EXT4_MOUNT_##opt argument
549 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \ argument
550 EXT4_MOUNT_##opt)
/fs/ntfs/
Dsuper.c99 static bool parse_options(ntfs_volume *vol, char *opt) in parse_options() argument
161 if (!opt || !*opt) in parse_options()
163 ntfs_debug("Entering with mount options string: %s", opt); in parse_options()
164 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()
536 if (!parse_options(vol, opt)) in ntfs_remount()
2731 static int ntfs_fill_super(struct super_block *sb, void *opt, const int silent) in ntfs_fill_super() argument
2784 if (!parse_options(vol, (char*)opt)) in ntfs_fill_super()
Dlayout.h1153 } __attribute__ ((__packed__)) opt; member
1177 } __attribute__ ((__packed__)) opt; member
/fs/btrfs/
Dctree.h970 #define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt) argument
971 #define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt) argument
972 #define btrfs_test_opt(root, opt) ((root)->fs_info->mount_opt & \ argument
973 BTRFS_MOUNT_##opt)
/fs/fat/
Ddir.c221 wchar_t *uni_buf, unsigned short opt, int lower) in fat_shortname2uni() argument
225 if (opt & VFAT_SFN_DISPLAY_LOWER) in fat_shortname2uni()
227 else if (opt & VFAT_SFN_DISPLAY_WIN95) in fat_shortname2uni()
229 else if (opt & VFAT_SFN_DISPLAY_WINNT) { in fat_shortname2uni()
/fs/fuse/
Dinode.c370 static int parse_fuse_opt(char *opt, struct fuse_mount_data *d, int is_bdev) in parse_fuse_opt() argument
377 while ((p = strsep(&opt, ",")) != NULL) { in parse_fuse_opt()