/linux-6.1.9/drivers/remoteproc/ |
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.1.9/drivers/rpmsg/ |
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()
|
D | rpmsg_char.c | 40 #define cdev_to_eptdev(i_cdev) container_of(i_cdev, struct rpmsg_eptdev, cdev) argument 120 struct rpmsg_eptdev *eptdev = cdev_to_eptdev(inode->i_cdev); in rpmsg_eptdev_open() 158 struct rpmsg_eptdev *eptdev = cdev_to_eptdev(inode->i_cdev); in rpmsg_eptdev_release()
|
/linux-6.1.9/fs/ |
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()
|
D | file_table.c | 321 if (unlikely(S_ISCHR(inode->i_mode) && inode->i_cdev != NULL && in __fput() 323 cdev_put(inode->i_cdev); in __fput()
|
/linux-6.1.9/drivers/char/tpm/ |
D | tpm-dev.c | 23 chip = container_of(inode->i_cdev, struct tpm_chip, cdev); in tpm_open()
|
D | tpmrm-dev.c | 19 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); in tpmrm_open()
|
/linux-6.1.9/drivers/nvme/host/ |
D | ioctl.c | 649 container_of(file_inode(file)->i_cdev, struct nvme_ns, cdev); in nvme_ns_chr_ioctl() 692 struct nvme_ns *ns = container_of(file_inode(ioucmd->file)->i_cdev, in nvme_ns_chr_uring_cmd() 709 ns = container_of(file_inode(ioucmd->file)->i_cdev, in nvme_ns_chr_uring_cmd_iopoll() 763 struct cdev *cdev = file_inode(file)->i_cdev; in nvme_ns_head_chr_ioctl() 787 struct cdev *cdev = file_inode(ioucmd->file)->i_cdev; in nvme_ns_head_chr_uring_cmd() 803 struct cdev *cdev = file_inode(ioucmd->file)->i_cdev; in nvme_ns_head_chr_uring_cmd_iopoll()
|
/linux-6.1.9/drivers/cxl/core/ |
D | memdev.c | 299 container_of(inode->i_cdev, typeof(*cxlmd), cdev); in cxl_memdev_open() 310 container_of(inode->i_cdev, typeof(*cxlmd), cdev); in cxl_memdev_release_file()
|
/linux-6.1.9/drivers/pps/ |
D | pps.c | 301 struct pps_device *pps = container_of(inode->i_cdev, in pps_cdev_open() 310 struct pps_device *pps = container_of(inode->i_cdev, in pps_cdev_release()
|
/linux-6.1.9/drivers/dax/ |
D | super.c | 429 inode->i_cdev = &dax_dev->cdev; in dax_dev_get() 497 struct cdev *cdev = inode->i_cdev; in inode_dax()
|
/linux-6.1.9/drivers/most/ |
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.1.9/block/ |
D | bsg.c | 35 return container_of(inode->i_cdev, struct bsg_device, cdev); in to_bsg_device()
|
/linux-6.1.9/drivers/char/ |
D | bsr.c | 138 struct cdev *cdev = inode->i_cdev; in bsr_open()
|
/linux-6.1.9/drivers/media/mc/ |
D | mc-devnode.c | 154 devnode = container_of(inode->i_cdev, struct media_devnode, cdev); in media_open()
|
/linux-6.1.9/kernel/time/ |
D | posix-clock.c | 112 container_of(inode->i_cdev, struct posix_clock, cdev); in posix_clock_open()
|
/linux-6.1.9/drivers/soc/qcom/ |
D | rmtfs_mem.c | 72 struct qcom_rmtfs_mem *rmtfs_mem = container_of(inode->i_cdev, in qcom_rmtfs_mem_open()
|
/linux-6.1.9/drivers/staging/fieldbus/ |
D | dev_core.c | 172 struct fieldbus_dev *fbdev = container_of(inode->i_cdev, in fieldbus_open()
|
/linux-6.1.9/drivers/staging/greybus/ |
D | raw.c | 259 struct cdev *cdev = inode->i_cdev; in raw_open()
|
D | authentication.c | 184 struct gb_cap *cap = get_cap(inode->i_cdev); in cap_open()
|
/linux-6.1.9/drivers/fpga/ |
D | dfl.h | 363 pdata = container_of(inode->i_cdev, struct dfl_feature_platform_data, in dfl_fpga_inode_to_feature_dev()
|
/linux-6.1.9/drivers/platform/chrome/wilco_ec/ |
D | telemetry.c | 245 dev_data = container_of(inode->i_cdev, struct telem_device_data, cdev); in telem_open()
|
/linux-6.1.9/drivers/char/pcmcia/ |
D | scr24x_cs.c | 76 struct scr24x_dev *dev = container_of(inode->i_cdev, in scr24x_open()
|
/linux-6.1.9/drivers/gnss/ |
D | core.c | 41 gdev = container_of(inode->i_cdev, struct gnss_device, cdev); in gnss_open()
|
/linux-6.1.9/drivers/misc/ |
D | hpilo.c | 543 hw = container_of(ip->i_cdev, struct ilo_hwinfo, cdev); in ilo_close() 574 hw = container_of(ip->i_cdev, struct ilo_hwinfo, cdev); in ilo_open()
|