/linux/lib/kunit/ |
H A D | debugfs.c | 145 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 D | bpf_iter_task_vmas.c | 50 __u32 dev = file->f_inode->i_sb->s_dev; in proc_maps() 56 file->f_inode->i_ino); in proc_maps()
|
H A D | local_storage.c | 220 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 D | ima.c | 36 ret = bpf_ima_inode_hash(file->f_inode, &ima_hash, in ima_test_common()
|
H A D | profiler.inc.h | 683 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 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()
|
/linux/drivers/gpu/drm/ |
H A D | drm_debugfs_crc.c | 260 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 D | file_table.c | 180 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 D | internal.h | 106 put_write_access(file->f_inode); in file_put_write_access() 115 i_readcount_dec(file->f_inode); in put_file_access()
|
H A D | open.c | 870 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 D | mp2_stb.c | 160 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 D | pmc.c | 198 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 D | fsync.c | 85 struct inode *inode = file->f_inode; in ext4_fsync_nojournal()
|
/linux/kernel/printk/ |
H A D | index.c | 45 const struct module *mod = s->file->f_inode->i_private; in pi_next()
|
/linux/Documentation/trace/ |
H A D | fprobetrace.rst | 240 # 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 D | ufs-debugfs.c | 163 struct ufs_debugfs_attr *attr = file->f_inode->i_private; in ufs_saved_err_write()
|
/linux/fs/tracefs/ |
H A D | event_inode.c | 580 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 D | main.c | 276 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 D | taskstats.c | 165 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 D | lm.c | 37 stream_open(lm_file->filep->f_inode, lm_file->filep); in pds_vfio_get_lm_file()
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_api.c | 504 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 D | proc.c | 308 int idx = (int)(long)pde_data(m->file->f_inode); in can_rcvlist_proc_show()
|
/linux/drivers/vfio/pci/mlx5/ |
H A D | main.c | 648 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 D | guest_memfd.c | 427 inode = file->f_inode; in __kvm_gmem_create()
|
/linux/security/apparmor/ |
H A D | apparmorfs.c | 446 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()
|