Searched defs:file (Results 126 - 150 of 874) sorted by relevance

1234567891011>>

/drivers/s390/block/
H A Ddasd_proc.c133 static int dasd_devices_open(struct inode *inode, struct file *file) argument
135 return seq_open(file, &dasd_devices_seq_ops);
264 static int dasd_stats_proc_open(struct inode *inode, struct file *file) argument
266 return single_open(file, dasd_stats_proc_show, NULL);
269 static ssize_t dasd_stats_proc_write(struct file *file, argument
/drivers/sbus/char/
H A Ddisplay7seg.c74 static int d7s_open(struct inode *inode, struct file *f)
82 static int d7s_release(struct inode *inode, struct file *f)
103 static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
110 if (D7S_MINOR != iminor(file_inode(file)))
H A Dflash.c36 flash_mmap(struct file *file, struct vm_area_struct *vma) argument
80 flash_llseek(struct file *file, long long offset, int origin) argument
85 file->f_pos = offset;
88 file->f_pos += offset;
89 if (file->f_pos > flash.read_size)
90 file->f_pos = flash.read_size;
93 file->f_pos = flash.read_size;
100 return file
104 flash_read(struct file * file, char __user * buf, size_t count, loff_t *ppos) argument
125 flash_open(struct inode *inode, struct file *file) argument
138 flash_release(struct inode *inode, struct file *file) argument
[all...]
/drivers/staging/android/
H A Dsync_debug.c19 #include <linux/file.h>
207 static int sync_debugfs_open(struct inode *inode, struct file *file) argument
209 return single_open(file, sync_debugfs_show, inode->i_private);
/drivers/staging/comedi/drivers/
H A Dcomedi_bond.c191 char file[sizeof("/dev/comediXXXXXX")]; local
214 snprintf(file, sizeof(file), "/dev/comedi%d", minor);
215 file[sizeof(file) - 1] = 0;
217 d = comedi_open(file);
/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-tracefile.c14 * in the LICENSE file that accompanied this code).
33 * This file is part of Lustre, http://www.lustre.org/
239 const char *buf, int len, const char *file,
262 hdr->ph_pid, hdr->ph_extern_pid, file, hdr->ph_line_num,
238 cfs_print_to_console(struct ptldebug_header *hdr, int mask, const char *buf, int len, const char *file, const char *fn) argument
/drivers/staging/lustre/lustre/mdc/
H A Dlproc_mdc.c14 * in the LICENSE file that accompanied this code).
33 * This file is part of Lustre, http://www.lustre.org/
54 static ssize_t mdc_max_rpcs_in_flight_seq_write(struct file *file, argument
60 ((struct seq_file *)file->private_data)->private;
79 static int mdc_kuc_open(struct inode *inode, struct file *file) argument
81 return single_open(file, NULL, PDE_DATA(inode));
85 static ssize_t mdc_kuc_write(struct file *file, cons argument
[all...]
/drivers/staging/rtl8192e/
H A Drtllib_module.c5 Portions of this file are based on the WEP enablement code provided by the
25 file called LICENSE.
215 static ssize_t write_debug_level(struct file *file, const char __user *buffer, argument
227 static int open_debug_level(struct inode *inode, struct file *file) argument
229 return single_open(file, show_debug_level, NULL);
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_module.c5 Portions of this file are based on the WEP enablement code provided by the
25 file called LICENSE.
251 static ssize_t write_debug_level(struct file *file, const char __user *buffer, argument
262 static int open_debug_level(struct inode *inode, struct file *file) argument
264 return single_open(file, show_debug_level, NULL);
/drivers/staging/unisys/visorutil/
H A Deasyproc.c16 /** @file *********************************************************************
19 * Note that this file does not know about any module-specific things, nor
55 static ssize_t proc_write_device(struct file *file, const char __user *buffer,
57 static ssize_t proc_write_driver(struct file *file, const char __user *buffer,
71 static int proc_open_driver(struct inode *inode, struct file *file) argument
73 return single_open(file, seq_show_driver, PDE_DATA(inode));
85 static int proc_open_device(struct inode *inode, struct file *fil argument
96 proc_open_device_property(struct inode *inode, struct file *file) argument
335 proc_write_driver(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
358 proc_write_device(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
[all...]
H A Dprocobjecttree.c24 /** This is context info that we stash in each /proc file entry, which we
26 * info for that file.
81 * the <procDirProperties> describes a single file like
111 ERRDRV("failed to create /proc file %s", name);
116 static int proc_open(struct inode *inode, struct file *file) argument
118 return single_open(file, seq_show, PDE_DATA(inode));
/drivers/usb/core/
H A Dfile.c2 * drivers/usb/core/file.c
30 static int usb_open(struct inode *inode, struct file *file) argument
41 replace_fops(file, new_fops);
43 if (file->f_op->open)
44 err = file->f_op->open(inode, file);
/drivers/usb/dwc3/
H A Ddebugfs.c2 * debugfs.c - DesignWare USB3 DRD Controller DebugFS file
387 static int dwc3_mode_open(struct inode *inode, struct file *file) argument
389 return single_open(file, dwc3_mode_show, inode->i_private);
392 static ssize_t dwc3_mode_write(struct file *file, argument
395 struct seq_file *s = file->private_data;
467 static int dwc3_testmode_open(struct inode *inode, struct file *file) argument
469 return single_open(file, dwc3_testmode_sho
472 dwc3_testmode_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
574 dwc3_link_state_open(struct inode *inode, struct file *file) argument
579 dwc3_link_state_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
624 struct dentry *file; local
[all...]
/drivers/usb/host/whci/
H A Ddebug.c136 static int di_open(struct inode *inode, struct file *file) argument
138 return single_open(file, di_print, inode->i_private);
141 static int asl_open(struct inode *inode, struct file *file) argument
143 return single_open(file, asl_print, inode->i_private);
146 static int pzl_open(struct inode *inode, struct file *file) argument
148 return single_open(file, pzl_print, inode->i_private);
/drivers/video/fbdev/core/
H A Dfb_defio.c6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file COPYING in the main directory of this archive
69 int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasync) argument
71 struct fb_info *info = file->private_data;
72 struct inode *inode = file_inode(file);
219 struct file *file)
221 file->f_mapping->a_ops = &fb_deferred_io_aops;
217 fb_deferred_io_open(struct fb_info *info, struct inode *inode, struct file *file) argument
/drivers/video/fbdev/mbx/
H A Dmbxdebugfs.c18 static int open_file_generic(struct inode *inode, struct file *file) argument
20 file->private_data = inode->i_private;
24 static ssize_t write_file_dummy(struct file *file, const char __user *buf, argument
30 static ssize_t sysconf_read_file(struct file *file, char __user *userbuf, argument
46 static ssize_t gsctl_read_file(struct file *file, char __user *userbuf, argument
74 static ssize_t display_read_file(struct file *fil argument
114 clock_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
137 sdram_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
159 misc_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
/drivers/watchdog/
H A Dat91rm9200_wdt.c84 static int at91_wdt_open(struct inode *inode, struct file *file) argument
90 return nonseekable_open(inode, file);
98 static int at91_wdt_close(struct inode *inode, struct file *file) argument
100 /* Disable the watchdog when file is closed */
136 static long at91_wdt_ioctl(struct file *file, argument
180 static ssize_t at91_wdt_write(struct file *file, cons argument
[all...]
H A Dindydog.c66 static int indydog_open(struct inode *inode, struct file *file) argument
80 return nonseekable_open(inode, file);
83 static int indydog_release(struct inode *inode, struct file *file) argument
93 static ssize_t indydog_write(struct file *file, const char *data, argument
102 static long indydog_ioctl(struct file *file, unsigned int cmd, argument
H A Diop_wdt.c96 static int iop_wdt_open(struct inode *inode, struct file *file) argument
104 return nonseekable_open(inode, file);
107 static ssize_t iop_wdt_write(struct file *file, const char *data, size_t len, argument
135 static long iop_wdt_ioctl(struct file *file, argument
190 static int iop_wdt_release(struct inode *inode, struct file *file) argument
H A Dixp4xx_wdt.c11 * This file is licensed under the terms of the GNU General Public
61 static int ixp4xx_wdt_open(struct inode *inode, struct file *file) argument
68 return nonseekable_open(inode, file);
72 ixp4xx_wdt_write(struct file *file, const char *data, size_t len, loff_t *ppos) argument
101 static long ixp4xx_wdt_ioctl(struct file *file, unsigned int cmd, argument
147 static int ixp4xx_wdt_release(struct inode *inode, struct file *file) argument
[all...]
H A Dm54xx_wdt.c14 * This file is licensed under the terms of the GNU General Public
81 static int m54xx_wdt_open(struct inode *inode, struct file *file) argument
88 return nonseekable_open(inode, file);
91 static ssize_t m54xx_wdt_write(struct file *file, const char *data, argument
120 static long m54xx_wdt_ioctl(struct file *file, unsigned int cmd, argument
166 static int m54xx_wdt_release(struct inode *inode, struct file *file) argument
[all...]
H A Dmtx-1_wdt.c126 static int mtx1_wdt_open(struct inode *inode, struct file *file) argument
130 return nonseekable_open(inode, file);
134 static int mtx1_wdt_release(struct inode *inode, struct file *file) argument
140 static long mtx1_wdt_ioctl(struct file *file, unsigned int cmd, argument
180 static ssize_t mtx1_wdt_write(struct file *file, const char *buf, argument
H A Driowd.c77 static int riowd_open(struct inode *inode, struct file *filp)
83 static int riowd_release(struct inode *inode, struct file *filp)
88 static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
148 static ssize_t riowd_write(struct file *file, const char __user *buf, argument
H A Dsbc8360.c241 static ssize_t sbc8360_write(struct file *file, const char __user *buf, argument
264 static int sbc8360_open(struct inode *inode, struct file *file) argument
274 return nonseekable_open(inode, file);
277 static int sbc8360_close(struct inode *inode, struct file *file) argument
H A Dsbc_epx_c3.c66 static int epx_c3_open(struct inode *inode, struct file *file) argument
81 return nonseekable_open(inode, file);
84 static int epx_c3_release(struct inode *inode, struct file *file) argument
96 static ssize_t epx_c3_write(struct file *file, const char __user *data, argument
105 static long epx_c3_ioctl(struct file *file, unsigned int cmd, argument

Completed in 4916 milliseconds

1234567891011>>