Home
last modified time | relevance | path

Searched refs:i_private (Results 1 – 25 of 234) sorted by relevance

12345678910

/linux/scripts/coccinelle/api/
A Dsimple_open.cocci20 -if (i->i_private)
21 -f->private_data = i->i_private;
23 -f->private_data = i->i_private;
47 if (i->i_private)
48 f->private_data = i->i_private;
50 f->private_data = i->i_private;
/linux/drivers/scsi/bfa/
A Dbfad_debugfs.c38 void *i_private; member
45 struct bfad_port_s *port = inode->i_private; in bfad_debugfs_open_drvtrc()
64 struct bfad_port_s *port = inode->i_private; in bfad_debugfs_open_fwtrc()
106 struct bfad_port_s *port = inode->i_private; in bfad_debugfs_open_fwsave()
154 reg_debug->i_private = inode->i_private; in bfad_debugfs_open_reg()
218 struct bfad_port_s *port = (struct bfad_port_s *)regrd_debug->i_private; in bfad_debugfs_read_regrd()
242 struct bfad_port_s *port = (struct bfad_port_s *)regrd_debug->i_private; in bfad_debugfs_write_regrd()
311 struct bfad_port_s *port = (struct bfad_port_s *)debug->i_private; in bfad_debugfs_write_regwr()
/linux/fs/kernfs/
A Dinode.c113 struct kernfs_node *kn = inode->i_private; in kernfs_iop_setattr()
186 struct kernfs_node *kn = inode->i_private; in kernfs_iop_getattr()
201 inode->i_private = kn; in kernfs_init_inode()
266 struct kernfs_node *kn = inode->i_private; in kernfs_evict_inode()
282 kn = inode->i_private; in kernfs_iop_permission()
319 struct kernfs_node *kn = inode->i_private; in kernfs_vfs_xattr_get()
331 struct kernfs_node *kn = inode->i_private; in kernfs_vfs_xattr_set()
398 struct kernfs_node *kn = inode->i_private; in kernfs_vfs_user_xattr_set()
/linux/drivers/net/ethernet/brocade/bna/
A Dbnad_debugfs.c36 void *i_private; member
43 struct bnad *bnad = inode->i_private; in bnad_debugfs_open_fwtrc()
83 struct bnad *bnad = inode->i_private; in bnad_debugfs_open_fwsave()
129 reg_debug->i_private = inode->i_private; in bnad_debugfs_open_reg()
184 struct bnad *bnad = inode->i_private; in bnad_debugfs_open_drvinfo()
282 struct bnad *bnad = (struct bnad *)regrd_debug->i_private; in bnad_debugfs_read_regrd()
305 struct bnad *bnad = (struct bnad *)regrd_debug->i_private; in bnad_debugfs_write_regrd()
366 struct bnad *bnad = (struct bnad *)debug->i_private; in bnad_debugfs_write_regwr()
/linux/drivers/misc/habanalabs/common/
A Ddebugfs.c619 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_read32()
656 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_write32()
692 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_read64()
729 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_write64()
765 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_dma_size_write()
822 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_get_power_state()
846 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_set_power_state()
874 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_i2c_data_read()
902 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_i2c_data_write()
1301 struct hl_debugfs_entry *node = inode->i_private; in hl_debugfs_open()
[all …]
/linux/drivers/bus/mhi/core/
A Ddebugfs.c298 return single_open(fp, mhi_debugfs_states_show, inode->i_private); in mhi_debugfs_states_open()
303 return single_open(fp, mhi_debugfs_events_show, inode->i_private); in mhi_debugfs_events_open()
308 return single_open(fp, mhi_debugfs_channels_show, inode->i_private); in mhi_debugfs_channels_open()
313 return single_open(fp, mhi_debugfs_devices_show, inode->i_private); in mhi_debugfs_devices_open()
318 return single_open(fp, mhi_debugfs_regdump_show, inode->i_private); in mhi_debugfs_regdump_open()
323 return single_open(fp, mhi_debugfs_device_wake_show, inode->i_private); in mhi_debugfs_device_wake_open()
328 return single_open(fp, mhi_debugfs_timeout_ms_show, inode->i_private); in mhi_debugfs_timeout_ms_open()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_debugfs.c180 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_link_settings_read()
246 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_link_settings_write()
368 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_phy_settings_read()
472 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_phy_settings_write()
615 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_phy_test_pattern_debugfs_write()
1006 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_sdp_message_debugfs_write()
1031 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_dpcd_address_write()
1046 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_dpcd_size_write()
2985 struct amdgpu_device *adev = file_inode(f)->i_private; in dtn_log_read()
3024 struct amdgpu_device *adev = file_inode(f)->i_private; in dtn_log_write()
[all …]
/linux/drivers/scsi/fnic/
A Dfnic_debugfs.c213 rdata_ptr = (u8 *)inode->i_private; in fnic_trace_debugfs_open()
458 debug->i_private = inode->i_private; in fnic_reset_stats_open()
485 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_read()
513 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_write()
596 struct fnic *fnic = inode->i_private; in fnic_stats_debugfs_open()
/linux/drivers/misc/ibmasm/
A Dibmasmfs.c167 inode->i_private = data; in ibmasmfs_create_file()
235 if (!inode->i_private) in command_file_open()
243 command_data->sp = inode->i_private; in command_file_open()
342 if (!inode->i_private) in event_file_open()
345 sp = inode->i_private; in event_file_open()
430 if (!inode->i_private) in r_heartbeat_file_open()
437 rhbeat->sp = inode->i_private; in r_heartbeat_file_open()
/linux/drivers/scsi/ufs/
A Dufs-debugfs.c20 return d_inode(file->f_path.dentry->d_parent)->i_private; in hba_from_file()
162 struct ufs_debugfs_attr *attr = file->f_inode->i_private; in ufs_saved_err_write()
192 return single_open(file, ufs_saved_err_show, inode->i_private); in ufs_saved_err_open()
224 d_inode(root)->i_private = hba; in ufs_debugfs_hba_init()
/linux/drivers/net/wireless/rsi/
A Drsi_91x_debugfs.c72 return single_open(file, rsi_sdio_stats_read, inode->i_private); in rsi_sdio_stats_open()
106 return single_open(file, rsi_version_read, inode->i_private); in rsi_version_open()
191 return single_open(file, rsi_stats_read, inode->i_private); in rsi_stats_open()
220 return single_open(file, rsi_debug_zone_read, inode->i_private); in rsi_debug_read()
/linux/drivers/char/tpm/eventlog/
A Dcommon.c35 if (!inode->i_private) { in tpm_bios_measurements_open()
39 chip_seqops = (struct tpm_chip_seqops *)inode->i_private; in tpm_bios_measurements_open()
184 inode->i_private = NULL; in tpm_bios_log_teardown()
/linux/drivers/gpu/drm/
A Ddrm_debugfs_crc.c115 struct drm_crtc *crtc = inode->i_private; in crc_control_open()
197 struct drm_crtc *crtc = inode->i_private; in crtc_crc_open()
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/drivers/scsi/lpfc/
A Dlpfc_debugfs.c1989 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_slow_ring_trc_open()
2039 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_hbqinfo_open()
2099 debug->i_private = inode->i_private; in lpfc_debugfs_multixripools_open()
2669 debug->i_private = inode->i_private; in lpfc_debugfs_nvmestat_open()
2757 debug->i_private = inode->i_private; in lpfc_debugfs_scsistat_open()
2811 debug->i_private = inode->i_private; in lpfc_debugfs_ioktime_open()
2938 debug->i_private = inode->i_private; in lpfc_debugfs_nvmeio_trc_open()
3043 debug->i_private = inode->i_private; in lpfc_debugfs_hdwqstat_open()
3197 debug->i_private = inode->i_private; in lpfc_idiag_open()
5448 debug->i_private = inode->i_private; in lpfc_cgn_buffer_open()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_debugfs.c72 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_debugfs_process_reg_op()
211 rd->adev = file_inode(file)->i_private; in amdgpu_debugfs_regs2_open()
359 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_debugfs_regs_pcie_read()
418 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_debugfs_regs_pcie_write()
478 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_debugfs_regs_didt_read()
537 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_debugfs_regs_didt_write()
597 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_debugfs_regs_smc_read()
656 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_debugfs_regs_smc_write()
718 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_debugfs_gca_config_read()
888 struct amdgpu_device *adev = f->f_inode->i_private; in amdgpu_debugfs_wave_read()
[all …]
/linux/fs/nilfs2/
A Dmdt.h58 return inode->i_private; in NILFS_MDT()
63 return inode->i_private != NULL; in nilfs_is_metadata_file_inode()
/linux/kernel/locking/
A Dlock_events.c71 id = (long)file_inode(file)->i_private; in lockevent_read()
96 if ((long)file_inode(file)->i_private != LOCKEVENT_reset_cnts) in lockevent_write()
/linux/security/apparmor/
A Dapparmorfs.c227 inode->i_private = data; in __aafs_setup_d_inode()
569 rev->ns = aa_get_ns(inode->i_private); in ns_revision_open()
1363 loaddata = __aa_get_loaddata(inode->i_private); in rawdata_open()
1607 struct aa_proxy *proxy = inode->i_private; in rawdata_get_link_base()
1789 parent = aa_get_ns(dir->i_private); in ns_mkdir_op()
1838 parent = aa_get_ns(dir->i_private); in ns_rmdir_op()
1909 sub = d_inode(ns_subns_dir(ns))->i_private; in __aafs_ns_rmdir()
1913 sub = d_inode(ns_subload(ns))->i_private; in __aafs_ns_rmdir()
1917 sub = d_inode(ns_subreplace(ns))->i_private; in __aafs_ns_rmdir()
1921 sub = d_inode(ns_subremove(ns))->i_private; in __aafs_ns_rmdir()
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_log_debugfs.c58 struct intel_guc_log *log = inode->i_private; in guc_log_relay_open()
96 struct intel_guc_log *log = inode->i_private; in guc_log_relay_release()
/linux/arch/s390/hypfs/
A Dhypfs_dbfs.c41 df = file_inode(file)->i_private; in dbfs_read()
63 struct hypfs_dbfs_file *df = file_inode(file)->i_private; in dbfs_ioctl()
/linux/net/sunrpc/
A Ddebugfs.c91 struct rpc_clnt *clnt = seq->private = inode->i_private; in tasks_open()
189 struct rpc_xprt *xprt = inode->i_private; in xprt_info_open()
205 struct rpc_xprt *xprt = inode->i_private; in xprt_info_release()
/linux/drivers/base/
A Ddevtmpfs.c168 d_inode(dentry)->i_private = &thread; in dev_mkdir()
229 d_inode(dentry)->i_private = &thread; in handle_create()
245 if (d_inode(dentry)->i_private == &thread) in dev_rmdir()
287 if (inode->i_private != &thread) in dev_mynode()
/linux/drivers/gpu/drm/i915/
A Di915_debugfs_params.c36 return single_open(file, i915_param_int_show, inode->i_private); in i915_param_int_open()
99 return single_open(file, i915_param_uint_show, inode->i_private); in i915_param_uint_open()
162 return single_open(file, i915_param_charp_show, inode->i_private); in i915_param_charp_open()
/linux/kernel/bpf/
A Dinode.c186 return file_inode(m->file)->i_private; in seq_file_to_map()
276 struct bpf_map *map = inode->i_private; in bpffs_map_open()
342 inode->i_private = raw; in bpf_mkobj_ops()
519 raw = bpf_any_get(inode->i_private, *type); in bpf_obj_do_get()
573 prog = inode->i_private; in __get_prog_inode()
620 bpf_any_put(inode->i_private, type); in bpf_free_inode()
/linux/fs/nfsd/
A Dfault_inject.c36 struct nfsd_fault_inject_op *op = file_inode(file)->i_private; in fault_inject_read()
52 struct nfsd_fault_inject_op *op = file_inode(file)->i_private; in fault_inject_write()

Completed in 73 milliseconds

12345678910