Home
last modified time | relevance | path

Searched refs:i_cdev (Results 1 – 25 of 72) sorted by relevance

123

/linux-6.1.9/drivers/remoteproc/
Dremoteproc_cdev.c23 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/
Drpmsg_ctrl.c39 #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()
Drpmsg_char.c40 #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/
Dchar_dev.c381 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()
Dfile_table.c321 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/
Dtpm-dev.c23 chip = container_of(inode->i_cdev, struct tpm_chip, cdev); in tpm_open()
Dtpmrm-dev.c19 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); in tpmrm_open()
/linux-6.1.9/drivers/nvme/host/
Dioctl.c649 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/
Dmemdev.c299 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/
Dpps.c301 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/
Dsuper.c429 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/
Dmost_cdev.c121 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/
Dbsg.c35 return container_of(inode->i_cdev, struct bsg_device, cdev); in to_bsg_device()
/linux-6.1.9/drivers/char/
Dbsr.c138 struct cdev *cdev = inode->i_cdev; in bsr_open()
/linux-6.1.9/drivers/media/mc/
Dmc-devnode.c154 devnode = container_of(inode->i_cdev, struct media_devnode, cdev); in media_open()
/linux-6.1.9/kernel/time/
Dposix-clock.c112 container_of(inode->i_cdev, struct posix_clock, cdev); in posix_clock_open()
/linux-6.1.9/drivers/soc/qcom/
Drmtfs_mem.c72 struct qcom_rmtfs_mem *rmtfs_mem = container_of(inode->i_cdev, in qcom_rmtfs_mem_open()
/linux-6.1.9/drivers/staging/fieldbus/
Ddev_core.c172 struct fieldbus_dev *fbdev = container_of(inode->i_cdev, in fieldbus_open()
/linux-6.1.9/drivers/staging/greybus/
Draw.c259 struct cdev *cdev = inode->i_cdev; in raw_open()
Dauthentication.c184 struct gb_cap *cap = get_cap(inode->i_cdev); in cap_open()
/linux-6.1.9/drivers/fpga/
Ddfl.h363 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/
Dtelemetry.c245 dev_data = container_of(inode->i_cdev, struct telem_device_data, cdev); in telem_open()
/linux-6.1.9/drivers/char/pcmcia/
Dscr24x_cs.c76 struct scr24x_dev *dev = container_of(inode->i_cdev, in scr24x_open()
/linux-6.1.9/drivers/gnss/
Dcore.c41 gdev = container_of(inode->i_cdev, struct gnss_device, cdev); in gnss_open()
/linux-6.1.9/drivers/misc/
Dhpilo.c543 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()

123