Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Ddevice_cgroup.h36 return devcgroup_check_permission(type, imajor(inode), iminor(inode), in devcgroup_inode_permission()
Dfs.h881 static inline unsigned imajor(const struct inode *inode) in imajor() function
/kernel/linux/linux-5.10/drivers/s390/char/
Dtape_char.c277 imajor(file_inode(filp)), in tapechar_open()
280 if (imajor(file_inode(filp)) != tapechar_major) in tapechar_open()
Dfs3270.c436 if (imajor(file_inode(filp)) != IBM_FS3270_MAJOR) in fs3270_open()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dhabanalabs_drv.c100 imajor(inode), iminor(inode)); in hl_device_open()
192 imajor(inode), iminor(inode)); in hl_device_open_ctrl()
/kernel/linux/linux-5.10/fs/coda/
Dinode.c128 if (!S_ISCHR(inode->i_mode) || imajor(inode) != CODA_PSDEV_MAJOR) { in get_device_index()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dcdev.c97 ubi_num = ubi_major2num(imajor(inode)); in vol_cdev_open()
842 ubi = ubi_get_by_major(imajor(file->f_mapping->host)); in ubi_cdev_ioctl()
/kernel/linux/linux-5.10/drivers/char/pcmcia/
Dcm4000_cs.c1421 DEBUGP(3, dev, "cmm_ioctl(device=%d.%d) %s\n", imajor(inode), in cmm_ioctl()
1650 imajor(inode), minor, current->comm, current->pid); in cmm_open()
1699 imajor(inode), minor); in cmm_close()
Dcm4040_cs.c483 DEBUGP(2, dev, "-> cm4040_close(maj/min=%d.%d)\n", imajor(inode), in cm4040_close()
/kernel/linux/linux-5.10/sound/core/
Dhwdep.c70 int major = imajor(inode); in snd_hwdep_open()
Dcompress_offload.c83 int maj = imajor(inode); in snd_compr_open()
Drawmidi.c402 int maj = imajor(inode); in snd_rawmidi_open()
Dpcm_native.c2220 if (!S_ISCHR(inode->i_mode) || imajor(inode) != snd_major) in is_pcm_file()
/kernel/linux/linux-5.10/drivers/watchdog/
Dwatchdog_dev.c833 if (imajor(inode) == MISC_MAJOR) in watchdog_open()
/kernel/linux/linux-5.10/drivers/input/
Dmousedev.c540 if (imajor(inode) == MISC_MAJOR) in mousedev_open()
/kernel/linux/linux-5.10/drivers/hwtracing/stm/
Dcore.c489 unsigned int major = imajor(inode); in stm_char_open()
/kernel/linux/linux-5.10/drivers/tty/
Dtty_io.c266 imajor(inode), iminor(inode), routine); in tty_paranoia_check()
271 imajor(inode), iminor(inode), routine); in tty_paranoia_check()
/kernel/linux/linux-5.10/drivers/net/
Dtap.c507 tap = dev_get_by_tap_file(imajor(inode), iminor(inode)); in tap_open()
/kernel/linux/linux-5.10/drivers/char/xillybus/
Dxillybus_core.c1413 int major = imajor(inode); in xillybus_open()
/kernel/linux/linux-5.10/drivers/usb/core/
Ddevio.c1024 if (imajor(inode) == USB_DEVICE_MAJOR) in usbdev_open()
/kernel/linux/linux-5.10/fs/udf/
Dinode.c1757 dsea->majorDeviceIdent = cpu_to_le32(imajor(inode)); in udf_update_inode()