Home
last modified time | relevance | path

Searched refs:f_inode (Results 1 – 25 of 41) sorted by relevance

12

/linux/lib/kunit/
H A Ddebugfs.c145 struct inode *f_inode = file->f_inode; in debugfs_run() local
146 struct kunit_suite *suite = (struct kunit_suite *) f_inode->i_private; in debugfs_run()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_task_vmas.c50 __u32 dev = file->f_inode->i_sb->s_dev; in proc_maps()
56 file->f_inode->i_ino); in proc_maps()
H A Dlocal_storage.c220 storage->exec_inode = bprm->file->f_inode; in BPF_PROG()
222 storage = bpf_inode_storage_get(&inode_storage_map, bprm->file->f_inode, in BPF_PROG()
H A Dima.c36 ret = bpf_ima_inode_hash(file->f_inode, &ima_hash, in ima_test_common()
H A Dprofiler.inc.h683 u64 inode = BPF_CORE_READ(bprm, file, f_inode, i_ino); in raw_tracepoint__sched_process_exec()
769 struct inode* file_inode = BPF_CORE_READ(filp, f_inode); in kprobe_ret__do_filp_open()
/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()
/linux/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c260 struct drm_crtc *crtc = filep->f_inode->i_private; in crtc_crc_release()
287 struct drm_crtc *crtc = filep->f_inode->i_private; in crtc_crc_read()
346 struct drm_crtc *crtc = file->f_inode->i_private; in crtc_crc_poll()
/linux/fs/
H A Dfile_table.c180 f->f_inode = NULL; in init_file()
314 file->f_inode = path->dentry->d_inode; in file_init_path()
428 struct inode *inode = file->f_inode; in __fput()
H A Dinternal.h106 put_write_access(file->f_inode); in file_put_write_access()
115 i_readcount_dec(file->f_inode); in put_file_access()
H A Dopen.c870 error = get_write_access(f->f_inode); in file_get_write_access()
886 put_write_access(f->f_inode); in file_get_write_access()
898 f->f_inode = inode; in do_dentry_open()
1007 f->f_inode = NULL; in do_dentry_open()
/linux/drivers/platform/x86/amd/pmc/
H A Dmp2_stb.c160 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_mp2_stb_debugfs_open()
178 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_mp2_stb_debugfs_read()
H A Dpmc.c198 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_pmc_stb_debugfs_open()
243 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_pmc_stb_handle_efr()
261 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_pmc_stb_debugfs_open_v2()
/linux/fs/ext4/
H A Dfsync.c85 struct inode *inode = file->f_inode; in ext4_fsync_nojournal()
/linux/kernel/printk/
H A Dindex.c45 const struct module *mod = s->file->f_inode->i_private; in pi_next()
/linux/Documentation/trace/
H A Dfprobetrace.rst240 # echo 'f vfs_open mode=file->f_mode:x32 inode=file->f_inode:x64' >> dynamic_events
241 # echo 'f vfs_open%%return mode=file->f_mode:x32 inode=file->f_inode:x64' >> dynamic_events
251 You can see the `file::f_mode` and `file::f_inode` are updated in `vfs_open()`.
/linux/drivers/ufs/core/
H A Dufs-debugfs.c163 struct ufs_debugfs_attr *attr = file->f_inode->i_private; in ufs_saved_err_write()
/linux/fs/tracefs/
H A Devent_inode.c580 struct inode *f_inode = file_inode(file); in eventfs_iterate() local
595 ti = get_tracefs(f_inode); in eventfs_iterate()
/linux/drivers/vfio/pci/qat/
H A Dmain.c276 stream_open(migf->filp->f_inode, migf->filp); in qat_vf_save_device_data()
368 stream_open(migf->filp->f_inode, migf->filp); in qat_vf_resume_device_data()
/linux/kernel/
H A Dtaskstats.c165 huge_encode_dev(exe_file->f_inode->i_sb->s_dev); in exe_add_tsk()
166 stats->ac_exe_inode = exe_file->f_inode->i_ino; in exe_add_tsk()
/linux/drivers/vfio/pci/pds/
H A Dlm.c37 stream_open(lm_file->filep->f_inode, lm_file->filep); in pds_vfio_get_lm_file()
/linux/drivers/s390/crypto/
H A Dzcrypt_api.c504 if (filp->f_inode->i_cdev == &zcrypt_cdev) { in zcrypt_open()
509 zcdndev = find_zcdndev_by_devt(filp->f_inode->i_rdev); in zcrypt_open()
528 if (filp->f_inode->i_cdev == &zcrypt_cdev) { in zcrypt_release()
532 zcdndev = find_zcdndev_by_devt(filp->f_inode->i_rdev); in zcrypt_release()
/linux/net/can/
H A Dproc.c308 int idx = (int)(long)pde_data(m->file->f_inode); in can_rcvlist_proc_show()
/linux/drivers/vfio/pci/mlx5/
H A Dmain.c648 stream_open(migf->filp->f_inode, migf->filp); in mlx5vf_pci_save_device_data()
1023 stream_open(migf->filp->f_inode, migf->filp); in mlx5vf_pci_resume_device_data()
/linux/virt/kvm/
H A Dguest_memfd.c427 inode = file->f_inode; in __kvm_gmem_create()
/linux/security/apparmor/
H A Dapparmorfs.c446 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_load()
463 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_replace()
483 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_remove()

12