| /linux-6.15/drivers/remoteproc/ |
| H A D | remoteproc_cdev.c | 23 struct rproc *rproc = container_of(filp->f_inode->i_cdev, struct rproc, cdev); in rproc_cdev_write() 50 struct rproc *rproc = container_of(filp->f_inode->i_cdev, struct rproc, cdev); in rproc_device_ioctl() 77 struct rproc *rproc = container_of(inode->i_cdev, struct rproc, cdev); in rproc_cdev_release()
|
| /linux-6.15/drivers/rpmsg/ |
| H A D | rpmsg_ctrl.c | 39 #define cdev_to_ctrldev(i_cdev) container_of(i_cdev, struct rpmsg_ctrldev, cdev) argument 57 struct rpmsg_ctrldev *ctrldev = cdev_to_ctrldev(inode->i_cdev); in rpmsg_ctrldev_open() 67 struct rpmsg_ctrldev *ctrldev = cdev_to_ctrldev(inode->i_cdev); in rpmsg_ctrldev_release()
|
| H A D | rpmsg_char.c | 40 #define cdev_to_eptdev(i_cdev) container_of(i_cdev, struct rpmsg_eptdev, cdev) argument 137 struct rpmsg_eptdev *eptdev = cdev_to_eptdev(inode->i_cdev); in rpmsg_eptdev_open() 181 struct rpmsg_eptdev *eptdev = cdev_to_eptdev(inode->i_cdev); in rpmsg_eptdev_release()
|
| /linux-6.15/fs/ |
| H A D | char_dev.c | 381 p = inode->i_cdev; in chrdev_open() 393 p = inode->i_cdev; in chrdev_open() 395 inode->i_cdev = p = new; in chrdev_open() 430 inode->i_cdev = NULL; in cd_forget() 442 inode->i_cdev = NULL; in cdev_purge()
|
| H A D | file_table.c | 466 if (unlikely(S_ISCHR(inode->i_mode) && inode->i_cdev != NULL && in __fput() 468 cdev_put(inode->i_cdev); in __fput()
|
| /linux-6.15/drivers/char/tpm/ |
| H A D | tpm-dev.c | 23 chip = container_of(inode->i_cdev, struct tpm_chip, cdev); in tpm_open()
|
| H A D | tpmrm-dev.c | 19 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); in tpmrm_open()
|
| /linux-6.15/drivers/nvme/host/ |
| H A D | ioctl.c | 631 container_of(file_inode(file)->i_cdev, struct nvme_ns, cdev); in nvme_ns_chr_ioctl() 676 struct nvme_ns *ns = container_of(file_inode(ioucmd->file)->i_cdev, in nvme_ns_chr_uring_cmd() 747 struct cdev *cdev = file_inode(file)->i_cdev; in nvme_ns_head_chr_ioctl() 772 struct cdev *cdev = file_inode(ioucmd->file)->i_cdev; in nvme_ns_head_chr_uring_cmd()
|
| /linux-6.15/drivers/dax/ |
| H A D | super.c | 439 inode->i_cdev = &dax_dev->cdev; in dax_dev_get() 515 struct cdev *cdev = inode->i_cdev; in inode_dax()
|
| /linux-6.15/drivers/most/ |
| H A D | most_cdev.c | 121 c = to_channel(inode->i_cdev); in comp_open() 159 struct comp_channel *c = to_channel(inode->i_cdev); in comp_close()
|
| /linux-6.15/drivers/pps/generators/ |
| H A D | pps_gen.c | 118 struct pps_gen_device *pps_gen = container_of(inode->i_cdev, in pps_gen_cdev_open()
|
| /linux-6.15/drivers/vfio/ |
| H A D | device_cdev.c | 25 struct vfio_device *device = container_of(inode->i_cdev, in vfio_device_fops_cdev_open()
|
| /linux-6.15/drivers/media/mc/ |
| H A D | mc-devnode.c | 154 devnode = container_of(inode->i_cdev, struct media_devnode, cdev); in media_open()
|
| /linux-6.15/drivers/char/ |
| H A D | bsr.c | 141 struct cdev *cdev = inode->i_cdev; in bsr_open()
|
| /linux-6.15/block/ |
| H A D | bsg.c | 35 return container_of(inode->i_cdev, struct bsg_device, cdev); in to_bsg_device()
|
| /linux-6.15/kernel/time/ |
| H A D | posix-clock.c | 97 container_of(inode->i_cdev, struct posix_clock, cdev); in posix_clock_open()
|
| /linux-6.15/drivers/fpga/ |
| H A D | dfl.h | 428 pdata = container_of(inode->i_cdev, struct dfl_feature_platform_data, in dfl_fpga_inode_to_feature_dev_data()
|
| /linux-6.15/drivers/gnss/ |
| H A D | core.c | 41 gdev = container_of(inode->i_cdev, struct gnss_device, cdev); in gnss_open()
|
| /linux-6.15/drivers/platform/chrome/wilco_ec/ |
| H A D | telemetry.c | 245 dev_data = container_of(inode->i_cdev, struct telem_device_data, cdev); in telem_open()
|
| H A D | event.c | 308 dev_data = container_of(inode->i_cdev, struct event_device_data, cdev); in event_open()
|
| /linux-6.15/drivers/soc/qcom/ |
| H A D | rmtfs_mem.c | 73 struct qcom_rmtfs_mem *rmtfs_mem = container_of(inode->i_cdev, in qcom_rmtfs_mem_open()
|
| /linux-6.15/drivers/staging/greybus/ |
| H A D | raw.c | 262 struct cdev *cdev = inode->i_cdev; in raw_open()
|
| H A D | authentication.c | 187 struct gb_cap *cap = get_cap(inode->i_cdev); in cap_open()
|
| /linux-6.15/drivers/misc/ |
| H A D | hpilo.c | 539 hw = container_of(ip->i_cdev, struct ilo_hwinfo, cdev); in ilo_close() 570 hw = container_of(ip->i_cdev, struct ilo_hwinfo, cdev); in ilo_open()
|
| /linux-6.15/drivers/fwctl/ |
| H A D | main.c | 210 container_of(inode->i_cdev, struct fwctl_device, cdev); in fwctl_fops_open()
|