/openbmc/linux/fs/nfs/ |
H A D | fs_context.c | 671 if (result.uint_32 > USHRT_MAX) in nfs_fs_context_parse_param() 673 ctx->nfs_server.port = result.uint_32; in nfs_fs_context_parse_param() 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() 692 ctx->retrans = result.uint_32; in nfs_fs_context_parse_param() 695 ctx->acregmin = result.uint_32; in nfs_fs_context_parse_param() [all …]
|
/openbmc/linux/fs/smb/client/ |
H A D | fs_context.c | 1164 uid = make_kuid(current_user_ns(), result.uint_32); in smb3_fs_context_parse_param() 1171 uid = make_kuid(current_user_ns(), result.uint_32); in smb3_fs_context_parse_param() 1178 uid = make_kuid(current_user_ns(), result.uint_32); in smb3_fs_context_parse_param() 1185 gid = make_kgid(current_user_ns(), result.uint_32); in smb3_fs_context_parse_param() 1192 gid = make_kgid(current_user_ns(), result.uint_32); in smb3_fs_context_parse_param() 1199 ctx->port = result.uint_32; in smb3_fs_context_parse_param() 1202 ctx->file_mode = result.uint_32; in smb3_fs_context_parse_param() 1205 ctx->dir_mode = result.uint_32; in smb3_fs_context_parse_param() 1208 ctx->min_offload = result.uint_32; in smb3_fs_context_parse_param() 1211 ctx->retrans = result.uint_32; in smb3_fs_context_parse_param() [all …]
|
/openbmc/linux/fs/vboxsf/ |
H A D | super.c | 77 uid = make_kuid(current_user_ns(), result.uint_32); in vboxsf_parse_param() 83 gid = make_kgid(current_user_ns(), result.uint_32); in vboxsf_parse_param() 89 ctx->o.ttl = msecs_to_jiffies(result.uint_32); in vboxsf_parse_param() 92 if (result.uint_32 & ~0777) in vboxsf_parse_param() 94 ctx->o.dmode = result.uint_32; in vboxsf_parse_param() 98 if (result.uint_32 & ~0777) in vboxsf_parse_param() 100 ctx->o.fmode = result.uint_32; in vboxsf_parse_param() 104 if (result.uint_32 & ~07777) in vboxsf_parse_param() 106 ctx->o.dmask = result.uint_32; in vboxsf_parse_param() 109 if (result.uint_32 & ~07777) in vboxsf_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/ceph/ |
H A D | super.c | 444 mode = result.uint_32; in ceph_parse_mount_param() 459 if (result.uint_32 < PAGE_SIZE || in ceph_parse_mount_param() 460 result.uint_32 > CEPH_MAX_WRITE_SIZE) in ceph_parse_mount_param() 462 fsopt->wsize = ALIGN(result.uint_32, PAGE_SIZE); in ceph_parse_mount_param() 465 if (result.uint_32 < PAGE_SIZE || in ceph_parse_mount_param() 466 result.uint_32 > CEPH_MAX_READ_SIZE) in ceph_parse_mount_param() 468 fsopt->rsize = ALIGN(result.uint_32, PAGE_SIZE); in ceph_parse_mount_param() 471 fsopt->rasize = ALIGN(result.uint_32, PAGE_SIZE); in ceph_parse_mount_param() 474 if (result.uint_32 < 1) in ceph_parse_mount_param() 476 fsopt->caps_wanted_delay_min = result.uint_32; in ceph_parse_mount_param() [all …]
|
/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/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/ext4/ |
H A D | super.c | 2201 ctx->s_sb_block = result.uint_32; in ext4_parse_param() 2218 ctx_set_mount_opt(ctx, result.uint_32); in ext4_parse_param() 2222 ctx->s_jquota_fmt = result.uint_32; in ext4_parse_param() 2228 ctx_set_mount_opt(ctx, result.uint_32); in ext4_parse_param() 2232 if (result.uint_32 == 0) in ext4_parse_param() 2233 result.uint_32 = JBD2_DEFAULT_MAX_COMMIT_AGE; in ext4_parse_param() 2234 else if (result.uint_32 > INT_MAX / HZ) { in ext4_parse_param() 2238 result.uint_32, INT_MAX / HZ); in ext4_parse_param() 2241 ctx->s_commit_interval = HZ * result.uint_32; in ext4_parse_param() 2245 if ((result.uint_32 & 1) || (result.uint_32 < 4)) { in ext4_parse_param() [all …]
|
/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/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/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/include/linux/ |
H A D | fs_parser.h | 58 unsigned int uint_32; /* For spec_u32{,_octal,_hex}/spec_enum */ member
|
/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 789 the result stored in result->{boolean,int_32,uint_32,uint_64}.
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_super.c | 1267 parsing_mp->m_logbufs = result.uint_32; in xfs_fs_parse_param() 1312 parsing_mp->m_dalign = result.uint_32; in xfs_fs_parse_param() 1315 parsing_mp->m_swidth = result.uint_32; in xfs_fs_parse_param() 1376 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()
|