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) 140 use_reserve ? BINDERFS_MAX_MINOR - 1 : in binderfs_binder_device_create() 281 if (result.uint_32 > BINDERFS_MAX_MINOR) in binderfs_fs_context_parse_param() 316 if (info->mount_opts.max <= BINDERFS_MAX_MINOR) in binderfs_show_options() 407 use_reserve ? BINDERFS_MAX_MINOR - 1 : in binderfs_binder_ctl_create() 457 ret->i_ino = iunique(sb, BINDERFS_MAX_MINOR + INODE_OFFSET); in binderfs_make_inode() 739 ctx->max = BINDERFS_MAX_MINOR; in binderfs_init_fs_context() 789 ret = alloc_chrdev_region(&binderfs_dev, 0, BINDERFS_MAX_MINOR, in init_rust_binderfs() 796 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 - 1 : in binderfs_binder_device_create() 284 if (result.uint_32 > BINDERFS_MAX_MINOR) in binderfs_fs_context_parse_param() 319 if (info->mount_opts.max <= BINDERFS_MAX_MINOR) in binderfs_show_options() 410 use_reserve ? BINDERFS_MAX_MINOR - 1 : in binderfs_binder_ctl_create() 461 ret->i_ino = iunique(sb, BINDERFS_MAX_MINOR + INODE_OFFSET); in binderfs_make_inode() 723 ctx->max = BINDERFS_MAX_MINOR; in binderfs_init_fs_context() 773 ret = alloc_chrdev_region(&binderfs_dev, 0, BINDERFS_MAX_MINOR, in init_binderfs() 780 unregister_chrdev_region(binderfs_dev, BINDERFS_MAX_MINOR); in init_binderfs()
|