Searched refs:getemajor (Results 1 – 20 of 20) sorted by relevance
104 #undef getemajor113 extern major_t getemajor(dev_t);
179 #define getemajor(x) (major_t)((((dev_t)(x) >> L_BITSMINOR) > L_MAXMAJ) ? \ macro
87 if (dev == NODEV || (getemajor(dev)) == (major_t)NODEV) in mknodat()
147 maj = getemajor(*devp); in ip_helper_stream_setup()
281 *devp = makedevice(getemajor(*devp), (minor_t)conn_dev); in rts_stream_open()
1624 *devp = makedevice(getemajor(*devp), (minor_t)conn_dev); in icmp_tpi_open()
6102 maj = getemajor(*devp); in ip_open()
91 *dp = makedevice(getemajor(*dp), c); in smb_open()
59 major_t major = getemajor(*devp); in eventfd_open()
253 *devp = makedevice(getemajor(*devp), clone); in ksyms_open()
111 major_t major = getemajor(*devp); in timerfd_open()
246 *devp = makedevice(getemajor(*devp), i + 2); in sadopen()
511 const major_t major = getemajor(*devp); in signalfd_open()
295 major = getemajor(*devp); in mdesc_create_state()
444 major = getemajor(*devp); in ds_snmp_create_state()
99 getemajor(dev_t dev) in getemajor() function
871 *devp = makedevice(getemajor(*devp), (minor_t)dev); in mi_open_link()
1518 *devp = makedevice(getemajor(*devp), (minor_t)conn_dev); in udp_open()
7116 *devp = makedevice(getemajor(*devp), minor); in zfs_ctldev_init()
13800 major = getemajor(*devp); in dtrace_state_create()