Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/fs/nilfs2/
Dsysfs.c22 #define NILFS_SHOW_TIME(time_t_val, buf) ({ \ argument
109 struct nilfs_root *root, char *buf) in nilfs_snapshot_inodes_count_show()
117 struct nilfs_root *root, char *buf) in nilfs_snapshot_blocks_count_show()
130 struct nilfs_root *root, char *buf) in nilfs_snapshot_README_show()
147 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
159 const char *buf, size_t len) in nilfs_snapshot_attr_store()
231 struct the_nilfs *nilfs, char *buf) in nilfs_mounted_snapshots_README_show()
254 char *buf) in nilfs_checkpoints_checkpoints_number_show()
277 char *buf) in nilfs_checkpoints_snapshots_number_show()
300 char *buf) in nilfs_checkpoints_last_seg_checkpoint_show()
[all …]
/fs/gfs2/
Dsys.c37 char *buf) in gfs2_attr_show()
45 const char *buf, size_t len) in gfs2_attr_store()
60 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show()
66 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
71 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
81 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
89 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
119 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
125 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
145 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store()
[all …]
/fs/xfs/
Dxfs_sysfs.c42 char *buf) in xfs_sysfs_object_show()
53 const char *buf, in xfs_sysfs_object_store()
82 const char *buf, in bug_on_assert_store()
105 char *buf) in bug_on_assert_show()
114 const char *buf, in log_recovery_delay_store()
135 char *buf) in log_recovery_delay_show()
144 const char *buf, in mount_delay_store()
165 char *buf) in mount_delay_show()
174 const char *buf, in always_cow_store()
188 char *buf) in always_cow_show()
[all …]
/fs/
Dstatfs.c55 static int statfs_by_dentry(struct dentry *dentry, struct kstatfs *buf) in statfs_by_dentry()
86 int vfs_statfs(const struct path *path, struct kstatfs *buf) in vfs_statfs()
128 struct statfs buf; in do_statfs_native() local
170 struct statfs64 buf; in do_statfs64() local
192 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
201 SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument
213 SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
222 SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument
266 struct compat_statfs buf; in put_compat_statfs() local
302 COMPAT_SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct compat_statfs __user *, buf) in COMPAT_SYSCALL_DEFINE2() argument
[all …]
Dd_path.c182 char *buf, int buflen) in __d_path()
198 char *buf, int buflen) in d_absolute_path()
219 char **buf, int *buflen) in path_with_deleted()
262 char *d_path(const struct path *path, char *buf, int buflen) in d_path()
329 static char *__dentry_path(struct dentry *d, char *buf, int buflen) in __dentry_path()
374 char *dentry_path_raw(struct dentry *dentry, char *buf, int buflen) in dentry_path_raw()
380 char *dentry_path(struct dentry *dentry, char *buf, int buflen) in dentry_path()
429 SYSCALL_DEFINE2(getcwd, char __user *, buf, unsigned long, size) in SYSCALL_DEFINE2() argument
Dkernel_read_file.c35 int kernel_read_file(struct file *file, loff_t offset, void **buf, in kernel_read_file()
127 int kernel_read_file_from_path(const char *path, loff_t offset, void **buf, in kernel_read_file_from_path()
148 void **buf, size_t buf_size, in kernel_read_file_from_path_initns()
174 int kernel_read_file_from_fd(int fd, loff_t offset, void **buf, in kernel_read_file_from_fd()
Dreaddir.c146 struct readdir_callback *buf = in fillonedir() local
185 struct readdir_callback buf = { in SYSCALL_DEFINE3() local
226 struct getdents_callback *buf = in filldir() local
275 struct getdents_callback buf = { in SYSCALL_DEFINE3() local
314 struct getdents_callback64 *buf = in filldir64() local
358 struct getdents_callback64 buf = { in SYSCALL_DEFINE3() local
404 struct compat_readdir_callback *buf = in compat_fillonedir() local
443 struct compat_readdir_callback buf = { in COMPAT_SYSCALL_DEFINE3() local
478 struct compat_getdents_callback *buf = in compat_filldir() local
526 struct compat_getdents_callback buf = { in COMPAT_SYSCALL_DEFINE3() local
Dsplice.c47 struct pipe_buffer *buf) in page_cache_pipe_buf_try_steal()
92 struct pipe_buffer *buf) in page_cache_pipe_buf_release()
103 struct pipe_buffer *buf) in page_cache_pipe_buf_confirm()
148 struct pipe_buffer *buf) in user_page_pipe_buf_try_steal()
201 struct pipe_buffer *buf = &pipe->bufs[head & mask]; in splice_to_pipe() local
230 ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in add_to_pipe()
349 struct pipe_buffer *buf, struct splice_desc *sd) in pipe_to_sendpage()
405 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in splice_from_pipe_feed() local
450 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in eat_empty_buffer() local
666 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in iter_file_splice_write() local
[all …]
/fs/f2fs/
Dsysfs.c85 struct f2fs_sb_info *sbi, char *buf) in dirty_segments_show()
92 struct f2fs_sb_info *sbi, char *buf) in free_segments_show()
99 struct f2fs_sb_info *sbi, char *buf) in ovp_segments_show()
106 struct f2fs_sb_info *sbi, char *buf) in lifetime_write_kbytes_show()
115 struct f2fs_sb_info *sbi, char *buf) in sb_status_show()
121 struct f2fs_sb_info *sbi, char *buf) in pending_discard_show()
130 struct f2fs_sb_info *sbi, char *buf) in features_show()
183 struct f2fs_sb_info *sbi, char *buf) in current_reserved_blocks_show()
189 struct f2fs_sb_info *sbi, char *buf) in unusable_show()
201 struct f2fs_sb_info *sbi, char *buf) in encoding_show()
[all …]
/fs/ocfs2/dlm/
Ddlmdebug.c85 char buf[DLM_LOCKID_NAME_MAX]; in __dlm_print_one_lock_resource() local
236 static int stringify_lockname(const char *lockname, int locklen, char *buf, in stringify_lockname()
257 char *buf, int len) in stringify_nodemap()
268 static int dump_mle(struct dlm_master_list_entry *mle, char *buf, int len) in dump_mle()
315 char *buf; in dlm_print_one_mle() local
341 static ssize_t debug_read(struct file *file, char __user *buf, in debug_read()
350 static int debug_purgelist_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_purgelist_print()
382 char *buf = NULL; in debug_purgelist_open() local
406 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print()
439 char *buf = NULL; in debug_mle_open() local
[all …]
/fs/quota/
Dquota_tree.c52 char *buf = kmalloc(size, GFP_NOFS); in getdqbuf() local
59 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk()
68 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk()
115 char *buf = getdqbuf(info->dqi_usable_bs); in get_free_dqblk() local
147 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk()
164 static int remove_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in remove_free_dqentry()
211 static int insert_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in insert_free_dqentry()
262 char *buf = getdqbuf(info->dqi_usable_bs); in find_free_dqentry() local
336 char *buf = getdqbuf(info->dqi_usable_bs); in do_insert_tree() local
452 char *buf = getdqbuf(info->dqi_usable_bs); in free_dqentry() local
[all …]
/fs/btrfs/
Dsysfs.c148 struct kobj_attribute *a, char *buf) in btrfs_feature_attr_show()
165 const char *buf, size_t count) in btrfs_feature_attr_store()
298 struct kobj_attribute *ka, char *buf) in rmdir_subvol_show()
305 struct kobj_attribute *a, char *buf) in supported_checksums_show()
326 struct kobj_attribute *ka, char *buf) in send_stream_version_show()
359 char *buf) in btrfs_discardable_bytes_show()
370 char *buf) in btrfs_discardable_extents_show()
381 char *buf) in btrfs_discard_bitmap_bytes_show()
392 char *buf) in btrfs_discard_bytes_saved_show()
403 char *buf) in btrfs_discard_extent_bytes_show()
[all …]
/fs/nfsd/
Dnfsctl.c98 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
119 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
255 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
294 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
351 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle()
433 static ssize_t write_threads(struct file *file, char *buf, size_t size) in write_threads()
477 static ssize_t write_pool_threads(struct file *file, char *buf, size_t size) in write_pool_threads()
544 nfsd_print_version_support(struct nfsd_net *nn, char *buf, int remaining, in nfsd_print_version_support()
564 static ssize_t __write_versions(struct file *file, char *buf, size_t size) in __write_versions()
696 static ssize_t write_versions(struct file *file, char *buf, size_t size) in write_versions()
[all …]
/fs/fuse/
Dcontrol.c34 static ssize_t fuse_conn_abort_write(struct file *file, const char __user *buf, in fuse_conn_abort_write()
47 static ssize_t fuse_conn_waiting_read(struct file *file, char __user *buf, in fuse_conn_waiting_read()
67 static ssize_t fuse_conn_limit_read(struct file *file, char __user *buf, in fuse_conn_limit_read()
76 static ssize_t fuse_conn_limit_write(struct file *file, const char __user *buf, in fuse_conn_limit_write()
103 char __user *buf, size_t len, in fuse_conn_max_background_read()
120 const char __user *buf, in fuse_conn_max_background_write()
145 char __user *buf, size_t len, in fuse_conn_congestion_threshold_read()
162 const char __user *buf, in fuse_conn_congestion_threshold_write()
/fs/romfs/
Dstorage.c24 void *buf, size_t buflen) in romfs_mtd_read()
41 u_char buf[16], *p; in romfs_mtd_strnlen() local
69 u_char buf[17]; in romfs_mtd_strcmp() local
104 void *buf, size_t buflen) in romfs_blk_read()
137 u_char *buf, *p; in romfs_blk_strnlen() local
215 void *buf, size_t buflen) in romfs_dev_read()
/fs/ubifs/
Dscan.c28 static int scan_padding_bytes(void *buf, int len) in scan_padding_bytes()
57 int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_scan_a_node()
182 void *buf, int offs) in ubifs_add_snod()
226 void *buf) in ubifs_scanned_corruption()
257 void *buf = sbuf + offs; in ubifs_scan() local
Dio.c87 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read()
105 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write()
126 int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len) in ubifs_leb_change()
225 int ubifs_check_node(const struct ubifs_info *c, const void *buf, int lnum, in ubifs_check_node()
318 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) in ubifs_pad()
730 int ubifs_wbuf_write_nolock(struct ubifs_wbuf *wbuf, void *buf, int len) in ubifs_wbuf_write_nolock()
949 int ubifs_write_node_hmac(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node_hmac()
990 int ubifs_write_node(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node()
1011 int ubifs_read_node_wbuf(struct ubifs_wbuf *wbuf, void *buf, int type, int len, in ubifs_read_node_wbuf()
1088 int ubifs_read_node(const struct ubifs_info *c, void *buf, int type, int len, in ubifs_read_node()
/fs/dlm/
Dlockspace.c35 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_control_store()
61 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store()
72 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show()
77 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store()
86 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show()
91 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store()
103 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show()
109 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show()
164 char *buf) in dlm_attr_show()
172 const char *buf, size_t len) in dlm_attr_store()
Dconfig.c111 static ssize_t cluster_cluster_name_show(struct config_item *item, char *buf) in cluster_cluster_name_show()
118 const char *buf, size_t len) in cluster_cluster_name_store()
132 const char *buf, size_t len) in cluster_set()
594 static ssize_t comm_nodeid_show(struct config_item *item, char *buf) in comm_nodeid_show()
599 static ssize_t comm_nodeid_store(struct config_item *item, const char *buf, in comm_nodeid_store()
609 static ssize_t comm_local_show(struct config_item *item, char *buf) in comm_local_show()
614 static ssize_t comm_local_store(struct config_item *item, const char *buf, in comm_local_store()
627 static ssize_t comm_addr_store(struct config_item *item, const char *buf, in comm_addr_store()
656 static ssize_t comm_addr_list_show(struct config_item *item, char *buf) in comm_addr_list_show()
701 static ssize_t comm_mark_show(struct config_item *item, char *buf) in comm_mark_show()
[all …]
/fs/ext4/
Dsysfs.c62 static ssize_t session_write_kbytes_show(struct ext4_sb_info *sbi, char *buf) in session_write_kbytes_show()
74 static ssize_t lifetime_write_kbytes_show(struct ext4_sb_info *sbi, char *buf) in lifetime_write_kbytes_show()
88 const char *buf, size_t count) in inode_readahead_blks_store()
105 const char *buf, size_t count) in reserved_clusters_store()
121 const char *buf, size_t count) in trigger_test_error()
136 static ssize_t journal_task_show(struct ext4_sb_info *sbi, char *buf) in journal_task_show()
356 static ssize_t __print_tstamp(char *buf, __le32 lo, __u8 hi) in __print_tstamp()
362 #define print_tstamp(buf, es, tstamp) \ argument
366 struct attribute *attr, char *buf) in ext4_attr_show()
444 const char *buf, size_t len) in ext4_attr_store()
/fs/verity/
Dread_metadata.c17 void __user *buf, u64 offset, int length) in fsverity_read_merkle_tree()
98 void __user *buf, u64 offset, int length) in fsverity_read_descriptor()
119 void __user *buf, u64 offset, int length) in fsverity_read_signature()
158 void __user *buf; in fsverity_ioctl_read_metadata() local
/fs/vboxsf/
Dvboxsf_wrappers.c201 int vboxsf_read(u32 root, u64 handle, u64 offset, u32 *buf_len, u8 *buf) in vboxsf_read()
225 int vboxsf_write(u32 root, u64 handle, u64 offset, u32 *buf_len, u8 *buf) in vboxsf_write()
252 u32 *buf_len, struct shfl_dirinfo *buf, u32 *file_count) in vboxsf_dirinfo()
295 u32 *buf_len, void *buf) in vboxsf_fsinfo()
321 u32 buf_len, u8 *buf) in vboxsf_readlink()
341 struct shfl_string *old_path, struct shfl_fsobjinfo *buf) in vboxsf_symlink()
/fs/ocfs2/cluster/
Dmasklog.c22 static ssize_t mlog_mask_show(u64 mask, char *buf) in mlog_mask_show()
36 static ssize_t mlog_mask_store(u64 mask, const char *buf, size_t count) in mlog_mask_store()
128 char *buf) in mlog_show()
136 const char *buf, size_t count) in mlog_store()
/fs/cifs/
Dsmb2file.c39 __u32 *oplock, FILE_ALL_INFO *buf) in smb2_open_file()
121 struct smb2_lock_element *buf, *cur; in smb2_unlock_range() local
221 struct smb2_lock_element *buf, unsigned int max_num) in smb2_push_mand_fdlocks()
265 struct smb2_lock_element *buf; in smb2_push_mandatory_locks() local
/fs/reiserfs/
Dprints.c79 static int scnprintf_le_key(char *buf, size_t size, struct reiserfs_key *key) in scnprintf_le_key()
91 static int scnprintf_cpu_key(char *buf, size_t size, struct cpu_key *key) in scnprintf_cpu_key()
102 static int scnprintf_de_head(char *buf, size_t size, in scnprintf_de_head()
116 static int scnprintf_item_head(char *buf, size_t size, struct item_head *ih) in scnprintf_item_head()
137 static int scnprintf_direntry(char *buf, size_t size, in scnprintf_direntry()
148 static int scnprintf_block_head(char *buf, size_t size, struct buffer_head *bh) in scnprintf_block_head()
155 static int scnprintf_buffer_head(char *buf, size_t size, struct buffer_head *bh) in scnprintf_buffer_head()
168 static int scnprintf_disk_child(char *buf, size_t size, struct disk_child *dc) in scnprintf_disk_child()

12345678910>>...14