Home
last modified time | relevance | path

Searched full:file (Results 151 – 175 of 13937) sorted by relevance

12345678910>>...558

/linux/fs/ext4/
H A Ddir.c33 static int ext4_dx_readdir(struct file *, struct dir_context *);
79 struct inode *dir, struct file *filp, in __ext4_check_dir_entry()
129 static int ext4_readdir(struct file *file, struct dir_context *ctx) in ext4_readdir() argument
135 struct inode *inode = file_inode(file); in ext4_readdir()
139 struct dir_private_info *info = file->private_data; in ext4_readdir()
146 err = ext4_dx_readdir(file, ctx); in ext4_readdir()
162 err = ext4_read_inline_dir(file, ctx, in ext4_readdir()
197 if (!ra_has_index(&file->f_ra, index)) in ext4_readdir()
200 &file in ext4_readdir()
396 ext4_dir_llseek(struct file * file,loff_t offset,int whence) ext4_dir_llseek() argument
530 call_filldir(struct file * file,struct dir_context * ctx,struct fname * fname) call_filldir() argument
557 ext4_dx_readdir(struct file * file,struct dir_context * ctx) ext4_dx_readdir() argument
671 ext4_dir_open(struct inode * inode,struct file * file) ext4_dir_open() argument
[all...]
/linux/drivers/net/wireless/intel/iwlegacy/
H A Ddebug.c121 /* file operation */
123 static ssize_t il_dbgfs_##name##_read(struct file *file, \
128 static ssize_t il_dbgfs_##name##_write(struct file *file, \
200 il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_tx_stats_read() argument
204 struct il_priv *il = file->private_data; in il_dbgfs_tx_stats_read()
240 il_dbgfs_clear_traffic_stats_write(struct file *file, in il_dbgfs_clear_traffic_stats_write() argument
261 il_dbgfs_rx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_rx_stats_read() argument
305 il_dbgfs_sram_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_sram_read() argument
364 il_dbgfs_sram_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_sram_write() argument
389 il_dbgfs_stations_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_stations_read() argument
453 il_dbgfs_nvm_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_nvm_read() argument
497 il_dbgfs_channels_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_channels_read() argument
576 il_dbgfs_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_status_read() argument
637 il_dbgfs_interrupt_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_interrupt_read() argument
716 il_dbgfs_interrupt_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_interrupt_write() argument
737 il_dbgfs_qos_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_qos_read() argument
762 il_dbgfs_disable_ht40_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_disable_ht40_write() argument
788 il_dbgfs_disable_ht40_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_disable_ht40_read() argument
812 il_dbgfs_tx_queue_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_tx_queue_read() argument
859 il_dbgfs_rx_queue_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_rx_queue_read() argument
888 il_dbgfs_ucode_rx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_ucode_rx_stats_read() argument
897 il_dbgfs_ucode_tx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_ucode_tx_stats_read() argument
906 il_dbgfs_ucode_general_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_ucode_general_stats_read() argument
915 il_dbgfs_sensitivity_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_sensitivity_read() argument
1014 il_dbgfs_chain_noise_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_chain_noise_read() argument
1085 il_dbgfs_power_save_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_power_save_status_read() argument
1109 il_dbgfs_clear_ucode_stats_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_clear_ucode_stats_write() argument
1134 il_dbgfs_rxon_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_rxon_flags_read() argument
1147 il_dbgfs_rxon_filter_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_rxon_filter_flags_read() argument
1161 il_dbgfs_fh_reg_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_fh_reg_read() argument
1183 il_dbgfs_missed_beacon_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_missed_beacon_read() argument
1200 il_dbgfs_missed_beacon_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_missed_beacon_write() argument
1225 il_dbgfs_force_reset_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_force_reset_read() argument
1256 il_dbgfs_force_reset_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_force_reset_write() argument
1269 il_dbgfs_wd_timeout_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_wd_timeout_write() argument
[all...]
/linux/fs/afs/
H A Ddir_silly.c19 afs_check_dir_conflict(op, &op->file[0]); in afs_silly_rename_success()
20 afs_vnode_commit_status(op, &op->file[0]); in afs_silly_rename_success()
25 struct afs_vnode_param *dvp = &op->file[0]; in afs_silly_rename_edit_dir()
74 op->file[0].dv_delta = 1; in afs_do_silly_rename()
75 op->file[1].dv_delta = 1; in afs_do_silly_rename()
76 op->file[0].modification = true; in afs_do_silly_rename()
77 op->file[1].modification = true; in afs_do_silly_rename()
78 op->file[0].update_ctime = true; in afs_do_silly_rename()
79 op->file[1].update_ctime = true; in afs_do_silly_rename()
93 * file ope
[all...]
/linux/drivers/firmware/efi/
H A Dcapsule-loader.c138 pr_info("Successfully uploaded capsule file with reboot type '%s'\n", in efi_capsule_submit_update()
143 pr_info("Successfully processed capsule file\n"); in efi_capsule_submit_update()
152 * @file: file pointer
160 * - Users should close and re-open this file note in order to upload more
162 * - After an error returned, user should close the file and restart the
164 * file is closed.
166 * binary file and passed in as first block data of write operation.
168 static ssize_t efi_capsule_write(struct file *file, cons argument
253 efi_capsule_release(struct inode * inode,struct file * file) efi_capsule_release() argument
281 efi_capsule_open(struct inode * inode,struct file * file) efi_capsule_open() argument
[all...]
/linux/drivers/gpu/drm/
H A Ddrm_debugfs.c159 static int drm_debugfs_open(struct inode *inode, struct file *file) in drm_debugfs_open() argument
166 return single_open(file, node->info_ent->show, node); in drm_debugfs_open()
169 static int drm_debugfs_entry_open(struct inode *inode, struct file *file) in drm_debugfs_entry_open() argument
172 struct drm_debugfs_info *node = &entry->file; in drm_debugfs_entry_open()
178 return single_open(file, node->show, entry); in drm_debugfs_entry_open()
318 struct drm_file *file = m->private; in drm_debugfs_proc_info_show() local
320 if (!file) in drm_debugfs_proc_info_show()
324 pid = rcu_dereference(file in drm_debugfs_proc_info_show()
333 drm_debufs_proc_info_open(struct inode * inode,struct file * file) drm_debufs_proc_info_open() argument
356 drm_debugfs_clients_add(struct drm_file * file) drm_debugfs_clients_add() argument
389 drm_debugfs_clients_remove(struct drm_file * file) drm_debugfs_clients_remove() argument
512 connector_open(struct inode * inode,struct file * file) connector_open() argument
519 connector_write(struct file * file,const char __user * ubuf,size_t len,loff_t * offp) connector_write() argument
553 edid_open(struct inode * inode,struct file * file) edid_open() argument
560 edid_write(struct file * file,const char __user * ubuf,size_t len,loff_t * offp) edid_write() argument
673 struct dentry *file; create_hdmi_audio_infoframe_file() local
[all...]
/linux/fs/proc/
H A Dproc_net.c39 static int seq_open_net(struct inode *inode, struct file *file) in seq_open_net() argument
47 if (file->f_mode & FMODE_WRITE && !PDE(inode)->write) in seq_open_net()
54 p = __seq_open_private(file, PDE(inode)->seq_ops, state_size); in seq_open_net()
77 static int seq_release_net(struct inode *ino, struct file *f) in seq_release_net()
132 * proc_create_net_data_write - Create a writable net_ns-specific proc file
133 * @name: The name of the file.
134 * @mode: The file's access mode.
136 * @ops: The seq_file ops with which to read the file.
137 * @write: The write method with which to 'modify' the file
177 single_open_net(struct inode * inode,struct file * file) single_open_net() argument
328 proc_tgid_net_readdir(struct file * file,struct dir_context * ctx) proc_tgid_net_readdir() argument
[all...]
H A Dbase.c29 * about physical memory size (rss) for each mapped file, i.e.,
60 #include <linux/file.h>
113 * The classic example of a problem is opening file descriptors
335 * pos is 0, and set a flag in the 'struct file'. in get_mm_cmdline()
393 static ssize_t proc_pid_cmdline_read(struct file *file, char __user *buf, in proc_pid_cmdline_read() argument
401 tsk = get_proc_task(file_inode(file)); in proc_pid_cmdline_read()
418 * Provides a wchan file via kallsyms in a proper one-value-per-file format.
480 if (!file_ns_capable(m->file, in proc_pid_stack()
557 lstats_open(struct inode * inode,struct file * file) lstats_open() argument
562 lstats_write(struct file * file,const char __user * buf,size_t count,loff_t * offs) lstats_write() argument
859 __mem_open(struct inode * inode,struct file * file,unsigned int mode) __mem_open() argument
870 mem_open(struct inode * inode,struct file * file) mem_open() argument
877 proc_mem_foll_force(struct file * file,struct mm_struct * mm) proc_mem_foll_force() argument
899 mem_rw(struct file * file,char __user * buf,size_t count,loff_t * ppos,int write) mem_rw() argument
956 mem_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) mem_read() argument
962 mem_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) mem_write() argument
968 mem_lseek(struct file * file,loff_t offset,int orig) mem_lseek() argument
984 mem_release(struct inode * inode,struct file * file) mem_release() argument
1001 environ_open(struct inode * inode,struct file * file) environ_open() argument
1006 environ_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) environ_read() argument
1076 auxv_open(struct inode * inode,struct file * file) auxv_open() argument
1081 auxv_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) auxv_read() argument
1103 oom_adj_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) oom_adj_read() argument
1125 __set_oom_adj(struct file * file,int oom_adj,bool legacy) __set_oom_adj() argument
1218 oom_adj_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) oom_adj_write() argument
1261 oom_score_adj_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) oom_score_adj_read() argument
1277 oom_score_adj_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) oom_score_adj_write() argument
1313 proc_loginuid_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) proc_loginuid_read() argument
1330 proc_loginuid_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) proc_loginuid_write() argument
1379 proc_sessionid_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) proc_sessionid_read() argument
1402 proc_fault_inject_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) proc_fault_inject_read() argument
1420 proc_fault_inject_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) proc_fault_inject_write() argument
1456 proc_fail_nth_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) proc_fail_nth_write() argument
1476 proc_fail_nth_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) proc_fail_nth_read() argument
1518 sched_write(struct file * file,const char __user * buf,size_t count,loff_t * offset) sched_write() argument
1567 sched_autogroup_write(struct file * file,const char __user * buf,size_t count,loff_t * offset) sched_autogroup_write() argument
1636 timens_offsets_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) timens_offsets_write() argument
1723 comm_write(struct file * file,const char __user * buf,size_t count,loff_t * offset) comm_write() argument
2120 proc_fill_cache(struct file * file,struct dir_context * ctx,const char * name,unsigned int len,instantiate_t instantiate,struct task_struct * task,const void * ptr) proc_fill_cache() argument
2402 proc_map_files_readdir(struct file * file,struct dir_context * ctx) proc_map_files_readdir() argument
2572 proc_timers_open(struct inode * inode,struct file * file) proc_timers_open() argument
2594 timerslack_ns_write(struct file * file,const char __user * buf,size_t count,loff_t * offset) timerslack_ns_write() argument
2738 proc_pident_readdir(struct file * file,struct dir_context * ctx,const struct pid_entry * ents,unsigned int nents) proc_pident_readdir() argument
2765 proc_pid_attr_open(struct inode * inode,struct file * file) proc_pid_attr_open() argument
2772 proc_pid_attr_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) proc_pid_attr_read() argument
2793 proc_pid_attr_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) proc_pid_attr_write() argument
2921 proc_attr_dir_readdir(struct file * file,struct dir_context * ctx) proc_attr_dir_readdir() argument
2950 proc_coredump_filter_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) proc_coredump_filter_read() argument
2977 proc_coredump_filter_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) proc_coredump_filter_write() argument
3099 proc_id_map_open(struct inode * inode,struct file * file,const struct seq_operations * seq_ops) proc_id_map_open() argument
3131 proc_id_map_release(struct inode * inode,struct file * file) proc_id_map_release() argument
3139 proc_uid_map_open(struct inode * inode,struct file * file) proc_uid_map_open() argument
3144 proc_gid_map_open(struct inode * inode,struct file * file) proc_gid_map_open() argument
3149 proc_projid_map_open(struct inode * inode,struct file * file) proc_projid_map_open() argument
3178 proc_setgroups_open(struct inode * inode,struct file * file) proc_setgroups_open() argument
3212 proc_setgroups_release(struct inode * inode,struct file * file) proc_setgroups_release() argument
3428 proc_tgid_base_readdir(struct file * file,struct dir_context * ctx) proc_tgid_base_readdir() argument
3440 tgid_pidfd_to_pid(const struct file * file) tgid_pidfd_to_pid() argument
3575 proc_pid_readdir(struct file * file,struct dir_context * ctx) proc_pid_readdir() argument
3764 proc_tid_base_readdir(struct file * file,struct dir_context * ctx) proc_tid_base_readdir() argument
3920 proc_task_readdir(struct file * file,struct dir_context * ctx) proc_task_readdir() argument
3985 proc_dir_llseek(struct file * file,loff_t offset,int whence) proc_dir_llseek() argument
[all...]
/linux/Documentation/filesystems/
H A Dseq_file.rst9 This file is originally from the LWN.net Driver Porting series at
22 however. It is not that hard to make a virtual file which returns a
26 position within the virtual file - that position is, likely as not, in the
31 which are designed to make it easy for virtual file creators to get it
37 * An iterator interface which lets a virtual file implementation
44 the virtual file.
47 loadable module which creates a file called /proc/sequence. The file, when
50 better to do. The file is seekable, in that one can do something like the
76 Modules implementing a virtual file wit
[all...]
/linux/include/net/9p/
H A D9p.h65 * @P9_TSTATFS: file system status request
66 * @P9_RSTATFS: file system status response
69 * @P9_TMKNOD: create a special file object request
70 * @P9_RMKNOD: create a special file object response
71 * @P9_TLCREATE: prepare a handle for I/O on an new file for 9P2000.L
72 * @P9_RLCREATE: response with file access information for 9P2000.L
81 * @P9_TATTACH: establish user access to file service
82 * @P9_RATTACH: response with top level handle to file hierarchy
89 * @P9_TOPEN: prepare a handle for I/O on an existing file
90 * @P9_ROPEN: response with file acces
[all...]
/linux/Documentation/PCI/
H A Dsysfs-pci.rst37 file function
58 ro - read only file
59 rw - file is readable and writable
60 wo - write only file
61 mmap - file is mmapable
62 ascii - file contains ascii text
63 binary - file contains binary data
64 cpumask - file contains a cpumask type
69 the exception of the 'rom' file. Writable files can be used to perform
71 mmapable files are available via an mmap of the file a
[all...]
/linux/Documentation/i2c/
H A Ddev-interface.rst35 Next thing, open the device file, as follows::
37 int file;
42 file = open(filename, O_RDWR);
43 if (file < 0) {
53 if (ioctl(file, I2C_SLAVE, addr) < 0) {
67 res = i2c_smbus_read_word_data(file, reg);
76 * i2c_smbus_write_word_data(file, reg, 0x6543)
81 if (write(file, buf, 3) != 3) {
85 /* Using I2C Read, equivalent of i2c_smbus_read_byte(file) */
86 if (read(file, bu
[all...]
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-core.c261 static int vidioc_querycap(struct file *file, void *priv, in vidioc_querycap() argument
264 struct vivid_dev *dev = video_drvdata(file); in vidioc_querycap()
280 static int vidioc_s_hw_freq_seek(struct file *file, void *fh, const struct v4l2_hw_freq_seek *a) in vidioc_s_hw_freq_seek() argument
282 struct video_device *vdev = video_devdata(file); in vidioc_s_hw_freq_seek()
285 return vivid_radio_rx_s_hw_freq_seek(file, fh, a); in vidioc_s_hw_freq_seek()
289 static int vidioc_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band) in vidioc_enum_freq_bands() argument
291 struct video_device *vdev = video_devdata(file); in vidioc_enum_freq_bands()
300 vidioc_g_tuner(struct file * file,void * fh,struct v4l2_tuner * vt) vidioc_g_tuner() argument
311 vidioc_s_tuner(struct file * file,void * fh,const struct v4l2_tuner * vt) vidioc_s_tuner() argument
322 vidioc_g_frequency(struct file * file,void * fh,struct v4l2_frequency * vf) vidioc_g_frequency() argument
336 vidioc_s_frequency(struct file * file,void * fh,const struct v4l2_frequency * vf) vidioc_s_frequency() argument
350 vidioc_overlay(struct file * file,void * fh,unsigned i) vidioc_overlay() argument
359 vidioc_g_fbuf(struct file * file,void * fh,struct v4l2_framebuffer * a) vidioc_g_fbuf() argument
368 vidioc_s_fbuf(struct file * file,void * fh,const struct v4l2_framebuffer * a) vidioc_s_fbuf() argument
377 vidioc_s_std(struct file * file,void * fh,v4l2_std_id id) vidioc_s_std() argument
386 vidioc_s_dv_timings(struct file * file,void * fh,struct v4l2_dv_timings * timings) vidioc_s_dv_timings() argument
395 vidioc_g_pixelaspect(struct file * file,void * fh,int type,struct v4l2_fract * f) vidioc_g_pixelaspect() argument
405 vidioc_g_selection(struct file * file,void * fh,struct v4l2_selection * sel) vidioc_g_selection() argument
415 vidioc_s_selection(struct file * file,void * fh,struct v4l2_selection * sel) vidioc_s_selection() argument
425 vidioc_g_parm(struct file * file,void * fh,struct v4l2_streamparm * parm) vidioc_g_parm() argument
437 vidioc_s_parm(struct file * file,void * fh,struct v4l2_streamparm * parm) vidioc_s_parm() argument
447 vidioc_log_status(struct file * file,void * fh) vidioc_log_status() argument
458 vivid_radio_read(struct file * file,char __user * buf,size_t size,loff_t * offset) vivid_radio_read() argument
468 vivid_radio_write(struct file * file,const char __user * buf,size_t size,loff_t * offset) vivid_radio_write() argument
478 vivid_radio_poll(struct file * file,struct poll_table_struct * wait) vivid_radio_poll() argument
487 vivid_enum_input(struct file * file,void * priv,struct v4l2_input * inp) vivid_enum_input() argument
497 vivid_g_input(struct file * file,void * priv,unsigned int * i) vivid_g_input() argument
506 vivid_s_input(struct file * file,void * priv,unsigned int i) vivid_s_input() argument
515 vivid_enum_fmt_cap(struct file * file,void * priv,struct v4l2_fmtdesc * f) vivid_enum_fmt_cap() argument
525 vivid_g_fmt_cap(struct file * file,void * priv,struct v4l2_format * f) vivid_g_fmt_cap() argument
535 vivid_try_fmt_cap(struct file * file,void * priv,struct v4l2_format * f) vivid_try_fmt_cap() argument
545 vivid_s_fmt_cap(struct file * file,void * priv,struct v4l2_format * f) vivid_s_fmt_cap() argument
555 vivid_g_fmt_cap_mplane(struct file * file,void * priv,struct v4l2_format * f) vivid_g_fmt_cap_mplane() argument
565 vivid_try_fmt_cap_mplane(struct file * file,void * priv,struct v4l2_format * f) vivid_try_fmt_cap_mplane() argument
575 vivid_s_fmt_cap_mplane(struct file * file,void * priv,struct v4l2_format * f) vivid_s_fmt_cap_mplane() argument
640 vivid_fop_release(struct file * file) vivid_fop_release() argument
692 vidioc_reqbufs(struct file * file,void * priv,struct v4l2_requestbuffers * p) vidioc_reqbufs() argument
712 vidioc_create_bufs(struct file * file,void * priv,struct v4l2_create_buffers * p) vidioc_create_bufs() argument
[all...]
H A Dvivid-vbi-out.h12 int vidioc_g_fmt_vbi_out(struct file *file, void *priv,
14 int vidioc_s_fmt_vbi_out(struct file *file, void *priv,
16 int vidioc_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
17 int vidioc_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
18 int vidioc_s_fmt_sliced_vbi_out(struct file *file, voi
[all...]
/linux/fs/xfs/scrub/
H A Dtempfile.c35 * Create a temporary file for reconstructing metadata, with the intention of
36 * atomically exchanging the temporary file's contents with the file that's
99 /* We don't touch file data, so drop the realtime flags. */ in xrep_tempfile_create()
104 * Mark our temporary file as private so that LSMs and the ACL code in xrep_tempfile_create()
106 * The file should never be exposed to userspace. in xrep_tempfile_create()
119 * target with meaningful content before swapping with the file in xrep_tempfile_create()
137 * Put our temp file on the unlinked list so it's purged automatically. in xrep_tempfile_create()
138 * All file-based metadata being reconstructed using this file mus in xrep_tempfile_create()
[all...]
/linux/security/keys/
H A Dbig_key.c12 #include <linux/file.h>
32 * If the data is under this limit, there's no point creating a shm file to
60 struct file *file; in big_key_preparse() local
78 /* Create a shmem file to store the data in. This will permit the data in big_key_preparse()
81 * File content is stored encrypted with randomly generated key. in big_key_preparse()
82 * Since the key is random for each file, we can set the nonce in big_key_preparse()
105 /* save aligned data to file */ in big_key_preparse()
106 file = shmem_kernel_file_setup("", enclen, 0); in big_key_preparse()
107 if (IS_ERR(file)) { in big_key_preparse()
237 struct file *file; big_key_read() local
[all...]
/linux/drivers/leds/
H A Duleds.c52 static int uleds_open(struct inode *inode, struct file *file) in uleds_open() argument
67 file->private_data = udev; in uleds_open()
68 stream_open(inode, file); in uleds_open()
73 static ssize_t uleds_write(struct file *file, const char __user *buffer, in uleds_write() argument
76 struct uleds_device *udev = file->private_data; in uleds_write()
131 static ssize_t uleds_read(struct file *file, char __user *buffer, size_t count, in uleds_read() argument
134 struct uleds_device *udev = file in uleds_read()
170 uleds_poll(struct file * file,poll_table * wait) uleds_poll() argument
182 uleds_release(struct inode * inode,struct file * file) uleds_release() argument
[all...]
/linux/fs/smb/client/
H A Dcifsfs.h55 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);
101 extern int cifs_flock(struct file *pfile, int cmd, struct file_lock *plock);
102 extern int cifs_lock(struct file *, int, struct file_lock *);
103 extern int cifs_fsync(struct file *, loff_t, loff_t, int);
104 extern int cifs_strict_fsync(struct file *, loff_t, loff_t, int);
[all …]
/linux/arch/mips/tools/
H A Delf-entry.c36 FILE *file; in main() local
43 die("Usage: elf-entry <elf-file>\n"); in main()
45 file = fopen(argv[1], "r"); in main()
46 if (!file) { in main()
47 perror("Unable to open input file"); in main()
51 nread = fread(&hdr, 1, sizeof(hdr), file); in main()
53 perror("Unable to read input file"); in main()
54 fclose(file); in main()
59 fclose(file); in main()
[all...]
/linux/drivers/misc/sgi-gru/
H A Dgruprocfs.c7 * This file supports the /proc interfaces for the GRU driver
107 static ssize_t statistics_write(struct file *file, const char __user *userbuf, in statistics_write() argument
133 static ssize_t mcs_statistics_write(struct file *file, in mcs_statistics_write() argument
147 static ssize_t options_write(struct file *file, const char __user *userbuf, in options_write() argument
159 static int cch_seq_show(struct seq_file *file, void *data) in cch_seq_show() argument
168 seq_puts(file, "# gid bid ctx# asid pid cbrs dsbytes mode\n"); in cch_seq_show()
174 seq_printf(file, " in cch_seq_show()
187 gru_seq_show(struct seq_file * file,void * data) gru_seq_show() argument
209 seq_stop(struct seq_file * file,void * data) seq_stop() argument
213 seq_start(struct seq_file * file,loff_t * gid) seq_start() argument
220 seq_next(struct seq_file * file,void * data,loff_t * gid) seq_next() argument
242 statistics_open(struct inode * inode,struct file * file) statistics_open() argument
247 mcs_statistics_open(struct inode * inode,struct file * file) mcs_statistics_open() argument
252 options_open(struct inode * inode,struct file * file) options_open() argument
[all...]
/linux/tools/perf/tests/shell/
H A Dbuildid.sh41 ex_pe=$(dirname $0)/../pe-file.exe
53 # a PE file, but we can extract the whole section with objcopy and
79 file=${build_id_dir}/.build-id/$id_dir/`readlink ${link}`/elf
80 echo "file: ${file}"
82 # Check for file permission of original file
83 # in case of pe-file.exe file
86 if [ -x $1 ] && [ ! -x $file ]; the
[all...]
/linux/drivers/gpu/drm/i915/
H A Di915_debugfs_params.c35 static int i915_param_int_open(struct inode *inode, struct file *file) in i915_param_int_open() argument
37 return single_open(file, i915_param_int_show, inode->i_private); in i915_param_int_open()
53 static ssize_t i915_param_int_write(struct file *file, in i915_param_int_write() argument
57 struct seq_file *m = file->private_data; in i915_param_int_write()
101 static int i915_param_uint_open(struct inode *inode, struct file *file) in i915_param_uint_open() argument
103 return single_open(file, i915_param_uint_show, inode->i_private); in i915_param_uint_open()
106 static ssize_t i915_param_uint_write(struct file *fil argument
164 i915_param_charp_open(struct inode * inode,struct file * file) i915_param_charp_open() argument
169 i915_param_charp_write(struct file * file,const char __user * ubuf,size_t len,loff_t * offp) i915_param_charp_write() argument
[all...]
/linux/drivers/media/radio/si4713/
H A Dradio-platform-si4713.c45 /* radio_si4713_fops - file operations interface */
58 static int radio_si4713_querycap(struct file *file, void *priv, in radio_si4713_querycap() argument
73 static inline struct v4l2_device *get_v4l2_dev(struct file *file) in get_v4l2_dev() argument
75 return &((struct radio_si4713_device *)video_drvdata(file))->v4l2_dev; in get_v4l2_dev()
78 static int radio_si4713_g_modulator(struct file *file, void *p, in radio_si4713_g_modulator() argument
81 return v4l2_device_call_until_err(get_v4l2_dev(file), 0, tuner, in radio_si4713_g_modulator()
85 static int radio_si4713_s_modulator(struct file *fil argument
92 radio_si4713_g_frequency(struct file * file,void * p,struct v4l2_frequency * vf) radio_si4713_g_frequency() argument
99 radio_si4713_s_frequency(struct file * file,void * p,const struct v4l2_frequency * vf) radio_si4713_s_frequency() argument
106 radio_si4713_default(struct file * file,void * p,bool valid_prio,unsigned int cmd,void * arg) radio_si4713_default() argument
[all...]
/linux/fs/bcachefs/
H A Dthread_with_file.c8 #include <linux/file.h>
26 struct file *file = NULL; in bch2_run_thread_with_file() local
51 file = anon_inode_getfile(name, fops, thr, fd_flags); in bch2_run_thread_with_file()
52 ret = PTR_ERR_OR_ZERO(file); in bch2_run_thread_with_file()
58 fd_install(fd, file); in bch2_run_thread_with_file()
114 static ssize_t thread_with_stdio_read(struct file *file, char __user *ubuf, in thread_with_stdio_read() argument
118 container_of(file->private_data, struct thread_with_stdio, thr); in thread_with_stdio_read()
123 if (!(file in thread_with_stdio_read()
154 thread_with_stdio_release(struct inode * inode,struct file * file) thread_with_stdio_release() argument
167 thread_with_stdio_write(struct file * file,const char __user * ubuf,size_t len,loff_t * ppos) thread_with_stdio_write() argument
224 thread_with_stdio_poll(struct file * file,struct poll_table_struct * wait) thread_with_stdio_poll() argument
243 thread_with_stdout_poll(struct file * file,struct poll_table_struct * wait) thread_with_stdout_poll() argument
259 thread_with_stdio_flush(struct file * file,fl_owner_t id) thread_with_stdio_flush() argument
267 thread_with_stdio_ioctl(struct file * file,unsigned int cmd,unsigned long p) thread_with_stdio_ioctl() argument
[all...]
/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-m2m.c283 static int gsc_m2m_querycap(struct file *file, void *fh, in gsc_m2m_querycap() argument
291 static int gsc_m2m_enum_fmt(struct file *file, void *priv, in gsc_m2m_enum_fmt() argument
297 static int gsc_m2m_g_fmt_mplane(struct file *file, void *fh, in gsc_m2m_g_fmt_mplane() argument
305 static int gsc_m2m_try_fmt_mplane(struct file *file, void *fh, in gsc_m2m_try_fmt_mplane() argument
313 static int gsc_m2m_s_fmt_mplane(struct file *file, voi argument
359 gsc_m2m_reqbufs(struct file * file,void * fh,struct v4l2_requestbuffers * reqbufs) gsc_m2m_reqbufs() argument
374 gsc_m2m_expbuf(struct file * file,void * fh,struct v4l2_exportbuffer * eb) gsc_m2m_expbuf() argument
381 gsc_m2m_querybuf(struct file * file,void * fh,struct v4l2_buffer * buf) gsc_m2m_querybuf() argument
388 gsc_m2m_qbuf(struct file * file,void * fh,struct v4l2_buffer * buf) gsc_m2m_qbuf() argument
395 gsc_m2m_dqbuf(struct file * file,void * fh,struct v4l2_buffer * buf) gsc_m2m_dqbuf() argument
402 gsc_m2m_streamon(struct file * file,void * fh,enum v4l2_buf_type type) gsc_m2m_streamon() argument
418 gsc_m2m_streamoff(struct file * file,void * fh,enum v4l2_buf_type type) gsc_m2m_streamoff() argument
440 gsc_m2m_g_selection(struct file * file,void * fh,struct v4l2_selection * s) gsc_m2m_g_selection() argument
477 gsc_m2m_s_selection(struct file * file,void * fh,struct v4l2_selection * s) gsc_m2m_s_selection() argument
604 gsc_m2m_open(struct file * file) gsc_m2m_open() argument
667 gsc_m2m_release(struct file * file) gsc_m2m_release() argument
690 gsc_m2m_poll(struct file * file,struct poll_table_struct * wait) gsc_m2m_poll() argument
706 gsc_m2m_mmap(struct file * file,struct vm_area_struct * vma) gsc_m2m_mmap() argument
[all...]
/linux/drivers/media/pci/cx18/
H A Dcx18-ioctl.c52 static int cx18_g_fmt_vid_cap(struct file *file, void *fh, in cx18_g_fmt_vid_cap() argument
76 static int cx18_try_fmt_vid_cap(struct file *file, void *fh, in cx18_try_fmt_vid_cap() argument
121 static int cx18_s_fmt_vid_cap(struct file *file, void *fh, in cx18_s_fmt_vid_cap() argument
133 ret = cx18_try_fmt_vid_cap(file, fh, fmt); in cx18_s_fmt_vid_cap()
154 return cx18_g_fmt_vid_cap(file, fh, fmt); in cx18_s_fmt_vid_cap()
261 static int cx18_g_fmt_vbi_cap(struct file *file, voi argument
280 cx18_g_fmt_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) cx18_g_fmt_sliced_vbi_cap() argument
305 cx18_try_fmt_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) cx18_try_fmt_vbi_cap() argument
311 cx18_try_fmt_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) cx18_try_fmt_sliced_vbi_cap() argument
330 cx18_s_fmt_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) cx18_s_fmt_vbi_cap() argument
360 cx18_s_fmt_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) cx18_s_fmt_sliced_vbi_cap() argument
392 cx18_g_register(struct file * file,void * fh,struct v4l2_dbg_register * reg) cx18_g_register() argument
406 cx18_s_register(struct file * file,void * fh,const struct v4l2_dbg_register * reg) cx18_s_register() argument
420 cx18_querycap(struct file * file,void * fh,struct v4l2_capability * vcap) cx18_querycap() argument
432 cx18_enumaudio(struct file * file,void * fh,struct v4l2_audio * vin) cx18_enumaudio() argument
439 cx18_g_audio(struct file * file,void * fh,struct v4l2_audio * vin) cx18_g_audio() argument
447 cx18_s_audio(struct file * file,void * fh,const struct v4l2_audio * vout) cx18_s_audio() argument
458 cx18_enum_input(struct file * file,void * fh,struct v4l2_input * vin) cx18_enum_input() argument
466 cx18_g_pixelaspect(struct file * file,void * fh,int type,struct v4l2_fract * f) cx18_g_pixelaspect() argument
479 cx18_g_selection(struct file * file,void * fh,struct v4l2_selection * sel) cx18_g_selection() argument
499 cx18_enum_fmt_vid_cap(struct file * file,void * fh,struct v4l2_fmtdesc * fmt) cx18_enum_fmt_vid_cap() argument
516 cx18_g_input(struct file * file,void * fh,unsigned int * i) cx18_g_input() argument
524 cx18_s_input(struct file * file,void * fh,unsigned int inp) cx18_s_input() argument
561 cx18_g_frequency(struct file * file,void * fh,struct v4l2_frequency * vf) cx18_g_frequency() argument
573 cx18_s_frequency(struct file * file,void * fh,const struct v4l2_frequency * vf) cx18_s_frequency() argument
588 cx18_g_std(struct file * file,void * fh,v4l2_std_id * std) cx18_g_std() argument
596 cx18_s_std(struct file * file,void * fh,v4l2_std_id std) cx18_s_std() argument
645 cx18_s_tuner(struct file * file,void * fh,const struct v4l2_tuner * vt) cx18_s_tuner() argument
657 cx18_g_tuner(struct file * file,void * fh,struct v4l2_tuner * vt) cx18_g_tuner() argument
673 cx18_g_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_sliced_vbi_cap * cap) cx18_g_sliced_vbi_cap() argument
794 cx18_g_enc_index(struct file * file,void * fh,struct v4l2_enc_idx * idx) cx18_g_enc_index() argument
841 cx18_encoder_cmd(struct file * file,void * fh,struct v4l2_encoder_cmd * enc) cx18_encoder_cmd() argument
900 cx18_try_encoder_cmd(struct file * file,void * fh,struct v4l2_encoder_cmd * enc) cx18_try_encoder_cmd() argument
933 cx18_log_status(struct file * file,void * fh) cx18_log_status() argument
976 cx18_default(struct file * file,void * fh,bool valid_prio,unsigned int cmd,void * arg) cx18_default() argument
[all...]

12345678910>>...558