Searched refs:BINDERFS_MAX_MINOR (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/android/binder/ |
| H A D | rust_binderfs.c | 42 #define BINDERFS_MAX_MINOR (1U << MINORBITS) macro 44 #define BINDERFS_MAX_MINOR_CAPPED (BINDERFS_MAX_MINOR - 4) 135 use_reserve ? BINDERFS_MAX_MINOR : in binderfs_binder_device_create() 276 if (result.uint_32 > BINDERFS_MAX_MINOR) in binderfs_fs_context_parse_param() 311 if (info->mount_opts.max <= BINDERFS_MAX_MINOR) in binderfs_show_options() 408 use_reserve ? BINDERFS_MAX_MINOR : in binderfs_binder_ctl_create() 457 ret->i_ino = iunique(sb, BINDERFS_MAX_MINOR + INODE_OFFSET); in binderfs_make_inode() 733 ctx->max = BINDERFS_MAX_MINOR; in binderfs_init_fs_context() 783 ret = alloc_chrdev_region(&binderfs_dev, 0, BINDERFS_MAX_MINOR, in init_rust_binderfs() 790 unregister_chrdev_region(binderfs_dev, BINDERFS_MAX_MINOR); in init_rust_binderfs()
|
| /linux/drivers/android/ |
| H A D | binderfs.c | 40 #define BINDERFS_MAX_MINOR (1U << MINORBITS) macro 42 #define BINDERFS_MAX_MINOR_CAPPED (BINDERFS_MAX_MINOR - 4) 135 use_reserve ? BINDERFS_MAX_MINOR : in binderfs_binder_device_create() 285 if (result.uint_32 > BINDERFS_MAX_MINOR) in binderfs_fs_context_parse_param() 320 if (info->mount_opts.max <= BINDERFS_MAX_MINOR) in binderfs_show_options() 411 use_reserve ? BINDERFS_MAX_MINOR : in binderfs_binder_ctl_create() 462 ret->i_ino = iunique(sb, BINDERFS_MAX_MINOR + INODE_OFFSET); in binderfs_make_inode() 724 ctx->max = BINDERFS_MAX_MINOR; in binderfs_init_fs_context() 774 ret = alloc_chrdev_region(&binderfs_dev, 0, BINDERFS_MAX_MINOR, in init_binderfs() 781 unregister_chrdev_region(binderfs_dev, BINDERFS_MAX_MINOR); in init_binderfs()
|