/drivers/char/ |
H A D | toshiba.c | 92 static long tosh_ioctl(struct file *, unsigned int, 257 static long tosh_ioctl(struct file *fp, unsigned int cmd, unsigned long arg) 330 static int proc_toshiba_open(struct inode *inode, struct file *file) argument 332 return single_open(file, proc_toshiba_show, NULL); 518 /* register the device file */
|
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...] |
/drivers/char/tpm/ |
H A D | tpm-dev.c | 12 * Device file system interface to the TPM 55 static int tpm_open(struct inode *inode, struct file *file) argument 57 struct miscdevice *misc = file->private_data; 83 file->private_data = priv; 88 static ssize_t tpm_read(struct file *file, char __user *buf, argument 91 struct file_priv *priv = file->private_data; 117 static ssize_t tpm_write(struct file *file, cons argument 162 tpm_release(struct inode *inode, struct file *file) argument [all...] |
H A D | tpm_eventlog.c | 222 struct file *file) 224 struct seq_file *seq = file->private_data; 232 return seq_release(inode, file); 282 struct file *file) 295 /* now register seq file */ 296 err = seq_open(file, &tpm_ascii_b_measurments_seqops); 298 seq = file->private_data; 320 struct file *fil 221 tpm_bios_measurements_release(struct inode *inode, struct file *file) argument 281 tpm_ascii_bios_measurements_open(struct inode *inode, struct file *file) argument 319 tpm_binary_bios_measurements_open(struct inode *inode, struct file *file) argument [all...] |
/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 352 hwicap_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 354 struct hwicap_drvdata *drvdata = file->private_data; 437 hwicap_write(struct file *file, const char __user *buf, argument 440 struct hwicap_drvdata *drvdata = file->private_data; 525 static int hwicap_open(struct inode *inode, struct file *file) argument 544 dev_err(drvdata->dev, "Failed to open file"); 548 file 560 hwicap_release(struct inode *inode, struct file *file) argument [all...] |
/drivers/clk/ |
H A D | clk-nomadik.c | 483 static int nomadik_src_clk_open(struct inode *inode, struct file *file) argument 485 return single_open(file, nomadik_src_clk_show, NULL);
|
H A D | clk.c | 230 static int freq_stats_table_open(struct inode *inode, struct file *file) argument 232 return single_open(file, clock_print_freq_stats_table, 297 static int clk_summary_open(struct inode *inode, struct file *file) argument 299 return single_open(file, clk_summary_show, inode->i_private); 365 static int clk_dump_open(struct inode *inode, struct file *file) argument 367 return single_open(file, clk_dump, inode->i_private); 2267 * separate C file fro [all...] |
/drivers/connector/ |
H A D | connector.c | 261 static int cn_proc_open(struct inode *inode, struct file *file) argument 263 return single_open(file, cn_proc_show, NULL);
|
/drivers/cpufreq/ |
H A D | s3c24xx-cpufreq-debugfs.c | 64 static int fops_board_open(struct inode *inode, struct file *file) argument 66 return single_open(file, board_show, NULL); 106 static int fops_info_open(struct inode *inode, struct file *file) argument 108 return single_open(file, info_show, NULL); 163 static int fops_io_open(struct inode *inode, struct file *file) argument 165 return single_open(file, io_show, NULL);
|
/drivers/crypto/qat/qat_common/ |
H A D | adf_cfg.c | 2 This file is provided under a dual BSD/GPLv2 license. When using or 3 redistributing this file, you may do so under either license. 98 static int qat_dev_cfg_open(struct inode *inode, struct file *file) argument 100 int ret = seq_open(file, &qat_dev_cfg_sops); 103 struct seq_file *seq_f = file->private_data;
|
H A D | adf_transport_debug.c | 2 This file is provided under a dual BSD/GPLv2 license. When using or 3 redistributing this file, you may do so under either license. 141 static int adf_ring_open(struct inode *inode, struct file *file) argument 143 int ret = seq_open(file, &adf_ring_sops); 146 struct seq_file *seq_f = file->private_data; 257 static int adf_bank_open(struct inode *inode, struct file *file) argument 259 int ret = seq_open(file, &adf_bank_sops); 262 struct seq_file *seq_f = file [all...] |
/drivers/dma-buf/ |
H A D | dma-buf.c | 36 static inline int is_dma_buf_file(struct file *); 45 static int dma_buf_release(struct inode *inode, struct file *file) argument 49 if (!is_dma_buf_file(file)) 52 dmabuf = file->private_data; 79 static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma) argument 83 if (!is_dma_buf_file(file)) 86 dmabuf = file->private_data; 96 static loff_t dma_buf_llseek(struct file *fil argument 133 dma_buf_poll(struct file *file, poll_table *poll) argument 262 is_dma_buf_file(struct file *file) argument 290 struct file *file; local 381 struct file *file; local 836 dma_buf_debug_open(struct inode *inode, struct file *file) argument [all...] |
/drivers/dma/ |
H A D | amba-pl08x.c | 22 * The full GNU General Public License is in this distribution in the file 1992 static int pl08x_debugfs_open(struct inode *inode, struct file *file) argument 1994 return single_open(file, pl08x_debugfs_show, inode->i_private);
|
H A D | coh901318.c | 1337 static int coh901318_debugfs_read(struct file *file, char __user *buf, argument
|
H A D | mic_x100_dma.c | 16 * the file called "COPYING". 685 static int mic_dma_reg_debug_open(struct inode *inode, struct file *file) argument 687 return single_open(file, mic_dma_reg_seq_show, inode->i_private); 690 static int mic_dma_reg_debug_release(struct inode *inode, struct file *file) argument 692 return single_release(inode, file);
|
/drivers/edac/ |
H A D | altera_edac.c | 141 static ssize_t altr_sdr_mc_err_inject_write(struct file *file, argument 145 struct mem_ctl_info *mci = file->private_data;
|
H A D | edac_mc_sysfs.c | 5 * This file may be distributed under the terms of the 325 /* Total possible dynamic DIMM Label attribute file table */ 349 /* Total possible dynamic ce_count attribute file table */ 812 static ssize_t edac_fake_inject_write(struct file *file, argument 816 struct device *dev = file->private_data; 852 /* default Control file */ 865 /* memory scrubber attribute file */
|
H A D | i5100_edac.c | 4 * This file may be distributed under the terms of the 950 static ssize_t inject_enable_write(struct file *file, const char __user *data, argument 953 struct device *dev = file->private_data;
|
/drivers/firewire/ |
H A D | core-cdev.c | 249 static int fw_device_op_open(struct inode *inode, struct file *file) argument 279 file->private_data = client; 281 return nonseekable_open(inode, file); 343 static ssize_t fw_device_op_read(struct file *file, char __user *buffer, argument 346 struct client *client = file->private_data; 1657 static long fw_device_op_ioctl(struct file *file, argument 1660 return dispatch_ioctl(file 1664 fw_device_op_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 1671 fw_device_op_mmap(struct file *file, struct vm_area_struct *vma) argument 1751 fw_device_op_release(struct inode *inode, struct file *file) argument 1788 fw_device_op_poll(struct file *file, poll_table * pt) argument [all...] |
H A D | nosy.c | 276 nosy_open(struct inode *inode, struct file *file) argument 303 file->private_data = client; 305 return nonseekable_open(inode, file); 314 nosy_release(struct inode *inode, struct file *file) argument 316 struct client *client = file->private_data; 331 nosy_poll(struct file *file, poll_table *pt) argument 333 struct client *client = file 348 nosy_read(struct file *file, char __user *buffer, size_t count, loff_t *offset) argument 356 nosy_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/firmware/efi/libstub/ |
H A D | efi-stub-helper.c | 8 * This file is part of the Linux kernel, and is made available 353 * Check the cmdline for a LILO-style file= arguments. 355 * We only support loading a file from the same filesystem as 411 pr_efi_err(sys_table_arg, "Failed to alloc mem for file handle list\n"); 417 struct file_info *file; local 427 file = &files[i]; 457 (void **)&file->handle, &file->size); 461 file_size_total += file->size; 502 pr_efi_err(sys_table_arg, "Failed to read file\ [all...] |
/drivers/fmc/ |
H A D | fmc-core.c | 81 static ssize_t fmc_read_eeprom(struct file *file, struct kobject *kobj, argument 102 static ssize_t fmc_write_eeprom(struct file *file, struct kobject *kobj, argument
|
/drivers/gpio/ |
H A D | gpio-ks8695.c | 297 static int ks8695_gpio_open(struct inode *inode, struct file *file) argument 299 return single_open(file, ks8695_gpio_show, NULL);
|
H A D | gpio-tegra.c | 572 static int dbg_gpio_open(struct inode *inode, struct file *file) argument 574 return single_open(file, dbg_gpio_show, &inode->i_private);
|
H A D | gpiolib.c | 1858 static int gpiolib_open(struct inode *inode, struct file *file) argument 1860 return seq_open(file, &gpiolib_seq_ops);
|