Searched refs:_major (Results 1 – 6 of 6) sorted by relevance
/drivers/md/ |
D | dm.c | 48 static unsigned int _major = 0; variable 196 _major = major; in local_init() 197 r = register_blkdev(_major, _name); in local_init() 201 if (!_major) in local_init() 202 _major = r; in local_init() 228 unregister_blkdev(_major, _name); in local_exit() 231 _major = 0; in local_exit() 1571 md->disk->major = _major; in alloc_dev() 1578 format_dev_t(md->name, MKDEV(_major, minor)); in alloc_dev() 1877 if (MAJOR(dev) != _major || minor >= (1 << MINORBITS)) in dm_get_md()
|
/drivers/misc/sgi-xp/ |
D | xpnet.c | 73 #define _XPNET_VERSION(_major, _minor) (((_major) << 4) | (_minor)) argument
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_init.c | 728 _major(ver), _minor(ver), _build(ver), in qlcnic_check_flash_fw_ver() 729 _major(min_ver), _minor(min_ver), _build(min_ver)); in qlcnic_check_flash_fw_ver() 1239 fw_name[fw_type], _major(ver), _minor(ver), _build(ver)); in qlcnic_validate_firmware()
|
D | qlcnic.h | 47 #define _major(v) (((v) >> 24) & 0xff) macro
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_init.c | 979 _major(flash_fw_ver), _minor(flash_fw_ver), in netxen_check_flash_fw_compatibility() 1119 if ((_major(file_fw_ver) > _NETXEN_NIC_LINUX_MAJOR) || in netxen_validate_firmware() 1123 fw_name[fw_type], _major(file_fw_ver), _minor(file_fw_ver), in netxen_validate_firmware()
|
D | netxen_nic.h | 58 #define _major(v) (((v) >> 24) & 0xff) macro
|