/drivers/ide/ |
H A D | ide-floppy_proc.c | 16 static int idefloppy_capacity_proc_open(struct inode *inode, struct file *file) argument 18 return single_open(file, idefloppy_capacity_proc_show, PDE(inode)->data);
|
/drivers/acpi/ |
H A D | custom_method.c | 22 static ssize_t cm_write(struct file *file, const char __user * user_buf, argument
|
/drivers/char/ |
H A D | scx200_gpio.c | 49 static int scx200_gpio_open(struct inode *inode, struct file *file) argument 52 file->private_data = &scx200_gpio_ops; 56 return nonseekable_open(inode, file); 59 static int scx200_gpio_release(struct inode *inode, struct file *file) argument
|
H A D | uv_mmtimer.c | 4 * This file is subject to the terms and conditions of the GNU General Public 5 * License. See the file "COPYING" in the main directory of this archive 41 static long uv_mmtimer_ioctl(struct file *file, unsigned int cmd, 43 static int uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma); 59 * @file: file structure for the device 84 static long uv_mmtimer_ioctl(struct file *file, unsigne argument 147 uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma) argument [all...] |
H A D | nsc_gpio.c | 3 National Semiconductor common GPIO device-file/VFS methods. 41 ssize_t nsc_gpio_write(struct file *file, const char __user *data, argument 44 unsigned m = iminor(file->f_path.dentry->d_inode); 45 struct nsc_gpio_ops *amp = file->private_data; 104 ssize_t nsc_gpio_read(struct file *file, char __user * buf, argument 107 unsigned m = iminor(file->f_path.dentry->d_inode); 109 struct nsc_gpio_ops *amp = file->private_data; 118 /* common file [all...] |
/drivers/gpu/drm/via/ |
H A D | via_drv.c | 33 static int via_driver_open(struct drm_device *dev, struct drm_file *file) argument 42 file->driver_priv = file_priv; 49 void via_driver_postclose(struct drm_device *dev, struct drm_file *file) argument 51 struct via_file_private *file_priv = file->driver_priv;
|
/drivers/media/video/cx23885/ |
H A D | cx23885-ioctl.c | 27 int cx23885_g_chip_ident(struct file *file, void *fh, argument 134 int cx23885_g_register(struct file *file, void *fh, argument 185 int cx23885_s_register(struct file *file, void *fh, argument
|
/drivers/net/wireless/ath/ath9k/ |
H A D | dfs_debug.c | 28 static ssize_t read_file_dfs(struct file *file, char __user *user_buf, argument 31 struct ath_softc *sc = file->private_data; 63 static int ath9k_dfs_debugfs_open(struct inode *inode, struct file *file) argument 65 file->private_data = inode->i_private;
|
/drivers/sh/intc/ |
H A D | virq-debugfs.c | 8 * This file is subject to the terms and conditions of the GNU General Public 9 * License. See the file "COPYING" in the main directory of this archive 40 static int intc_irq_xlate_open(struct inode *inode, struct file *file) argument 42 return single_open(file, intc_irq_xlate_debug, inode->i_private);
|
/drivers/usb/mon/ |
H A D | mon_stat.c | 26 static int mon_stat_open(struct inode *inode, struct file *file) argument 40 file->private_data = sp; 44 static ssize_t mon_stat_read(struct file *file, char __user *buf, argument 47 struct snap *sp = file->private_data; 52 static int mon_stat_release(struct inode *inode, struct file *file) argument 54 struct snap *sp = file->private_data; 55 file [all...] |
/drivers/xen/xenbus/ |
H A D | xenbus_dev_backend.c | 17 static int xenbus_backend_open(struct inode *inode, struct file *filp) 25 static long xenbus_backend_ioctl(struct file *file, unsigned int cmd, unsigned long data) argument 41 static int xenbus_backend_mmap(struct file *file, struct vm_area_struct *vma) argument
|
/drivers/xen/xenfs/ |
H A D | xenstored.c | 11 static ssize_t xsd_read(struct file *file, char __user *buf, argument 14 const char *str = (const char *)file->private_data; 18 static int xsd_release(struct inode *inode, struct file *file) argument 20 kfree(file->private_data); 24 static int xsd_kva_open(struct inode *inode, struct file *file) argument 26 file->private_data = (void *)kasprintf(GFP_KERNEL, "0x%p", 28 if (!file 33 xsd_kva_mmap(struct file *file, struct vm_area_struct *vma) argument 55 xsd_port_open(struct inode *inode, struct file *file) argument [all...] |
/drivers/gpu/drm/ |
H A D | drm_auth.c | 2 * \file drm_auth.c 39 * Find the file with the given magic number. 68 * \param priv file private data. 131 * \param file_priv DRM file private. 172 * \param file_priv DRM file private. 185 struct drm_file *file; local 188 if ((file = drm_find_file(file_priv->master, auth->magic))) { 189 file->authenticated = 1;
|
/drivers/gpu/drm/sis/ |
H A D | sis_drv.c | 78 static int sis_driver_open(struct drm_device *dev, struct drm_file *file) argument 87 file->driver_priv = file_priv; 94 void sis_driver_postclose(struct drm_device *dev, struct drm_file *file) argument 96 struct sis_file_private *file_priv = file->driver_priv;
|
/drivers/net/bonding/ |
H A D | bond_debugfs.c | 49 static int bond_debug_rlb_hash_open(struct inode *inode, struct file *file) argument 51 return single_open(file, bond_debug_rlb_hash_show, inode->i_private);
|
/drivers/parisc/ |
H A D | eisa_eeprom.c | 34 static loff_t eisa_eeprom_llseek(struct file *file, loff_t offset, int origin ) argument 41 offset += file->f_pos; 47 return (offset >= 0 && offset < HPEE_MAX_LENGTH) ? (file->f_pos = offset) : -EINVAL; 50 static ssize_t eisa_eeprom_read(struct file * file, argument 77 static int eisa_eeprom_open(struct inode *inode, struct file *file) argument 79 if (file->f_mode & FMODE_WRITE) 85 static int eisa_eeprom_release(struct inode *inode, struct file *fil argument [all...] |
/drivers/rtc/ |
H A D | rtc-proc.c | 90 static int rtc_proc_open(struct inode *inode, struct file *file) argument 98 ret = single_open(file, rtc_proc_show, rtc); 104 static int rtc_proc_release(struct inode *inode, struct file *file) argument 106 int res = single_release(inode, file);
|
/drivers/scsi/qla2xxx/ |
H A D | qla_dfs.c | 53 qla2x00_dfs_fce_open(struct inode *inode, struct file *file) argument 74 return single_open(file, qla2x00_dfs_fce_show, vha); 78 qla2x00_dfs_fce_release(struct inode *inode, struct file *file) argument 102 return single_release(inode, file);
|
/drivers/staging/rtl8192u/ieee80211/ |
H A D | proc.c | 97 static int crypto_info_open(struct inode *inode, struct file *file) argument 99 return seq_open(file, &crypto_seq_ops);
|
/drivers/telephony/ |
H A D | phonedev.c | 46 static int phone_open(struct inode *inode, struct file *file) argument 71 old_fops = file->f_op; 72 file->f_op = new_fops; 74 err = p->open(p, file); /* Tell the device it is open */ 76 fops_put(file->f_op); 77 file->f_op = fops_get(old_fops);
|
/drivers/tty/ |
H A D | n_tracesink.c | 113 * @file: pointer to open file object. 127 static ssize_t n_tracesink_read(struct tty_struct *tty, struct file *file, argument 135 * @file: pointer to open file object. 151 static ssize_t n_tracesink_write(struct tty_struct *tty, struct file *file, argument
|
/drivers/usb/host/ |
H A D | fhci-dbg.c | 83 static int fhci_dfs_regs_open(struct inode *inode, struct file *file) argument 85 return single_open(file, fhci_dfs_regs_show, inode->i_private); 88 static int fhci_dfs_irq_stat_open(struct inode *inode, struct file *file) argument 90 return single_open(file, fhci_dfs_irq_stat_show, inode->i_private);
|
/drivers/base/ |
H A D | dma-buf.c | 31 static inline int is_dma_buf_file(struct file *); 33 static int dma_buf_release(struct inode *inode, struct file *file) argument 37 if (!is_dma_buf_file(file)) 40 dmabuf = file->private_data; 52 * is_dma_buf_file - Check if struct file* is associated with dma_buf 54 static inline int is_dma_buf_file(struct file *file) argument 56 return file->f_op == &dma_buf_fops; 60 * dma_buf_export - Creates a new dma_buf, and associates an anon file 78 struct file *file; local 141 struct file *file; local [all...] |
/drivers/base/regmap/ |
H A D | regmap-debugfs.c | 30 static int regmap_open_file(struct inode *inode, struct file *file) argument 32 file->private_data = inode->i_private; 36 static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, argument 44 struct regmap *map = file->private_data; 112 static ssize_t regmap_access_read_file(struct file *file, argument 121 struct regmap *map = file->private_data;
|
/drivers/char/agp/ |
H A D | compat_ioctl.c | 206 long compat_agp_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 208 struct agp_file_private *curr_priv = file->private_data;
|