/linux/fs/nfs/ |
H A D | nfs4file.c | 3 * linux/fs/nfs/file.c 8 #include <linux/file.h> 29 nfs4_file_open(struct inode *inode, struct file *filp) in nfs4_file_open() 48 dprintk("NFS: open file(%pd2)\n", dentry); in nfs4_file_open() 111 nfs4_file_flush(struct file *file, fl_owner_t id) in nfs4_file_flush() argument 113 struct inode *inode = file_inode(file); in nfs4_file_flush() 116 dprintk("NFS: flush(%pD2)\n", file); in nfs4_file_flush() 119 if ((file->f_mode & FMODE_WRITE) == 0) in nfs4_file_flush() 127 return filemap_fdatawrite(file in nfs4_file_flush() 429 nfs4_setlease(struct file * file,int arg,struct file_lease ** lease,void ** priv) nfs4_setlease() argument [all...] |
/linux/Documentation/filesystems/ |
H A D | nilfs2.rst | 7 NILFS2 is a log-structured file system (LFS) supporting continuous 8 snapshotting. In addition to versioning capability of the entire file 21 full. Each snapshot is mountable as a read-only file system 74 of all file operations including overwriting of data 76 overtaking of events occurs in the recovered file 104 NILFS_IOCTL_DELETE_CHECKPOINT Remove checkpoint from NILFS2 file system. 157 To use nilfs2 as a local file system, simply:: 212 The payload blocks are organized per file, and each file consists of 215 |<--- File [all...] |
/linux/fs/proc/ |
H A D | kmsg.c | 20 static int kmsg_open(struct inode * inode, struct file * file) in kmsg_open() argument 25 static int kmsg_release(struct inode * inode, struct file * file) in kmsg_release() argument 31 static ssize_t kmsg_read(struct file *file, char __user *buf, in kmsg_read() argument 34 if ((file->f_flags & O_NONBLOCK) && in kmsg_read() 40 static __poll_t kmsg_poll(struct file *file, poll_table *wait) in kmsg_poll() argument 42 poll_wait(file, in kmsg_poll() [all...] |
/linux/drivers/parisc/ |
H A D | eisa_eeprom.c | 20 static loff_t eisa_eeprom_llseek(struct file *file, loff_t offset, int origin) in eisa_eeprom_llseek() argument 22 return fixed_size_llseek(file, offset, origin, HPEE_MAX_LENGTH); in eisa_eeprom_llseek() 25 static ssize_t eisa_eeprom_read(struct file * file, in eisa_eeprom_read() argument 52 static int eisa_eeprom_open(struct inode *inode, struct file *file) in eisa_eeprom_open() argument 54 if (file->f_mode & FMODE_WRITE) in eisa_eeprom_open() 60 static int eisa_eeprom_release(struct inode *inode, struct file *file) in eisa_eeprom_release() argument [all...] |
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | debugfs.c | 27 /* file operation */ 51 static ssize_t iwl_dbgfs_sram_read(struct file *file, in iwl_dbgfs_sram_read() argument 64 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_sram_read() 141 static ssize_t iwl_dbgfs_sram_write(struct file *file, in iwl_dbgfs_sram_write() argument 145 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_sram_write() 169 static ssize_t iwl_dbgfs_wowlan_sram_read(struct file *file, in iwl_dbgfs_wowlan_sram_read() argument 173 struct iwl_priv *priv = file in iwl_dbgfs_wowlan_sram_read() 183 iwl_dbgfs_stations_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_stations_read() argument 239 iwl_dbgfs_nvm_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_nvm_read() argument 278 iwl_dbgfs_channels_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_channels_read() argument 343 iwl_dbgfs_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_status_read() argument 377 iwl_dbgfs_rx_handlers_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rx_handlers_read() argument 406 iwl_dbgfs_rx_handlers_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rx_handlers_write() argument 429 iwl_dbgfs_qos_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_qos_read() argument 456 iwl_dbgfs_thermal_throttling_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_thermal_throttling_read() argument 488 iwl_dbgfs_disable_ht40_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_disable_ht40_write() argument 511 iwl_dbgfs_disable_ht40_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_disable_ht40_read() argument 526 iwl_dbgfs_temperature_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_temperature_read() argument 540 iwl_dbgfs_sleep_level_override_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_sleep_level_override_write() argument 582 iwl_dbgfs_sleep_level_override_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_sleep_level_override_read() argument 600 iwl_dbgfs_current_sleep_command_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_current_sleep_command_read() argument 666 iwl_dbgfs_ucode_rx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_rx_stats_read() argument 1099 iwl_dbgfs_ucode_tx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_tx_stats_read() argument 1296 iwl_dbgfs_ucode_general_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_general_stats_read() argument 1416 iwl_dbgfs_ucode_bt_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_bt_stats_read() argument 1504 iwl_dbgfs_reply_tx_error_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_reply_tx_error_read() argument 1646 iwl_dbgfs_sensitivity_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_sensitivity_read() argument 1725 iwl_dbgfs_chain_noise_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_chain_noise_read() argument 1781 iwl_dbgfs_power_save_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_power_save_status_read() argument 1804 iwl_dbgfs_clear_ucode_statistics_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_clear_ucode_statistics_write() argument 1828 iwl_dbgfs_ucode_tracing_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_tracing_read() argument 1849 iwl_dbgfs_ucode_tracing_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_tracing_write() argument 1879 iwl_dbgfs_rxon_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rxon_flags_read() argument 1892 iwl_dbgfs_rxon_filter_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rxon_filter_flags_read() argument 1905 iwl_dbgfs_missed_beacon_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_missed_beacon_read() argument 1920 iwl_dbgfs_missed_beacon_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_missed_beacon_write() argument 1946 iwl_dbgfs_plcp_delta_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_plcp_delta_read() argument 1961 iwl_dbgfs_plcp_delta_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_plcp_delta_write() argument 1985 iwl_dbgfs_rf_reset_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rf_reset_read() argument 2010 iwl_dbgfs_rf_reset_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rf_reset_write() argument 2021 iwl_dbgfs_txfifo_flush_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_txfifo_flush_write() argument 2045 iwl_dbgfs_bt_traffic_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_bt_traffic_read() argument 2090 iwl_dbgfs_protection_mode_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_protection_mode_read() argument 2112 iwl_dbgfs_protection_mode_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_protection_mode_write() argument 2154 iwl_dbgfs_echo_test_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_echo_test_write() argument 2172 iwl_dbgfs_log_event_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_log_event_read() argument 2187 iwl_dbgfs_log_event_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_log_event_write() argument 2213 iwl_dbgfs_calib_disabled_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_calib_disabled_read() argument 2241 iwl_dbgfs_calib_disabled_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_calib_disabled_write() argument 2262 iwl_dbgfs_fw_restart_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_fw_restart_write() argument [all...] |
/linux/include/uapi/linux/ |
H A D | coff.h | 2 /* This file is derived from the GAS 2.1.4 assembler control file. 4 As such, this file is also under that license. 6 If the file format changes in the COFF object, this file should be 18 #define E_FILNMLEN 14 /* Number of characters in a file name */ 58 /********************** FILE HEADER **********************/ 64 char f_symptr[4]; /* file pointer to symtab */ 73 * F_RELFLG relocation info stripped from file 74 * F_EXEC file i [all...] |
/linux/fs/smb/client/ |
H A D | readdir.c | 36 static void dump_cifs_file_struct(struct file *file, char *label) in dump_cifs_file_struct() argument 40 if (file) { in dump_cifs_file_struct() 41 cf = file->private_data; in dump_cifs_file_struct() 43 cifs_dbg(FYI, "empty cifs private file data\n"); in dump_cifs_file_struct() 55 static inline void dump_cifs_file_struct(struct file *file, char *label) in dump_cifs_file_struct() argument 189 * to determine which type of special file they represent. in cifs_fill_common_info() 264 /* The Mode field in the response can now include the file type as well */ in cifs_posix_to_fattr() 346 _initiate_cifs_search(const unsigned int xid, struct file *fil argument 426 initiate_cifs_search(const unsigned int xid,struct file * file,const char * full_path) initiate_cifs_search() argument 648 is_dir_changed(struct file * file) is_dir_changed() argument 685 find_cifs_entry(const unsigned int xid,struct cifs_tcon * tcon,loff_t pos,struct file * file,const char * full_path,char ** current_entry,int * num_to_ret) find_cifs_entry() argument 854 update_cached_dirents_count(struct cached_dirents * cde,struct file * file) update_cached_dirents_count() argument 865 finished_cached_dirents_count(struct cached_dirents * cde,struct dir_context * ctx,struct file * file) finished_cached_dirents_count() argument 881 add_cached_dirent(struct cached_dirents * cde,struct dir_context * ctx,const char * name,int namelen,struct cifs_fattr * fattr,struct file * file) add_cached_dirent() argument 916 cifs_dir_emit(struct dir_context * ctx,const char * name,int namelen,struct cifs_fattr * fattr,struct cached_fid * cfid,struct file * file) cifs_dir_emit() argument 935 cifs_filldir(char * find_entry,struct file * file,struct dir_context * ctx,char * scratch_buf,unsigned int max_len,struct cached_fid * cfid) cifs_filldir() argument 1032 cifs_readdir(struct file * file,struct dir_context * ctx) cifs_readdir() argument [all...] |
/linux/Documentation/filesystems/ext4/ |
H A D | allocators.rst | 14 up file rewrites significantly. Therefore, it is useful to reduce 18 allocator. When a file is first created, the block allocator 19 speculatively allocates 8KiB of disk space to the file on the assumption 20 that the space will get written soon. When the file is closed, the 23 files) then the file data gets written out in a single multi-block 25 Under this scheme, when a file needs more blocks to absorb file writes, 33 file's data blocks in the same block group as its inode. This cuts down 34 on the seek penalty when the filesystem first has to read a file's inode 35 to learn where the file' [all...] |
/linux/Documentation/ABI/testing/ |
H A D | sysfs-ocfs2 | 12 The /sys/fs/ocfs2/max_locking_protocol file displays version 23 Reading from this file returns a single line, the major 26 This file is read-only. The value is compiled into the 33 The /sys/fs/ocfs2/loaded_cluster_plugins file describes 43 Reading from this file returns the names of all loaded 46 This file is read-only. Its contents may change as 56 file as well. Only one plugin can be used at a time. 58 Reading from this file returns the name of the active plugin 61 This file is read-only. Which plugin is active depends on 70 The /sys/fs/ocfs2/cluster_stack file contain [all...] |
H A D | sysfs-class-wakeup | 12 This file contains the name of the wakeup source. 18 This file contains the number of times the wakeup source was 25 This file contains the number of signaled wakeup events 32 This file contains the number of times the wakeup source might 39 This file contains the number of times the wakeup source's 46 This file contains the amount of time the wakeup source has 48 source is not active, this file contains '0'. 54 This file contains the total amount of time this wakeup source 61 This file contains the maximum amount of time this wakeup 68 This file contain [all...] |
/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-isp-video.c | 262 static int isp_video_open(struct file *file) in isp_video_open() argument 264 struct fimc_isp *isp = video_drvdata(file); in isp_video_open() 272 ret = v4l2_fh_open(file); in isp_video_open() 280 if (v4l2_fh_is_singular_file(file)) { in isp_video_open() 294 v4l2_fh_release(file); in isp_video_open() 300 static int isp_video_release(struct file *file) in isp_video_release() argument 302 struct fimc_isp *isp = video_drvdata(file); in isp_video_release() 310 is_singular_file = v4l2_fh_is_singular_file(file); in isp_video_release() 345 isp_video_querycap(struct file * file,void * priv,struct v4l2_capability * cap) isp_video_querycap() argument 354 isp_video_enum_fmt(struct file * file,void * priv,struct v4l2_fmtdesc * f) isp_video_enum_fmt() argument 371 isp_video_g_fmt_mplane(struct file * file,void * fh,struct v4l2_format * f) isp_video_g_fmt_mplane() argument 405 isp_video_try_fmt_mplane(struct file * file,void * fh,struct v4l2_format * f) isp_video_try_fmt_mplane() argument 414 isp_video_s_fmt_mplane(struct file * file,void * priv,struct v4l2_format * f) isp_video_s_fmt_mplane() argument 490 isp_video_streamon(struct file * file,void * priv,enum v4l2_buf_type type) isp_video_streamon() argument 516 isp_video_streamoff(struct file * file,void * priv,enum v4l2_buf_type type) isp_video_streamoff() argument 532 isp_video_reqbufs(struct file * file,void * priv,struct v4l2_requestbuffers * rb) isp_video_reqbufs() argument [all...] |
/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_vfs_reject.c | 19 struct file *acquired; in BPF_PROG() 35 struct file *acquired; in BPF_PROG() 52 struct file *acquired; in BPF_PROG() 72 struct file *acquired; in BPF_PROG() 84 int BPF_PROG(put_file_kfunc_unacquired, struct file *file) in BPF_PROG() argument 87 bpf_put_file(file); in BPF_PROG() 131 __failure __msg("kernel function bpf_path_d_path args#0 expected pointer to STRUCT path but R1 has a pointer to STRUCT file") 132 int BPF_PROG(path_d_path_kfunc_type_mismatch, struct file *file) in BPF_PROG() argument 140 BPF_PROG(path_d_path_kfunc_invalid_buf_sz,struct file * file) BPF_PROG() argument [all...] |
/linux/drivers/comedi/ |
H A D | comedi_fops.c | 53 * struct comedi_file - Per-file private data for COMEDI device 276 static void comedi_file_reset(struct file *file) in comedi_file_reset() argument 278 struct comedi_file *cfp = file->private_data; in comedi_file_reset() 281 unsigned int minor = iminor(file_inode(file)); in comedi_file_reset() 298 static void comedi_file_check(struct file *file) in comedi_file_check() argument 300 struct comedi_file *cfp = file->private_data; in comedi_file_check() 305 comedi_file_reset(file); in comedi_file_check() 308 static struct comedi_subdevice *comedi_file_read_subdevice(struct file *fil argument 316 comedi_file_write_subdevice(struct file * file) comedi_file_write_subdevice() argument 952 do_devinfo_ioctl(struct comedi_device * dev,struct comedi_devinfo __user * arg,struct file * file) do_devinfo_ioctl() argument 998 do_subdinfo_ioctl(struct comedi_device * dev,struct comedi_subdinfo __user * arg,void * file) do_subdinfo_ioctl() argument 1126 do_bufinfo_ioctl(struct comedi_device * dev,struct comedi_bufinfo __user * arg,void * file) do_bufinfo_ioctl() argument 1327 parse_insn(struct comedi_device * dev,struct comedi_insn * insn,unsigned int * data,void * file) parse_insn() argument 1547 do_insnlist_ioctl(struct comedi_device * dev,struct comedi_insn * insns,unsigned int n_insns,void * file) do_insnlist_ioctl() argument 1640 do_insn_ioctl(struct comedi_device * dev,struct comedi_insn * insn,void * file) do_insn_ioctl() argument 1786 do_cmd_ioctl(struct comedi_device * dev,struct comedi_cmd * cmd,bool * copy,void * file) do_cmd_ioctl() argument 1891 do_cmdtest_ioctl(struct comedi_device * dev,struct comedi_cmd * cmd,bool * copy,void * file) do_cmdtest_ioctl() argument 1942 do_lock_ioctl(struct comedi_device * dev,unsigned long arg,void * file) do_lock_ioctl() argument 1977 do_unlock_ioctl(struct comedi_device * dev,unsigned long arg,void * file) do_unlock_ioctl() argument 2012 do_cancel_ioctl(struct comedi_device * dev,unsigned long arg,void * file) do_cancel_ioctl() argument 2046 do_poll_ioctl(struct comedi_device * dev,unsigned long arg,void * file) do_poll_ioctl() argument 2081 do_setrsubd_ioctl(struct comedi_device * dev,unsigned long arg,struct file * file) do_setrsubd_ioctl() argument 2124 do_setwsubd_ioctl(struct comedi_device * dev,unsigned long arg,struct file * file) do_setwsubd_ioctl() argument 2153 comedi_unlocked_ioctl(struct file * file,unsigned int cmd,unsigned long arg) comedi_unlocked_ioctl() argument 2361 comedi_mmap(struct file * file,struct vm_area_struct * vma) comedi_mmap() argument 2490 comedi_poll(struct file * file,poll_table * wait) comedi_poll() argument 2587 comedi_write(struct file * file,const char __user * buf,size_t nbytes,loff_t * offset) comedi_write() argument 2715 comedi_read(struct file * file,char __user * buf,size_t nbytes,loff_t * offset) comedi_read() argument 2843 comedi_open(struct inode * inode,struct file * file) comedi_open() argument 2897 comedi_fasync(int fd,struct file * file,int on) comedi_fasync() argument 2905 comedi_close(struct inode * inode,struct file * file) comedi_close() argument 3003 compat_chaninfo(struct file * file,unsigned long arg) compat_chaninfo() argument 3027 compat_rangeinfo(struct file * file,unsigned long arg) compat_rangeinfo() argument 3105 compat_cmd(struct file * file,unsigned long arg) compat_cmd() argument 3130 compat_cmdtest(struct file * file,unsigned long arg) compat_cmdtest() argument 3172 compat_insnlist(struct file * file,unsigned long arg) compat_insnlist() argument 3210 compat_insn(struct file * file,unsigned long arg) compat_insn() argument 3232 comedi_compat_ioctl(struct file * file,unsigned int cmd,unsigned long arg) comedi_compat_ioctl() argument [all...] |
/linux/kernel/gcov/ |
H A D | fs.c | 43 * @dentry: main debugfs entry, either a directory or data file 45 * @name: data file basename 48 * of debugfs. There are directory and data file nodes. The latter represent 49 * the actual synthesized data file plus any associated symbolic links which 92 * struct gcov_iterator - specifies current file position in logical records 94 * @buffer: buffer containing file data 96 * @pos: current position in file 109 * Return file iterator on success, %NULL otherwise. 133 * @iter: file iterator 141 * gcov_iter_get_info - return profiling data set for given file iterato 288 gcov_seq_open(struct inode * inode,struct file * file) gcov_seq_open() argument 328 gcov_seq_release(struct inode * inode,struct file * file) gcov_seq_release() argument 382 gcov_seq_write(struct file * file,const char __user * addr,size_t len,loff_t * pos) gcov_seq_write() argument 635 reset_write(struct file * file,const char __user * addr,size_t len,loff_t * pos) reset_write() argument 657 reset_read(struct file * file,char __user * addr,size_t len,loff_t * pos) reset_read() argument [all...] |
/linux/fs/afs/ |
H A D | dir.c | 24 static int afs_dir_open(struct inode *inode, struct file *file); 25 static int afs_readdir(struct file *file, struct dir_context *ctx); 213 * open an AFS directory file 215 static int afs_dir_open(struct inode *inode, struct file *file) in afs_dir_open() argument 225 return afs_open(inode, file); in afs_dir_open() 229 * Read a file in a single download. 231 static ssize_t afs_do_read_single(struct afs_vnode *dvnode, struct file *fil argument 297 afs_read_single(struct afs_vnode * dvnode,struct file * file) afs_read_single() argument 311 afs_read_dir(struct afs_vnode * dvnode,struct file * file) afs_read_dir() argument 520 afs_dir_iterate(struct inode * dir,struct dir_context * ctx,struct file * file,afs_dataversion_t * _dir_version) afs_dir_iterate() argument 557 afs_readdir(struct file * file,struct dir_context * ctx) afs_readdir() argument [all...] |
H A D | file.c | 2 /* AFS filesystem file handling 25 static ssize_t afs_file_splice_read(struct file *in, loff_t *ppos, 116 * open an AFS file or directory and attach a key to it 118 int afs_open(struct inode *inode, struct file *file) in afs_open() argument 144 if (file->f_mode & FMODE_WRITE) { in afs_open() 150 if (file->f_flags & O_TRUNC) in afs_open() 153 fscache_use_cookie(afs_vnode_cache(vnode), file->f_mode & FMODE_WRITE); in afs_open() 155 file->private_data = af; in afs_open() 169 * release an AFS file o 171 afs_release(struct inode * inode,struct file * file) afs_release() argument 380 afs_init_request(struct netfs_io_request * rreq,struct file * file) afs_init_request() argument 413 afs_check_write_begin(struct file * file,loff_t pos,unsigned len,struct folio ** foliop,void ** _fsdata) afs_check_write_begin() argument [all...] |
/linux/drivers/usb/mon/ |
H A D | mon_stat.c | 27 static int mon_stat_open(struct inode *inode, struct file *file) in mon_stat_open() argument 42 file->private_data = sp; in mon_stat_open() 46 static ssize_t mon_stat_read(struct file *file, char __user *buf, in mon_stat_read() argument 49 struct snap *sp = file->private_data; in mon_stat_read() 54 static int mon_stat_release(struct inode *inode, struct file *file) in mon_stat_release() argument 56 struct snap *sp = file->private_data; in mon_stat_release() 57 file in mon_stat_release() [all...] |
/linux/drivers/media/platform/ti/davinci/ |
H A D | vpif_capture.c | 743 * @file: file ptr 744 * @priv: file handle 749 static int vpif_querystd(struct file *file, void *priv, v4l2_std_id *std_id) in vpif_querystd() argument 751 struct video_device *vdev = video_devdata(file); in vpif_querystd() 772 * @file: file ptr 773 * @priv: file handle 776 static int vpif_g_std(struct file *fil argument 804 vpif_s_std(struct file * file,void * priv,v4l2_std_id std_id) vpif_s_std() argument 852 vpif_enum_input(struct file * file,void * priv,struct v4l2_input * input) vpif_enum_input() argument 877 vpif_g_input(struct file * file,void * priv,unsigned int * index) vpif_g_input() argument 892 vpif_s_input(struct file * file,void * priv,unsigned int index) vpif_s_input() argument 917 vpif_enum_fmt_vid_cap(struct file * file,void * priv,struct v4l2_fmtdesc * fmt) vpif_enum_fmt_vid_cap() argument 942 vpif_try_fmt_vid_cap(struct file * file,void * priv,struct v4l2_format * fmt) vpif_try_fmt_vid_cap() argument 979 vpif_g_fmt_vid_cap(struct file * file,void * priv,struct v4l2_format * fmt) vpif_g_fmt_vid_cap() argument 1035 vpif_s_fmt_vid_cap(struct file * file,void * priv,struct v4l2_format * fmt) vpif_s_fmt_vid_cap() argument 1063 vpif_querycap(struct file * file,void * priv,struct v4l2_capability * cap) vpif_querycap() argument 1081 vpif_enum_dv_timings(struct file * file,void * priv,struct v4l2_enum_dv_timings * timings) vpif_enum_dv_timings() argument 1115 vpif_query_dv_timings(struct file * file,void * priv,struct v4l2_dv_timings * timings) vpif_query_dv_timings() argument 1146 vpif_s_dv_timings(struct file * file,void * priv,struct v4l2_dv_timings * timings) vpif_s_dv_timings() argument 1245 vpif_g_dv_timings(struct file * file,void * priv,struct v4l2_dv_timings * timings) vpif_g_dv_timings() argument [all...] |
/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-video.c | 304 static int cx25821_vidioc_enum_fmt_vid_cap(struct file *file, void *priv, in cx25821_vidioc_enum_fmt_vid_cap() argument 315 static int cx25821_vidioc_g_fmt_vid_cap(struct file *file, void *priv, in cx25821_vidioc_g_fmt_vid_cap() argument 318 struct cx25821_channel *chan = video_drvdata(file); in cx25821_vidioc_g_fmt_vid_cap() 331 static int cx25821_vidioc_try_fmt_vid_cap(struct file *file, void *priv, in cx25821_vidioc_try_fmt_vid_cap() argument 334 struct cx25821_channel *chan = video_drvdata(file); in cx25821_vidioc_try_fmt_vid_cap() 369 static int vidioc_s_fmt_vid_cap(struct file *file, voi argument 405 vidioc_log_status(struct file * file,void * priv) vidioc_log_status() argument 419 cx25821_vidioc_querycap(struct file * file,void * priv,struct v4l2_capability * cap) cx25821_vidioc_querycap() argument 434 cx25821_vidioc_g_std(struct file * file,void * priv,v4l2_std_id * tvnorms) cx25821_vidioc_g_std() argument 442 cx25821_vidioc_s_std(struct file * file,void * priv,v4l2_std_id tvnorms) cx25821_vidioc_s_std() argument 460 cx25821_vidioc_enum_input(struct file * file,void * priv,struct v4l2_input * i) cx25821_vidioc_enum_input() argument 472 cx25821_vidioc_g_input(struct file * file,void * priv,unsigned int * i) cx25821_vidioc_g_input() argument 478 cx25821_vidioc_s_input(struct file * file,void * priv,unsigned int i) cx25821_vidioc_s_input() argument 508 cx25821_vidioc_enum_output(struct file * file,void * priv,struct v4l2_output * o) cx25821_vidioc_enum_output() argument 520 cx25821_vidioc_g_output(struct file * file,void * priv,unsigned int * o) cx25821_vidioc_g_output() argument 526 cx25821_vidioc_s_output(struct file * file,void * priv,unsigned int o) cx25821_vidioc_s_output() argument 531 cx25821_vidioc_try_fmt_vid_out(struct file * file,void * priv,struct v4l2_format * f) cx25821_vidioc_try_fmt_vid_out() argument 550 vidioc_s_fmt_vid_out(struct file * file,void * priv,struct v4l2_format * f) vidioc_s_fmt_vid_out() argument [all...] |
/linux/fs/gfs2/ |
H A D | util.c | 143 * file system read-only will flush the journal, etc. in signal_our_withdraw() 168 * longer be granted because the file system is withdrawn. in signal_our_withdraw() 330 fs_err(sdp, "about to withdraw this file system\n"); in gfs2_withdraw() 344 fs_err(sdp, "File system withdrawn\n"); in gfs2_withdraw() 362 const char *function, char *file, unsigned int line, in gfs2_assert_withdraw_i() argument 370 "function = %s, file = %s, line = %u\n", in gfs2_assert_withdraw_i() 371 assertion, function, file, line); in gfs2_assert_withdraw_i() 392 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i() argument 401 "function = %s, file = %s, line = %u\n", in gfs2_assert_warn_i() 402 assertion, function, file, lin in gfs2_assert_warn_i() 423 gfs2_consist_i(struct gfs2_sbd * sdp,const char * function,char * file,unsigned int line) gfs2_consist_i() argument 437 gfs2_consist_inode_i(struct gfs2_inode * ip,const char * function,char * file,unsigned int line) gfs2_consist_inode_i() argument 457 gfs2_consist_rgrpd_i(struct gfs2_rgrpd * rgd,const char * function,char * file,unsigned int line) gfs2_consist_rgrpd_i() argument 481 gfs2_meta_check_ii(struct gfs2_sbd * sdp,struct buffer_head * bh,const char * function,char * file,unsigned int line) gfs2_meta_check_ii() argument 504 gfs2_metatype_check_ii(struct gfs2_sbd * sdp,struct buffer_head * bh,u16 type,u16 t,const char * function,char * file,unsigned int line) gfs2_metatype_check_ii() argument 524 gfs2_io_error_i(struct gfs2_sbd * sdp,const char * function,char * file,unsigned int line) gfs2_io_error_i() argument 540 gfs2_io_error_bh_i(struct gfs2_sbd * sdp,struct buffer_head * bh,const char * function,char * file,unsigned int line,bool withdraw) gfs2_io_error_bh_i() argument [all...] |
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | igt_mmap.c | 19 struct file *file; in igt_mmap_offset() local 35 file = mock_drm_getfile(i915->drm.primary, O_RDWR); in igt_mmap_offset() 36 if (IS_ERR(file)) in igt_mmap_offset() 37 return PTR_ERR(file); in igt_mmap_offset() 39 err = drm_vma_node_allow(node, file->private_data); in igt_mmap_offset() 45 addr = vm_mmap(file, 0, drm_vma_node_size(node) << PAGE_SHIFT, in igt_mmap_offset() 48 drm_vma_node_revoke(node, file->private_data); in igt_mmap_offset() 50 fput(file); in igt_mmap_offset()
|
/linux/include/linux/ |
H A D | exportfs.h | 19 * The fileid_type identifies how the file within the filesystem is encoded. 131 * Filesystems must not use 0xff file ID. 171 #define EXPORT_FH_CONNECTABLE 0x1 /* Encode file handle with parent */ 172 #define EXPORT_FH_FID 0x2 /* File handle may be non-decodeable */ 173 #define EXPORT_FH_DIR_ONLY 0x4 /* Only decode file handle for a directory */ 189 * struct export_operations - for nfsd to communicate with file systems 190 * @encode_fh: encode a file handle fragment from a dentry 201 * @encode_fh should store in the file handle fragment @fh (using at most 203 * file referred to by the &struct dentry @de. If @flag has CONNECTABLE bit 205 * attempt can be made to find not only the file bu [all...] |
H A D | dlm_plock.h | 10 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 12 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 14 int dlm_posix_cancel(dlm_lockspace_t *lockspace, u64 number, struct file *file, 16 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
|
/linux/scripts/kconfig/tests/ |
H A D | conftest.py | 43 mode: input mode option (--oldaskconfig, --defconfig=<file> etc.) 44 dot_config: .config file to use for configuration base 45 out_file: file name to contain the output config data 123 dot_config: .config file to use for configuration base (optional) 133 dot_config: .config file to use for configuration base (optional) 143 dot_config: .config file to use for configuration base (optional) 151 defconfig: defconfig file for input 167 all_config: fragment config file for KCONFIG_ALLCONFIG (optional) 175 all_config: fragment config file for KCONFIG_ALLCONFIG (optional) 183 all_config: fragment config file fo [all...] |
/linux/scripts/ |
H A D | cleanpatch | 4 # Clean a patch file -- or directory of patch files -- of stealth whitespace. 10 use File::Basename; 101 print STDERR "$f: not a file\n"; 105 if (!open(FILE, '+<', $f)) { 106 print STDERR "$name: Cannot open file: $f: $!\n"; 110 binmode FILE; 112 # First, verify that it is not a binary file; consider any file 113 # with a zero byte to be a binary file. Is there any better, or 117 while (read(FILE, [all...] |