Home
last modified time | relevance | path

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

12345678910>>...18

/fs/nilfs2/
A Dsysfs.c266 char *buf) in nilfs_checkpoints_snapshots_number_show()
303 char *buf) in nilfs_checkpoints_next_checkpoint_show()
365 char *buf) in nilfs_segments_blocks_per_segment_show()
462 char *buf) in nilfs_segctor_last_seg_sequence_show()
476 char *buf) in nilfs_segctor_last_seg_checkpoint_show()
490 char *buf) in nilfs_segctor_current_seg_sequence_show()
518 char *buf) in nilfs_segctor_next_full_seg_show()
532 char *buf) in nilfs_segctor_next_pseg_offset_show()
546 char *buf) in nilfs_segctor_next_checkpoint_show()
560 char *buf) in nilfs_segctor_last_seg_write_time_show()
[all …]
/fs/xfs/
A Dxfs_sysfs.c44 char *buf) in xfs_sysfs_object_show()
108 char *buf) in bug_on_assert_show()
138 char *buf) in log_recovery_delay_show()
168 char *buf) in mount_delay_show()
191 char *buf) in always_cow_show()
226 char *buf) in pwork_threads_show()
258 char *buf) in larp_show()
284 char *buf) in bload_leaf_slack_show()
310 char *buf) in bload_node_slack_show()
350 char *buf) in stats_show()
[all …]
/fs/gfs2/
A 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()
403 static ssize_t block_show(struct gfs2_sbd *sdp, char *buf) in block_show()
436 static ssize_t wdack_show(struct gfs2_sbd *sdp, char *buf) in wdack_show()
562 static ssize_t jid_show(struct gfs2_sbd *sdp, char *buf) in jid_show()
[all …]
/fs/bcachefs/
A 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()
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()
268 void bch2_printbuf_indent_add(struct printbuf *buf, unsigned spaces) in bch2_printbuf_indent_add()
322 void bch2_prt_newline(struct printbuf *buf) in bch2_prt_newline()
376 static void __prt_tab_rjust(struct printbuf *buf) in __prt_tab_rjust()
[all …]
A Drecovery.c448 struct printbuf buf = PRINTBUF; in bch2_journal_replay() local
599 struct printbuf buf = PRINTBUF; in read_btree_roots() local
669 struct printbuf buf = PRINTBUF; in check_version_upgrade() local
709 struct printbuf buf = PRINTBUF; in check_version_upgrade() local
799 struct printbuf buf = PRINTBUF; in bch2_fs_recovery() local
807 struct printbuf buf = PRINTBUF; in bch2_fs_recovery() local
1122 struct printbuf buf = PRINTBUF; in bch2_fs_recovery() local
1153 struct printbuf buf = PRINTBUF; in bch2_fs_recovery() local
A Djournal.c48 struct journal_buf *buf = j->buf + i; in bch2_journal_buf_to_text() local
108 struct journal_buf *buf = NULL; in journal_seq_to_buf() local
143 struct printbuf buf = PRINTBUF; in journal_error_check_stuck() local
390 struct journal_buf *buf = j->buf + in journal_entry_open() local
566 void *buf = kvmalloc(buf_size, GFP_NOFS); in journal_buf_prealloc() local
588 struct journal_buf *buf; in __journal_res_get() local
655 struct printbuf buf = PRINTBUF; in __journal_res_get() local
672 struct printbuf buf = PRINTBUF; in __journal_res_get() local
754 struct printbuf buf = PRINTBUF; in bch2_journal_res_get_slowpath() local
816 struct journal_buf *buf; in bch2_journal_flush_seq_async() local
[all …]
A Ddebug.c175 struct printbuf buf = PRINTBUF; in __bch2_btree_verify() local
361 static ssize_t bch2_read_btree(struct file *file, char __user *buf, in bch2_read_btree()
391 static ssize_t bch2_read_btree_formats(struct file *file, char __user *buf, in bch2_read_btree_formats()
425 static ssize_t bch2_read_bfloat_failed(struct file *file, char __user *buf, in bch2_read_bfloat_failed()
498 static ssize_t bch2_cached_btree_nodes_read(struct file *file, char __user *buf, in bch2_cached_btree_nodes_read()
576 static ssize_t bch2_btree_transactions_read(struct file *file, char __user *buf, in bch2_btree_transactions_read()
646 static ssize_t bch2_journal_pins_read(struct file *file, char __user *buf, in bch2_journal_pins_read()
686 static ssize_t bch2_btree_updates_read(struct file *file, char __user *buf, in bch2_btree_updates_read()
860 static ssize_t bch2_simple_print(struct file *file, char __user *buf, in bch2_simple_print()
886 static ssize_t bch2_btree_deadlock_read(struct file *file, char __user *buf, in bch2_btree_deadlock_read()
[all …]
/fs/btrfs/
A Dsysfs.c394 char *buf) in supported_rescue_options_show()
409 char *buf) in supported_sectorsizes_show()
466 char *buf) in btrfs_discardable_bytes_show()
521 char *buf) in btrfs_discard_iops_limit_show()
552 char *buf) in btrfs_discard_kbps_limit_show()
582 char *buf) in btrfs_discard_max_discard_size_show()
947 char *buf) in btrfs_sinfo_dynamic_reclaim_show()
980 char *buf) in btrfs_sinfo_periodic_reclaim_show()
2394 char *buf) in qgroup_enabled_show()
2409 char *buf) in qgroup_mode_show()
[all …]
/fs/f2fs/
A 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()
419 const char *buf, size_t count) in __sbi_store()
876 const char *buf, size_t count) in f2fs_sbi_store()
904 const char *buf, size_t len) in f2fs_attr_store()
931 const char *buf, size_t len) in f2fs_base_attr_store()
979 const char *buf, size_t count) in f2fs_tune_store()
[all …]
/fs/
A 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()
126 struct statfs buf; in do_statfs_native() local
168 struct statfs64 buf; in do_statfs64() local
190 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
211 SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
220 SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument
267 struct compat_statfs buf; in put_compat_statfs() local
303 COMPAT_SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct compat_statfs __user *, buf) in COMPAT_SYSCALL_DEFINE2() argument
312 COMPAT_SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct compat_statfs __user *, buf) in COMPAT_SYSCALL_DEFINE2() argument
[all …]
A 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
A 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/
A Ddlmdebug.c84 char buf[DLM_LOCKID_NAME_MAX]; in __dlm_print_one_lock_resource() local
203 char *buf, int len) in stringify_nodemap()
214 static int dump_mle(struct dlm_master_list_entry *mle, char *buf, int len) in dump_mle()
261 char *buf; in dlm_print_one_mle() local
287 static ssize_t debug_read(struct file *file, char __user *buf, in debug_read()
328 char *buf = NULL; in debug_purgelist_open() local
352 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print()
385 char *buf = NULL; in debug_mle_open() local
562 void *buf; in debug_lockres_open() local
608 static int debug_state_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_state_print()
[all …]
/fs/quota/
A Dquota_tree.c56 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk()
117 char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL); in get_free_dqblk() local
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
625 char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL); in find_block_dqentry() local
663 char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL); in find_tree_dqentry() local
[all …]
/fs/zonefs/
A 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/
A Dcontrol.c35 static ssize_t fuse_conn_abort_write(struct file *file, const char __user *buf, in fuse_conn_abort_write()
48 static ssize_t fuse_conn_waiting_read(struct file *file, char __user *buf, in fuse_conn_waiting_read()
68 static ssize_t fuse_conn_limit_read(struct file *file, char __user *buf, in fuse_conn_limit_read()
77 static ssize_t fuse_conn_limit_write(struct file *file, const char __user *buf, in fuse_conn_limit_write()
104 char __user *buf, size_t len, in fuse_conn_max_background_read()
121 const char __user *buf, in fuse_conn_max_background_write()
146 char __user *buf, size_t len, in fuse_conn_congestion_threshold_read()
163 const char __user *buf, in fuse_conn_congestion_threshold_write()
/fs/nfsd/
A Dnfsctl.c217 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
257 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
315 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle()
399 static ssize_t write_threads(struct file *file, char *buf, size_t size) in write_threads()
522 nfsd_print_version_support(struct nfsd_net *nn, char *buf, int remaining, in nfsd_print_version_support()
542 static ssize_t __write_versions(struct file *file, char *buf, size_t size) in __write_versions()
678 static ssize_t write_versions(struct file *file, char *buf, size_t size) in write_versions()
692 static ssize_t __write_ports_names(char *buf, struct net *net) in __write_ports_names()
779 static ssize_t __write_ports(struct file *file, char *buf, size_t size, in __write_ports()
837 static ssize_t write_ports(struct file *file, char *buf, size_t size) in write_ports()
[all …]
/fs/ext4/
A Dsysfs.c65 static ssize_t session_write_kbytes_show(struct ext4_sb_info *sbi, char *buf) in session_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()
372 static ssize_t __print_tstamp(char *buf, __le32 lo, __u8 hi) in __print_tstamp()
378 #define print_tstamp(buf, es, tstamp) \ argument
382 struct ext4_sb_info *sbi, char *buf) in ext4_generic_attr_show()
415 struct attribute *attr, char *buf) in ext4_attr_show()
453 const char *buf, size_t len) in ext4_generic_attr_store()
[all …]
/fs/romfs/
A 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/
A 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, bool need_kmap) in erofs_bread()
52 int 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()
88 struct erofs_buf buf = __EROFS_BUF_INITIALIZER; in erofs_map_blocks() local
313 struct erofs_buf buf = __EROFS_BUF_INITIALIZER; in erofs_iomap_begin() local
334 struct erofs_buf buf = { in erofs_iomap_end() local
/fs/dlm/
A Dconfig.c108 const char *buf, size_t len) in cluster_cluster_name_store()
117 static ssize_t cluster_tcp_port_show(struct config_item *item, char *buf) in cluster_tcp_port_show()
134 const char *buf, size_t len) in cluster_tcp_port_store()
158 const char *buf, size_t len) in cluster_set()
632 static ssize_t comm_nodeid_show(struct config_item *item, char *buf) in comm_nodeid_show()
650 static ssize_t comm_local_show(struct config_item *item, char *buf) in comm_local_show()
668 static ssize_t comm_addr_store(struct config_item *item, const char *buf, in comm_addr_store()
697 static ssize_t comm_addr_list_show(struct config_item *item, char *buf) in comm_addr_list_show()
742 static ssize_t comm_mark_show(struct config_item *item, char *buf) in comm_mark_show()
785 static ssize_t node_nodeid_show(struct config_item *item, char *buf) in node_nodeid_show()
[all …]
A 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/ubifs/
A 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
A 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/verity/
A Dread_metadata.c18 void __user *buf, u64 offset, int length) in fsverity_read_merkle_tree()
99 void __user *buf, u64 offset, int length) in fsverity_read_descriptor()
120 void __user *buf, u64 offset, int length) in fsverity_read_signature()
158 void __user *buf; in fsverity_ioctl_read_metadata() local

Completed in 75 milliseconds

12345678910>>...18