/fs/autofs4/ |
H A D | inode.c | 10 * option, any later version, incorporated herein by reference. 135 int option; local 160 if (match_int(args, &option)) 162 *uid = make_kuid(current_user_ns(), option); 167 if (match_int(args, &option)) 169 *gid = make_kgid(current_user_ns(), option); 174 if (match_int(args, &option)) 176 *pgrp = option; 180 if (match_int(args, &option)) 182 *minproto = option; [all...] |
/fs/proc/ |
H A D | root.c | 55 int option; local 69 if (match_int(&args[0], &option)) 71 pid->pid_gid = make_kgid(current_user_ns(), option); 74 if (match_int(&args[0], &option)) 76 if (option < 0 || option > 2) { 80 pid->hide_pid = option; 83 pr_err("proc: unrecognized mount option \"%s\" "
|
/fs/9p/ |
H A D | v9fs.c | 118 int option = 0; local 147 r = match_int(&args[0], &option); 154 v9ses->debug = option; 156 p9_debug_level = option; 161 r = match_int(&args[0], &option); 168 v9ses->dfltuid = make_kuid(current_user_ns(), option); 177 r = match_int(&args[0], &option); 184 v9ses->dfltgid = make_kgid(current_user_ns(), option); 193 r = match_int(&args[0], &option); 200 v9ses->afid = option; [all...] |
/fs/devpts/ |
H A D | inode.c | 9 * option, any later version, incorporated herein by reference. 153 * Set @opts to mount options specified in @data. If an option is not 155 * 'newinstance' option which can only be set/cleared on a mount (i.e. 181 int option; local 189 if (match_int(&args[0], &option)) 191 uid = make_kuid(current_user_ns(), option); 198 if (match_int(&args[0], &option)) 200 gid = make_kgid(current_user_ns(), option); 207 if (match_octal(&args[0], &option)) 209 opts->mode = option [all...] |
/fs/adfs/ |
H A D | super.c | 162 int option; local 176 if (match_int(args, &option)) 178 asb->s_uid = make_kuid(current_user_ns(), option); 183 if (match_int(args, &option)) 185 asb->s_gid = make_kgid(current_user_ns(), option); 190 if (match_octal(args, &option)) 192 asb->s_owner_mask = option; 195 if (match_octal(args, &option)) 197 asb->s_other_mask = option; 200 if (match_int(args, &option)) [all...] |
/fs/nfs/ |
H A D | super.c | 813 * Display all mount option settings 1068 * Parse the value of the 'sec=' option. 1077 dfprintk(MOUNT, "NFS: parsing sec=%s option\n", value); 1116 "NFS: sec= option '%s' not recognized\n", p); 1141 /* Backward compatibility option. In future, 1165 static int nfs_get_option_str(substring_t args[], char **option) argument 1167 kfree(*option); 1168 *option = match_strdup(args); 1169 return !*option; 1172 static int nfs_get_option_ul(substring_t args[], unsigned long *option) argument 1222 unsigned long option; local [all...] |
/fs/omfs/ |
H A D | inode.c | 377 int option; local 390 if (match_int(&args[0], &option)) 392 sbi->s_uid = make_kuid(current_user_ns(), option); 397 if (match_int(&args[0], &option)) 399 sbi->s_gid = make_kgid(current_user_ns(), option); 404 if (match_octal(&args[0], &option)) 406 sbi->s_fmask = sbi->s_dmask = option; 409 if (match_octal(&args[0], &option)) 411 sbi->s_dmask = option; 414 if (match_octal(&args[0], &option)) [all...] |
/fs/debugfs/ |
H A D | inode.c | 156 int option; local 171 if (match_int(&args[0], &option)) 173 uid = make_kuid(current_user_ns(), option); 179 if (match_int(&args[0], &option)) 181 gid = make_kgid(current_user_ns(), option); 187 if (match_octal(&args[0], &option)) 189 opts->mode = option & S_IALLUGO;
|
/fs/ |
H A D | Kconfig | 60 This option enables standard file locking support, required 62 call. Disabling this option saves about 11k. 124 and this option selects support for ACLs specifically for tmpfs 128 this option as there are a number of Linux distros that require 179 This option alone does not add any kernel code. 227 This option alone does not add any kernel code.
|
H A D | filesystems.c | 184 SYSCALL_DEFINE3(sysfs, int, option, unsigned long, arg1, unsigned long, arg2) 188 switch (option) {
|
/fs/ramfs/ |
H A D | inode.c | 187 int option; local 200 if (match_octal(&args[0], &option)) 202 opts->mode = option & S_IALLUGO;
|
/fs/isofs/ |
H A D | inode.c | 342 int option; local 410 if (match_int(&args[0], &option)) 412 n = option; 418 if (match_int(&args[0], &option)) 420 popt->sbsector = option; 431 if (match_int(&args[0], &option)) 433 popt->uid = make_kuid(current_user_ns(), option); 439 if (match_int(&args[0], &option)) 441 popt->gid = make_kgid(current_user_ns(), option); 447 if (match_int(&args[0], &option)) [all...] |
/fs/affs/ |
H A D | super.c | 210 int token, n, option; local 227 if (match_octal(&args[0], &option)) 229 *mode = option & 0777; 256 if (match_int(&args[0], &option)) 258 *gid = make_kgid(current_user_ns(), option); 264 if (match_int(&args[0], &option)) 266 *uid = make_kuid(current_user_ns(), option); 286 pr_warn("Unrecognized mount option \"%s\" or missing value\n",
|
/fs/hpfs/ |
H A D | super.c | 252 * A tiny parser for option strings, stolen from dosfs. 254 * And updated for table-driven option parsing. 294 int option; local 312 if (match_int(args, &option)) 314 *uid = make_kuid(current_user_ns(), option); 319 if (match_int(args, &option)) 321 *gid = make_kgid(current_user_ns(), option); 326 if (match_octal(args, &option)) 328 *umask = option;
|
/fs/ocfs2/ |
H A D | super.c | 13 * version 2 of the License, or (at your option) any later version. 1320 int token, option; local 1338 if (match_int(&args[0], &option)) { 1342 if (option) 1372 if (match_int(&args[0], &option)) { 1376 if (option >= 0) 1377 mopt->atime_quantum = option; 1380 option = 0; 1381 if (match_int(&args[0], &option)) { 1385 if (option) [all...] |
/fs/fat/ |
H A D | inode.c | 849 /* strip "cp" prefix from displayed option */ 1024 int option; local 1102 if (match_int(&args[0], &option)) 1104 opts->fs_uid = make_kuid(current_user_ns(), option); 1109 if (match_int(&args[0], &option)) 1111 opts->fs_gid = make_kgid(current_user_ns(), option); 1116 if (match_octal(&args[0], &option)) 1118 opts->fs_fmask = opts->fs_dmask = option; 1121 if (match_octal(&args[0], &option)) 1123 opts->fs_dmask = option; [all...] |
/fs/udf/ |
H A D | super.c | 34 * 11/11/98 gr added novrs option 37 * vol descs. rewrote option handling based on isofs 490 int option; local 518 if (match_int(&args[0], &option)) 520 n = option; 545 if (match_int(args, &option)) 547 uopt->gid = make_kgid(current_user_ns(), option); 553 if (match_int(args, &option)) 555 uopt->uid = make_kuid(current_user_ns(), option); 561 if (match_octal(args, &option)) [all...] |
/fs/befs/ |
H A D | linuxvfs.c | 682 int option; local 705 if (match_int(&args[0], &option)) 708 if (option >= 0) 709 uid = make_kuid(current_user_ns(), option); 712 "using default\n", option); 719 if (match_int(&args[0], &option)) 722 if (option >= 0) 723 gid = make_kgid(current_user_ns(), option); 726 "using default\n", option); 745 pr_err("Unrecognized mount option \" [all...] |
/fs/ext3/ |
H A D | super.c | 602 * Show an option if 978 int option; local 1017 if (match_int(&args[0], &option)) 1019 uid = make_kuid(current_user_ns(), option); 1021 ext3_msg(sb, KERN_ERR, "Invalid uid value %d", option); 1028 if (match_int(&args[0], &option)) 1030 gid = make_kgid(current_user_ns(), option); 1032 ext3_msg(sb, KERN_ERR, "Invalid gid value %d", option); 1067 "Ignoring deprecated oldalloc option"); 1071 "Ignoring deprecated orlov option"); [all...] |
/fs/hugetlbfs/ |
H A D | inode.c | 769 int option; local 784 if (match_int(&args[0], &option)) 786 pconfig->uid = make_kuid(current_user_ns(), option); 792 if (match_int(&args[0], &option)) 794 pconfig->gid = make_kgid(current_user_ns(), option); 800 if (match_octal(&args[0], &option)) 802 pconfig->mode = option & 01777U; 836 pr_err("Bad mount option: \"%s\"\n", p); 856 pr_err("Bad value '%s' for mount option '%s'\n", args[0].from, p);
|
/fs/pstore/ |
H A D | inode.c | 229 int option; local 243 if (!match_int(&args[0], &option)) 244 pstore_set_kmsg_bytes(option);
|
/fs/gfs2/ |
H A D | ops_fstype.c | 975 int token, option; local 983 ret = match_int(&tmp[0], &option); 984 if (ret || option < 0) 987 ls->ls_jid = option; 994 ret = match_int(&tmp[0], &option); 995 if (ret || (option != 0 && option != 1)) 997 ls->ls_first = option;
|
/fs/ntfs/ |
H A D | super.c | 10 * (at your option) any later version. 114 #define NTFS_GETOPT_WITH_DEFAULT(option, variable, default_value) \ 115 if (!strcmp(p, option)) { \ 124 #define NTFS_GETOPT(option, variable) \ 125 if (!strcmp(p, option)) { \ 132 #define NTFS_GETOPT_UID(option, variable) \ 133 if (!strcmp(p, option)) { \ 144 #define NTFS_GETOPT_GID(option, variable) \ 145 if (!strcmp(p, option)) { \ 156 #define NTFS_GETOPT_OCTAL(option, variabl [all...] |
/fs/f2fs/ |
H A D | f2fs.h | 52 #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) 356 * Instead, as a mount option such as active_logs=x, you can use 2, 4, and 6
|
/fs/cifs/ |
H A D | connect.c | 10 * (at your option) any later version. 978 static int get_option_ul(substring_t args[], unsigned long *option) argument 986 rc = kstrtoul(string, 0, option); 1078 cifs_dbg(VFS, "bad security option: %s\n", value); 1104 cifs_dbg(VFS, "bad cache= option: %s\n", value); 1139 cifs_dbg(VFS, "Unknown vers= option specified: %s\n", value); 1300 unsigned long option; local 1463 * or per-smb connection option in the protocol 1469 printk(KERN_WARNING "CIFS: Mount option noac not " 1475 cifs_dbg(VFS, "FS-Cache support needs CONFIG_CIFS_FSCACHE kernel config option se [all...] |