Home
last modified time | relevance | path

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

12345678910>>...18

/fs/nilfs2/
Dsysfs.c96 struct nilfs_root *root, char *buf) in nilfs_snapshot_inodes_count_show()
104 struct nilfs_root *root, char *buf) in nilfs_snapshot_blocks_count_show()
117 struct nilfs_root *root, char *buf) in nilfs_snapshot_README_show()
135 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
147 const char *buf, size_t len) in nilfs_snapshot_attr_store()
219 struct the_nilfs *nilfs, char *buf) in nilfs_mounted_snapshots_README_show()
243 char *buf) in nilfs_checkpoints_checkpoints_number_show()
266 char *buf) in nilfs_checkpoints_snapshots_number_show()
289 char *buf) in nilfs_checkpoints_last_seg_checkpoint_show()
303 char *buf) in nilfs_checkpoints_next_checkpoint_show()
[all …]
/fs/xfs/
Dxfs_sysfs.c43 char *buf) in xfs_sysfs_object_show()
54 const char *buf, in xfs_sysfs_object_store()
84 const char *buf, in bug_on_assert_store()
107 char *buf) in bug_on_assert_show()
116 const char *buf, in log_recovery_delay_store()
137 char *buf) in log_recovery_delay_show()
146 const char *buf, in mount_delay_store()
167 char *buf) in mount_delay_show()
176 const char *buf, in always_cow_store()
190 char *buf) in always_cow_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 status_show(struct gfs2_sbd *sdp, char *buf) in status_show()
141 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
146 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
156 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
164 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
194 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
200 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
[all …]
/fs/btrfs/
Dsysfs.c177 struct kobj_attribute *a, char *buf) in btrfs_feature_attr_show()
194 const char *buf, size_t count) in btrfs_feature_attr_store()
349 struct kobj_attribute *ka, char *buf) in rmdir_subvol_show()
356 struct kobj_attribute *a, char *buf) in supported_checksums_show()
377 struct kobj_attribute *ka, char *buf) in send_stream_version_show()
395 char *buf) in supported_rescue_options_show()
410 char *buf) in supported_sectorsizes_show()
424 static ssize_t acl_show(struct kobject *kobj, struct kobj_attribute *a, char *buf) in acl_show()
431 struct kobj_attribute *a, char *buf) in temp_fsid_supported_show()
466 char *buf) in btrfs_discardable_bytes_show()
[all …]
/fs/f2fs/
Dsysfs.c102 struct f2fs_sb_info *sbi, char *buf) in dirty_segments_show()
109 struct f2fs_sb_info *sbi, char *buf) in free_segments_show()
116 struct f2fs_sb_info *sbi, char *buf) in ovp_segments_show()
123 struct f2fs_sb_info *sbi, char *buf) in lifetime_write_kbytes_show()
132 struct f2fs_sb_info *sbi, char *buf) in sb_status_show()
138 struct f2fs_sb_info *sbi, char *buf) in cp_status_show()
144 struct f2fs_sb_info *sbi, char *buf) in pending_discard_show()
153 struct f2fs_sb_info *sbi, char *buf) in issued_discard_show()
162 struct f2fs_sb_info *sbi, char *buf) in queued_discard_show()
171 struct f2fs_sb_info *sbi, char *buf) in undiscard_blks_show()
[all …]
/fs/bcachefs/
Dprintbuf.c13 static inline unsigned __printbuf_linelen(struct printbuf *buf, unsigned pos) in __printbuf_linelen()
18 static inline unsigned printbuf_linelen(struct printbuf *buf) in printbuf_linelen()
26 static inline unsigned cur_tabstop(struct printbuf *buf) in cur_tabstop()
59 char *buf = krealloc(out->buf, new_size, !out->atomic ? GFP_KERNEL : GFP_NOWAIT); in bch2_printbuf_make_room() local
199 const char *bch2_printbuf_str(const struct printbuf *buf) in bch2_printbuf_str()
216 void bch2_printbuf_exit(struct printbuf *buf) in bch2_printbuf_exit()
224 void bch2_printbuf_tabstops_reset(struct printbuf *buf) in bch2_printbuf_tabstops_reset()
229 void bch2_printbuf_tabstop_pop(struct printbuf *buf) in bch2_printbuf_tabstop_pop()
245 int bch2_printbuf_tabstop_push(struct printbuf *buf, unsigned spaces) in bch2_printbuf_tabstop_push()
268 void bch2_printbuf_indent_add(struct printbuf *buf, unsigned spaces) in bch2_printbuf_indent_add()
[all …]
Djournal.c54 struct journal_buf *buf = j->buf + i; in bch2_journal_buf_to_text() local
103 struct journal_buf *buf = NULL; in journal_seq_to_buf() local
141 struct printbuf buf = PRINTBUF; in journal_error_check_stuck() local
231 struct journal_buf *buf = journal_cur_buf(j); in __journal_entry_close() local
323 struct journal_buf *buf = journal_cur_buf(j); in journal_entry_want_write() local
352 struct journal_buf *buf = j->buf + in journal_entry_open() local
496 struct journal_buf *buf; in __journal_res_get() local
560 struct printbuf buf = PRINTBUF; in __journal_res_get() local
613 struct printbuf buf = PRINTBUF; in bch2_journal_res_get_slowpath() local
675 struct journal_buf *buf; in bch2_journal_flush_seq_async() local
[all …]
Ddebug.c171 struct printbuf buf = PRINTBUF; in __bch2_btree_verify() local
312 struct printbuf buf; member
366 static ssize_t bch2_read_btree(struct file *file, char __user *buf, in bch2_read_btree()
396 static ssize_t bch2_read_btree_formats(struct file *file, char __user *buf, in bch2_read_btree_formats()
430 static ssize_t bch2_read_bfloat_failed(struct file *file, char __user *buf, in bch2_read_bfloat_failed()
499 static ssize_t bch2_cached_btree_nodes_read(struct file *file, char __user *buf, in bch2_cached_btree_nodes_read()
577 static ssize_t bch2_btree_transactions_read(struct file *file, char __user *buf, in bch2_btree_transactions_read()
638 static ssize_t bch2_journal_pins_read(struct file *file, char __user *buf, in bch2_journal_pins_read()
678 static ssize_t bch2_btree_updates_read(struct file *file, char __user *buf, in bch2_btree_updates_read()
738 static ssize_t btree_transaction_stats_read(struct file *file, char __user *buf, in btree_transaction_stats_read()
[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
269 struct compat_statfs buf; in put_compat_statfs() local
305 COMPAT_SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct compat_statfs __user *, buf) in COMPAT_SYSCALL_DEFINE2() argument
[all …]
Dd_path.c13 char *buf; member
217 char *buf, int buflen) in __d_path()
228 char *buf, int buflen) in d_absolute_path()
265 char *d_path(const struct path *path, char *buf, int buflen) in d_path()
362 char *dentry_path_raw(const struct dentry *dentry, char *buf, int buflen) in dentry_path_raw()
371 char *dentry_path(const struct dentry *dentry, char *buf, int buflen) in dentry_path()
412 SYSCALL_DEFINE2(getcwd, char __user *, buf, unsigned long, size) in SYSCALL_DEFINE2() argument
Dkernel_read_file.c35 ssize_t kernel_read_file(struct file *file, loff_t offset, void **buf, in kernel_read_file()
127 ssize_t 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 ssize_t kernel_read_file_from_fd(int fd, loff_t offset, void **buf, in kernel_read_file_from_fd()
/fs/ocfs2/dlm/
Ddlmdebug.c83 char buf[DLM_LOCKID_NAME_MAX]; in __dlm_print_one_lock_resource() local
234 static int stringify_lockname(const char *lockname, int locklen, char *buf, in stringify_lockname()
255 char *buf, int len) in stringify_nodemap()
266 static int dump_mle(struct dlm_master_list_entry *mle, char *buf, int len) in dump_mle()
313 char *buf; in dlm_print_one_mle() local
339 static ssize_t debug_read(struct file *file, char __user *buf, in debug_read()
348 static int debug_purgelist_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_purgelist_print()
380 char *buf = NULL; in debug_purgelist_open() local
404 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print()
437 char *buf = NULL; in debug_mle_open() local
[all …]
/fs/quota/
Dquota_tree.c56 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk()
65 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk()
117 char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL); in get_free_dqblk() local
149 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk()
166 static int remove_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in remove_free_dqentry()
213 static int insert_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in insert_free_dqentry()
264 char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL); in find_free_dqentry() local
338 char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL); in do_insert_tree() local
483 char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL); in free_dqentry() local
547 char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL); in remove_tree() local
[all …]
/fs/zonefs/
Dsysfs.c24 struct attribute *attr, char *buf) in zonefs_sysfs_attr_show()
37 static ssize_t max_wro_seq_files_show(struct zonefs_sb_info *sbi, char *buf) in max_wro_seq_files_show()
43 static ssize_t nr_wro_seq_files_show(struct zonefs_sb_info *sbi, char *buf) in nr_wro_seq_files_show()
49 static ssize_t max_active_seq_files_show(struct zonefs_sb_info *sbi, char *buf) in max_active_seq_files_show()
55 static ssize_t nr_active_seq_files_show(struct zonefs_sb_info *sbi, char *buf) in nr_active_seq_files_show()
/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/ext4/
Dsysfs.c65 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()
85 const char *buf, size_t count) in inode_readahead_blks_store()
102 const char *buf, size_t count) in reserved_clusters_store()
118 const char *buf, size_t count) in trigger_test_error()
133 static ssize_t journal_task_show(struct ext4_sb_info *sbi, char *buf) in journal_task_show()
368 static ssize_t __print_tstamp(char *buf, __le32 lo, __u8 hi) in __print_tstamp()
374 #define print_tstamp(buf, es, tstamp) \ argument
378 struct ext4_sb_info *sbi, char *buf) in ext4_generic_attr_show()
411 struct attribute *attr, char *buf) in ext4_attr_show()
[all …]
/fs/nfsd/
Dnfsctl.c101 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
122 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
220 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
260 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
318 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle()
402 static ssize_t write_threads(struct file *file, char *buf, size_t size) in write_threads()
449 static ssize_t write_pool_threads(struct file *file, char *buf, size_t size) in write_pool_threads()
525 nfsd_print_version_support(struct nfsd_net *nn, char *buf, int remaining, in nfsd_print_version_support()
545 static ssize_t __write_versions(struct file *file, char *buf, size_t size) in __write_versions()
681 static ssize_t write_versions(struct file *file, char *buf, size_t size) in write_versions()
[all …]
/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/erofs/
Ddata.c11 void erofs_unmap_metabuf(struct erofs_buf *buf) in erofs_unmap_metabuf()
19 void erofs_put_metabuf(struct erofs_buf *buf) in erofs_put_metabuf()
28 void *erofs_bread(struct erofs_buf *buf, erofs_off_t offset, in erofs_bread()
60 void erofs_init_metabuf(struct erofs_buf *buf, struct super_block *sb) in erofs_init_metabuf()
75 void *erofs_read_metabuf(struct erofs_buf *buf, struct super_block *sb, in erofs_read_metabuf()
116 struct erofs_buf buf = __EROFS_BUF_INITIALIZER; in erofs_map_blocks() local
326 struct erofs_buf buf = __EROFS_BUF_INITIALIZER; in erofs_iomap_begin() local
349 struct erofs_buf buf = { in erofs_iomap_end() local
/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()
244 int ubifs_check_node(const struct ubifs_info *c, const void *buf, int len, in ubifs_check_node()
328 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) in ubifs_pad()
740 int ubifs_wbuf_write_nolock(struct ubifs_wbuf *wbuf, void *buf, int len) in ubifs_wbuf_write_nolock()
957 int ubifs_write_node_hmac(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node_hmac()
998 int ubifs_write_node(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node()
1019 int ubifs_read_node_wbuf(struct ubifs_wbuf *wbuf, void *buf, int type, int len, in ubifs_read_node_wbuf()
1096 int ubifs_read_node(const struct ubifs_info *c, void *buf, int type, int len, in ubifs_read_node()
/fs/dlm/
Dlockspace.c33 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_control_store()
59 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store()
70 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show()
75 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store()
84 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show()
89 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store()
101 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show()
107 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show()
162 char *buf) in dlm_attr_show()
170 const char *buf, size_t len) in dlm_attr_store()
/fs/smb/client/
Dreparse.c27 struct reparse_symlink_data_buffer *buf = NULL; in smb2_create_reparse_symlink() local
245 static int nfs_set_reparse_buf(struct reparse_posix_data *buf, in nfs_set_reparse_buf()
287 __u8 buf[sizeof(*p) + sizeof(__le64)]; in mknod_nfs() local
310 static int wsl_set_reparse_buf(struct reparse_data_buffer *buf, in wsl_set_reparse_buf()
421 struct reparse_data_buffer buf; in mknod_wsl() local
477 static int parse_reparse_posix(struct reparse_posix_data *buf, in parse_reparse_posix()
538 int smb2_parse_native_symlink(char **target, const char *buf, unsigned int len, in smb2_parse_native_symlink()
631 int parse_reparse_point(struct reparse_data_buffer *buf, in parse_reparse_point()
668 struct reparse_data_buffer *buf; in smb2_parse_reparse_point() local
748 struct reparse_posix_data *buf = data->reparse.posix; in posix_reparse_to_fattr() local
Dsmbencrypt.c30 #define CVAL(buf,pos) (((unsigned char *)(buf))[pos]) argument
31 #define SSVALX(buf,pos,val) (CVAL(buf,pos)=(val)&0xFF,CVAL(buf,pos+1)=(val)>>8) argument
32 #define SSVAL(buf,pos,val) SSVALX((buf),(pos),((__u16)(val))) argument
/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()
157 void __user *buf; in fsverity_ioctl_read_metadata() local

12345678910>>...18