/openbmc/linux/fs/nfs/ |
H A D | fs_context.c | 676 ctx->rsize = result.uint_32; in nfs_fs_context_parse_param() 679 ctx->wsize = result.uint_32; in nfs_fs_context_parse_param() 682 ctx->bsize = result.uint_32; in nfs_fs_context_parse_param() 685 if (result.uint_32 < 1 || result.uint_32 > INT_MAX) in nfs_fs_context_parse_param() 687 ctx->timeo = result.uint_32; in nfs_fs_context_parse_param() 690 if (result.uint_32 > INT_MAX) in nfs_fs_context_parse_param() 854 if (result.uint_32 < 1 || result.uint_32 > NFS_MAX_CONNECTIONS) in nfs_fs_context_parse_param() 860 if (result.uint_32 < 1 || result.uint_32 > NFS_MAX_TRANSPORTS) in nfs_fs_context_parse_param() 866 switch (result.uint_32) { in nfs_fs_context_parse_param() 883 switch (result.uint_32) { in nfs_fs_context_parse_param() [all …]
|
/openbmc/linux/fs/vboxsf/ |
H A D | super.c | 76 uid = make_kuid(current_user_ns(), result.uint_32); in vboxsf_parse_param() 82 gid = make_kgid(current_user_ns(), result.uint_32); in vboxsf_parse_param() 88 ctx->o.ttl = msecs_to_jiffies(result.uint_32); in vboxsf_parse_param() 91 if (result.uint_32 & ~0777) in vboxsf_parse_param() 93 ctx->o.dmode = result.uint_32; in vboxsf_parse_param() 97 if (result.uint_32 & ~0777) in vboxsf_parse_param() 99 ctx->o.fmode = result.uint_32; in vboxsf_parse_param() 103 if (result.uint_32 & ~07777) in vboxsf_parse_param() 105 ctx->o.dmask = result.uint_32; in vboxsf_parse_param() 108 if (result.uint_32 & ~07777) in vboxsf_parse_param() [all …]
|
/openbmc/linux/fs/smb/client/ |
H A D | fs_context.c | 1128 ctx->port = result.uint_32; in smb3_fs_context_parse_param() 1134 ctx->dir_mode = result.uint_32; in smb3_fs_context_parse_param() 1140 ctx->retrans = result.uint_32; in smb3_fs_context_parse_param() 1155 ctx->bsize = result.uint_32; in smb3_fs_context_parse_param() 1176 ctx->rasize = result.uint_32; in smb3_fs_context_parse_param() 1179 ctx->rsize = result.uint_32; in smb3_fs_context_parse_param() 1183 ctx->wsize = result.uint_32; in smb3_fs_context_parse_param() 1237 if (result.uint_32 < 20 || result.uint_32 > 60000) { in smb3_fs_context_parse_param() 1245 if (result.uint_32 < 1 || result.uint_32 > CIFS_MAX_CHANNELS) { in smb3_fs_context_parse_param() 1252 if (result.uint_32 > 1) in smb3_fs_context_parse_param() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/fs/ |
H A D | fs_parser.c | 221 if (kstrtouint(param->string, base, &result->uint_32) < 0) in fs_param_is_u32() 264 result->uint_32 = c->value; in fs_param_is_enum() 294 kstrtouint(param->string, 0, &result->uint_32) < 0) in fs_param_is_fd() 296 if (result->uint_32 <= INT_MAX) in fs_param_is_fd() 300 result->uint_32 = param->dirfd; in fs_param_is_fd() 301 if (result->uint_32 <= INT_MAX) in fs_param_is_fd()
|
/openbmc/linux/fs/ceph/ |
H A D | super.c | 434 mode = result.uint_32; in ceph_parse_mount_param() 449 if (result.uint_32 < PAGE_SIZE || in ceph_parse_mount_param() 450 result.uint_32 > CEPH_MAX_WRITE_SIZE) in ceph_parse_mount_param() 455 if (result.uint_32 < PAGE_SIZE || in ceph_parse_mount_param() 456 result.uint_32 > CEPH_MAX_READ_SIZE) in ceph_parse_mount_param() 464 if (result.uint_32 < 1) in ceph_parse_mount_param() 469 if (result.uint_32 < 1) in ceph_parse_mount_param() 479 if (result.uint_32 < 1) in ceph_parse_mount_param() 481 fsopt->max_readdir = result.uint_32; in ceph_parse_mount_param() 484 if (result.uint_32 < PAGE_SIZE && result.uint_32 != 0) in ceph_parse_mount_param() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/fs/exfat/ |
H A D | super.c | 264 opts->fs_uid = make_kuid(current_user_ns(), result.uint_32); in exfat_parse_param() 267 opts->fs_gid = make_kgid(current_user_ns(), result.uint_32); in exfat_parse_param() 270 opts->fs_fmask = result.uint_32; in exfat_parse_param() 271 opts->fs_dmask = result.uint_32; in exfat_parse_param() 274 opts->fs_dmask = result.uint_32; in exfat_parse_param() 277 opts->fs_fmask = result.uint_32; in exfat_parse_param() 280 opts->allow_utime = result.uint_32 & 0022; in exfat_parse_param() 288 opts->errors = result.uint_32; in exfat_parse_param()
|
/openbmc/linux/fs/overlayfs/ |
H A D | params.c | 568 config->redirect_mode = result.uint_32; in ovl_parse_param() 577 config->index = result.uint_32; in ovl_parse_param() 581 config->uuid = result.uint_32; in ovl_parse_param() 584 config->nfs_export = result.uint_32; in ovl_parse_param() 588 config->xino = result.uint_32; in ovl_parse_param() 591 config->metacopy = result.uint_32; in ovl_parse_param() 595 config->verity_mode = result.uint_32; in ovl_parse_param()
|
/openbmc/linux/fs/jffs2/ |
H A D | super.c | 200 c->mount_opts.compr = result.uint_32; in jffs2_parse_param() 204 if (result.uint_32 > UINT_MAX / 1024) in jffs2_parse_param() 206 c->mount_opts.rp_size = result.uint_32 * 1024; in jffs2_parse_param()
|
/openbmc/linux/fs/ntfs3/ |
H A D | super.c | 323 opts->fs_uid = make_kuid(current_user_ns(), result.uint_32); in ntfs_fs_parse_param() 328 opts->fs_gid = make_kgid(current_user_ns(), result.uint_32); in ntfs_fs_parse_param() 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()
|
/openbmc/linux/fs/ext4/ |
H A D | super.c | 2194 ctx->s_sb_block = result.uint_32; in ext4_parse_param() 2225 if (result.uint_32 == 0) in ext4_parse_param() 2231 result.uint_32, INT_MAX / HZ); in ext4_parse_param() 2238 if ((result.uint_32 & 1) || (result.uint_32 < 4)) { in ext4_parse_param() 2255 if (result.uint_32 && in ext4_parse_param() 2284 ctx->s_stripe = result.uint_32; in ext4_parse_param() 2291 result.uint_32); in ext4_parse_param() 2301 result.uint_32); in ext4_parse_param() 2342 if (result.uint_32 > 7) { in ext4_parse_param() 2358 Opt_dax : result.uint_32; in ext4_parse_param() [all …]
|
/openbmc/linux/include/linux/ |
H A D | fs_parser.h | 58 unsigned int uint_32; /* For spec_u32{,_octal,_hex}/spec_enum */ member
|
/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 623 uid = make_kuid(current_user_ns(), result.uint_32); in spufs_parse_param() 629 gid = make_kgid(current_user_ns(), result.uint_32); in spufs_parse_param() 635 ctx->mode = result.uint_32 & S_IALLUGO; in spufs_parse_param()
|
/openbmc/linux/drivers/android/ |
H A D | binderfs.c | 292 if (result.uint_32 > BINDERFS_MAX_MINOR) in binderfs_fs_context_parse_param() 295 ctx->max = result.uint_32; in binderfs_fs_context_parse_param() 301 ctx->stats_mode = result.uint_32; in binderfs_fs_context_parse_param()
|
/openbmc/linux/arch/s390/hypfs/ |
H A D | inode.c | 232 uid = make_kuid(current_user_ns(), result.uint_32); in hypfs_parse_param() 238 gid = make_kgid(current_user_ns(), result.uint_32); in hypfs_parse_param()
|
/openbmc/linux/fs/fuse/ |
H A D | inode.c | 788 ctx->fd = result.uint_32; in fuse_parse_param() 793 if (!fuse_valid_type(result.uint_32)) in fuse_parse_param() 795 ctx->rootmode = result.uint_32; in fuse_parse_param() 800 kuid = make_kuid(fsc->user_ns, result.uint_32); in fuse_parse_param() 814 kgid = make_kgid(fsc->user_ns, result.uint_32);; in fuse_parse_param() 836 ctx->max_read = result.uint_32; in fuse_parse_param() 842 ctx->blksize = result.uint_32; in fuse_parse_param()
|
/openbmc/linux/fs/ramfs/ |
H A D | inode.c | 224 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | mount_api.rst | 637 fs_param_is_u32 32-bit unsigned int result->uint_32 638 fs_param_is_u32_octal 32-bit octal int result->uint_32 639 fs_param_is_u32_hex 32-bit hex int result->uint_32 642 fs_param_is_enum Enum value name result->uint_32 788 the result stored in result->{boolean,int_32,uint_32,uint_64}.
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_super.c | 1268 parsing_mp->m_logbufs = result.uint_32; in xfs_fs_parse_param() 1313 parsing_mp->m_dalign = result.uint_32; in xfs_fs_parse_param() 1316 parsing_mp->m_swidth = result.uint_32; in xfs_fs_parse_param() 1377 xfs_mount_set_dax_mode(parsing_mp, result.uint_32); in xfs_fs_parse_param()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_fs.c | 1506 data->root_mode = (result.uint_32 & 0555) | S_IFDIR; in ffs_fs_parse_param() 1509 data->perms.mode = (result.uint_32 & 0666) | S_IFREG; in ffs_fs_parse_param() 1512 data->root_mode = (result.uint_32 & 0555) | S_IFDIR; in ffs_fs_parse_param() 1513 data->perms.mode = (result.uint_32 & 0666) | S_IFREG; in ffs_fs_parse_param() 1517 data->perms.uid = make_kuid(current_user_ns(), result.uint_32); in ffs_fs_parse_param() 1522 data->perms.gid = make_kgid(current_user_ns(), result.uint_32); in ffs_fs_parse_param() 1534 return invalf(fc, "%s: unmapped value: %u", param->key, result.uint_32); in ffs_fs_parse_param()
|
/openbmc/linux/fs/erofs/ |
H A D | super.c | 483 sbi->opt.cache_strategy = result.uint_32; in erofs_fc_parse_param() 493 if (!erofs_fc_set_dax_mode(fc, result.uint_32)) in erofs_fc_parse_param()
|
/openbmc/linux/fs/hugetlbfs/ |
H A D | inode.c | 1415 ctx->uid = make_kuid(current_user_ns(), result.uint_32); in hugetlbfs_parse_param() 1421 ctx->gid = make_kgid(current_user_ns(), result.uint_32); in hugetlbfs_parse_param() 1427 ctx->mode = result.uint_32 & 01777U; in hugetlbfs_parse_param()
|
/openbmc/linux/fs/gfs2/ |
H A D | ops_fstype.c | 1506 args->ar_data = result.uint_32; in gfs2_parse_param() 1535 if (args->ar_debug && result.uint_32 == GFS2_ERRORS_PANIC) in gfs2_parse_param() 1537 args->ar_errors = result.uint_32; in gfs2_parse_param()
|
/openbmc/linux/fs/squashfs/ |
H A D | super.c | 139 opts->errors = result.uint_32; in squashfs_parse_param()
|