Home
last modified time | relevance | path

Searched refs:imajor (Results 1 – 15 of 15) sorted by relevance

/linux/include/linux/
H A Ddevice_cgroup.h36 return devcgroup_check_permission(type, imajor(inode), iminor(inode), in devcgroup_inode_permission()
H A Dfs.h960 static inline unsigned imajor(const struct inode *inode) in imajor() function
/linux/drivers/char/xillybus/
H A Dxillybus_class.c219 int major = imajor(inode); in xillybus_find_inode()
/linux/fs/coda/
H A Dinode.c129 if (!S_ISCHR(inode->i_mode) || imajor(inode) != CODA_PSDEV_MAJOR) { in coda_set_idx()
/linux/sound/core/
H A Dhwdep.c70 int major = imajor(inode); in snd_hwdep_open()
H A Dcompress_offload.c81 int maj = imajor(inode); in snd_compr_open()
H A Drawmidi.c432 int maj = imajor(inode); in snd_rawmidi_open()
H A Dpcm_native.c2229 if (!S_ISCHR(inode->i_mode) || imajor(inode) != snd_major) in is_pcm_file()
/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_drv.c291 imajor(inode), iminor(inode)); in hl_device_open_ctrl()
/linux/drivers/watchdog/
H A Dwatchdog_dev.c872 if (imajor(inode) == MISC_MAJOR) in watchdog_open()
/linux/drivers/input/
H A Dmousedev.c540 if (imajor(inode) == MISC_MAJOR) in mousedev_open()
/linux/fs/gfs2/
H A Dinode.c505 di->di_major = cpu_to_be32(imajor(&ip->i_inode)); in init_dinode()
/linux/drivers/block/
H A Dloop.c545 return i && S_ISBLK(i->i_mode) && imajor(i) == LOOP_MAJOR; in is_loop_device()
/linux/drivers/tty/
H A Dtty_io.c265 imajor(inode), iminor(inode), routine); in tty_paranoia_check()
/linux/drivers/usb/core/
H A Ddevio.c1046 if (imajor(inode) == USB_DEVICE_MAJOR) in usbdev_open()