/linux-master/fs/smb/client/ |
H A D | cifsfs.h | 55 struct file *, unsigned, umode_t); 68 extern int cifs_revalidate_file_attr(struct file *filp); 70 extern int cifs_revalidate_file(struct file *filp); 94 extern int cifs_open(struct inode *inode, struct file *file); 95 extern int cifs_close(struct inode *inode, struct file *file); 96 extern int cifs_closedir(struct inode *inode, struct file *file); 103 extern int cifs_flock(struct file *pfil [all...] |
/linux-master/tools/objtool/arch/loongarch/ |
H A D | special.c | 11 struct reloc *arch_find_switch_table(struct objtool_file *file, argument
|
/linux-master/include/linux/ |
H A D | fsverity.h | 3 * fs-verity: read-only file-based authenticity protection 33 * Begin enabling verity on the given file. 35 * @filp: a readonly file descriptor for the file 39 * -EBUSY if verity is already being enabled on the given file. 45 int (*begin_enable_verity)(struct file *filp); 48 * End enabling verity on the given file. 50 * @filp: a readonly file descriptor for the file 67 int (*end_enable_verity)(struct file *fil [all...] |
H A D | fdtable.h | 3 * descriptor table internals; you almost certainly want file.h instead. 29 struct file __rcu **fd; /* current fd array */ 47 * Open file table structure 67 struct file __rcu * fd_array[NR_OPEN_DEFAULT]; 81 * The caller must ensure that fd table isn't shared or hold rcu or file lock 83 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) 87 struct file *needs_masking; 96 return (struct file *)(mask & (unsigned long)needs_masking); 99 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) 106 struct file *lookup_fdget_rc [all...] |
H A D | usermode_driver.h | 9 struct file *pipe_to_umh; 10 struct file *pipe_from_umh;
|
H A D | anon_inodes.h | 15 struct file *anon_inode_getfile(const char *name, 18 struct file *anon_inode_create_getfile(const char *name,
|
/linux-master/fs/ext4/ |
H A D | fsync.c | 39 * If we're not journaling and this is a just-created file, we have to 42 * window during which a crash may lose the file. This may apply for 82 static int ext4_fsync_nojournal(struct file *file, loff_t start, loff_t end, argument 85 struct inode *inode = file->f_inode; 88 ret = generic_buffers_fsync_noflush(file, start, end, datasync); 129 int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync) argument 133 struct inode *inode = file->f_mapping->host; 140 trace_ext4_sync_file_enter(file, datasyn [all...] |
/linux-master/drivers/misc/ibmasm/ |
H A D | ibmasmfs.c | 17 * The IBMASM file virtual filesystem. It creates the following hierarchy 211 /* struct to save state between command file operations */ 217 /* struct to save state between event file operations */ 224 /* struct to save state between reverse heartbeat file operations */ 231 static int command_file_open(struct inode *inode, struct file *file) argument 244 file->private_data = command_data; 248 static int command_file_close(struct inode *inode, struct file *file) argument 250 struct ibmasmfs_command_data *command_data = file 259 command_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument 296 command_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset) argument 337 event_file_open(struct inode *inode, struct file *file) argument 359 event_file_close(struct inode *inode, struct file *file) argument 368 event_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument 411 event_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset) argument 426 r_heartbeat_file_open(struct inode *inode, struct file *file) argument 444 r_heartbeat_file_close(struct inode *inode, struct file *file) argument 452 r_heartbeat_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument 480 r_heartbeat_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset) argument 497 remote_settings_file_close(struct inode *inode, struct file *file) argument 502 remote_settings_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument 515 remote_settings_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset) argument [all...] |
/linux-master/drivers/usb/gadget/function/ |
H A D | uvc_v4l2.c | 203 uvc_v4l2_querycap(struct file *file, void *fh, struct v4l2_capability *cap) argument 205 struct video_device *vdev = video_devdata(file); 217 uvc_v4l2_get_format(struct file *file, void *fh, struct v4l2_format *fmt) argument 219 struct video_device *vdev = video_devdata(file); 236 uvc_v4l2_try_format(struct file *file, void *fh, struct v4l2_format *fmt) argument 238 struct video_device *vdev = video_devdata(file); 276 uvc_v4l2_set_format(struct file *fil argument 297 uvc_v4l2_enum_frameintervals(struct file *file, void *fh, struct v4l2_frmivalenum *fival) argument 336 uvc_v4l2_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize) argument 363 uvc_v4l2_enum_format(struct file *file, void *fh, struct v4l2_fmtdesc *f) argument 384 uvc_v4l2_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *b) argument 397 uvc_v4l2_querybuf(struct file *file, void *fh, struct v4l2_buffer *b) argument 407 uvc_v4l2_qbuf(struct file *file, void *fh, struct v4l2_buffer *b) argument 425 uvc_v4l2_dqbuf(struct file *file, void *fh, struct v4l2_buffer *b) argument 435 uvc_v4l2_streamon(struct file *file, void *fh, enum v4l2_buf_type type) argument 461 uvc_v4l2_streamoff(struct file *file, void *fh, enum v4l2_buf_type type) argument 537 uvc_v4l2_ioctl_default(struct file *file, void *fh, bool valid_prio, unsigned int cmd, void *arg) argument 576 uvc_v4l2_open(struct file *file) argument 596 uvc_v4l2_release(struct file *file) argument 617 uvc_v4l2_mmap(struct file *file, struct vm_area_struct *vma) argument 626 uvc_v4l2_poll(struct file *file, poll_table *wait) argument 635 uvcg_v4l2_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument [all...] |
/linux-master/arch/parisc/ |
H A D | defpalo.conf | 1 # This a generic Palo configuration file. For more information about how 4 # Most people using 'make palo' want a bootable file, usable for 14 --ramdisk=ram-disk-image-file
|
/linux-master/drivers/net/wireless/ath/wil6210/ |
H A D | pmc.h | 13 ssize_t wil_pmc_read(struct file *, char __user *, size_t, loff_t *); 14 loff_t wil_pmc_llseek(struct file *filp, loff_t off, int whence);
|
/linux-master/tools/testing/selftests/rcutorture/bin/ |
H A D | jitterstop.sh | 4 # Remove the "jittering" file, signaling the jitter.sh scripts to stop, 9 # jittering-dir: Directory containing "jittering" file. 18 echo jitterstop.sh: Missing directory in which to place jittering file.
|
/linux-master/arch/sh/include/asm/ |
H A D | hugetlb.h | 13 static inline int prepare_hugepage_range(struct file *file, argument
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | pkt_md_access.c | 7 const char *file = "./test_pkt_md_access.bpf.o"; local 16 err = bpf_prog_test_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd);
|
/linux-master/mm/ |
H A D | msync.c | 14 #include <linux/file.h> 19 * MS_SYNC syncs the entire file - including mappings. 65 struct file *file; local 87 file = vma->vm_file; 92 if ((flags & MS_SYNC) && file && 94 get_file(file); 96 error = vfs_fsync_range(file, fstart, fend, 1); 97 fput(file);
|
/linux-master/tools/lib/api/fs/ |
H A D | tracing_path.h | 15 void put_tracing_file(char *file); 18 void put_events_file(char *file);
|
/linux-master/arch/um/scripts/ |
H A D | Makefile.rules | 9 USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file)) 16 UNPROFILE_OBJS := $(foreach file,$(UNPROFILE_OBJS),$(obj)/$(file))
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_ioctl.h | 48 long atomisp_compat_ioctl32(struct file *file,
|
/linux-master/tools/objtool/ |
H A D | check.c | 38 struct instruction *find_insn(struct objtool_file *file, argument 43 hash_for_each_possible(file->insn_hash, insn, hash, sec_offset_hash(sec, offset)) { 51 struct instruction *next_insn_same_sec(struct objtool_file *file, argument 55 return find_insn(file, insn->sec, insn->offset + insn->len); 64 static struct instruction *next_insn_same_func(struct objtool_file *file, argument 67 struct instruction *next = next_insn_same_sec(file, insn); 81 return find_insn(file, func->cfunc->sec, func->cfunc->offset); 84 static struct instruction *prev_insn_same_sec(struct objtool_file *file, argument 89 return find_insn(file, insn->sec, insn->offset - insn->prev_len); 96 static struct instruction *prev_insn_same_sym(struct objtool_file *file, argument 189 __dead_end_function(struct objtool_file *file, struct symbol *func, int recursion) argument 260 dead_end_function(struct objtool_file *file, struct symbol *func) argument 278 init_insn_state(struct objtool_file *file, struct insn_state *state, struct section *sec) argument 369 decode_instructions(struct objtool_file *file) argument 493 add_pv_ops(struct objtool_file *file, const char *symname) argument 531 init_pv_ops(struct objtool_file *file) argument 567 find_last_insn(struct objtool_file *file, struct section *sec) argument 583 add_dead_ends(struct objtool_file *file) argument 669 create_static_call_sections(struct objtool_file *file) argument 758 create_retpoline_sites_sections(struct objtool_file *file) argument 796 create_return_sites_sections(struct objtool_file *file) argument 834 create_ibt_endbr_seal_sections(struct objtool_file *file) argument 888 create_cfi_sections(struct objtool_file *file) argument 936 create_mcount_loc_sections(struct objtool_file *file) argument 982 create_direct_call_sections(struct objtool_file *file) argument 1024 add_ignores(struct objtool_file *file) argument 1243 add_uaccess_safe(struct objtool_file *file) argument 1266 add_ignore_alternatives(struct objtool_file *file) argument 1321 insn_reloc(struct objtool_file *file, struct instruction *insn) argument 1352 annotate_call_site(struct objtool_file *file, struct instruction *insn, bool sibling) argument 1434 add_call_dest(struct objtool_file *file, struct instruction *insn, struct symbol *dest, bool sibling) argument 1453 add_retpoline_call(struct objtool_file *file, struct instruction *insn) argument 1487 add_return_call(struct objtool_file *file, struct instruction *insn, bool add) argument 1500 is_first_func_insn(struct objtool_file *file, struct instruction *insn, struct symbol *sym) argument 1522 jump_is_sibling_call(struct objtool_file *file, struct instruction *from, struct instruction *to) argument 1547 add_jump_destinations(struct objtool_file *file) argument 1689 add_call_destinations(struct objtool_file *file) argument 1745 handle_group_alt(struct objtool_file *file, struct special_alt *special_alt, struct instruction *orig_insn, struct instruction **new_insn) argument 1894 handle_jump_alt(struct objtool_file *file, struct special_alt *special_alt, struct instruction *orig_insn, struct instruction **new_insn) argument 1941 add_special_section_alts(struct objtool_file *file) argument 2021 add_jump_table(struct objtool_file *file, struct instruction *insn, struct reloc *next_table) argument 2082 find_jump_table(struct objtool_file *file, struct symbol *func, struct instruction *insn) argument 2125 mark_func_jump_tables(struct objtool_file *file, struct symbol *func) argument 2158 add_func_jump_tables(struct objtool_file *file, struct symbol *func) argument 2193 add_jump_table_alts(struct objtool_file *file) argument 2223 read_unwind_hints(struct objtool_file *file) argument 2324 read_noendbr_hints(struct objtool_file *file) argument 2348 read_retpoline_hints(struct objtool_file *file) argument 2384 read_instr_hints(struct objtool_file *file) argument 2431 read_validate_unret_hints(struct objtool_file *file) argument 2459 read_intra_function_calls(struct objtool_file *file) argument 2533 classify_symbols(struct objtool_file *file) argument 2567 mark_rodata(struct objtool_file *file) argument 2593 decode_sections(struct objtool_file *file) argument 3257 propagate_alt_cfi(struct objtool_file *file, struct instruction *insn) argument 3401 pv_call_dest(struct objtool_file *file, struct instruction *insn) argument 3428 noinstr_call_dest(struct objtool_file *file, struct instruction *insn, struct symbol *func) argument 3466 validate_call(struct objtool_file *file, struct instruction *insn, struct insn_state *state) argument 3489 validate_sibling_call(struct objtool_file *file, struct instruction *insn, struct insn_state *state) argument 3536 next_insn_to_validate(struct objtool_file *file, struct instruction *insn) argument 3575 validate_branch(struct objtool_file *file, struct symbol *func, struct instruction *insn, struct insn_state state) argument 3822 validate_unwind_hint(struct objtool_file *file, struct instruction *insn, struct insn_state *state) argument 3836 validate_unwind_hints(struct objtool_file *file, struct section *sec) argument 3864 validate_unret(struct objtool_file *file, struct instruction *insn) argument 3972 validate_unrets(struct objtool_file *file) argument 3992 validate_retpoline(struct objtool_file *file) argument 4038 ignore_unreachable_insn(struct objtool_file *file, struct instruction *insn) argument 4148 add_prefix_symbol(struct objtool_file *file, struct symbol *func) argument 4196 add_prefix_symbols(struct objtool_file *file) argument 4216 validate_symbol(struct objtool_file *file, struct section *sec, struct symbol *sym, struct insn_state *state) argument 4242 validate_section(struct objtool_file *file, struct section *sec) argument 4261 validate_noinstr_sections(struct objtool_file *file) argument 4287 validate_functions(struct objtool_file *file) argument 4308 noendbr_range(struct objtool_file *file, struct instruction *insn) argument 4326 validate_ibt_insn(struct objtool_file *file, struct instruction *insn) argument 4421 validate_ibt_data_reloc(struct objtool_file *file, struct reloc *reloc) argument 4451 validate_ibt(struct objtool_file *file) argument 4501 validate_sls(struct objtool_file *file) argument 4563 validate_reachable_instructions(struct objtool_file *file) argument 4644 disas_warned_funcs(struct objtool_file *file) argument 4679 free_insns(struct objtool_file *file) argument 4697 check(struct objtool_file *file) argument [all...] |
/linux-master/drivers/infiniband/core/ |
H A D | user_mad.c | 9 * General Public License (GPL) Version 2, available from the file 79 * device special file is opened, we take a reference on the 171 static int hdr_size(struct ib_umad_file *file) argument 173 return file->use_pkey_index ? sizeof(struct ib_user_mad_hdr) : 177 /* caller must hold file->mutex */ 178 static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id) argument 180 return file->agents_dead ? NULL : file->agent[id]; 183 static int queue_packet(struct ib_umad_file *file, argument 189 mutex_lock(&file 206 dequeue_send(struct ib_umad_file *file, struct ib_umad_packet *packet) argument 217 struct ib_umad_file *file = agent->context; local 237 struct ib_umad_file *file = agent->context; local 297 copy_recv_mad(struct ib_umad_file *file, char __user *buf, struct ib_umad_packet *packet, size_t count) argument 353 copy_send_mad(struct ib_umad_file *file, char __user *buf, struct ib_umad_packet *packet, size_t count) argument 378 struct ib_umad_file *file = filp->private_data; local 465 is_duplicate(struct ib_umad_file *file, struct ib_umad_packet *packet) argument 501 struct ib_umad_file *file = filp->private_data; local 666 struct ib_umad_file *file = filp->private_data; local 683 ib_umad_reg_agent(struct ib_umad_file *file, void __user *arg, int compat_method_mask) argument 785 ib_umad_reg_agent2(struct ib_umad_file *file, void __user *arg) argument 895 ib_umad_unreg_agent(struct ib_umad_file *file, u32 __user *arg) argument 929 ib_umad_enable_pkey(struct ib_umad_file *file) argument 991 struct ib_umad_file *file; local 1033 struct ib_umad_file *file = filp->private_data; local 1338 struct ib_umad_file *file; local [all...] |
/linux-master/fs/hfsplus/ |
H A D | ioctl.c | 25 * the platform firmware which file to boot from 27 static int hfsplus_ioctl_bless(struct file *file, int __user *user_flags) argument 29 struct dentry *dentry = file->f_path.dentry; 47 * hard links - the firmware wants the ID of the hard link file, 60 long hfsplus_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 66 return hfsplus_ioctl_bless(file, argp);
|
/linux-master/arch/um/os-Linux/ |
H A D | execvp.c | 5 This file is part of the GNU C Library. 39 int execvp_noalloc(char *buf, const char *file, char *const argv[]) argument 41 if (*file == '\0') { 45 if (strchr (file, '/') != NULL) { 47 execv(file, argv); 56 len = strlen(file) + 1; 58 /* Copy the file name at the top. */ 59 name = memcpy(buf + pathlen + 1, file, len); 100 /* Those errors indicate the file is missing or not executable 116 /* Some other error means we found an executable file, bu [all...] |
/linux-master/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_sysfs_test.c | 13 static int check_cpu_dscr_default(char *file, unsigned long val) argument 18 err = read_ulong(file, &cpu_dscr, 16); 34 char file[LEN_MAX]; local 52 len = snprintf(file, LEN_MAX, "%s%s/dscr", CPU_PATH, dp->d_name); 55 if (access(file, F_OK)) 58 if (check_cpu_dscr_default(file, val)) {
|
/linux-master/fs/fuse/ |
H A D | control.c | 6 See the file COPYING. 23 static struct fuse_conn *fuse_ctl_file_conn_get(struct file *file) argument 27 fc = file_inode(file)->i_private; 34 static ssize_t fuse_conn_abort_write(struct file *file, const char __user *buf, argument 37 struct fuse_conn *fc = fuse_ctl_file_conn_get(file); 47 static ssize_t fuse_conn_waiting_read(struct file *file, char __user *buf, argument 55 struct fuse_conn *fc = fuse_ctl_file_conn_get(file); 67 fuse_conn_limit_read(struct file *file, char __user *buf, size_t len, loff_t *ppos, unsigned val) argument 76 fuse_conn_limit_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos, unsigned *val, unsigned global_limit) argument 102 fuse_conn_max_background_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument 119 fuse_conn_max_background_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 144 fuse_conn_congestion_threshold_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument 161 fuse_conn_congestion_threshold_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/net/ethernet/brocade/bna/ |
H A D | bnad_debugfs.c | 19 * To access the interface, debugfs file system should be mounted 41 bnad_debugfs_open_fwtrc(struct inode *inode, struct file *file) argument 75 file->private_data = fw_debug; 81 bnad_debugfs_open_fwsave(struct inode *inode, struct file *file) argument 115 file->private_data = fw_debug; 121 bnad_debugfs_open_reg(struct inode *inode, struct file *file) argument 131 file 182 bnad_debugfs_open_drvinfo(struct inode *inode, struct file *file) argument 221 bnad_debugfs_lseek(struct file *file, loff_t offset, int orig) argument 232 bnad_debugfs_read(struct file *file, char __user *buf, size_t nbytes, loff_t *pos) argument 278 bnad_debugfs_read_regrd(struct file *file, char __user *buf, size_t nbytes, loff_t *pos) argument 301 bnad_debugfs_write_regrd(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument 362 bnad_debugfs_write_regwr(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument 405 bnad_debugfs_release(struct inode *inode, struct file *file) argument 418 bnad_debugfs_buffer_release(struct inode *inode, struct file *file) argument 495 const struct bnad_debugfs_entry *file; local [all...] |