Searched refs:i_cdev (Results 26 - 50 of 72) sorted by last modified time

123

/linux-master/drivers/rpmsg/
H A Drpmsg_ctrl.c39 #define cdev_to_ctrldev(i_cdev) container_of(i_cdev, struct rpmsg_ctrldev, cdev)
57 struct rpmsg_ctrldev *ctrldev = cdev_to_ctrldev(inode->i_cdev);
67 struct rpmsg_ctrldev *ctrldev = cdev_to_ctrldev(inode->i_cdev);
/linux-master/drivers/misc/
H A Dhpilo.c539 hw = container_of(ip->i_cdev, struct ilo_hwinfo, cdev);
570 hw = container_of(ip->i_cdev, struct ilo_hwinfo, cdev);
H A Dphantom.c215 struct phantom_device *dev = container_of(inode->i_cdev,
/linux-master/drivers/iio/
H A Dindustrialio-core.c1748 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev);
1783 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev);
/linux-master/drivers/char/xilinx_hwicap/
H A Dxilinx_hwicap.c532 drvdata = container_of(inode->i_cdev, struct hwicap_drvdata, cdev);
/linux-master/drivers/s390/crypto/
H A Dzcrypt_api.c504 if (filp->f_inode->i_cdev == &zcrypt_cdev) {
528 if (filp->f_inode->i_cdev == &zcrypt_cdev) {
/linux-master/kernel/trace/
H A Dtrace.c4578 * ensures that i_cdev was already initialized.
4582 if (inode->i_cdev) /* See trace_create_cpu_file() */
4583 return (long)inode->i_cdev - 1;
8534 d_inode(ret)->i_cdev = (void *)(cpu + 1);
H A Dtrace_osnoise.c2390 long cpu = (long) inode->i_cdev;
2432 file->private_data = inode->i_cdev;
2739 d_inode(timerlat_fd)->i_cdev = (void *)(cpu);
/linux-master/drivers/vhost/
H A Dvdpa.c1403 v = container_of(inode->i_cdev, struct vhost_vdpa, cdev);
/linux-master/fs/
H A Dinode.c183 inode->i_cdev = NULL;
672 if (S_ISCHR(inode->i_mode) && inode->i_cdev)
H A Dfile_table.c423 if (unlikely(S_ISCHR(inode->i_mode) && inode->i_cdev != NULL &&
425 cdev_put(inode->i_cdev);
H A Dchar_dev.c381 p = inode->i_cdev;
391 /* Check i_cdev again in case somebody beat us to it while
393 p = inode->i_cdev;
395 inode->i_cdev = p = new;
430 inode->i_cdev = NULL;
442 inode->i_cdev = NULL;
/linux-master/drivers/pci/switch/
H A Dswitchtec.c470 stdev = container_of(inode->i_cdev, struct switchtec_dev, cdev);
/linux-master/drivers/dax/
H A Dsuper.c439 inode->i_cdev = &dax_dev->cdev;
508 * @inode: An inode with i_cdev pointing to a dax_dev
515 struct cdev *cdev = inode->i_cdev;
/linux-master/drivers/char/
H A Dvirtio_console.c1021 struct cdev *cdev = inode->i_cdev;
/linux-master/drivers/watchdog/
H A Dwatchdog_dev.c875 wd_data = container_of(inode->i_cdev, struct watchdog_core_data,
/linux-master/drivers/misc/genwqe/
H A Dcard_dev.c308 cd = container_of(inode->i_cdev, struct genwqe_dev, cdev_genwqe);
395 struct genwqe_dev *cd = container_of(inode->i_cdev, struct genwqe_dev,
/linux-master/drivers/usb/gadget/function/
H A Df_hid.c562 container_of(inode->i_cdev, struct f_hidg, cdev);
/linux-master/drivers/input/
H A Devdev.c472 struct evdev *evdev = container_of(inode->i_cdev, struct evdev, cdev);
/linux-master/drivers/rapidio/devices/
H A Drio_mport_cdev.c1892 chdev = container_of(inode->i_cdev, struct mport_dev, cdev);
/linux-master/drivers/misc/mei/
H A Dmain.c54 dev = container_of(inode->i_cdev, struct mei_device, cdev);
/linux-master/arch/powerpc/platforms/book3s/
H A Dvas-api.c273 cp_inst->coproc = container_of(inode->i_cdev, struct coproc_dev,
/linux-master/drivers/soc/qcom/
H A Drmtfs_mem.c73 struct qcom_rmtfs_mem *rmtfs_mem = container_of(inode->i_cdev,
/linux-master/drivers/infiniband/hw/hfi1/
H A Dfile_ops.c149 struct hfi1_devdata *dd = container_of(inode->i_cdev,
631 struct hfi1_devdata *dd = container_of(inode->i_cdev,
/linux-master/drivers/infiniband/core/
H A Duser_mad.c994 port = container_of(inode->i_cdev, struct ib_umad_port, cdev);
1087 port = container_of(inode->i_cdev, struct ib_umad_port, sm_cdev);

Completed in 432 milliseconds

123