Searched refs:file (Results 51 - 75 of 3441) sorted by relevance

1234567891011>>

/linux-master/include/media/
H A Dvideobuf2-v4l2.h149 * vb2_expbuf() - Export a buffer as a file descriptor
166 * would be passing (&file->f_flags & %O_NONBLOCK) here
277 * @file: file argument passed to the poll file operation handler
278 * @wait: wait argument passed to the poll file operation handler
280 * This function implements poll file operation handler for a driver.
282 * be informed that the file descriptor of a video device is available for
284 * For OUTPUT queues, if a buffer is ready to be dequeued, the file descriptor
293 __poll_t vb2_poll(struct vb2_queue *q, struct file *fil
317 vb2_queue_is_busy(struct vb2_queue *q, struct file *file) argument
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dshmem_utils.c16 struct file *shmem_create_from_data(const char *name, void *data, size_t len)
18 struct file *file; local
21 file = shmem_file_setup(name, PAGE_ALIGN(len), VM_NORESERVE);
22 if (IS_ERR(file))
23 return file;
25 err = shmem_write(file, 0, data, len);
27 fput(file);
31 return file;
34 struct file *shmem_create_from_objec
37 struct file *file; local
57 shmem_pin_map(struct file *file) argument
87 shmem_unpin_map(struct file *file, void *ptr) argument
93 __shmem_rw(struct file *file, loff_t off, void *ptr, size_t len, bool write) argument
129 shmem_read_to_iosys_map(struct file *file, loff_t off, struct iosys_map *map, size_t map_off, size_t len) argument
160 shmem_read(struct file *file, loff_t off, void *dst, size_t len) argument
165 shmem_write(struct file *file, loff_t off, void *src, size_t len) argument
[all...]
/linux-master/drivers/gpu/drm/i915/selftests/
H A Digt_mmap.c19 struct file *file; local
35 file = mock_drm_getfile(i915->drm.primary, O_RDWR);
36 if (IS_ERR(file))
37 return PTR_ERR(file);
39 err = drm_vma_node_allow(node, file->private_data);
45 addr = vm_mmap(file, 0, drm_vma_node_size(node) << PAGE_SHIFT,
48 drm_vma_node_revoke(node, file->private_data);
50 fput(file);
/linux-master/include/sound/
H A Dhwdep.h15 /* hwdep file ops; all ops can be NULL */
17 long long (*llseek)(struct snd_hwdep *hw, struct file *file,
23 int (*open)(struct snd_hwdep *hw, struct file * file);
24 int (*release)(struct snd_hwdep *hw, struct file * file);
25 __poll_t (*poll)(struct snd_hwdep *hw, struct file *file,
27 int (*ioctl)(struct snd_hwdep *hw, struct file *fil
[all...]
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dparse-console.sh5 # The "file" is a pathname on the local system, and "title" is
8 # Usage: parse-console.sh file title
15 file="$1"
22 # Check for presence and readability of console output file
23 if test -f "$file" -a -r "$file"
27 echo $title unreadable console output file: $file
30 if grep -Pq '\x00' < $file
34 cat /dev/null > $file
[all...]
/linux-master/fs/
H A Dfile_table.c11 #include <linux/file.h>
41 /* SLAB cache for file structures */
46 /* Container for backing file with optional user path */
48 struct file file; member in struct:backing_file
52 static inline struct backing_file *backing_file(struct file *f)
54 return container_of(f, struct backing_file, file);
57 struct path *backing_file_user_path(struct file *f)
63 static inline void file_free(struct file *f)
108 .procname = "file
284 file_init_path(struct file *file, const struct path *path, const struct file_operations *fop) argument
317 struct file *file; local
344 struct file *file; local
366 struct file *file; local
396 __fput(struct file *file) argument
471 fput(struct file *file) argument
504 __fput_sync(struct file *file) argument
[all...]
/linux-master/fs/overlayfs/
H A Dfile.c7 #include <linux/file.h>
14 #include <linux/backing-file.h>
30 static struct file *ovl_open_realfile(const struct file *file, argument
34 struct inode *inode = file_inode(file);
36 struct file *realfile;
38 int flags = file->f_flags | OVL_OPEN_FLAGS;
54 realfile = backing_file_open(&file->f_path, flags, realpath,
60 file, fil
68 ovl_change_flags(struct file *file, unsigned int flags) argument
95 ovl_real_fdget_meta(const struct file *file, struct fd *real, bool allow_meta) argument
133 ovl_real_fdget(const struct file *file, struct fd *real) argument
145 ovl_open(struct inode *inode, struct file *file) argument
177 ovl_release(struct inode *inode, struct file *file) argument
184 ovl_llseek(struct file *file, loff_t offset, int whence) argument
229 ovl_file_modified(struct file *file) argument
235 ovl_file_accessed(struct file *file) argument
265 struct file *file = iocb->ki_filp; local
290 struct file *file = iocb->ki_filp; local
388 ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) argument
414 ovl_mmap(struct file *file, struct vm_area_struct *vma) argument
426 ovl_fallocate(struct file *file, int mode, loff_t offset, loff_t len) argument
459 ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice) argument
579 ovl_flush(struct file *file, fl_owner_t id) argument
[all...]
/linux-master/include/linux/
H A Dbacking-file.h11 #include <linux/file.h>
17 struct file *user_file;
18 void (*accessed)(struct file *);
19 void (*end_write)(struct file *);
22 struct file *backing_file_open(const struct path *user_path, int flags,
25 ssize_t backing_file_read_iter(struct file *file, struct iov_iter *iter,
28 ssize_t backing_file_write_iter(struct file *file, struct iov_iter *iter,
31 ssize_t backing_file_splice_read(struct file *i
[all...]
H A Ddevpts_fs.h19 struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *);
20 struct pts_fs_info *devpts_acquire(struct file *);
34 int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags);
38 ptm_open_peer(struct file *master, struct tty_struct *tty, int flags)
H A Dpidfs.h5 struct file *pidfs_alloc_file(struct pid *pid, unsigned int flags);
/linux-master/fs/ocfs2/
H A Dlocks.c5 * Userspace file locking support
19 #include "file.h"
23 static int ocfs2_do_flock(struct file *file, struct inode *inode, argument
27 struct ocfs2_file_private *fp = file->private_data;
58 locks_lock_file_wait(file, &request);
60 ocfs2_file_unlock(file);
63 ret = ocfs2_file_lock(file, level, trylock);
72 ret = locks_lock_file_wait(file, fl);
74 ocfs2_file_unlock(file);
82 ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) argument
98 ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) argument
116 ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) argument
[all...]
/linux-master/scripts/
H A Dfind-unused-docs.sh52 for file in `find $1 -name '*.c'`; do
54 if [[ ${FILES_INCLUDED[$file]+_} ]]; then
57 str=$(scripts/kernel-doc -export "$file" 2>/dev/null)
59 echo "$file"
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtcp_estats.c6 const char *file = "./test_tcp_estats.bpf.o"; local
10 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd);
/linux-master/fs/jffs2/
H A Dioctl.c9 * For licensing information, see the file 'LICENCE' in this directory.
16 long jffs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
/linux-master/drivers/gpu/drm/i915/
H A Di915_query.h13 int i915_query_ioctl(struct drm_device *dev, void *data, struct drm_file *file);
H A Di915_ioctl.h12 int i915_reg_read_ioctl(struct drm_device *dev, void *data, struct drm_file *file);
/linux-master/fs/debugfs/
H A DMakefile2 debugfs-objs := inode.o file.o
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-meta-cap.h21 int vidioc_enum_fmt_meta_cap(struct file *file, void *priv,
24 int vidioc_g_fmt_meta_cap(struct file *file, void *priv,
/linux-master/drivers/gpu/drm/vgem/
H A Dvgem_drv.h42 int vgem_fence_open(struct vgem_file *file);
45 struct drm_file *file);
48 struct drm_file *file);
49 void vgem_fence_close(struct vgem_file *file);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_exec.h12 int xe_exec_ioctl(struct drm_device *dev, void *data, struct drm_file *file);
H A Dxe_query.h12 int xe_query_ioctl(struct drm_device *dev, void *data, struct drm_file *file);
H A Dxe_wait_user_fence.h13 struct drm_file *file);
/linux-master/fs/notify/
H A Dfdinfo.h9 struct file;
14 void inotify_show_fdinfo(struct seq_file *m, struct file *f);
18 void fanotify_show_fdinfo(struct seq_file *m, struct file *f);
/linux-master/sound/core/seq/
H A Dseq_lock.c12 void snd_use_lock_sync_helper(snd_use_lock_t *lockp, const char *file, int line) argument
17 pr_warn("ALSA: seq_lock: lock trouble [counter = %d] in %s:%d\n", atomic_read(lockp), file, line);
22 pr_warn("ALSA: seq_lock: waiting [%d left] in %s:%d\n", atomic_read(lockp), file, line);
/linux-master/arch/csky/mm/
H A Dioremap.c8 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, argument
13 } else if (file->f_flags & O_SYNC) {

Completed in 621 milliseconds

1234567891011>>