Home
last modified time | relevance | path

Searched refs:inode (Results 1 – 25 of 109) sorted by relevance

12345

/arch/powerpc/platforms/cell/spufs/
Dinode.c58 static struct inode *
76 struct inode *inode = container_of(head, struct inode, i_rcu); in spufs_i_callback() local
77 kmem_cache_free(spufs_inode_cache, SPUFS_I(inode)); in spufs_i_callback()
80 static void spufs_destroy_inode(struct inode *inode) in spufs_destroy_inode() argument
82 call_rcu(&inode->i_rcu, spufs_i_callback); in spufs_destroy_inode()
93 static struct inode *
96 struct inode *inode; in spufs_new_inode() local
98 inode = new_inode(sb); in spufs_new_inode()
99 if (!inode) in spufs_new_inode()
102 inode->i_ino = get_next_ino(); in spufs_new_inode()
[all …]
Dfile.c56 static int spufs_attr_open(struct inode *inode, struct file *file, in spufs_attr_open() argument
68 attr->data = inode->i_private; in spufs_attr_open()
73 return nonseekable_open(inode, file); in spufs_attr_open()
76 static int spufs_attr_release(struct inode *inode, struct file *file) in spufs_attr_release() argument
146 static int __fops ## _open(struct inode *inode, struct file *file) \
149 return spufs_attr_open(inode, file, __get, __set, __fmt); \
162 spufs_mem_open(struct inode *inode, struct file *file) in spufs_mem_open() argument
164 struct spufs_inode_info *i = SPUFS_I(inode); in spufs_mem_open()
170 ctx->local_store = inode->i_mapping; in spufs_mem_open()
176 spufs_mem_release(struct inode *inode, struct file *file) in spufs_mem_release() argument
[all …]
/arch/ia64/sn/kernel/sn2/
Dsn_proc_fs.c21 static int partition_id_open(struct inode *inode, struct file *file) in partition_id_open() argument
32 static int system_serial_number_open(struct inode *inode, struct file *file) in system_serial_number_open() argument
43 static int licenseID_open(struct inode *inode, struct file *file) in licenseID_open() argument
55 static int coherence_id_open(struct inode *inode, struct file *file) in coherence_id_open() argument
61 extern int sn_topology_open(struct inode *, struct file *);
62 extern int sn_topology_release(struct inode *, struct file *);
/arch/s390/hypfs/
Dinode.c52 struct inode *inode = sb_info->update_file->d_inode; in hypfs_update_update() local
55 inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; in hypfs_update_update()
100 static struct inode *hypfs_make_inode(struct super_block *sb, umode_t mode) in hypfs_make_inode()
102 struct inode *ret = new_inode(sb); in hypfs_make_inode()
116 static void hypfs_evict_inode(struct inode *inode) in hypfs_evict_inode() argument
118 end_writeback(inode); in hypfs_evict_inode()
119 kfree(inode->i_private); in hypfs_evict_inode()
122 static int hypfs_open(struct inode *inode, struct file *filp) in hypfs_open() argument
128 if (!(inode->i_mode & S_IWUGO)) in hypfs_open()
132 if (!(inode->i_mode & S_IRUGO)) in hypfs_open()
[all …]
/arch/powerpc/platforms/pseries/
Dscanlog.c49 struct inode * inode = file->f_path.dentry->d_inode; in scanlog_read() local
56 dp = PDE(inode); in scanlog_read()
140 static int scanlog_open(struct inode * inode, struct file * file) in scanlog_open() argument
142 struct proc_dir_entry *dp = PDE(inode); in scanlog_open()
157 static int scanlog_release(struct inode * inode, struct file * file) in scanlog_release() argument
159 struct proc_dir_entry *dp = PDE(inode); in scanlog_release()
/arch/x86/xen/
Ddebugfs.c28 static int u32_array_open(struct inode *inode, struct file *file) in u32_array_open() argument
31 return nonseekable_open(inode, file); in u32_array_open()
77 struct inode *inode = file->f_path.dentry->d_inode; in u32_array_read() local
78 struct array_data *data = inode->i_private; in u32_array_read()
97 static int xen_array_release(struct inode *inode, struct file *file) in xen_array_release() argument
/arch/sh/boards/mach-landisk/
Dgio.c32 static int gio_open(struct inode *inode, struct file *filp) in gio_open() argument
38 minor = MINOR(inode->i_rdev); in gio_open()
51 static int gio_close(struct inode *inode, struct file *filp) in gio_close() argument
55 minor = MINOR(inode->i_rdev); in gio_close()
/arch/um/drivers/
Dharddog_kern.c65 static int harddog_open(struct inode *inode, struct file *file) in harddog_open() argument
88 return nonseekable_open(inode, file); in harddog_open()
97 static int harddog_release(struct inode *inode, struct file *file) in harddog_release() argument
Dmmapper_kern.c72 static int mmapper_open(struct inode *inode, struct file *file) in mmapper_open() argument
77 static int mmapper_release(struct inode *inode, struct file *file) in mmapper_release() argument
Dhostaudio_kern.c181 static int hostaudio_open(struct inode *inode, struct file *file) in hostaudio_open() argument
217 static int hostaudio_release(struct inode *inode, struct file *file) in hostaudio_release() argument
244 static int hostmixer_open_mixdev(struct inode *inode, struct file *file) in hostmixer_open_mixdev() argument
282 static int hostmixer_release(struct inode *inode, struct file *file) in hostmixer_release() argument
/arch/sh/mm/
Dasids-debugfs.c49 static int asids_debugfs_open(struct inode *inode, struct file *file) in asids_debugfs_open() argument
51 return single_open(file, asids_seq_show, inode->i_private); in asids_debugfs_open()
Dcache-debugfs.c97 static int cache_debugfs_open(struct inode *inode, struct file *file) in cache_debugfs_open() argument
99 return single_open(file, cache_seq_show, inode->i_private); in cache_debugfs_open()
/arch/arm/plat-s3c24xx/
Dcpu-freq-debugfs.c65 static int fops_board_open(struct inode *inode, struct file *file) in fops_board_open() argument
107 static int fops_info_open(struct inode *inode, struct file *file) in fops_info_open() argument
164 static int fops_io_open(struct inode *inode, struct file *file) in fops_io_open() argument
/arch/x86/kernel/
Dcpuid.c64 struct inode *inode = file->f_mapping->host; in cpuid_seek() local
66 mutex_lock(&inode->i_mutex); in cpuid_seek()
79 mutex_unlock(&inode->i_mutex); in cpuid_seek()
114 static int cpuid_open(struct inode *inode, struct file *file) in cpuid_open() argument
Dmsr.c49 struct inode *inode = file->f_mapping->host; in msr_seek() local
51 mutex_lock(&inode->i_mutex); in msr_seek()
64 mutex_unlock(&inode->i_mutex); in msr_seek()
172 static int msr_open(struct inode *inode, struct file *file) in msr_open() argument
/arch/ia64/kernel/
Dsalinfo.c294 salinfo_event_open(struct inode *inode, struct file *file) in salinfo_event_open() argument
304 struct inode *inode = file->f_path.dentry->d_inode; in salinfo_event_read() local
305 struct proc_dir_entry *entry = PDE(inode); in salinfo_event_read()
361 salinfo_log_open(struct inode *inode, struct file *file) in salinfo_log_open() argument
363 struct proc_dir_entry *entry = PDE(inode); in salinfo_log_open()
387 salinfo_log_release(struct inode *inode, struct file *file) in salinfo_log_release() argument
389 struct proc_dir_entry *entry = PDE(inode); in salinfo_log_release()
466 struct inode *inode = file->f_path.dentry->d_inode; in salinfo_log_read() local
467 struct proc_dir_entry *entry = PDE(inode); in salinfo_log_read()
527 struct inode *inode = file->f_path.dentry->d_inode; in salinfo_log_write() local
[all …]
/arch/ia64/include/asm/sn/sn2/
Dsn_hwperf.h240 int sn_topology_open(struct inode *inode, struct file *file);
241 int sn_topology_release(struct inode *inode, struct file *file);
/arch/sparc/kernel/
Dapc.c77 static int apc_open(struct inode *inode, struct file *f) in apc_open() argument
82 static int apc_release(struct inode *inode, struct file *f) in apc_release() argument
/arch/m68k/mvme16x/
Drtc.c122 static int rtc_open(struct inode *inode, struct file *file) in rtc_open() argument
132 static int rtc_release(struct inode *inode, struct file *file) in rtc_release() argument
/arch/mips/lasat/
Dpicvue_proc.c59 static int pvc_line_proc_open(struct inode *inode, struct file *file) in pvc_line_proc_open() argument
61 return single_open(file, pvc_line_proc_show, PDE(inode)->data); in pvc_line_proc_open()
145 static int pvc_scroll_proc_open(struct inode *inode, struct file *file) in pvc_scroll_proc_open() argument
/arch/powerpc/kernel/
Drtas-proc.c158 static int sensors_open(struct inode *inode, struct file *file) in sensors_open() argument
170 static int poweron_open(struct inode *inode, struct file *file) in poweron_open() argument
183 static int progress_open(struct inode *inode, struct file *file) in progress_open() argument
196 static int clock_open(struct inode *inode, struct file *file) in clock_open() argument
209 static int tone_freq_open(struct inode *inode, struct file *file) in tone_freq_open() argument
222 static int tone_volume_open(struct inode *inode, struct file *file) in tone_volume_open() argument
235 static int rmo_buf_open(struct inode *inode, struct file *file) in rmo_buf_open() argument
/arch/arm/mach-omap2/
Dpm-debug.c162 static int pm_dbg_open(struct inode *inode, struct file *file) in pm_dbg_open() argument
164 switch ((int)inode->i_private) { in pm_dbg_open()
167 &inode->i_private); in pm_dbg_open()
171 &inode->i_private); in pm_dbg_open()
/arch/m68k/bvme6000/
Drtc.c134 static int rtc_open(struct inode *inode, struct file *file) in rtc_open() argument
143 static int rtc_release(struct inode *inode, struct file *file) in rtc_release() argument
/arch/cris/arch-v10/drivers/
Deeprom.c81 static int eeprom_open(struct inode * inode, struct file * file);
87 static int eeprom_close(struct inode * inode, struct file * file);
376 static int eeprom_open(struct inode * inode, struct file * file) in eeprom_open() argument
378 if(iminor(inode) != EEPROM_MINOR_NR) in eeprom_open()
380 if(imajor(inode) != EEPROM_MAJOR_NR) in eeprom_open()
663 static int eeprom_close(struct inode * inode, struct file * file) in eeprom_close() argument
/arch/um/kernel/
Dexitcode.c34 static int exitcode_proc_open(struct inode *inode, struct file *file) in exitcode_proc_open() argument

12345