Searched defs:file (Results 1 - 25 of 26) sorted by relevance

12

/include/linux/
H A Deventpoll.h20 struct file;
25 /* Used to initialize the epoll bits inside the "struct file" */
26 static inline void eventpoll_init_file(struct file *file) argument
28 INIT_LIST_HEAD(&file->f_ep_links);
29 INIT_LIST_HEAD(&file->f_tfile_llink);
33 /* Used to release the epoll bits inside the "struct file" */
34 void eventpoll_release_file(struct file *file);
42 static inline void eventpoll_release(struct file *fil argument
66 eventpoll_init_file(struct file *file) argument
67 eventpoll_release(struct file *file) argument
[all...]
H A Dfile.h12 struct file;
14 extern void fput(struct file *);
20 extern struct file *alloc_file(struct path *, fmode_t mode,
23 static inline void fput_light(struct file *file, int fput_needed) argument
26 fput(file);
30 struct file *file; member in struct:fd
39 fput(fd.file);
42 extern struct file *fge
[all...]
H A Dima.h18 extern int ima_file_check(struct file *file, int mask, int opened);
19 extern void ima_file_free(struct file *file);
20 extern int ima_file_mmap(struct file *file, unsigned long prot);
21 extern int ima_module_check(struct file *file);
22 extern int ima_fw_from_file(struct file *file, cha
30 ima_file_check(struct file *file, int mask, int opened) argument
35 ima_file_free(struct file *file) argument
40 ima_file_mmap(struct file *file, unsigned long prot) argument
45 ima_module_check(struct file *file) argument
50 ima_fw_from_file(struct file *file, char *buf, size_t size) argument
[all...]
H A Drtmutex.h9 * This file contains the public data structure and API definitions.
36 const char *name, *file; member in struct:rt_mutex
60 , .name = #mutexname, .file = __FILE__, .line = __LINE__
H A Dsplice.h35 struct file *file; /* file to read/write */ member in union:splice_desc::__anon998
38 loff_t pos; /* file position */
68 extern ssize_t splice_from_pipe(struct pipe_inode_info *, struct file *,
75 extern ssize_t splice_direct_to_actor(struct file *, struct splice_desc *,
H A Ddma-buf.h2 * Header file for dma buffer sharing framework.
27 #include <linux/file.h>
114 * @file: file pointer used for sharing buffers across, and for refcounting.
124 struct file *file; member in struct:dma_buf
176 get_file(dmabuf->file);
H A Dshm.h12 struct file *shm_file;
55 int is_file_shm_hugepages(struct file *file);
69 static inline int is_file_shm_hugepages(struct file *file) argument
H A Dbinfmts.h35 struct file * file; member in struct:linux_binprm
60 struct file *file; member in struct:coredump_params
74 int (*load_shlib)(struct file *);
99 extern void would_dump(struct linux_binprm *, struct file *);
117 extern ssize_t read_code(struct file *, unsigned long, loff_t, size_t);
H A Dfsnotify.h38 static inline int fsnotify_perm(struct file *file, int mask) argument
40 struct path *path = &file->f_path;
41 struct inode *inode = file_inode(file);
45 if (file->f_mode & FMODE_NONOTIFY)
84 * fsnotify_move - file old_name at old_dir was moved to new_name at new_dir
190 * fsnotify_access - file was read
192 static inline void fsnotify_access(struct file *file) argument
194 struct path *path = &file
210 fsnotify_modify(struct file *file) argument
228 fsnotify_open(struct file *file) argument
244 fsnotify_close(struct file *file) argument
[all...]
H A Dcompiler.h81 const char *file; member in struct:ftrace_branch_data
98 * to disable branch tracing on a per file basis.
114 .file = __FILE__, \
149 .file = __FILE__, \
227 * as well as force them to be emitted to the assembly file.
230 * may be elided from the assembly file. As of gcc 3.4, static data not so
H A Dcred.h88 * upon another object, be that a file, a task, a key or whatever.
170 const char *file, unsigned line)
173 __invalid_creds(cred, file, line);
169 __validate_creds(const struct cred *cred, const char *file, unsigned line) argument
H A Dnet.h3 * This is the master header file for the Linux NET layer,
33 struct file;
101 * @file: File back pointer for gc
116 struct file *file; member in struct:socket
145 unsigned int (*poll) (struct file *file, struct socket *sock,
178 int (*mmap) (struct file *file, struct socket *sock,
219 struct file *sock_alloc_fil
[all...]
H A Dftrace_event.h88 /* it's true when current open file is snapshot */
247 * IGNORE_ENABLE - For ftrace internal events, do not enable with debugfs file
251 * USE_CALL_FILTER - For ftrace internal events, don't use file filter
283 * bit 5: use call filter rather than file filter
321 * Ftrace event file flags:
408 extern int filter_check_discard(struct ftrace_event_file *file, void *rec,
414 extern enum event_trigger_type event_triggers_call(struct ftrace_event_file *file,
416 extern void event_triggers_post_call(struct ftrace_event_file *file,
421 * @file: The file pointe
429 ftrace_trigger_soft_disabled(struct ftrace_event_file *file) argument
456 __event_trigger_test_discard(struct ftrace_event_file *file, struct ring_buffer *buffer, struct ring_buffer_event *event, void *entry, enum event_trigger_type *tt) argument
489 event_trigger_unlock_commit(struct ftrace_event_file *file, struct ring_buffer *buffer, struct ring_buffer_event *event, void *entry, unsigned long irq_flags, int pc) argument
520 event_trigger_unlock_commit_regs(struct ftrace_event_file *file, struct ring_buffer *buffer, struct ring_buffer_event *event, void *entry, unsigned long irq_flags, int pc, struct pt_regs *regs) argument
[all...]
H A Dhugetlb.h138 #define prepare_hugepage_range(file, addr, len) (-EINVAL)
183 * The file will be used as an shm file so shmfs accounting rules
188 * The file is being created on the internal vfs mount and shmfs
210 struct file *hugetlb_file_setup(const char *name, size_t size, vm_flags_t acct,
214 static inline int is_file_hugepages(struct file *file) argument
216 if (file->f_op == &hugetlbfs_file_operations)
218 if (is_file_shm_hugepages(file))
227 #define is_file_hugepages(file)
[all...]
H A Dkernel.h165 void __might_sleep(const char *file, int line, int preempt_offset);
179 static inline void __might_sleep(const char *file, int line, argument
507 * file, which gives a means for the kernel and userspace to interact.
807 /* Permissions on a sysfs file: you didn't miss the 0 prefix did you? */
H A Dkernfs.h4 * This file is released under the GPLv2.
20 struct file;
175 struct file *file; member in struct:kernfs_open_file
H A Dnfs_fs.h121 * NFS file handle
351 extern int nfs_open(struct inode *, struct file *);
352 extern int nfs_release(struct inode *, struct file *);
368 extern void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx);
420 * linux/fs/nfs/file.c
429 static inline struct nfs_open_context *nfs_file_open_context(struct file *filp)
434 static inline struct rpc_cred *nfs_file_cred(struct file *file) argument
436 if (file != NULL) {
438 nfs_file_open_context(file);
[all...]
H A Dftrace.h402 struct inode *inode, struct file *file);
403 ssize_t ftrace_filter_write(struct file *file, const char __user *ubuf,
405 ssize_t ftrace_notrace_write(struct file *file, const char __user *ubuf,
407 int ftrace_regex_release(struct inode *inode, struct file *file);
576 #define ftrace_regex_open(ops, flag, inod, file) ({ -ENODEV; })
583 static inline ssize_t ftrace_filter_write(struct file *fil argument
585 ftrace_notrace_write(struct file *file, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
588 ftrace_regex_release(struct inode *inode, struct file *file) argument
[all...]
H A Dtty.h298 struct file *file; member in struct:tty_file_private
440 extern void tty_unhangup(struct file *filp);
441 extern int tty_hung_up_p(struct file *filp);
484 extern long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
485 extern int tty_mode_ioctl(struct tty_struct *tty, struct file *file,
490 extern int tty_alloc_file(struct file *file);
[all...]
H A Dmm.h666 * is the pointer to the inode, and page->index is the file offset of the page,
686 * - anonymous pages (including MAP_PRIVATE file mappings) which have been
1024 * Return the file index of the page. Regular pagecache pages use ->index
1088 void shmem_set_file(struct vm_area_struct *vma, struct file *file);
1796 unsigned long vm_flags, struct anon_vma *, struct file *, pgoff_t,
1827 extern void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file);
1828 extern struct file *get_mm_exe_file(struct mm_struct *mm);
1840 extern unsigned long get_unmapped_area(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
1842 extern unsigned long mmap_region(struct file *fil
2044 vm_stat_account(struct mm_struct *mm, unsigned long flags, struct file *file, long pages) argument
[all...]
H A Dsecurity.h15 * Due to this file being licensed under the GPL there is controversy over
16 * whether this permits you to write a module that #includes this file
42 struct file;
94 extern int cap_mmap_file(struct file *file, unsigned long reqprot,
204 * on information about the bprm->file, for later use by the apply_creds
229 * as closing open file descriptors to which access will no longer be
265 * identifies a device if the file system type requires a device. For a
292 * Check permission before the @mnt file system is unmounted.
293 * @mnt contains the mounted file syste
1954 security_binder_transfer_file(struct task_struct *from, struct task_struct *to, struct file *file) argument
2296 security_file_permission(struct file *file, int mask) argument
2301 security_file_alloc(struct file *file) argument
2306 security_file_free(struct file *file) argument
2309 security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
2315 security_mmap_file(struct file *file, unsigned long prot, unsigned long flags) argument
2333 security_file_lock(struct file *file, unsigned int cmd) argument
2338 security_file_fcntl(struct file *file, unsigned int cmd, unsigned long arg) argument
2344 security_file_set_fowner(struct file *file) argument
2356 security_file_receive(struct file *file) argument
2361 security_file_open(struct file *file, const struct cred *cred) argument
2406 security_kernel_fw_from_file(struct file *file, char *buf, size_t size) argument
2417 security_kernel_module_from_file(struct file *file) argument
[all...]
/include/asm-generic/
H A Dbug.h26 const char *file; member in struct:bug_entry
66 void warn_slowpath_fmt(const char *file, const int line,
69 void warn_slowpath_fmt_taint(const char *file, const int line, unsigned taint,
71 extern void warn_slowpath_null(const char *file, const int line);
/include/media/
H A Dv4l2-dev.h45 /* file->private_data points to struct v4l2_fh */
65 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
66 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
67 unsigned int (*poll) (struct file *, struct poll_table_struct *);
68 long (*ioctl) (struct file *, unsigned int, unsigned long);
69 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
71 long (*compat_ioctl32) (struct file *, unsigned int, unsigned long);
73 unsigned long (*get_unmapped_area) (struct file *, unsigned long,
75 int (*mmap) (struct file *, struct vm_area_struct *);
76 int (*open) (struct file *);
221 video_drvdata(struct file *file) argument
[all...]
/include/linux/lockd/
H A Dlockd.h4 * General-purpose lockd include file.
147 * This struct describes a file held open by lockd on behalf of
152 struct nfs_fh f_handle; /* NFS file handle */
153 struct file * f_file; /* VFS file pointer */
172 struct list_head b_flist; /* linked list (per file) */
179 struct nlm_file * b_file; /* file in question */
292 static inline struct inode *nlmsvc_file_inode(struct nlm_file *file) argument
294 return file_inode(file->f_file);
/include/sound/
H A Dpcm.h403 void *file; member in struct:snd_pcm_substream
513 int snd_pcm_open_substream(struct snd_pcm *pcm, int stream, struct file *file,
516 int snd_pcm_attach_substream(struct snd_pcm *pcm, int stream, struct file *file,
520 int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, struct vm_area_struct *area);

Completed in 3086 milliseconds

12