| /linux/fs/lockd/ |
| H A D | svcsubs.c | 46 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file() argument 48 struct inode *inode = nlmsvc_file_inode(file); in nlm_debug_print_file() 59 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file() argument 87 struct nlm_file *file, int mode) in nlm_do_fopen() argument 89 struct file **fp = &file->f_file[mode]; in nlm_do_fopen() 94 nfserr = nlmsvc_ops->fopen(rqstp, &file->f_handle, fp, mode); in nlm_do_fopen() 108 struct nlm_file *file; in nlm_lookup_file() local 121 hlist_for_each_entry(file, &nlm_files[hash], f_list) in nlm_lookup_file() 122 if (!nfs_compare_fh(&file->f_handle, &lock->fh)) { in nlm_lookup_file() 123 mutex_lock(&file->f_mutex); in nlm_lookup_file() [all …]
|
| /linux/fs/overlayfs/ |
| H A D | file.c | 28 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() argument 32 struct inode *inode = file_inode(file); in ovl_open_realfile() 34 struct file *realfile; in ovl_open_realfile() 35 int flags = file->f_flags | OVL_OPEN_FLAGS; in ovl_open_realfile() 51 realfile = backing_file_open(file_user_path(file), in ovl_open_realfile() 57 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile() 65 static int ovl_change_flags(struct file *file, unsigned int flags) in ovl_change_flags() argument 67 struct inode *inode = file_inode(file); in ovl_change_flags() 72 if (((flags ^ file->f_flags) & O_APPEND) && IS_APPEND(inode)) in ovl_change_flags() 75 if ((flags & O_DIRECT) && !(file->f_mode & FMODE_CAN_ODIRECT)) in ovl_change_flags() [all …]
|
| /linux/fs/ |
| H A D | file.c | 147 cpy = ofdt->max_fds * sizeof(struct file *); in copy_fdtable() 148 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable() 212 if (unlikely(nr > INT_MAX / sizeof(struct file *))) in alloc_fdtable() 219 data = kvmalloc_objs(struct file *, nr, GFP_KERNEL_ACCOUNT); in alloc_fdtable() 386 struct file **old_fds, **new_fds; in dup_fd() 456 struct file *f = rcu_dereference_raw(*old_fds++); in dup_fd() 467 memset(new_fds, 0, (new_fdt->max_fds - open_files) * sizeof(struct file *)); in dup_fd() 492 struct file *file = fdt->fd[i]; in close_files() local 493 if (file) { in close_files() 494 filp_close(file, files); in close_files() [all …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | parse-console.sh | 5 # The "file" is a pathname on the local system, and "title" is 8 # Usage: parse-console.sh file title 15 file="$1" 22 # Check for presence and readability of console output file 23 if test -f "$file" -a -r "$file" 27 echo $title unreadable console output file: $file 30 if grep -Pq '\x00' < $file 34 cat /dev/null > $file [all...] |
| /linux/include/media/ |
| H A D | videobuf2-v4l2.h | 149 * vb2_expbuf() - Export a buffer as a file descriptor 166 * would be passing (&file->f_flags & %O_NONBLOCK) here 277 * @file: file argument passed to the poll file operation handler 278 * @wait: wait argument passed to the poll file operation handler 280 * This function implements poll file operation handler for a driver. 282 * be informed that the file descriptor of a video device is available for 284 * For OUTPUT queues, if a buffer is ready to be dequeued, the file descriptor 293 __poll_t vb2_poll(struct vb2_queue *q, struct file *fil 317 vb2_queue_is_busy(struct vb2_queue * q,struct file * file) vb2_queue_is_busy() argument [all...] |
| /linux/fs/ecryptfs/ |
| H A D | file.c | 36 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local 40 struct path path = ecryptfs_lower_path(file->f_path.dentry); in ecryptfs_read_update_atime() 56 static ssize_t ecryptfs_splice_read_update_atime(struct file *in, loff_t *ppos, in ecryptfs_splice_read_update_atime() 124 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir() argument 127 struct file *lower_file; in ecryptfs_readdir() 128 struct inode *inode = file_inode(file); in ecryptfs_readdir() 134 lower_file = ecryptfs_file_to_lower(file); in ecryptfs_readdir() 186 static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) in ecryptfs_mmap() argument 188 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_mmap() 196 return generic_file_mmap(file, vma); in ecryptfs_mmap() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | shmem_utils.c | 17 struct file *shmem_create_from_data(const char *name, void *data, size_t len) in shmem_create_from_data() 19 struct file *file; in shmem_create_from_data() local 22 file = shmem_file_setup(name, PAGE_ALIGN(len), in shmem_create_from_data() 24 if (IS_ERR(file)) in shmem_create_from_data() 25 return file; in shmem_create_from_data() 27 err = shmem_write(file, 0, data, len); in shmem_create_from_data() 29 fput(file); in shmem_create_from_data() 33 return file; in shmem_create_from_data() 36 struct file *shmem_create_from_object(struct drm_i915_gem_object *obj) in shmem_create_from_object() 39 struct file *file; in shmem_create_from_object() local [all …]
|
| /linux/drivers/infiniband/core/ |
| H A D | user_mad.c | 174 static int hdr_size(struct ib_umad_file *file) in hdr_size() argument 176 return file->use_pkey_index ? sizeof(struct ib_user_mad_hdr) : in hdr_size() 181 static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id) in __get_agent() argument 183 return file->agents_dead ? NULL : file->agent[id]; in __get_agent() 186 static int queue_packet(struct ib_umad_file *file, struct ib_mad_agent *agent, in queue_packet() argument 191 mutex_lock(&file->mutex); in queue_packet() 194 atomic_read(&file->recv_list_size) > MAX_UMAD_RECV_LIST_SIZE) in queue_packet() 200 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet() 201 list_add_tail(&packet->list, &file->recv_list); in queue_packet() 202 atomic_inc(&file->recv_list_size); in queue_packet() [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_events_trigger.c | 152 * @file: The trace_event_file associated with the event in event_triggers_call() 177 event_triggers_call(struct trace_event_file *file, 185 if (list_empty(&file->triggers)) in event_triggers_post_call() 188 list_for_each_entry_rcu(data, &file->triggers, list) { in event_triggers_post_call() 208 bool __trace_trigger_soft_disabled(struct trace_event_file *file) 210 unsigned long eflags = file->flags; in check_user_trigger() 213 event_triggers_call(file, NULL, NULL, NULL); in check_user_trigger() 217 return trace_event_ignore_this_pid(file); in check_user_trigger() 224 * @file: The trace_event_file associated with the event in trigger_start() 235 event_triggers_post_call(struct trace_event_file *file, in trigger_start() 124 event_triggers_call(struct trace_event_file * file,struct trace_buffer * buffer,void * rec,struct ring_buffer_event * event) event_triggers_call() argument 155 __trace_trigger_soft_disabled(struct trace_event_file * file) __trace_trigger_soft_disabled() argument 182 event_triggers_post_call(struct trace_event_file * file,enum event_trigger_type tt) event_triggers_post_call() argument 209 check_user_trigger(struct trace_event_file * file) check_user_trigger() argument 272 event_trigger_regex_open(struct inode * inode,struct file * file) event_trigger_regex_open() argument 309 trigger_process_regex(struct trace_event_file * file,char * buff) trigger_process_regex() argument 334 event_trigger_regex_write(struct file * file,const char __user * ubuf,size_t cnt,loff_t * ppos) event_trigger_regex_write() argument 366 event_trigger_regex_release(struct inode * inode,struct file * file) event_trigger_regex_release() argument 389 event_trigger_release(struct inode * inode,struct file * file) event_trigger_release() argument 543 trace_event_trigger_enable_disable(struct trace_event_file * file,int trigger_enable) trace_event_trigger_enable_disable() argument 579 struct trace_event_file *file; clear_event_triggers() local 602 update_cond_flag(struct trace_event_file * file) update_cond_flag() argument 638 register_trigger(char * glob,struct event_trigger_data * data,struct trace_event_file * file) register_trigger() argument 672 try_unregister_trigger(char * glob,struct event_trigger_data * test,struct trace_event_file * file) try_unregister_trigger() argument 711 unregister_trigger(char * glob,struct event_trigger_data * test,struct trace_event_file * file) unregister_trigger() argument 982 event_trigger_set_filter(struct event_command * cmd_ops,struct trace_event_file * file,char * param,struct event_trigger_data * trigger_data) event_trigger_set_filter() argument 1019 event_trigger_register(struct event_command * cmd_ops,struct trace_event_file * file,char * glob,struct event_trigger_data * trigger_data) event_trigger_register() argument 1037 event_trigger_unregister(struct event_command * cmd_ops,struct trace_event_file * file,char * glob,struct event_trigger_data * trigger_data) event_trigger_unregister() argument 1066 event_trigger_parse(struct event_command * cmd_ops,struct trace_event_file * file,char * glob,char * cmd,char * param_and_filter) event_trigger_parse() argument 1134 set_trigger_filter(char * filter_str,struct event_trigger_data * trigger_data,struct trace_event_file * file) set_trigger_filter() argument 1351 struct trace_event_file *file = data->private_data; traceon_trigger() local 1367 struct trace_event_file *file = data->private_data; traceon_count_func() local 1389 struct trace_event_file *file = data->private_data; traceoff_trigger() local 1405 struct trace_event_file *file = data->private_data; traceoff_count_func() local 1471 struct trace_event_file *file = data->private_data; snapshot_trigger() local 1482 register_snapshot_trigger(char * glob,struct event_trigger_data * data,struct trace_event_file * file) register_snapshot_trigger() argument 1497 unregister_snapshot_trigger(char * glob,struct event_trigger_data * data,struct trace_event_file * file) unregister_snapshot_trigger() argument 1560 struct trace_event_file *file = data->private_data; stacktrace_trigger() local 1685 event_enable_trigger_parse(struct event_command * cmd_ops,struct trace_event_file * file,char * glob,char * cmd,char * param_and_filter) event_enable_trigger_parse() argument 1794 event_enable_register_trigger(char * glob,struct event_trigger_data * data,struct trace_event_file * file) event_enable_register_trigger() argument 1832 event_enable_unregister_trigger(char * glob,struct event_trigger_data * test,struct trace_event_file * file) event_enable_unregister_trigger() argument [all...] |
| H A D | trace_events.c | 72 #define do_for_each_event_file(tr, file) \ argument 74 list_for_each_entry(file, &tr->events, list) 76 #define do_for_each_event_file_safe(tr, file) \ argument 79 list_for_each_entry_safe(file, ___n, &tr->events, list) 703 struct trace_event_file *file = data; in trace_event_reg() local 710 file); in trace_event_reg() 714 file); in trace_event_reg() 742 struct trace_event_file *file; in trace_event_enable_cmd_record() local 747 do_for_each_event_file(tr, file) { in trace_event_enable_cmd_record() 749 if (!(file->flags & EVENT_FILE_FL_ENABLED)) in trace_event_enable_cmd_record() [all …]
|
| /linux/include/linux/ |
| H A D | fs.h | 292 struct file *ia_file; 382 struct file *ki_filp; 404 int (*read_folio)(struct file *, struct folio *); 440 int (*swap_activate)(struct swap_info_struct *sis, struct file *file, 442 void (*swap_deactivate)(struct file *file); 1189 struct file *file; /* backpointer for security modules */ member 1259 struct file { struct 1309 static inline struct file *get_file(struct file *f) in get_file() 1315 struct file *get_file_rcu(struct file __rcu **f); 1316 struct file *get_file_active(struct file **f); [all …]
|
| H A D | fsnotify.h | 116 static inline int fsnotify_file(struct file *file, __u32 mask) in fsnotify_file() argument 124 if (FMODE_FSNOTIFY_NONE(file->f_mode)) in fsnotify_file() 127 return fsnotify_path(&file->f_path, mask); in fsnotify_file() 132 int fsnotify_open_perm_and_set_mode(struct file *file); 137 static inline int fsnotify_file_area_perm(struct file *file, int perm_mask, in fsnotify_file_area_perm() argument 145 lockdep_assert_once(file_write_not_started(file)); in fsnotify_file_area_perm() 153 if (unlikely(FMODE_FSNOTIFY_HSM(file->f_mode))) { in fsnotify_file_area_perm() 154 int ret = fsnotify_pre_content(&file->f_path, ppos, count); in fsnotify_file_area_perm() 161 likely(!FMODE_FSNOTIFY_ACCESS_PERM(file->f_mode))) in fsnotify_file_area_perm() 168 return fsnotify_path(&file->f_path, FS_ACCESS_PERM); in fsnotify_file_area_perm() [all …]
|
| H A D | filelock.h | 52 int (*lm_open_conflict)(struct file *, int); 110 struct file *flc_file; 151 int fcntl_getlk(struct file *, unsigned int, struct flock *); 152 int fcntl_setlk(unsigned int, struct file *, unsigned int, 156 int fcntl_getlk64(struct file *, unsigned int, struct flock64 *); 157 int fcntl_setlk64(unsigned int, struct file *, unsigned int, 161 int fcntl_setlease(unsigned int fd, struct file *filp, int arg); 162 int fcntl_getlease(struct file *filp); 163 int fcntl_setdeleg(unsigned int fd, struct file *filp, struct delegation *deleg); 164 int fcntl_getdeleg(struct file *filp, struct delegation *deleg); [all …]
|
| /linux/tools/objtool/ |
| H A D | check.c | 41 struct instruction *find_insn(struct objtool_file *file, in find_insn() argument 46 hash_for_each_possible(file->insn_hash, insn, hash, sec_offset_hash(sec, offset)) { in find_insn() 54 struct instruction *next_insn_same_sec(struct objtool_file *file, in next_insn_same_sec() argument 58 return find_insn(file, insn->sec, insn->offset + insn->len); in next_insn_same_sec() 67 static struct instruction *next_insn_same_func(struct objtool_file *file, in next_insn_same_func() argument 70 struct instruction *next = next_insn_same_sec(file, insn); in next_insn_same_func() 84 return find_insn(file, func->cfunc->sec, func->cfunc->offset); in next_insn_same_func() 87 static struct instruction *prev_insn_same_sec(struct objtool_file *file, in prev_insn_same_sec() argument 92 return find_insn(file, insn->sec, insn->offset - insn->prev_len); in prev_insn_same_sec() 99 static struct instruction *prev_insn_same_sym(struct objtool_file *file, in prev_insn_same_sym() argument [all …]
|
| /linux/fs/proc/ |
| H A D | inode.c | 235 struct file *file; in close_pdeo() local 241 file = pdeo->file; in close_pdeo() 242 pde->proc_ops->proc_release(file_inode(file), file); in close_pdeo() 275 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek() argument 277 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_llseek() 281 return pde->proc_ops->proc_lseek(file, offset, whence); in proc_reg_llseek() 283 rv = pde->proc_ops->proc_lseek(file, offset, whence); in proc_reg_llseek() 304 static ssize_t pde_read(struct proc_dir_entry *pde, struct file *file, char __user *buf, size_t cou… in pde_read() argument 308 return read(file, buf, count, ppos); in pde_read() 312 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read() argument [all …]
|
| /linux/fs/ceph/ |
| H A D | ioctl.c | 18 static long ceph_ioctl_get_layout(struct file *file, void __user *arg) in ceph_ioctl_get_layout() argument 20 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_get_layout() 24 err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false); in ceph_ioctl_get_layout() 65 static long ceph_ioctl_set_layout(struct file *file, void __user *arg) in ceph_ioctl_set_layout() argument 67 struct inode *inode = file_inode(file); in ceph_ioctl_set_layout() 71 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_set_layout() 79 err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false); in ceph_ioctl_set_layout() 137 static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg) in ceph_ioctl_set_layout_policy() argument 139 struct inode *inode = file_inode(file); in ceph_ioctl_set_layout_policy() 180 static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg) in ceph_ioctl_get_dataloc() argument [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_file.c | 136 struct drm_file *file; in drm_file_alloc() local 139 file = kzalloc_obj(*file); in drm_file_alloc() 140 if (!file) in drm_file_alloc() 144 file->client_id = atomic64_inc_return(&ident); in drm_file_alloc() 145 rcu_assign_pointer(file->pid, get_pid(task_tgid(current))); in drm_file_alloc() 146 file->minor = minor; in drm_file_alloc() 149 file->authenticated = capable(CAP_SYS_ADMIN); in drm_file_alloc() 151 INIT_LIST_HEAD(&file->lhead); in drm_file_alloc() 152 INIT_LIST_HEAD(&file->fbs); in drm_file_alloc() 153 mutex_init(&file->fbs_lock); in drm_file_alloc() [all …]
|
| /linux/tools/perf/util/ |
| H A D | data.c | 51 struct perf_data_file *file = &files[i]; in perf_data__create_dir() local 53 ret = asprintf(&file->path, "%s/data.%d", data->path, i); in perf_data__create_dir() 60 ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR); in perf_data__create_dir() 75 file->fd = ret; in perf_data__create_dir() 115 struct perf_data_file *file; in perf_data__open_dir() local 128 file = realloc(files, (nr + 1) * sizeof(*files)); in perf_data__open_dir() 129 if (!file) in perf_data__open_dir() 132 files = file; in perf_data__open_dir() 133 file = &files[nr++]; in perf_data__open_dir() 135 file->path = strdup(path); in perf_data__open_dir() [all …]
|
| /linux/fs/ocfs2/ |
| H A D | locks.c | 23 static int ocfs2_do_flock(struct file *file, struct inode *inode, in ocfs2_do_flock() argument 27 struct ocfs2_file_private *fp = file->private_data; in ocfs2_do_flock() 58 locks_lock_file_wait(file, &request); in ocfs2_do_flock() 60 ocfs2_file_unlock(file); in ocfs2_do_flock() 63 ret = ocfs2_file_lock(file, level, trylock); in ocfs2_do_flock() 72 ret = locks_lock_file_wait(file, fl); in ocfs2_do_flock() 74 ocfs2_file_unlock(file); in ocfs2_do_flock() 82 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock() argument 85 struct ocfs2_file_private *fp = file->private_data; in ocfs2_do_funlock() 88 ocfs2_file_unlock(file); in ocfs2_do_funlock() [all …]
|
| /linux/drivers/media/pci/ivtv/ |
| H A D | ivtv-ioctl.c | 309 static int ivtv_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_sliced_vbi_out() argument 311 struct ivtv *itv = file2id(file)->itv; in ivtv_g_fmt_sliced_vbi_out() 331 static int ivtv_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_cap() argument 333 struct ivtv_open_id *id = file2id(file); in ivtv_g_fmt_vid_cap() 354 static int ivtv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vbi_cap() argument 356 struct ivtv *itv = file2id(file)->itv; in ivtv_g_fmt_vbi_cap() 372 static int ivtv_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_sliced_vbi_cap() argument 375 struct ivtv_open_id *id = file2id(file); in ivtv_g_fmt_sliced_vbi_cap() 395 static int ivtv_g_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_out() argument 397 struct ivtv_open_id *id = file2id(file); in ivtv_g_fmt_vid_out() [all …]
|
| /linux/scripts/ |
| H A D | leaking_addresses.pl | 268 my $file = '/boot/config-' . `uname -r`; 269 chomp $file; 270 @config_files = ($file, '/boot/config'); 273 foreach my $file (@config_files) { 274 dprint("parsing config file: $file\n"); 275 $value = option_from_file($option, $file); 287 my ($option, $file) = @_; 291 open(my $fh, "<", $file) or return ""; 460 my ($file) = @_; 465 parse_file($file); [all …]
|
| /linux/mm/ |
| H A D | memfd.c | 67 struct folio *memfd_alloc_folio(struct file *memfd, pgoff_t idx) in memfd_alloc_folio() 210 static unsigned int *memfd_file_seals_ptr(struct file *file) in memfd_file_seals_ptr() argument 212 if (shmem_file(file)) in memfd_file_seals_ptr() 213 return &SHMEM_I(file_inode(file))->seals; in memfd_file_seals_ptr() 216 if (is_file_hugepages(file)) in memfd_file_seals_ptr() 217 return &HUGETLBFS_I(file_inode(file))->seals; in memfd_file_seals_ptr() 230 static int memfd_add_seals(struct file *file, unsigned int seals) in memfd_add_seals() argument 232 struct inode *inode = file_inode(file); in memfd_add_seals() 268 if (!(file->f_mode & FMODE_WRITE)) in memfd_add_seals() 275 file_seals = memfd_file_seals_ptr(file); in memfd_add_seals() [all …]
|
| H A D | fadvise.c | 31 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in generic_fadvise() argument 41 inode = file_inode(file); in generic_fadvise() 45 mapping = file->f_mapping; in generic_fadvise() 80 file->f_ra.ra_pages = bdi->ra_pages; in generic_fadvise() 81 spin_lock(&file->f_lock); in generic_fadvise() 82 file->f_mode &= ~(FMODE_RANDOM | FMODE_NOREUSE); in generic_fadvise() 83 spin_unlock(&file->f_lock); in generic_fadvise() 86 spin_lock(&file->f_lock); in generic_fadvise() 87 file->f_mode |= FMODE_RANDOM; in generic_fadvise() 88 spin_unlock(&file->f_lock); in generic_fadvise() [all …]
|
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-ioctl.c | 52 static int cx18_g_fmt_vid_cap(struct file *file, void *fh, in cx18_g_fmt_vid_cap() argument 55 struct cx18_open_id *id = file2id(file); in cx18_g_fmt_vid_cap() 76 static int cx18_try_fmt_vid_cap(struct file *file, void *fh, in cx18_try_fmt_vid_cap() argument 79 struct cx18_open_id *id = file2id(file); in cx18_try_fmt_vid_cap() 121 static int cx18_s_fmt_vid_cap(struct file *file, void *fh, in cx18_s_fmt_vid_cap() argument 124 struct cx18_open_id *id = file2id(file); in cx18_s_fmt_vid_cap() 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, void *fh, in cx18_g_fmt_vbi_cap() argument 264 struct cx18 *cx = file2id(file)->cx; in cx18_g_fmt_vbi_cap() [all …]
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | debugfs.c | 25 static ssize_t write_file_dummy(struct file *file, const char __user *buf, in write_file_dummy() argument 33 static ssize_t lbs_dev_info(struct file *file, char __user *userbuf, in lbs_dev_info() argument 36 struct lbs_private *priv = file->private_data; in lbs_dev_info() 55 static ssize_t lbs_sleepparams_write(struct file *file, in lbs_sleepparams_write() argument 59 struct lbs_private *priv = file->private_data; in lbs_sleepparams_write() 92 static ssize_t lbs_sleepparams_read(struct file *file, char __user *userbuf, in lbs_sleepparams_read() argument 95 struct lbs_private *priv = file->private_data; in lbs_sleepparams_read() 120 static ssize_t lbs_host_sleep_write(struct file *file, in lbs_host_sleep_write() argument 124 struct lbs_private *priv = file->private_data; in lbs_host_sleep_write() 162 static ssize_t lbs_host_sleep_read(struct file *file, char __user *userbuf, in lbs_host_sleep_read() argument [all …]
|