Searched refs:imajor (Results 1 – 15 of 15) sorted by relevance
36 return devcgroup_check_permission(type, imajor(inode), iminor(inode), in devcgroup_inode_permission()
960 static inline unsigned imajor(const struct inode *inode) in imajor() function
219 int major = imajor(inode); in xillybus_find_inode()
129 if (!S_ISCHR(inode->i_mode) || imajor(inode) != CODA_PSDEV_MAJOR) { in coda_set_idx()
70 int major = imajor(inode); in snd_hwdep_open()
81 int maj = imajor(inode); in snd_compr_open()
432 int maj = imajor(inode); in snd_rawmidi_open()
2229 if (!S_ISCHR(inode->i_mode) || imajor(inode) != snd_major) in is_pcm_file()
291 imajor(inode), iminor(inode)); in hl_device_open_ctrl()
872 if (imajor(inode) == MISC_MAJOR) in watchdog_open()
540 if (imajor(inode) == MISC_MAJOR) in mousedev_open()
505 di->di_major = cpu_to_be32(imajor(&ip->i_inode)); in init_dinode()
545 return i && S_ISBLK(i->i_mode) && imajor(i) == LOOP_MAJOR; in is_loop_device()
265 imajor(inode), iminor(inode), routine); in tty_paranoia_check()
1046 if (imajor(inode) == USB_DEVICE_MAJOR) in usbdev_open()