Searched refs:MINORBITS (Results 1 - 8 of 8) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dkdev_t.h4 #define MINORBITS 20 macro
5 #define MINORMASK ((1U << MINORBITS) - 1)
7 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS))
9 #define MKDEV(ma,mi) (((ma) << MINORBITS) | (mi))
H A Dtty.h26 #define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/md/
H A Ddm.c902 if (minor >= (1 << MINORBITS))
946 if (m >= (1 << MINORBITS)) {
1169 if (MAJOR(dev) != _major || minor >= (1 << MINORBITS))
H A Dmd.c5735 blk_register_region(MKDEV(MAJOR_NR, 0), 1UL<<MINORBITS, THIS_MODULE, local
5737 blk_register_region(MKDEV(mdp_major, 0), 1UL<<MINORBITS, THIS_MODULE, local
5796 blk_unregister_region(MKDEV(MAJOR_NR,0), 1U << MINORBITS); local
5797 blk_unregister_region(MKDEV(mdp_major,0), 1U << MINORBITS); local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/block/
H A Ddasd_int.h17 #define DASD_PER_MAJOR (1U << (MINORBITS - DASD_PARTN_BITS))
H A Ddcssblk.c113 for (minor = 0; minor < (1<<MINORBITS); minor++) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A Dloop.c1500 if (max_loop > 1UL << MINORBITS)
1508 range = 1UL << MINORBITS;
1547 range = max_loop ? max_loop : 1UL << MINORBITS;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dsuper.c685 if ((dev & MAX_ID_MASK) == (1 << MINORBITS)) {

Completed in 83 milliseconds