| /linux/fs/nfs/ |
| A D | fs_context.c | 612 ctx->rsize = result.uint_32; in nfs_fs_context_parse_param() 615 ctx->wsize = result.uint_32; in nfs_fs_context_parse_param() 618 ctx->bsize = result.uint_32; in nfs_fs_context_parse_param() 621 if (result.uint_32 < 1 || result.uint_32 > INT_MAX) in nfs_fs_context_parse_param() 623 ctx->timeo = result.uint_32; in nfs_fs_context_parse_param() 626 if (result.uint_32 > INT_MAX) in nfs_fs_context_parse_param() 771 if (result.uint_32 < 1 || result.uint_32 > NFS_MAX_CONNECTIONS) in nfs_fs_context_parse_param() 776 if (result.uint_32 < 1 || result.uint_32 > NFS_MAX_TRANSPORTS) in nfs_fs_context_parse_param() 781 switch (result.uint_32) { in nfs_fs_context_parse_param() 797 switch (result.uint_32) { in nfs_fs_context_parse_param() [all …]
|
| /linux/fs/cifs/ |
| A D | fs_context.c | 990 ctx->port = result.uint_32; in smb3_fs_context_parse_param() 993 ctx->file_mode = result.uint_32; in smb3_fs_context_parse_param() 996 ctx->dir_mode = result.uint_32; in smb3_fs_context_parse_param() 999 ctx->min_offload = result.uint_32; in smb3_fs_context_parse_param() 1014 ctx->bsize = result.uint_32; in smb3_fs_context_parse_param() 1035 ctx->rasize = result.uint_32; in smb3_fs_context_parse_param() 1038 ctx->rsize = result.uint_32; in smb3_fs_context_parse_param() 1042 ctx->wsize = result.uint_32; in smb3_fs_context_parse_param() 1078 if (result.uint_32 < 20 || result.uint_32 > 60000) { in smb3_fs_context_parse_param() 1086 if (result.uint_32 < 1 || result.uint_32 > CIFS_MAX_CHANNELS) { in smb3_fs_context_parse_param() [all …]
|
| /linux/fs/vboxsf/ |
| 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 …]
|
| /linux/fs/ceph/ |
| A D | super.c | 314 mode = result.uint_32; in ceph_parse_mount_param() 327 if (result.uint_32 < PAGE_SIZE || in ceph_parse_mount_param() 328 result.uint_32 > CEPH_MAX_WRITE_SIZE) in ceph_parse_mount_param() 333 if (result.uint_32 < PAGE_SIZE || in ceph_parse_mount_param() 334 result.uint_32 > CEPH_MAX_READ_SIZE) in ceph_parse_mount_param() 342 if (result.uint_32 < 1) in ceph_parse_mount_param() 347 if (result.uint_32 < 1) in ceph_parse_mount_param() 357 if (result.uint_32 < 1) in ceph_parse_mount_param() 359 fsopt->max_readdir = result.uint_32; in ceph_parse_mount_param() 362 if (result.uint_32 < PAGE_SIZE && result.uint_32 != 0) in ceph_parse_mount_param() [all …]
|
| /linux/net/ceph/ |
| A D | ceph_common.c | 512 switch (result.uint_32) { in ceph_parse_param() 527 switch (result.uint_32) { in ceph_parse_param() 555 if (result.uint_32 < 1 || result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 558 msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 562 if (result.uint_32 < 1 || result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 564 opt->osd_idle_ttl = msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 568 if (result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 570 opt->mount_timeout = msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 574 if (result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 577 msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param()
|
| /linux/fs/ |
| A D | fs_parser.c | 215 kstrtouint(param->string, base, &result->uint_32) < 0) in fs_param_is_u32() 250 result->uint_32 = c->value; in fs_param_is_enum() 278 if (kstrtouint(param->string, 0, &result->uint_32) < 0) in fs_param_is_fd() 280 if (result->uint_32 <= INT_MAX) in fs_param_is_fd() 284 result->uint_32 = param->dirfd; in fs_param_is_fd() 285 if (result->uint_32 <= INT_MAX) in fs_param_is_fd()
|
| /linux/fs/proc/ |
| A D | root.c | 71 if (!kstrtouint(param->string, base, &result.uint_32)) { in proc_parse_hidepid_param() 72 if (!valid_hidepid(result.uint_32)) in proc_parse_hidepid_param() 74 ctx->hidepid = result.uint_32; in proc_parse_hidepid_param() 127 ctx->gid = result.uint_32; in proc_parse_param()
|
| /linux/fs/exfat/ |
| A D | super.c | 270 opts->fs_uid = make_kuid(current_user_ns(), result.uint_32); in exfat_parse_param() 273 opts->fs_gid = make_kgid(current_user_ns(), result.uint_32); in exfat_parse_param() 276 opts->fs_fmask = result.uint_32; in exfat_parse_param() 277 opts->fs_dmask = result.uint_32; in exfat_parse_param() 280 opts->fs_dmask = result.uint_32; in exfat_parse_param() 283 opts->fs_fmask = result.uint_32; in exfat_parse_param() 286 opts->allow_utime = result.uint_32 & 0022; in exfat_parse_param() 294 opts->errors = result.uint_32; in exfat_parse_param()
|
| /linux/fs/jffs2/ |
| A D | super.c | 199 c->mount_opts.compr = result.uint_32; in jffs2_parse_param() 203 if (result.uint_32 > UINT_MAX / 1024) in jffs2_parse_param() 205 c->mount_opts.rp_size = result.uint_32 * 1024; in jffs2_parse_param()
|
| /linux/fs/ntfs3/ |
| A D | super.c | 288 opts->fs_uid = make_kuid(current_user_ns(), result.uint_32); in ntfs_fs_parse_param() 293 opts->fs_gid = make_kgid(current_user_ns(), result.uint_32); in ntfs_fs_parse_param() 298 if (result.uint_32 & ~07777) in ntfs_fs_parse_param() 300 opts->fs_fmask_inv = ~result.uint_32; in ntfs_fs_parse_param() 301 opts->fs_dmask_inv = ~result.uint_32; in ntfs_fs_parse_param() 306 if (result.uint_32 & ~07777) in ntfs_fs_parse_param() 308 opts->fs_dmask_inv = ~result.uint_32; in ntfs_fs_parse_param() 312 if (result.uint_32 & ~07777) in ntfs_fs_parse_param() 314 opts->fs_fmask_inv = ~result.uint_32; in ntfs_fs_parse_param()
|
| /linux/fs/fuse/ |
| A D | inode.c | 690 ctx->fd = result.uint_32; in fuse_parse_param() 695 if (!fuse_valid_type(result.uint_32)) in fuse_parse_param() 697 ctx->rootmode = result.uint_32; in fuse_parse_param() 702 ctx->user_id = make_kuid(fsc->user_ns, result.uint_32); in fuse_parse_param() 709 ctx->group_id = make_kgid(fsc->user_ns, result.uint_32); in fuse_parse_param() 724 ctx->max_read = result.uint_32; in fuse_parse_param() 730 ctx->blksize = result.uint_32; in fuse_parse_param()
|
| /linux/drivers/android/ |
| 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()
|
| /linux/arch/powerpc/platforms/cell/spufs/ |
| 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()
|
| /linux/include/linux/ |
| A D | fs_parser.h | 58 unsigned int uint_32; /* For spec_u32{,_octal,_hex}/spec_enum */ member
|
| /linux/arch/s390/hypfs/ |
| 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()
|
| /linux/fs/ramfs/ |
| A D | inode.c | 224 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
|
| /linux/Documentation/filesystems/ |
| A D | mount_api.rst | 649 fs_param_is_u32 32-bit unsigned int result->uint_32 650 fs_param_is_u32_octal 32-bit octal int result->uint_32 651 fs_param_is_u32_hex 32-bit hex int result->uint_32 654 fs_param_is_enum Enum value name result->uint_32 800 the result stored in result->{boolean,int_32,uint_32,uint_64}.
|
| /linux/drivers/usb/gadget/function/ |
| A D | f_fs.c | 1520 data->root_mode = (result.uint_32 & 0555) | S_IFDIR; in ffs_fs_parse_param() 1523 data->perms.mode = (result.uint_32 & 0666) | S_IFREG; in ffs_fs_parse_param() 1526 data->root_mode = (result.uint_32 & 0555) | S_IFDIR; in ffs_fs_parse_param() 1527 data->perms.mode = (result.uint_32 & 0666) | S_IFREG; in ffs_fs_parse_param() 1531 data->perms.uid = make_kuid(current_user_ns(), result.uint_32); in ffs_fs_parse_param() 1536 data->perms.gid = make_kgid(current_user_ns(), result.uint_32); in ffs_fs_parse_param() 1548 return invalf(fc, "%s: unmapped value: %u", param->key, result.uint_32); in ffs_fs_parse_param()
|
| /linux/fs/xfs/ |
| A D | xfs_super.c | 1201 parsing_mp->m_logbufs = result.uint_32; in xfs_fs_parse_param() 1246 parsing_mp->m_dalign = result.uint_32; in xfs_fs_parse_param() 1249 parsing_mp->m_swidth = result.uint_32; in xfs_fs_parse_param() 1310 xfs_mount_set_dax_mode(parsing_mp, result.uint_32); in xfs_fs_parse_param()
|
| /linux/fs/erofs/ |
| A D | super.c | 530 ctx->opt.cache_strategy = result.uint_32; in erofs_fc_parse_param() 540 if (!erofs_fc_set_dax_mode(fc, result.uint_32)) in erofs_fc_parse_param()
|
| /linux/fs/hugetlbfs/ |
| A D | inode.c | 1235 ctx->uid = make_kuid(current_user_ns(), result.uint_32); in hugetlbfs_parse_param() 1241 ctx->gid = make_kgid(current_user_ns(), result.uint_32); in hugetlbfs_parse_param() 1247 ctx->mode = result.uint_32 & 01777U; in hugetlbfs_parse_param()
|
| /linux/fs/gfs2/ |
| A D | ops_fstype.c | 1488 args->ar_data = result.uint_32; in gfs2_parse_param() 1517 if (args->ar_debug && result.uint_32 == GFS2_ERRORS_PANIC) in gfs2_parse_param() 1519 args->ar_errors = result.uint_32; in gfs2_parse_param()
|
| /linux/fs/squashfs/ |
| A D | super.c | 79 opts->errors = result.uint_32; in squashfs_parse_param()
|
| /linux/drivers/block/ |
| A D | rbd.c | 6258 if (result.uint_32 < 1) in rbd_parse_param() 6260 opt->queue_depth = result.uint_32; in rbd_parse_param() 6263 if (result.uint_32 < SECTOR_SIZE) in rbd_parse_param() 6265 if (!is_power_of_2(result.uint_32)) in rbd_parse_param() 6267 opt->alloc_size = result.uint_32; in rbd_parse_param() 6271 if (result.uint_32 > INT_MAX / 1000) in rbd_parse_param() 6273 opt->lock_timeout = msecs_to_jiffies(result.uint_32 * 1000); in rbd_parse_param() 6281 switch (result.uint_32) { in rbd_parse_param()
|
| /linux/fs/afs/ |
| A D | super.c | 341 ctx->flock_mode = result.uint_32; in afs_parse_param()
|