/arch/powerpc/platforms/cell/spufs/ |
D | inode.c | 47 static struct inode * 63 static void spufs_free_inode(struct inode *inode) in spufs_free_inode() argument 65 kmem_cache_free(spufs_inode_cache, SPUFS_I(inode)); in spufs_free_inode() 76 static struct inode * 79 struct inode *inode; in spufs_new_inode() local 81 inode = new_inode(sb); in spufs_new_inode() 82 if (!inode) in spufs_new_inode() 85 inode->i_ino = get_next_ino(); in spufs_new_inode() 86 inode->i_mode = mode; in spufs_new_inode() 87 inode->i_uid = current_fsuid(); in spufs_new_inode() [all …]
|
D | file.c | 44 static int spufs_attr_open(struct inode *inode, struct file *file, in spufs_attr_open() argument 56 attr->data = inode->i_private; in spufs_attr_open() 61 return nonseekable_open(inode, file); in spufs_attr_open() 64 static int spufs_attr_release(struct inode *inode, struct file *file) in spufs_attr_release() argument 142 static int __fops ## _open(struct inode *inode, struct file *file) \ 145 return spufs_attr_open(inode, file, __get, __set, __fmt); \ 157 spufs_mem_open(struct inode *inode, struct file *file) in spufs_mem_open() argument 159 struct spufs_inode_info *i = SPUFS_I(inode); in spufs_mem_open() 165 ctx->local_store = inode->i_mapping; in spufs_mem_open() 171 spufs_mem_release(struct inode *inode, struct file *file) in spufs_mem_release() argument [all …]
|
/arch/s390/hypfs/ |
D | inode.c | 53 struct inode *inode = d_inode(sb_info->update_file); in hypfs_update_update() local 56 inode->i_atime = inode->i_mtime = inode_set_ctime_current(inode); in hypfs_update_update() 94 static struct inode *hypfs_make_inode(struct super_block *sb, umode_t mode) in hypfs_make_inode() 96 struct inode *ret = new_inode(sb); in hypfs_make_inode() 111 static void hypfs_evict_inode(struct inode *inode) in hypfs_evict_inode() argument 113 clear_inode(inode); in hypfs_evict_inode() 114 kfree(inode->i_private); in hypfs_evict_inode() 117 static int hypfs_open(struct inode *inode, struct file *filp) in hypfs_open() argument 123 if (!(inode->i_mode & S_IWUGO)) in hypfs_open() 127 if (!(inode->i_mode & S_IRUGO)) in hypfs_open() [all …]
|
/arch/sh/boards/mach-landisk/ |
D | gio.c | 28 static int gio_open(struct inode *inode, struct file *filp) in gio_open() argument 30 int minor = iminor(inode); in gio_open() 46 static int gio_close(struct inode *inode, struct file *filp) in gio_close() argument 48 int minor = iminor(inode); in gio_close()
|
/arch/um/drivers/ |
D | harddog_kern.c | 64 static int harddog_open(struct inode *inode, struct file *file) in harddog_open() argument 87 return stream_open(inode, file); in harddog_open() 94 static int harddog_release(struct inode *inode, struct file *file) in harddog_release() argument
|
D | hostaudio_kern.c | 175 static int hostaudio_open(struct inode *inode, struct file *file) in hostaudio_open() argument 211 static int hostaudio_release(struct inode *inode, struct file *file) in hostaudio_release() argument 238 static int hostmixer_open_mixdev(struct inode *inode, struct file *file) in hostmixer_open_mixdev() argument 276 static int hostmixer_release(struct inode *inode, struct file *file) in hostmixer_release() argument
|
D | mmapper_kern.c | 73 static int mmapper_open(struct inode *inode, struct file *file) in mmapper_open() argument 78 static int mmapper_release(struct inode *inode, struct file *file) in mmapper_release() argument
|
/arch/x86/kvm/ |
D | debugfs.c | 160 static int kvm_mmu_rmaps_stat_open(struct inode *inode, struct file *file) in kvm_mmu_rmaps_stat_open() argument 162 struct kvm *kvm = inode->i_private; in kvm_mmu_rmaps_stat_open() 175 static int kvm_mmu_rmaps_stat_release(struct inode *inode, struct file *file) in kvm_mmu_rmaps_stat_release() argument 177 struct kvm *kvm = inode->i_private; in kvm_mmu_rmaps_stat_release() 181 return single_release(inode, file); in kvm_mmu_rmaps_stat_release()
|
/arch/arm64/kvm/ |
D | hyp_events.c | 109 static int hyp_event_open(struct inode *inode, struct file *filp) in hyp_event_open() argument 111 return single_open(filp, hyp_event_show, inode->i_private); in hyp_event_open() 131 static int hyp_event_id_open(struct inode *inode, struct file *filp) in hyp_event_id_open() argument 133 return single_open(filp, hyp_event_id_show, inode->i_private); in hyp_event_id_open() 171 static int hyp_event_format_open(struct inode *inode, struct file *file) in hyp_event_format_open() argument 173 return single_open(file, hyp_event_format_show, inode->i_private); in hyp_event_format_open()
|
D | hyp_trace.c | 609 static int hyp_trace_pipe_open(struct inode *inode, struct file *file) in hyp_trace_pipe_open() argument 612 int cpu = (s64)inode->i_private; in hyp_trace_pipe_open() 623 static int hyp_trace_pipe_release(struct inode *inode, struct file *file) in hyp_trace_pipe_release() argument 689 static int hyp_trace_raw_open(struct inode *inode, struct file *file) in hyp_trace_raw_open() argument 691 int ret = hyp_trace_pipe_open(inode, file); in hyp_trace_raw_open() 709 static int hyp_trace_raw_release(struct inode *inode, struct file *file) in hyp_trace_raw_release() argument 716 return hyp_trace_pipe_release(inode, file); in hyp_trace_raw_release() 732 static int hyp_trace_clock_open(struct inode *inode, struct file *file) in hyp_trace_clock_open() argument 744 static int hyp_trace_open(struct inode *inode, struct file *file) in hyp_trace_open() argument
|
/arch/sparc/kernel/ |
D | apc.c | 79 static int apc_open(struct inode *inode, struct file *f) in apc_open() argument 84 static int apc_release(struct inode *inode, struct file *f) in apc_release() argument
|
/arch/m68k/mvme16x/ |
D | rtc.c | 123 static int rtc_open(struct inode *inode, struct file *file) in rtc_open() argument 133 static int rtc_release(struct inode *inode, struct file *file) in rtc_release() argument
|
/arch/m68k/bvme6000/ |
D | rtc.c | 135 static int rtc_open(struct inode *inode, struct file *file) in rtc_open() argument 144 static int rtc_release(struct inode *inode, struct file *file) in rtc_release() argument
|
/arch/x86/kernel/cpu/sgx/ |
D | driver.c | 17 static int sgx_open(struct inode *inode, struct file *file) in sgx_open() argument 44 static int sgx_release(struct inode *inode, struct file *file) in sgx_release() argument
|
D | virt.c | 188 static int sgx_vepc_release(struct inode *inode, struct file *file) in sgx_vepc_release() argument 261 static int sgx_vepc_open(struct inode *inode, struct file *file) in sgx_vepc_open() argument
|
/arch/sh/mm/ |
D | tlb-debugfs.c | 137 static int tlb_debugfs_open(struct inode *inode, struct file *file) in tlb_debugfs_open() argument 139 return single_open(file, tlb_seq_show, inode->i_private); in tlb_debugfs_open()
|
/arch/parisc/kernel/ |
D | perf.c | 182 static int perf_release(struct inode *inode, struct file *file); 183 static int perf_open(struct inode *inode, struct file *file); 248 static int perf_open(struct inode *inode, struct file *file) in perf_open() argument 264 static int perf_release(struct inode *inode, struct file *file) in perf_release() argument
|
/arch/um/kernel/ |
D | exitcode.c | 34 static int exitcode_proc_open(struct inode *inode, struct file *file) in exitcode_proc_open() argument
|
/arch/powerpc/kernel/ |
D | rtas-proc.c | 157 static int poweron_open(struct inode *inode, struct file *file) in poweron_open() argument 170 static int progress_open(struct inode *inode, struct file *file) in progress_open() argument 183 static int clock_open(struct inode *inode, struct file *file) in clock_open() argument 196 static int tone_freq_open(struct inode *inode, struct file *file) in tone_freq_open() argument 209 static int tone_volume_open(struct inode *inode, struct file *file) in tone_volume_open() argument
|
/arch/mips/kernel/ |
D | rtlx.c | 329 static int file_open(struct inode *inode, struct file *filp) in file_open() argument 331 return rtlx_open(iminor(inode), (filp->f_flags & O_NONBLOCK) ? 0 : 1); in file_open() 334 static int file_release(struct inode *inode, struct file *filp) in file_release() argument 336 return rtlx_release(iminor(inode)); in file_release()
|
/arch/x86/kernel/cpu/mce/ |
D | dev-mcelog.c | 127 static int mce_chrdev_open(struct inode *inode, struct file *file) in mce_chrdev_open() argument 144 return nonseekable_open(inode, file); in mce_chrdev_open() 147 static int mce_chrdev_release(struct inode *inode, struct file *file) in mce_chrdev_release() argument
|
/arch/alpha/kernel/ |
D | srm_env.c | 84 static int srm_env_proc_open(struct inode *inode, struct file *file) in srm_env_proc_open() argument 86 return single_open(file, srm_env_proc_show, pde_data(inode)); in srm_env_proc_open()
|
/arch/powerpc/platforms/pseries/ |
D | dtl.c | 240 static int dtl_file_open(struct inode *inode, struct file *filp) in dtl_file_open() argument 242 struct dtl *dtl = inode->i_private; in dtl_file_open() 253 static int dtl_file_release(struct inode *inode, struct file *filp) in dtl_file_release() argument 255 struct dtl *dtl = inode->i_private; in dtl_file_release()
|
/arch/ia64/kernel/ |
D | salinfo.c | 275 salinfo_event_open(struct inode *inode, struct file *file) in salinfo_event_open() argument 341 salinfo_log_open(struct inode *inode, struct file *file) in salinfo_log_open() argument 343 struct salinfo_data *data = pde_data(inode); in salinfo_log_open() 366 salinfo_log_release(struct inode *inode, struct file *file) in salinfo_log_release() argument 368 struct salinfo_data *data = pde_data(inode); in salinfo_log_release()
|
/arch/mips/sibyte/common/ |
D | sb_tbprof.c | 389 static int sbprof_tb_open(struct inode *inode, struct file *filp) in sbprof_tb_open() argument 393 minor = iminor(inode); in sbprof_tb_open() 418 static int sbprof_tb_release(struct inode *inode, struct file *filp) in sbprof_tb_release() argument 422 minor = iminor(inode); in sbprof_tb_release()
|