/drivers/net/wireless/ipw2x00/ |
H A D | libipw_module.c | 5 Portions of this file are based on the WEP enablement code provided by the 25 file called LICENSE. 255 static int debug_level_proc_open(struct inode *inode, struct file *file) argument 257 return single_open(file, debug_level_proc_show, NULL); 260 static ssize_t debug_level_proc_write(struct file *file, argument
|
/drivers/net/wireless/iwlegacy/ |
H A D | 4965-debug.c | 22 * in the file called LICENSE.GPL. 59 il4965_ucode_rx_stats_read(struct file *file, char __user *user_buf, argument 62 struct il_priv *il = file->private_data; 471 il4965_ucode_tx_stats_read(struct file *file, char __user *user_buf, argument 474 struct il_priv *il = file->private_data; 637 il4965_ucode_general_stats_read(struct file *file, char __user *user_buf, argument 640 struct il_priv *il = file [all...] |
/drivers/oprofile/ |
H A D | oprofilefs.c | 2 * @file oprofilefs.c 5 * @remark Read the file COPYING 93 static ssize_t ulong_read_file(struct file *file, char __user *buf, size_t count, loff_t *offset) argument 95 unsigned long *val = file->private_data; 100 static ssize_t ulong_write_file(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument 112 retval = oprofile_set_ulong(file->private_data, value); 177 static ssize_t atomic_read_file(struct file *file, cha argument [all...] |
/drivers/pci/ |
H A D | proc.c | 20 static loff_t proc_bus_pci_lseek(struct file *file, loff_t off, int whence) argument 22 struct pci_dev *dev = PDE_DATA(file_inode(file)); 23 return fixed_size_llseek(file, off, whence, dev->cfg_size); 26 static ssize_t proc_bus_pci_read(struct file *file, char __user *buf, argument 29 struct pci_dev *dev = PDE_DATA(file_inode(file)); 110 static ssize_t proc_bus_pci_write(struct file *file, const char __user *buf, argument 113 struct inode *ino = file_inode(file); 189 proc_bus_pci_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 230 proc_bus_pci_mmap(struct file *file, struct vm_area_struct *vma) argument 257 proc_bus_pci_open(struct inode *inode, struct file *file) argument 272 proc_bus_pci_release(struct inode *inode, struct file *file) argument 421 proc_bus_pci_dev_open(struct inode *inode, struct file *file) argument [all...] |
/drivers/pinctrl/ |
H A D | pinconf.c | 364 static int pinconf_pins_open(struct inode *inode, struct file *file) argument 366 return single_open(file, pinconf_pins_show, inode->i_private); 369 static int pinconf_groups_open(struct inode *inode, struct file *file) argument 371 return single_open(file, pinconf_groups_show, inode->i_private); 399 * pinconf-config file after a write to check config is as expected 405 * map, of the dev/pin/state that was last written to pinconf-config file. 479 static ssize_t pinconf_dbg_config_write(struct file *file, argument 596 pinconf_dbg_config_open(struct inode *inode, struct file *file) argument [all...] |
H A D | pinmux.c | 638 static int pinmux_functions_open(struct inode *inode, struct file *file) argument 640 return single_open(file, pinmux_functions_show, inode->i_private); 643 static int pinmux_pins_open(struct inode *inode, struct file *file) argument 645 return single_open(file, pinmux_pins_show, inode->i_private);
|
/drivers/platform/olpc/ |
H A D | olpc-ec.c | 165 static ssize_t ec_dbgfs_cmd_write(struct file *file, const char __user *buf, argument 213 static ssize_t ec_dbgfs_cmd_read(struct file *file, char __user *buf, argument
|
/drivers/pnp/pnpbios/ |
H A D | proc.c | 12 * The .../escd file is utilized by the lsescd utility written by 15 * The .../legacy_device_resources file is not used yet. 49 static int pnpconfig_proc_open(struct inode *inode, struct file *file) argument 51 return single_open(file, pnpconfig_proc_show, NULL); 76 static int escd_info_proc_open(struct inode *inode, struct file *file) argument 78 return single_open(file, escd_info_proc_show, NULL); 131 static int escd_proc_open(struct inode *inode, struct file *file) argument 161 pnp_legacyres_proc_open(struct inode *inode, struct file *file) argument 204 pnp_devices_proc_open(struct inode *inode, struct file *file) argument 238 pnpbios_proc_open(struct inode *inode, struct file *file) argument 243 pnpbios_proc_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) argument [all...] |
/drivers/rtc/ |
H A D | rtc-dev.c | 25 static int rtc_dev_open(struct inode *inode, struct file *file) argument 35 file->private_data = rtc; 152 rtc_dev_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 154 struct rtc_device *rtc = file->private_data; 176 if (file->f_flags & O_NONBLOCK) { 206 static unsigned int rtc_dev_poll(struct file *file, poll_table *wait) argument 208 struct rtc_device *rtc = file 218 rtc_dev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 417 rtc_dev_fasync(int fd, struct file *file, int on) argument 423 rtc_dev_release(struct inode *inode, struct file *file) argument [all...] |
/drivers/s390/cio/ |
H A D | blacklist.c | 350 cio_ignore_write(struct file *file, const char __user *user_buf, argument 393 cio_ignore_proc_open(struct inode *inode, struct file *file) argument 395 return seq_open_private(file, &cio_ignore_proc_seq_ops,
|
H A D | qdio_debug.c | 192 static int qstat_seq_open(struct inode *inode, struct file *filp) 253 static ssize_t qperf_seq_write(struct file *file, const char __user *ubuf, argument 256 struct seq_file *seq = file->private_data; 285 static int qperf_seq_open(struct inode *inode, struct file *filp)
|
/drivers/sbus/char/ |
H A D | openprom.c | 12 * file read/write mode determines the type of access to the PROM. 301 static long openprom_sunos_ioctl(struct file * file, argument 305 DATA *data = file->private_data; 554 static int openprom_bsd_ioctl(struct file * file, argument 557 DATA *data = file->private_data; 601 static long openprom_ioctl(struct file * file, argument 604 DATA *data = file 660 openprom_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 692 openprom_open(struct inode * inode, struct file * file) argument 709 openprom_release(struct inode * inode, struct file * file) argument [all...] |
/drivers/scsi/bfa/ |
H A D | bfad_debugfs.c | 27 * To access the interface, debugfs file system should be mounted 50 bfad_debugfs_open_drvtrc(struct inode *inode, struct file *file) argument 63 file->private_data = debug; 69 bfad_debugfs_open_fwtrc(struct inode *inode, struct file *file) argument 107 file->private_data = fw_debug; 113 bfad_debugfs_open_fwsave(struct inode *inode, struct file *file) argument 151 file 157 bfad_debugfs_open_reg(struct inode *inode, struct file *file) argument 174 bfad_debugfs_lseek(struct file *file, loff_t offset, int orig) argument 182 bfad_debugfs_read(struct file *file, char __user *buf, size_t nbytes, loff_t *pos) argument 225 bfad_debugfs_read_regrd(struct file *file, char __user *buf, size_t nbytes, loff_t *pos) argument 249 bfad_debugfs_write_regrd(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument 326 bfad_debugfs_write_regwr(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument 382 bfad_debugfs_release(struct inode *inode, struct file *file) argument 395 bfad_debugfs_release_fwtrc(struct inode *inode, struct file *file) argument 472 const struct bfad_debugfs_entry *file; local [all...] |
/drivers/scsi/osd/ |
H A D | osd_uld.c | 52 #include <linux/file.h> 94 struct file *file; member in struct:osd_dev_handle 140 static int osd_uld_open(struct inode *inode, struct file *file) argument 146 /* cache osd_uld_device on file handle */ 147 file->private_data = oud; 152 static int osd_uld_release(struct inode *inode, struct file *file) argument 154 struct osd_uld_device *oud = file 194 osd_uld_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 223 struct file *file; local [all...] |
/drivers/scsi/ |
H A D | scsi_proc.c | 4 * The functions in this file provide an interface between 5 * the PROC file system and the SCSI device drivers 48 static ssize_t proc_scsi_host_write(struct file *file, const char __user *buf, argument 51 struct Scsi_Host *shost = PDE_DATA(file_inode(file)); 79 static int proc_scsi_host_open(struct inode *inode, struct file *file) argument 81 return single_open_size(file, proc_scsi_show, PDE_DATA(inode), 291 * @file: not used 308 static ssize_t proc_scsi_write(struct file *fil argument 433 proc_scsi_open(struct inode *inode, struct file *file) argument [all...] |
/drivers/staging/android/ion/ |
H A D | ion_test.c | 146 static long ion_test_ioctl(struct file *filp, unsigned int cmd, 206 static int ion_test_open(struct inode *inode, struct file *file) argument 209 struct miscdevice *miscdev = file->private_data; 217 file->private_data = data; 222 static int ion_test_release(struct inode *inode, struct file *file) argument 224 struct ion_test_data *data = file->private_data;
|
/drivers/staging/android/ |
H A D | sw_sync.c | 19 #include <linux/file.h> 140 static int sw_sync_open(struct inode *inode, struct file *file) argument 151 file->private_data = obj; 156 static int sw_sync_release(struct inode *inode, struct file *file) argument 158 struct sw_sync_timeline *obj = file->private_data; 223 static long sw_sync_ioctl(struct file *file, unsigned int cmd, argument 226 struct sw_sync_timeline *obj = file [all...] |
H A D | sync.h | 144 * @file: file representing this fence 155 struct file *file; member in struct:sync_fence 278 * file, and returns the fence. 292 * sync_fence_install() - installs a fence into a file descriptor 294 * @fd: file descriptor in which to install the fence
|
/drivers/staging/ft1000/ft1000-usb/ |
H A D | ft1000_debug.c | 43 static int ft1000_open(struct inode *inode, struct file *file); 44 static unsigned int ft1000_poll_dev(struct file *file, poll_table *wait); 45 static long ft1000_ioctl(struct file *file, unsigned int command, 47 static int ft1000_release(struct inode *inode, struct file *file); 150 struct dentry *dir, *file; local 180 file 300 ft1000_open(struct inode *inode, struct file *file) argument 358 ft1000_poll_dev(struct file *file, poll_table *wait) argument 408 ft1000_ioctl(struct file *file, unsigned int command, unsigned long argument) argument 749 ft1000_release(struct inode *inode, struct file *file) argument [all...] |
H A D | ft1000_usb.h | 21 struct fown_struct *fileobject;/* Application's file object */ 62 struct dentry *file; member in struct:ft1000_debug_dirs
|
/drivers/staging/gs_fpgaboot/ |
H A D | gs_fpgaboot.c | 45 static char *file = "xlinx_fpga_firmware.bit"; variable 46 module_param(file, charp, S_IRUGO); 47 MODULE_PARM_DESC(file, "Xilinx FPGA firmware file."); 133 pr_info("bitstream file magic number Ok\n"); 150 pr_info("file: %s\n", fimage->filename); 198 static int gs_load_image(struct fpgaimage *fimage, char *file) argument 202 pr_info("load fpgaimage %s\n", file); 204 err = request_firmware(&fimage->fw_entry, file, &firmware_pdev->dev); 206 pr_err("firmware %s is missing, cannot continue.\n", file); [all...] |
/drivers/staging/lustre/lustre/llite/ |
H A D | llite_mmap.c | 14 * in the LICENSE file that accompanied this code). 33 * This file is part of Lustre, http://www.lustre.org/ 102 struct file *file = vma->vm_file; local 103 struct inode *inode = file->f_dentry->d_inode; 110 if (ll_file_nolock(file)) 150 struct ll_file_data *fd = LUSTRE_FPRIVATE(file); 396 CWARN("app(%s): the page %lu of file %lu is under heavy" 477 int ll_file_mmap(struct file *file, struc argument [all...] |
/drivers/staging/lustre/lustre/lmv/ |
H A D | lproc_lmv.c | 14 * in the LICENSE file that accompanied this code). 33 * This file is part of Lustre, http://www.lustre.org/ 90 static ssize_t lmv_placement_seq_write(struct file *file, argument 94 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; 185 static int lmv_target_seq_open(struct inode *inode, struct file *file) argument 190 rc = seq_open(file, &lmv_tgt_sops); 194 seq = file->private_data;
|
/drivers/staging/lustre/lustre/lov/ |
H A D | lproc_lov.c | 14 * in the LICENSE file that accompanied this code). 33 * This file is part of Lustre, http://www.lustre.org/ 54 static ssize_t lov_stripesize_seq_write(struct file *file, const char *buffer, argument 57 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; 84 static ssize_t lov_stripeoffset_seq_write(struct file *file, const char *buffer, argument 87 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; 113 static ssize_t lov_stripetype_seq_write(struct file *file, cons argument 143 lov_stripecount_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument 239 lov_target_seq_open(struct inode *inode, struct file *file) argument [all...] |
/drivers/staging/lustre/lustre/obdclass/linux/ |
H A D | linux-module.c | 14 * in the LICENSE file that accompanied this code). 33 * This file is part of Lustre, http://www.lustre.org/ 169 static int obd_class_open(struct inode * inode, struct file * file) argument 176 static int obd_class_release(struct inode * inode, struct file * file) argument 183 static long obd_class_ioctl(struct file *filp, unsigned int cmd, 275 static ssize_t obd_proc_jobid_var_seq_write(struct file *file, const char *buffer, argument 300 static ssize_t obd_proc_jobid_name_seq_write(struct file *fil argument 389 obd_device_list_open(struct inode *inode, struct file *file) argument [all...] |