Home
last modified time | relevance | path

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

123

/linux/drivers/remoteproc/
H A 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/drivers/rpmsg/
H A 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()
H A Drpmsg_char.c40 #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/fs/
H A Dchar_dev.c378 p = inode->i_cdev; in chrdev_open()
390 p = inode->i_cdev; in chrdev_open()
392 inode->i_cdev = p = new; in chrdev_open()
427 inode->i_cdev = NULL; in cd_forget()
439 inode->i_cdev = NULL; in cdev_purge()
/linux/drivers/char/tpm/
H A Dtpm-dev.c23 chip = container_of(inode->i_cdev, struct tpm_chip, cdev); in tpm_open()
H A Dtpmrm-dev.c19 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); in tpmrm_open()
/linux/drivers/nvme/host/
H A Dioctl.c630 container_of(file_inode(file)->i_cdev, struct nvme_ns, cdev); in nvme_ns_chr_ioctl()
675 struct nvme_ns *ns = container_of(file_inode(ioucmd->file)->i_cdev, in nvme_ns_chr_uring_cmd()
746 struct cdev *cdev = file_inode(file)->i_cdev; in nvme_ns_head_chr_ioctl()
771 struct cdev *cdev = file_inode(ioucmd->file)->i_cdev; in nvme_ns_head_chr_uring_cmd()
/linux/drivers/dax/
H A Dsuper.c438 inode->i_cdev = &dax_dev->cdev; in dax_dev_get()
514 struct cdev *cdev = inode->i_cdev; in inode_dax()
/linux/drivers/most/
H A 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/drivers/pps/generators/
H A Dpps_gen.c118 struct pps_gen_device *pps_gen = container_of(inode->i_cdev, in pps_gen_cdev_open()
/linux/drivers/char/
H A Dbsr.c141 struct cdev *cdev = inode->i_cdev; in bsr_open()
/linux/block/
H A Dbsg.c35 return container_of(inode->i_cdev, struct bsg_device, cdev); in to_bsg_device()
/linux/drivers/vfio/
H A Ddevice_cdev.c25 struct vfio_device *device = container_of(inode->i_cdev, in vfio_device_fops_cdev_open()
/linux/kernel/time/
H A Dposix-clock.c97 container_of(inode->i_cdev, struct posix_clock, cdev); in posix_clock_open()
/linux/drivers/soc/qcom/
H A Drmtfs_mem.c73 struct qcom_rmtfs_mem *rmtfs_mem = container_of(inode->i_cdev, in qcom_rmtfs_mem_open()
/linux/drivers/staging/greybus/
H A Draw.c262 struct cdev *cdev = inode->i_cdev; in raw_open()
H A Dauthentication.c187 struct gb_cap *cap = get_cap(inode->i_cdev); in cap_open()
/linux/drivers/platform/chrome/wilco_ec/
H A Dtelemetry.c245 dev_data = container_of(inode->i_cdev, struct telem_device_data, cdev); in telem_open()
H A Devent.c308 dev_data = container_of(inode->i_cdev, struct event_device_data, cdev); in event_open()
/linux/drivers/gnss/
H A Dcore.c41 gdev = container_of(inode->i_cdev, struct gnss_device, cdev); in gnss_open()
/linux/drivers/misc/
H A Dhpilo.c539 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/drivers/fwctl/
H A Dmain.c210 container_of(inode->i_cdev, struct fwctl_device, cdev); in fwctl_fops_open()
/linux/kernel/trace/
H A Dtrace_osnoise.c2377 long cpu = (long) inode->i_cdev; in timerlat_fd_open()
2419 file->private_data = inode->i_cdev; in timerlat_fd_open()
2726 d_inode(timerlat_fd)->i_cdev = (void *)(cpu); in osnoise_create_cpu_timerlat_fd()
/linux/drivers/cxl/core/
H A Dmemdev.c732 container_of(inode->i_cdev, typeof(*cxlmd), cdev); in cxl_memdev_open()
743 container_of(inode->i_cdev, typeof(*cxlmd), cdev); in cxl_memdev_release_file()
/linux/drivers/rtc/
H A Ddev.c25 struct rtc_device *rtc = container_of(inode->i_cdev, in rtc_dev_open()

123