Lines Matching refs:file
137 static ssize_t write_irq_affinity(int type, struct file *file, in write_irq_affinity() argument
140 unsigned int irq = (int)(long)pde_data(file_inode(file)); in write_irq_affinity()
179 static ssize_t irq_affinity_proc_write(struct file *file, in irq_affinity_proc_write() argument
182 return write_irq_affinity(0, file, buffer, count, pos); in irq_affinity_proc_write()
185 static ssize_t irq_affinity_list_proc_write(struct file *file, in irq_affinity_list_proc_write() argument
188 return write_irq_affinity(1, file, buffer, count, pos); in irq_affinity_list_proc_write()
191 static int irq_affinity_proc_open(struct inode *inode, struct file *file) in irq_affinity_proc_open() argument
193 return single_open(file, irq_affinity_proc_show, pde_data(inode)); in irq_affinity_proc_open()
196 static int irq_affinity_list_proc_open(struct inode *inode, struct file *file) in irq_affinity_list_proc_open() argument
198 return single_open(file, irq_affinity_list_proc_show, pde_data(inode)); in irq_affinity_list_proc_open()
235 static ssize_t default_affinity_write(struct file *file, in default_affinity_write() argument
266 static int default_affinity_open(struct inode *inode, struct file *file) in default_affinity_open() argument
268 return single_open(file, default_affinity_show, pde_data(inode)); in default_affinity_open()