/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/xen/xenbus/ |
H A D | xenbus_dev_backend.c | 23 static int xenbus_backend_open(struct inode *inode, struct file *filp) 75 static long xenbus_backend_ioctl(struct file *file, unsigned int cmd, argument 93 static int xenbus_backend_mmap(struct file *file, struct vm_area_struct *vma) argument
|
/drivers/acpi/ |
H A D | proc.c | 15 * this file provides support for: 94 acpi_system_write_wakeup_device(struct file *file, argument 132 acpi_system_wakeup_device_open_fs(struct inode *inode, struct file *file) argument 134 return single_open(file, acpi_system_wakeup_device_seq_show,
|
/drivers/bluetooth/ |
H A D | btmrvl_debugfs.c | 6 * This software file (the "File") is distributed by Marvell International 34 static ssize_t btmrvl_hscfgcmd_write(struct file *file, argument 37 struct btmrvl_private *priv = file->private_data; 60 static ssize_t btmrvl_hscfgcmd_read(struct file *file, char __user *userbuf, argument 63 struct btmrvl_private *priv = file->private_data; 80 static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf, argument 83 struct btmrvl_private *priv = file 107 btmrvl_pscmd_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 126 btmrvl_hscmd_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument 151 btmrvl_hscmd_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
/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;
|
/drivers/char/ |
H A D | generic_nvram.c | 34 static loff_t nvram_llseek(struct file *file, loff_t offset, int origin) argument 40 offset += file->f_pos; 51 file->f_pos = offset; 53 return file->f_pos; 56 static ssize_t read_nvram(struct file *file, char __user *buf, argument 73 static ssize_t write_nvram(struct file *file, const char __user *buf, argument 93 static int nvram_ioctl(struct file *fil argument 124 nvram_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/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/gpu/drm/ |
H A D | drm_auth.c | 2 * \file drm_auth.c 46 * Find the file with the given magic number. 75 * \param priv file private data. 138 * \param file_priv DRM file private. 179 * \param file_priv DRM file private. 192 struct drm_file *file; local 195 if ((file = drm_find_file(file_priv->master, auth->magic))) { 196 file->authenticated = 1;
|
/drivers/gpu/drm/gma500/ |
H A D | gem.c | 45 struct drm_file *file) 52 * @file: our drm client file 59 int psb_gem_dumb_map_gtt(struct drm_file *file, struct drm_device *dev, argument 68 obj = drm_gem_object_lookup(dev, file, handle); 89 * @file: the DRM file of the client 98 int psb_gem_create(struct drm_file *file, struct drm_device *dev, u64 size, argument 124 ret = drm_gem_handle_create(file, &r->gem, &handle); 140 * @drm_file: our client file 44 psb_gem_get_aperture(struct drm_device *dev, void *data, struct drm_file *file) argument 148 psb_gem_dumb_create(struct drm_file *file, struct drm_device *dev, struct drm_mode_create_dumb *args) argument [all...] |
/drivers/gpu/drm/via/ |
H A D | via_mm.c | 111 struct drm_file *file) 117 struct via_file_private *file_priv = file->driver_priv; 206 struct drm_file *file) 208 struct via_file_private *file_priv = file->driver_priv; 211 if (!(file->minor->master && file->master->lock.hw_lock)) 214 drm_legacy_idlelock_take(&file->master->lock); 219 drm_legacy_idlelock_release(&file->master->lock); 234 drm_legacy_idlelock_release(&file->master->lock); 110 via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file) argument 205 via_reclaim_buffers_locked(struct drm_device *dev, struct drm_file *file) argument
|
/drivers/ide/ |
H A D | ide-disk_proc.c | 54 static int idedisk_cache_proc_open(struct inode *inode, struct file *file) argument 56 return single_open(file, idedisk_cache_proc_show, PDE_DATA(inode)); 75 static int idedisk_capacity_proc_open(struct inode *inode, struct file *file) argument 77 return single_open(file, idedisk_capacity_proc_show, PDE_DATA(inode)); 116 static int idedisk_sv_proc_open(struct inode *inode, struct file *file) argument 118 return single_open(file, idedisk_sv_proc_show, PDE_DATA(inode)); 134 static int idedisk_st_proc_open(struct inode *inode, struct file *fil argument [all...] |
/drivers/isdn/hardware/eicon/ |
H A D | capimain.c | 93 static int diva_ctl_proc_open(struct inode *inode, struct file *file) argument 95 return single_open(file, diva_ctl_proc_show, NULL);
|
H A D | diva_didd.c | 81 static int divadidd_proc_open(struct inode *inode, struct file *file) argument 83 return single_open(file, divadidd_proc_show, NULL);
|
/drivers/macintosh/ |
H A D | nvram.c | 21 static loff_t nvram_llseek(struct file *file, loff_t offset, int origin) argument 27 offset += file->f_pos; 38 file->f_pos = offset; 39 return file->f_pos; 42 static ssize_t read_nvram(struct file *file, char __user *buf, argument 59 static ssize_t write_nvram(struct file *file, const char __user *buf, argument 79 static long nvram_ioctl(struct file *fil argument [all...] |
/drivers/media/radio/ |
H A D | radio-timb.c | 43 static int timbradio_vidioc_querycap(struct file *file, void *priv, argument 54 static int timbradio_vidioc_g_tuner(struct file *file, void *priv, argument 57 struct timbradio *tr = video_drvdata(file); 61 static int timbradio_vidioc_s_tuner(struct file *file, void *priv, argument 64 struct timbradio *tr = video_drvdata(file); 68 static int timbradio_vidioc_s_frequency(struct file *file, voi argument 75 timbradio_vidioc_g_frequency(struct file *file, void *priv, struct v4l2_frequency *f) argument [all...] |
/drivers/media/usb/uvc/ |
H A D | uvc_debugfs.c | 32 static int uvc_debugfs_stats_open(struct inode *inode, struct file *file) argument 43 file->private_data = buf; 47 static ssize_t uvc_debugfs_stats_read(struct file *file, char __user *user_buf, argument 50 struct uvc_debugfs_buffer *buf = file->private_data; 56 static int uvc_debugfs_stats_release(struct inode *inode, struct file *file) argument 58 kfree(file->private_data); 59 file [all...] |
/drivers/misc/ |
H A D | uid_stat.c | 61 static int uid_stat_read_atomic_int_open(struct inode *inode, struct file *file) argument 63 return single_open(file, uid_stat_atomic_int_show, PDE_DATA(inode));
|
/drivers/net/wireless/ath/ath9k/ |
H A D | dfs_debug.c | 34 static ssize_t read_file_dfs(struct file *file, char __user *user_buf, argument 37 struct ath_softc *sc = file->private_data; 97 static ssize_t write_file_dfs(struct file *file, const char __user *user_buf, argument 100 struct ath_softc *sc = file->private_data; 119 static ssize_t write_file_simulate_radar(struct file *file, argument 123 struct ath_softc *sc = file->private_data;
|
/drivers/net/wireless/ath/wcn36xx/ |
H A D | debug.c | 27 static ssize_t read_file_bool_bmps(struct file *file, char __user *user_buf, argument 30 struct wcn36xx *wcn = file->private_data; 53 static ssize_t write_file_bool_bmps(struct file *file, argument 57 struct wcn36xx *wcn = file->private_data; 104 static ssize_t write_file_dump(struct file *file, argument 108 struct wcn36xx *wcn = file->private_data;
|
/drivers/net/wireless/ti/wl1251/ |
H A D | debugfs.c | 2 * This file is part of wl1251 37 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 40 struct wl1251 *wl = file->private_data; \ 70 static ssize_t sub## _ ##name## _read(struct file *file, \ 74 struct wl1251 *wl = file->private_data; \ 216 static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf, argument 219 struct wl1251 *wl = file 236 tx_queue_status_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
/drivers/net/wireless/ti/wl18xx/ |
H A D | debugfs.c | 2 * This file is part of wl18xx 172 static ssize_t conf_read(struct file *file, char __user *user_buf, argument 175 struct wl1271 *wl = file->private_data; 214 static ssize_t clear_fw_stats_write(struct file *file, argument 218 struct wl1271 *wl = file->private_data;
|
/drivers/oprofile/ |
H A D | event_buffer.c | 2 * @file event_buffer.c 5 * @remark Read the file COPYING 40 * wake up the process sleeping on the read() of the file. To protect 112 static int event_buffer_open(struct inode *inode, struct file *file) argument 124 * the open event file 127 file->private_data = dcookie_register(); 128 if (!file->private_data) 138 return nonseekable_open(inode, file); 141 dcookie_unregister(file 148 event_buffer_release(struct inode *inode, struct file *file) argument 160 event_buffer_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument [all...] |
/drivers/pnp/isapnp/ |
H A D | proc.c | 30 static loff_t isapnp_proc_bus_lseek(struct file *file, loff_t off, int whence) argument 32 return fixed_size_llseek(file, off, whence, 256); 35 static ssize_t isapnp_proc_bus_read(struct file *file, char __user * buf, argument 38 struct pnp_dev *dev = PDE_DATA(file_inode(file));
|
/drivers/rtc/ |
H A D | rtc-proc.c | 110 static int rtc_proc_open(struct inode *inode, struct file *file) argument 118 ret = single_open(file, rtc_proc_show, rtc); 124 static int rtc_proc_release(struct inode *inode, struct file *file) argument 126 int res = single_release(inode, file);
|