/Linux-v5.10/fs/nfs/ |
D | fs_context.c | 570 if (result.uint_32 > USHRT_MAX) in nfs_fs_context_parse_param() 572 ctx->nfs_server.port = result.uint_32; in nfs_fs_context_parse_param() 575 ctx->rsize = result.uint_32; in nfs_fs_context_parse_param() 578 ctx->wsize = result.uint_32; in nfs_fs_context_parse_param() 581 ctx->bsize = result.uint_32; in nfs_fs_context_parse_param() 584 if (result.uint_32 < 1 || result.uint_32 > INT_MAX) in nfs_fs_context_parse_param() 586 ctx->timeo = result.uint_32; in nfs_fs_context_parse_param() 589 if (result.uint_32 > INT_MAX) in nfs_fs_context_parse_param() 591 ctx->retrans = result.uint_32; in nfs_fs_context_parse_param() 594 ctx->acregmin = result.uint_32; in nfs_fs_context_parse_param() [all …]
|
/Linux-v5.10/fs/vboxsf/ |
D | super.c | 79 uid = make_kuid(current_user_ns(), result.uint_32); in vboxsf_parse_param() 85 gid = make_kgid(current_user_ns(), result.uint_32); in vboxsf_parse_param() 91 ctx->o.ttl = msecs_to_jiffies(result.uint_32); in vboxsf_parse_param() 94 if (result.uint_32 & ~0777) in vboxsf_parse_param() 96 ctx->o.dmode = result.uint_32; in vboxsf_parse_param() 100 if (result.uint_32 & ~0777) in vboxsf_parse_param() 102 ctx->o.fmode = result.uint_32; in vboxsf_parse_param() 106 if (result.uint_32 & ~07777) in vboxsf_parse_param() 108 ctx->o.dmask = result.uint_32; in vboxsf_parse_param() 111 if (result.uint_32 & ~07777) in vboxsf_parse_param() [all …]
|
/Linux-v5.10/fs/ceph/ |
D | super.c | 313 mode = result.uint_32; in ceph_parse_mount_param() 326 if (result.uint_32 < PAGE_SIZE || in ceph_parse_mount_param() 327 result.uint_32 > CEPH_MAX_WRITE_SIZE) in ceph_parse_mount_param() 329 fsopt->wsize = ALIGN(result.uint_32, PAGE_SIZE); in ceph_parse_mount_param() 332 if (result.uint_32 < PAGE_SIZE || in ceph_parse_mount_param() 333 result.uint_32 > CEPH_MAX_READ_SIZE) in ceph_parse_mount_param() 335 fsopt->rsize = ALIGN(result.uint_32, PAGE_SIZE); in ceph_parse_mount_param() 338 fsopt->rasize = ALIGN(result.uint_32, PAGE_SIZE); in ceph_parse_mount_param() 341 if (result.uint_32 < 1) in ceph_parse_mount_param() 343 fsopt->caps_wanted_delay_min = result.uint_32; in ceph_parse_mount_param() [all …]
|
/Linux-v5.10/fs/ |
D | fs_parser.c | 216 kstrtouint(param->string, base, &result->uint_32) < 0) in fs_param_is_u32() 251 result->uint_32 = c->value; in fs_param_is_enum() 279 if (kstrtouint(param->string, 0, &result->uint_32) < 0) in fs_param_is_fd() 281 if (result->uint_32 <= INT_MAX) in fs_param_is_fd() 285 result->uint_32 = param->dirfd; in fs_param_is_fd() 286 if (result->uint_32 <= INT_MAX) in fs_param_is_fd()
|
/Linux-v5.10/net/ceph/ |
D | ceph_common.c | 492 switch (result.uint_32) { in ceph_parse_param() 512 if (result.uint_32 < 1 || result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 515 msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 519 if (result.uint_32 < 1 || result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 521 opt->osd_idle_ttl = msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 525 if (result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 527 opt->mount_timeout = msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 531 if (result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 534 msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param()
|
/Linux-v5.10/fs/proc/ |
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-v5.10/fs/exfat/ |
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-v5.10/fs/jffs2/ |
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 opt = result.uint_32 * 1024; in jffs2_parse_param()
|
/Linux-v5.10/fs/fuse/ |
D | inode.c | 563 ctx->fd = result.uint_32; in fuse_parse_param() 568 if (!fuse_valid_type(result.uint_32)) in fuse_parse_param() 570 ctx->rootmode = result.uint_32; in fuse_parse_param() 575 ctx->user_id = make_kuid(fc->user_ns, result.uint_32); in fuse_parse_param() 582 ctx->group_id = make_kgid(fc->user_ns, result.uint_32); in fuse_parse_param() 597 ctx->max_read = result.uint_32; in fuse_parse_param() 603 ctx->blksize = result.uint_32; in fuse_parse_param()
|
/Linux-v5.10/include/linux/ |
D | fs_parser.h | 58 unsigned int uint_32; /* For spec_u32{,_octal,_hex}/spec_enum */ member
|
/Linux-v5.10/drivers/android/ |
D | binderfs.c | 284 if (result.uint_32 > BINDERFS_MAX_MINOR) in binderfs_fs_context_parse_param() 287 ctx->max = result.uint_32; in binderfs_fs_context_parse_param() 293 ctx->stats_mode = result.uint_32; in binderfs_fs_context_parse_param()
|
/Linux-v5.10/arch/powerpc/platforms/cell/spufs/ |
D | inode.c | 627 uid = make_kuid(current_user_ns(), result.uint_32); in spufs_parse_param() 633 gid = make_kgid(current_user_ns(), result.uint_32); in spufs_parse_param() 639 ctx->mode = result.uint_32 & S_IALLUGO; in spufs_parse_param()
|
/Linux-v5.10/arch/s390/hypfs/ |
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-v5.10/fs/ramfs/ |
D | inode.c | 210 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
|
/Linux-v5.10/Documentation/filesystems/ |
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-v5.10/fs/xfs/ |
D | xfs_super.c | 1177 mp->m_logbufs = result.uint_32; in xfs_fc_parse_param() 1222 mp->m_dalign = result.uint_32; in xfs_fc_parse_param() 1225 mp->m_swidth = result.uint_32; in xfs_fc_parse_param() 1290 xfs_mount_set_dax_mode(mp, result.uint_32); in xfs_fc_parse_param()
|
/Linux-v5.10/drivers/usb/gadget/function/ |
D | f_fs.c | 1518 data->root_mode = (result.uint_32 & 0555) | S_IFDIR; in ffs_fs_parse_param() 1521 data->perms.mode = (result.uint_32 & 0666) | S_IFREG; in ffs_fs_parse_param() 1524 data->root_mode = (result.uint_32 & 0555) | S_IFDIR; in ffs_fs_parse_param() 1525 data->perms.mode = (result.uint_32 & 0666) | S_IFREG; in ffs_fs_parse_param() 1529 data->perms.uid = make_kuid(current_user_ns(), result.uint_32); in ffs_fs_parse_param() 1534 data->perms.gid = make_kgid(current_user_ns(), result.uint_32); in ffs_fs_parse_param() 1546 return invalf(fc, "%s: unmapped value: %u", param->key, result.uint_32); in ffs_fs_parse_param()
|
/Linux-v5.10/fs/hugetlbfs/ |
D | inode.c | 1240 ctx->uid = make_kuid(current_user_ns(), result.uint_32); in hugetlbfs_parse_param() 1246 ctx->gid = make_kgid(current_user_ns(), result.uint_32); in hugetlbfs_parse_param() 1252 ctx->mode = result.uint_32 & 01777U; in hugetlbfs_parse_param()
|
/Linux-v5.10/fs/gfs2/ |
D | ops_fstype.c | 1421 args->ar_data = result.uint_32; in gfs2_parse_param() 1450 if (args->ar_debug && result.uint_32 == GFS2_ERRORS_PANIC) in gfs2_parse_param() 1452 args->ar_errors = result.uint_32; in gfs2_parse_param()
|
/Linux-v5.10/fs/erofs/ |
D | super.c | 268 ctx->cache_strategy = result.uint_32; in erofs_fc_parse_param()
|
/Linux-v5.10/fs/afs/ |
D | super.c | 341 ctx->flock_mode = result.uint_32; in afs_parse_param()
|
/Linux-v5.10/drivers/block/ |
D | rbd.c | 6339 if (result.uint_32 < 1) in rbd_parse_param() 6341 opt->queue_depth = result.uint_32; in rbd_parse_param() 6344 if (result.uint_32 < SECTOR_SIZE) in rbd_parse_param() 6346 if (!is_power_of_2(result.uint_32)) in rbd_parse_param() 6348 opt->alloc_size = result.uint_32; in rbd_parse_param() 6352 if (result.uint_32 > INT_MAX / 1000) in rbd_parse_param() 6354 opt->lock_timeout = msecs_to_jiffies(result.uint_32 * 1000); in rbd_parse_param() 6362 switch (result.uint_32) { in rbd_parse_param()
|
/Linux-v5.10/kernel/bpf/ |
D | inode.c | 659 opts->mode = result.uint_32 & S_IALLUGO; in bpf_parse_param()
|
/Linux-v5.10/mm/ |
D | shmem.c | 3489 ctx->mode = result.uint_32 & 07777; in shmem_parse_one() 3492 ctx->uid = make_kuid(current_user_ns(), result.uint_32); in shmem_parse_one() 3497 ctx->gid = make_kgid(current_user_ns(), result.uint_32); in shmem_parse_one() 3502 ctx->huge = result.uint_32; in shmem_parse_one()
|