| /linux-6.15/fs/nfs/ |
| H A D | fs_context.c | 728 ctx->rsize = result.uint_32; in nfs_fs_context_parse_param() 731 ctx->wsize = result.uint_32; in nfs_fs_context_parse_param() 734 ctx->bsize = result.uint_32; in nfs_fs_context_parse_param() 737 if (result.uint_32 < 1 || result.uint_32 > INT_MAX) in nfs_fs_context_parse_param() 739 ctx->timeo = result.uint_32; in nfs_fs_context_parse_param() 906 if (result.uint_32 < 1 || result.uint_32 > NFS_MAX_CONNECTIONS) in nfs_fs_context_parse_param() 912 if (result.uint_32 < 1 || result.uint_32 > NFS_MAX_TRANSPORTS) in nfs_fs_context_parse_param() 918 switch (result.uint_32) { in nfs_fs_context_parse_param() 937 switch (result.uint_32) { in nfs_fs_context_parse_param() 954 switch (result.uint_32) { in nfs_fs_context_parse_param() [all …]
|
| /linux-6.15/fs/smb/client/ |
| H A D | fs_context.c | 1286 ctx->port = result.uint_32; in smb3_fs_context_parse_param() 1289 ctx->file_mode = result.uint_32; in smb3_fs_context_parse_param() 1292 ctx->dir_mode = result.uint_32; in smb3_fs_context_parse_param() 1295 ctx->min_offload = result.uint_32; in smb3_fs_context_parse_param() 1298 ctx->retrans = result.uint_32; in smb3_fs_context_parse_param() 1334 ctx->rasize = result.uint_32; in smb3_fs_context_parse_param() 1391 if (result.uint_32 < 20 || result.uint_32 > 60000) { in smb3_fs_context_parse_param() 1396 ctx->max_credits = result.uint_32; in smb3_fs_context_parse_param() 1399 if (result.uint_32 < 1 || result.uint_32 > CIFS_MAX_CHANNELS) { in smb3_fs_context_parse_param() 1406 if (result.uint_32 > 1) in smb3_fs_context_parse_param() [all …]
|
| /linux-6.15/fs/ |
| H A D | fs_parser.c | 223 if (kstrtouint(param->string, base, &result->uint_32) < 0) in fs_param_is_u32() 266 result->uint_32 = c->value; in fs_param_is_enum() 296 kstrtouint(param->string, 0, &result->uint_32) < 0) in fs_param_is_fd() 298 if (result->uint_32 <= INT_MAX) in fs_param_is_fd() 302 result->uint_32 = param->dirfd; in fs_param_is_fd() 303 if (result->uint_32 <= INT_MAX) in fs_param_is_fd() 322 result->uint_32 = param->dirfd; in fs_param_is_file_or_string() 323 if (result->uint_32 <= INT_MAX) in fs_param_is_file_or_string() 341 uid = make_kuid(current_user_ns(), result->uint_32); in fs_param_is_uid() 358 gid = make_kgid(current_user_ns(), result->uint_32); in fs_param_is_gid()
|
| /linux-6.15/fs/vboxsf/ |
| H A D | super.c | 80 ctx->o.ttl = msecs_to_jiffies(result.uint_32); in vboxsf_parse_param() 83 if (result.uint_32 & ~0777) in vboxsf_parse_param() 85 ctx->o.dmode = result.uint_32; in vboxsf_parse_param() 89 if (result.uint_32 & ~0777) in vboxsf_parse_param() 91 ctx->o.fmode = result.uint_32; in vboxsf_parse_param() 95 if (result.uint_32 & ~07777) in vboxsf_parse_param() 97 ctx->o.dmask = result.uint_32; in vboxsf_parse_param() 100 if (result.uint_32 & ~07777) in vboxsf_parse_param() 102 ctx->o.fmask = result.uint_32; in vboxsf_parse_param()
|
| /linux-6.15/net/ceph/ |
| H A D | ceph_common.c | 487 switch (result.uint_32) { in ceph_parse_param() 502 switch (result.uint_32) { in ceph_parse_param() 530 if (result.uint_32 < 1 || result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 533 msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 537 if (result.uint_32 < 1 || result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 539 opt->osd_idle_ttl = msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 543 if (result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 545 opt->mount_timeout = msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 549 if (result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 552 msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param()
|
| /linux-6.15/fs/ceph/ |
| H A D | super.c | 448 mode = result.uint_32; in ceph_parse_mount_param() 463 if (result.uint_32 < PAGE_SIZE || in ceph_parse_mount_param() 464 result.uint_32 > CEPH_MAX_WRITE_SIZE) in ceph_parse_mount_param() 469 if (result.uint_32 < PAGE_SIZE || in ceph_parse_mount_param() 470 result.uint_32 > CEPH_MAX_READ_SIZE) in ceph_parse_mount_param() 478 if (result.uint_32 < 1) in ceph_parse_mount_param() 483 if (result.uint_32 < 1) in ceph_parse_mount_param() 493 if (result.uint_32 < 1) in ceph_parse_mount_param() 495 fsopt->max_readdir = result.uint_32; in ceph_parse_mount_param() 498 if (result.uint_32 < PAGE_SIZE && result.uint_32 != 0) in ceph_parse_mount_param() [all …]
|
| /linux-6.15/fs/hfs/ |
| H A D | super.c | 239 hsb->s_file_umask = (umode_t)result.uint_32; in hfs_parse_param() 240 hsb->s_dir_umask = (umode_t)result.uint_32; in hfs_parse_param() 243 hsb->s_file_umask = (umode_t)result.uint_32; in hfs_parse_param() 246 hsb->s_dir_umask = (umode_t)result.uint_32; in hfs_parse_param() 249 hsb->part = result.uint_32; in hfs_parse_param() 252 hsb->session = result.uint_32; in hfs_parse_param()
|
| /linux-6.15/fs/hfsplus/ |
| H A D | options.c | 96 sbi->umask = (umode_t)result.uint_32; in hfsplus_parse_param() 107 sbi->part = result.uint_32; in hfsplus_parse_param() 110 sbi->session = result.uint_32; in hfsplus_parse_param()
|
| /linux-6.15/fs/autofs/ |
| H A D | inode.c | 167 pipe = fget(result->uint_32); in autofs_parse_fd() 186 sbi->pipefd = result->uint_32; in autofs_parse_fd() 213 ctx->pgrp = result.uint_32; in autofs_parse_param() 217 sbi->min_proto = result.uint_32; in autofs_parse_param() 220 sbi->max_proto = result.uint_32; in autofs_parse_param()
|
| /linux-6.15/fs/proc/ |
| H A D | root.c | 68 if (!kstrtouint(param->string, base, &result.uint_32)) { in proc_parse_hidepid_param() 69 if (!valid_hidepid(result.uint_32)) in proc_parse_hidepid_param() 71 ctx->hidepid = result.uint_32; in proc_parse_hidepid_param() 124 ctx->gid = result.uint_32; in proc_parse_param()
|
| /linux-6.15/fs/hpfs/ |
| H A D | super.c | 388 ctx->umask = result.uint_32; in hpfs_parse_param() 391 ctx->lowercase = result.uint_32; in hpfs_parse_param() 394 ctx->chk = result.uint_32; in hpfs_parse_param() 397 ctx->errs = result.uint_32; in hpfs_parse_param() 400 ctx->eas = result.uint_32; in hpfs_parse_param() 403 ctx->chkdsk = result.uint_32; in hpfs_parse_param()
|
| /linux-6.15/fs/overlayfs/ |
| H A D | params.c | 632 config->redirect_mode = result.uint_32; in ovl_parse_param() 641 config->index = result.uint_32; in ovl_parse_param() 645 config->uuid = result.uint_32; in ovl_parse_param() 648 config->nfs_export = result.uint_32; in ovl_parse_param() 652 config->xino = result.uint_32; in ovl_parse_param() 655 config->metacopy = result.uint_32; in ovl_parse_param() 659 config->verity_mode = result.uint_32; in ovl_parse_param()
|
| /linux-6.15/fs/jffs2/ |
| H A D | super.c | 201 c->mount_opts.compr = result.uint_32; in jffs2_parse_param() 205 if (result.uint_32 > UINT_MAX / 1024) in jffs2_parse_param() 207 c->mount_opts.rp_size = result.uint_32 * 1024; in jffs2_parse_param()
|
| /linux-6.15/fs/devpts/ |
| H A D | inode.c | 242 opts->mode = result.uint_32 & S_IALLUGO; in devpts_parse_param() 245 opts->ptmxmode = result.uint_32 & S_IALLUGO; in devpts_parse_param() 250 if (result.uint_32 > NR_UNIX98_PTY_MAX) in devpts_parse_param() 252 opts->max = result.uint_32; in devpts_parse_param()
|
| /linux-6.15/fs/exfat/ |
| H A D | super.c | 301 opts->fs_fmask = result.uint_32; in exfat_parse_param() 302 opts->fs_dmask = result.uint_32; in exfat_parse_param() 305 opts->fs_dmask = result.uint_32; in exfat_parse_param() 308 opts->fs_fmask = result.uint_32; in exfat_parse_param() 311 opts->allow_utime = result.uint_32 & 0022; in exfat_parse_param() 319 opts->errors = result.uint_32; in exfat_parse_param()
|
| /linux-6.15/fs/ocfs2/ |
| H A D | super.c | 1294 mopt->mount_opt |= result.uint_32; in ocfs2_parse_param() 1297 if (result.uint_32) in ocfs2_parse_param() 1312 mopt->mount_opt |= result.uint_32; in ocfs2_parse_param() 1316 mopt->mount_opt |= result.uint_32; in ocfs2_parse_param() 1325 mopt->atime_quantum = result.uint_32; in ocfs2_parse_param() 1328 if (result.uint_32) in ocfs2_parse_param() 1329 mopt->slot = (u16)result.uint_32; in ocfs2_parse_param() 1332 if (result.uint_32 == 0) in ocfs2_parse_param() 1382 mopt->mount_opt |= result.uint_32; in ocfs2_parse_param() 1398 mopt->resv_level = result.uint_32; in ocfs2_parse_param() [all …]
|
| /linux-6.15/fs/adfs/ |
| H A D | super.c | 148 asb->s_owner_mask = result.uint_32; in adfs_parse_param() 151 asb->s_other_mask = result.uint_32; in adfs_parse_param() 154 asb->s_ftsuffix = result.uint_32; in adfs_parse_param()
|
| /linux-6.15/fs/affs/ |
| H A D | super.c | 212 n = result.uint_32; in affs_parse_param() 221 ctx->mode = result.uint_32 & 0777; in affs_parse_param() 240 ctx->reserved = result.uint_32; in affs_parse_param() 243 ctx->root_block = result.uint_32; in affs_parse_param()
|
| /linux-6.15/fs/isofs/ |
| H A D | inode.c | 389 popt->map = result.uint_32; in isofs_parse_param() 392 n = result.uint_32; in isofs_parse_param() 402 popt->sbsector = result.uint_32; in isofs_parse_param() 405 popt->check = result.uint_32; in isofs_parse_param() 418 popt->fmode = result.uint_32; in isofs_parse_param() 421 popt->dmode = result.uint_32; in isofs_parse_param() 427 n = result.uint_32; in isofs_parse_param()
|
| /linux-6.15/fs/fat/ |
| H A D | inode.c | 1182 opts->name_check = result.uint_32; in fat_parse_param() 1215 opts->fs_fmask = opts->fs_dmask = result.uint_32; in fat_parse_param() 1218 opts->fs_dmask = result.uint_32; in fat_parse_param() 1221 opts->fs_fmask = result.uint_32; in fat_parse_param() 1224 opts->allow_utime = result.uint_32 & (S_IWGRP | S_IWOTH); in fat_parse_param() 1227 opts->codepage = result.uint_32; in fat_parse_param() 1245 opts->time_offset = result.uint_32; in fat_parse_param() 1248 opts->errors = result.uint_32; in fat_parse_param() 1254 opts->nfs = result.uint_32; in fat_parse_param() 1275 opts->shortname = result.uint_32; in fat_parse_param()
|
| /linux-6.15/fs/ext4/ |
| H A D | super.c | 2173 ctx->s_sb_block = result.uint_32; in ext4_parse_param() 2194 ctx->s_jquota_fmt = result.uint_32; in ext4_parse_param() 2204 if (result.uint_32 == 0) in ext4_parse_param() 2210 result.uint_32, INT_MAX / HZ); in ext4_parse_param() 2217 if ((result.uint_32 & 1) || (result.uint_32 < 4)) { in ext4_parse_param() 2234 if (result.uint_32 && in ext4_parse_param() 2235 (result.uint_32 > (1 << 30) || in ext4_parse_param() 2263 ctx->s_stripe = result.uint_32; in ext4_parse_param() 2309 if (result.uint_32 > 7) { in ext4_parse_param() 2325 Opt_dax : result.uint_32; in ext4_parse_param() [all …]
|
| /linux-6.15/fs/btrfs/ |
| H A D | super.c | 416 if (result.uint_32 == 0) { in btrfs_parse_param() 420 ctx->thread_pool_size = result.uint_32; in btrfs_parse_param() 469 ctx->metadata_ratio = result.uint_32; in btrfs_parse_param() 482 switch (result.uint_32) { in btrfs_parse_param() 509 switch (result.uint_32) { in btrfs_parse_param() 557 switch (result.uint_32) { in btrfs_parse_param() 571 ctx->commit_interval = result.uint_32; in btrfs_parse_param() 580 switch (result.uint_32) { in btrfs_parse_param() 614 switch (result.uint_32) { in btrfs_parse_param()
|
| /linux-6.15/fs/ntfs3/ |
| H A D | super.c | 333 if (result.uint_32 & ~07777) in ntfs_fs_parse_param() 335 opts->fs_fmask_inv = ~result.uint_32; in ntfs_fs_parse_param() 336 opts->fs_dmask_inv = ~result.uint_32; in ntfs_fs_parse_param() 341 if (result.uint_32 & ~07777) in ntfs_fs_parse_param() 343 opts->fs_dmask_inv = ~result.uint_32; in ntfs_fs_parse_param() 347 if (result.uint_32 & ~07777) in ntfs_fs_parse_param() 349 opts->fs_fmask_inv = ~result.uint_32; in ntfs_fs_parse_param()
|
| /linux-6.15/fs/jfs/ |
| H A D | super.c | 302 ctx->flag |= result.uint_32; in jfs_parse_param() 329 if (result.uint_32 & ~0777) { in jfs_parse_param() 333 ctx->umask = result.uint_32; in jfs_parse_param() 350 ctx->minblks_trim = result.uint_32; in jfs_parse_param()
|
| /linux-6.15/drivers/android/ |
| H A D | binderfs.c | 296 if (result.uint_32 > BINDERFS_MAX_MINOR) in binderfs_fs_context_parse_param() 299 ctx->max = result.uint_32; in binderfs_fs_context_parse_param() 305 ctx->stats_mode = result.uint_32; in binderfs_fs_context_parse_param()
|