Searched defs:file (Results 426 - 450 of 874) sorted by relevance

<<11121314151617181920>>

/drivers/watchdog/
H A Dmachzwd.c269 static ssize_t zf_write(struct file *file, const char __user *buf, size_t count, argument
308 static long zf_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
329 static int zf_open(struct inode *inode, struct file *file) argument
336 return nonseekable_open(inode, file);
339 static int zf_close(struct inode *inode, struct file *file) argument
345 pr_err("device file close
[all...]
H A Dpc87413_wdt.c270 * @file: file handle to device
274 static int pc87413_open(struct inode *inode, struct file *file) argument
289 return nonseekable_open(inode, file);
295 * @file: file handle to board
304 static int pc87413_release(struct inode *inode, struct file *file) argument
334 * @file
343 pc87413_write(struct file *file, const char __user *data, size_t len, loff_t *ppos) argument
382 pc87413_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
H A Dsc1200wdt.c169 static int sc1200wdt_open(struct inode *inode, struct file *file) argument
181 return nonseekable_open(inode, file);
185 static long sc1200wdt_ioctl(struct file *file, unsigned int cmd, argument
253 static int sc1200wdt_release(struct inode *inode, struct file *file) argument
269 static ssize_t sc1200wdt_write(struct file *file, const char __user *data, argument
H A Dsch311x_wdt.c32 #include <linux/fs.h> /* For file operations */
225 static ssize_t sch311x_wdt_write(struct file *file, const char __user *buf, argument
247 static long sch311x_wdt_ioctl(struct file *file, unsigned int cmd, argument
311 static int sch311x_wdt_open(struct inode *inode, struct file *file) argument
319 return nonseekable_open(inode, file);
322 static int sch311x_wdt_close(struct inode *inode, struct file *file) argument
[all...]
H A Dsmsc37b787_wdt.c30 * via the /dev/watchdog special device file that userspace is
353 static int wb_smsc_wdt_open(struct inode *inode, struct file *file) argument
369 return nonseekable_open(inode, file);
374 static int wb_smsc_wdt_release(struct inode *inode, struct file *file) argument
393 static ssize_t wb_smsc_wdt_write(struct file *file, const char __user *data, argument
423 static long wb_smsc_wdt_ioctl(struct file *file, argument
[all...]
H A Dwdrtas.c235 * @file: file structure
238 * @ppos: position in file
247 static ssize_t wdrtas_write(struct file *file, const char __user *buf, argument
276 * @file: file structure
285 static long wdrtas_ioctl(struct file *file, unsigned int cmd, argument
361 * @file
368 wdrtas_open(struct inode *inode, struct file *file) argument
391 wdrtas_close(struct inode *inode, struct file *file) argument
419 wdrtas_temp_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
443 wdrtas_temp_open(struct inode *inode, struct file *file) argument
457 wdrtas_temp_close(struct inode *inode, struct file *file) argument
[all...]
H A Dwdt_pci.c348 * @file: file handle to the watchdog
357 static ssize_t wdtpci_write(struct file *file, const char __user *buf, argument
382 * @file: file handle to the device
391 static long wdtpci_ioctl(struct file *file, unsigned int cmd, argument
444 * @file: file handl
453 wdtpci_open(struct inode *inode, struct file *file) argument
479 wdtpci_release(struct inode *inode, struct file *file) argument
503 wdtpci_temp_read(struct file *file, char __user *buf, size_t count, loff_t *ptr) argument
525 wdtpci_temp_open(struct inode *inode, struct file *file) argument
538 wdtpci_temp_release(struct inode *inode, struct file *file) argument
[all...]
/drivers/xen/
H A Devtchn.c16 * of this source file (the "Software"), to deal in the Software without
163 static ssize_t evtchn_read(struct file *file, char __user *buf, argument
168 struct per_user_data *u = file->private_data;
193 if (file->f_flags & O_NONBLOCK)
235 static ssize_t evtchn_write(struct file *file, const char __user *buf, argument
240 struct per_user_data *u = file->private_data;
337 static long evtchn_ioctl(struct file *file, argument
471 evtchn_poll(struct file *file, poll_table *wait) argument
[all...]
H A Dprivcmd.c501 static long privcmd_ioctl(struct file *file, argument
564 static int privcmd_mmap(struct file *file, struct vm_area_struct *vma) argument
/drivers/xen/xenbus/
H A Dxenbus_dev_frontend.c15 * of this source file (the "Software"), to deal in the Software without
121 static ssize_t xenbus_file_read(struct file *filp,
431 static ssize_t xenbus_file_write(struct file *filp,
527 static int xenbus_file_open(struct inode *inode, struct file *filp)
553 static int xenbus_file_release(struct inode *inode, struct file *filp)
586 static unsigned int xenbus_file_poll(struct file *file, poll_table *wait) argument
588 struct xenbus_file_priv *u = file->private_data;
590 poll_wait(file, &u->read_waitq, wait);
/drivers/acpi/apei/
H A Deinj.c610 static int available_error_type_open(struct inode *inode, struct file *file) argument
612 return single_open(file, available_error_type_show, NULL);
/drivers/char/agp/
H A Dfrontend.c565 static int agp_mmap(struct file *file, struct vm_area_struct *vma) argument
570 struct agp_file_private *priv = file->private_data;
643 static int agp_release(struct inode *inode, struct file *file) argument
645 struct agp_file_private *priv = file->private_data;
669 file->private_data = NULL;
674 static int agp_open(struct inode *inode, struct file *file) argument
704 file
949 agp_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/char/ipmi/
H A Dipmi_devintf.c52 struct file *file; member in struct:ipmi_file_private
81 static unsigned int ipmi_poll(struct file *file, poll_table *wait) argument
83 struct ipmi_file_private *priv = file->private_data;
87 poll_wait(file, &priv->wait, wait);
99 static int ipmi_fasync(int fd, struct file *file, int on) argument
101 struct ipmi_file_private *priv = file->private_data;
105 result = fasync_helper(fd, file, o
116 ipmi_open(struct inode *inode, struct file *file) argument
156 ipmi_release(struct inode *inode, struct file *file) argument
230 ipmi_ioctl(struct file *file, unsigned int cmd, unsigned long data) argument
635 ipmi_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long data) argument
[all...]
/drivers/char/
H A Dlp.c294 static ssize_t lp_write(struct file * file, const char __user * buf, argument
297 unsigned int minor = iminor(file_inode(file));
303 int nonblock = ((file->f_flags & O_NONBLOCK) ||
412 static ssize_t lp_read(struct file * file, char __user * buf, argument
416 unsigned int minor=iminor(file_inode(file));
420 int nonblock = ((file->f_flags & O_NONBLOCK) ||
491 static int lp_open(struct inode * inode, struct file * file) argument
561 lp_release(struct inode * inode, struct file * file) argument
680 lp_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
708 lp_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
H A Dmem.c98 static ssize_t read_mem(struct file *file, char __user *buf, argument
158 static ssize_t write_mem(struct file *file, const char __user *buf, argument
226 int __weak phys_mem_access_prot_allowed(struct file *file, argument
240 static int uncached_access(struct file *file, phys_addr_t addr) argument
250 extern int __uncached_access(struct file *file,
268 phys_mem_access_prot(struct file *file, unsigned long pfn, unsigned long size, pgprot_t vma_prot) argument
282 get_unmapped_area_mem(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument
313 mmap_mem(struct file *file, struct vm_area_struct *vma) argument
349 mmap_kmem(struct file *file, struct vm_area_struct *vma) argument
375 read_kmem(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
502 write_kmem(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
554 read_port(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
572 write_port(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
596 read_null(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
602 write_null(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
651 mmap_zero(struct file *file, struct vm_area_struct *vma) argument
661 write_full(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
672 null_lseek(struct file *file, loff_t offset, int orig) argument
687 memory_lseek(struct file *file, loff_t offset, int orig) argument
[all...]
H A Dmmtimer.c4 * 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
65 static long mmtimer_ioctl(struct file *file, unsigned int cmd,
67 static int mmtimer_mmap(struct file *file, struct vm_area_struct *vma);
352 * @file: file structure for the device
377 static long mmtimer_ioctl(struct file *file, unsigne argument
437 mmtimer_mmap(struct file *file, struct vm_area_struct *vma) argument
[all...]
/drivers/clk/
H A Dclk-nomadik.c483 static int nomadik_src_clk_open(struct inode *inode, struct file *file) argument
485 return single_open(file, nomadik_src_clk_show, NULL);
/drivers/dma/
H A Dmic_x100_dma.c16 * 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/dma-buf/
H A Ddma-buf.c36 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/firewire/
H A Dnosy.c276 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/gpio/
H A Dgpio-tegra.c572 static int dbg_gpio_open(struct inode *inode, struct file *file) argument
574 return single_open(file, dbg_gpio_show, &inode->i_private);
/drivers/gpu/drm/i915/
H A Dintel_uncore.c975 void *data, struct drm_file *file)
1018 void *data, struct drm_file *file)
1036 ctx = i915_gem_context_get(file->driver_priv, args->ctx_id);
974 i915_reg_read_ioctl(struct drm_device *dev, void *data, struct drm_file *file) argument
1017 i915_get_reset_stats_ioctl(struct drm_device *dev, void *data, struct drm_file *file) argument
/drivers/gpu/drm/msm/mdp/mdp4/
H A Dmdp4_crtc.c157 /* if file!=NULL, this is preclose potential cancel-flip path */
158 static void complete_flip(struct drm_crtc *crtc, struct drm_file *file) argument
168 /* if regular vblank case (!file) or if cancel-flip from
169 * preclose on file that requested flip, then send the
172 if (!file || (event->base.file_priv == file)) {
664 void mdp4_crtc_cancel_pending_flip(struct drm_crtc *crtc, struct drm_file *file) argument
666 DBG("cancel: %p", file);
667 complete_flip(crtc, file);
/drivers/gpu/drm/msm/
H A Dmsm_drv.c327 static int msm_open(struct drm_device *dev, struct drm_file *file) argument
340 file->driver_priv = ctx;
345 static void msm_preclose(struct drm_device *dev, struct drm_file *file) argument
348 struct msm_file_private *ctx = file->driver_priv;
352 kms->funcs->preclose(kms, file);
659 struct drm_file *file)
680 struct drm_file *file)
689 return msm_gem_new_handle(dev, file, args->size,
696 struct drm_file *file)
707 obj = drm_gem_object_lookup(dev, file, arg
658 msm_ioctl_get_param(struct drm_device *dev, void *data, struct drm_file *file) argument
679 msm_ioctl_gem_new(struct drm_device *dev, void *data, struct drm_file *file) argument
695 msm_ioctl_gem_cpu_prep(struct drm_device *dev, void *data, struct drm_file *file) argument
718 msm_ioctl_gem_cpu_fini(struct drm_device *dev, void *data, struct drm_file *file) argument
736 msm_ioctl_gem_info(struct drm_device *dev, void *data, struct drm_file *file) argument
757 msm_ioctl_wait_fence(struct drm_device *dev, void *data, struct drm_file *file) argument
[all...]
/drivers/gpu/drm/radeon/
H A Dmkregtable.c623 FILE *file; local
641 file = fopen(filename, "r");
642 if (file == NULL) {
646 fseek(file, 0, SEEK_END);
647 end = ftell(file);
648 fseek(file, 0, SEEK_SET);
651 if (fgets(buf, 1024, file) == NULL) {
652 fclose(file);
663 if (fgets(buf, 1024, file) == NULL) {
664 fclose(file);
[all...]

Completed in 338 milliseconds

<<11121314151617181920>>