Searched refs:imajor (Results 1 – 21 of 21) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | device_cgroup.h | 36 return devcgroup_check_permission(type, imajor(inode), iminor(inode), in devcgroup_inode_permission()
|
D | fs.h | 881 static inline unsigned imajor(const struct inode *inode) in imajor() function
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | tape_char.c | 277 imajor(file_inode(filp)), in tapechar_open() 280 if (imajor(file_inode(filp)) != tapechar_major) in tapechar_open()
|
D | fs3270.c | 436 if (imajor(file_inode(filp)) != IBM_FS3270_MAJOR) in fs3270_open()
|
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
D | habanalabs_drv.c | 100 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/ |
D | inode.c | 128 if (!S_ISCHR(inode->i_mode) || imajor(inode) != CODA_PSDEV_MAJOR) { in get_device_index()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | cdev.c | 97 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/ |
D | cm4000_cs.c | 1421 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()
|
D | cm4040_cs.c | 483 DEBUGP(2, dev, "-> cm4040_close(maj/min=%d.%d)\n", imajor(inode), in cm4040_close()
|
/kernel/linux/linux-5.10/sound/core/ |
D | hwdep.c | 70 int major = imajor(inode); in snd_hwdep_open()
|
D | compress_offload.c | 83 int maj = imajor(inode); in snd_compr_open()
|
D | rawmidi.c | 402 int maj = imajor(inode); in snd_rawmidi_open()
|
D | pcm_native.c | 2220 if (!S_ISCHR(inode->i_mode) || imajor(inode) != snd_major) in is_pcm_file()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | watchdog_dev.c | 833 if (imajor(inode) == MISC_MAJOR) in watchdog_open()
|
/kernel/linux/linux-5.10/drivers/input/ |
D | mousedev.c | 540 if (imajor(inode) == MISC_MAJOR) in mousedev_open()
|
/kernel/linux/linux-5.10/drivers/hwtracing/stm/ |
D | core.c | 489 unsigned int major = imajor(inode); in stm_char_open()
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | tty_io.c | 266 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/ |
D | tap.c | 507 tap = dev_get_by_tap_file(imajor(inode), iminor(inode)); in tap_open()
|
/kernel/linux/linux-5.10/drivers/char/xillybus/ |
D | xillybus_core.c | 1413 int major = imajor(inode); in xillybus_open()
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
D | devio.c | 1024 if (imajor(inode) == USB_DEVICE_MAJOR) in usbdev_open()
|
/kernel/linux/linux-5.10/fs/udf/ |
D | inode.c | 1757 dsea->majorDeviceIdent = cpu_to_le32(imajor(inode)); in udf_update_inode()
|