Home
last modified time | relevance | path

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

12345678910>>...13

/fs/nilfs2/
Dsysfs.c31 #define NILFS_SHOW_TIME(time_t_val, buf) ({ \ argument
120 struct nilfs_root *root, char *buf) in nilfs_snapshot_inodes_count_show()
128 struct nilfs_root *root, char *buf) in nilfs_snapshot_blocks_count_show()
141 struct nilfs_root *root, char *buf) in nilfs_snapshot_README_show()
158 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
170 const char *buf, size_t len) in nilfs_snapshot_attr_store()
242 struct the_nilfs *nilfs, char *buf) in nilfs_mounted_snapshots_README_show()
265 char *buf) in nilfs_checkpoints_checkpoints_number_show()
288 char *buf) in nilfs_checkpoints_snapshots_number_show()
311 char *buf) in nilfs_checkpoints_last_seg_checkpoint_show()
[all …]
/fs/gfs2/
Dsys.c39 char *buf) in gfs2_attr_show()
47 const char *buf, size_t len) in gfs2_attr_store()
62 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show()
68 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
84 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
94 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
102 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
132 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
138 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
157 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store()
[all …]
/fs/xfs/
Dxfs_sysfs.c56 char *buf) in xfs_sysfs_object_show()
67 const char *buf, in xfs_sysfs_object_store()
98 const char *buf, in fail_writes_store()
122 char *buf) in fail_writes_show()
151 const char *buf, in log_recovery_delay_store()
172 char *buf) in log_recovery_delay_show()
204 char *buf) in stats_show()
215 const char *buf, in stats_clear_store()
259 char *buf) in log_head_lsn_show()
277 char *buf) in log_tail_lsn_show()
[all …]
/fs/nfsd/
Dnfsctl.c94 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
115 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
251 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
290 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
347 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle()
429 static ssize_t write_threads(struct file *file, char *buf, size_t size) in write_threads()
473 static ssize_t write_pool_threads(struct file *file, char *buf, size_t size) in write_pool_threads()
539 static ssize_t __write_versions(struct file *file, char *buf, size_t size) in __write_versions()
669 static ssize_t write_versions(struct file *file, char *buf, size_t size) in write_versions()
683 static ssize_t __write_ports_names(char *buf, struct net *net) in __write_ports_names()
[all …]
/fs/ocfs2/dlm/
Ddlmdebug.c100 char buf[DLM_LOCKID_NAME_MAX]; in __dlm_print_one_lock_resource() local
251 static int stringify_lockname(const char *lockname, int locklen, char *buf, in stringify_lockname()
272 char *buf, int len) in stringify_nodemap()
283 static int dump_mle(struct dlm_master_list_entry *mle, char *buf, int len) in dump_mle()
330 char *buf; in dlm_print_one_mle() local
356 static ssize_t debug_read(struct file *file, char __user *buf, in debug_read()
365 static int debug_purgelist_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_purgelist_print()
397 char *buf = NULL; in debug_purgelist_open() local
421 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print()
454 char *buf = NULL; in debug_mle_open() local
[all …]
/fs/quota/
Dquota_tree.c51 char *buf = kmalloc(size, GFP_NOFS); in getdqbuf() local
58 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk()
67 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk()
85 char *buf = getdqbuf(info->dqi_usable_bs); in get_free_dqblk() local
114 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk()
131 static int remove_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in remove_free_dqentry()
178 static int insert_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in insert_free_dqentry()
229 char *buf = getdqbuf(info->dqi_usable_bs); in find_free_dqentry() local
300 char *buf = getdqbuf(info->dqi_usable_bs); in do_insert_tree() local
416 char *buf = getdqbuf(info->dqi_usable_bs); in free_dqentry() local
[all …]
/fs/ncpfs/
Dncpsign_kernel.c23 #define BVAL(buf,pos) (((const __u8 *)(buf))[pos]) argument
24 #define PVAL(buf,pos) ((unsigned)BVAL(buf,pos)) argument
25 #define BSET(buf,pos,val) (((__u8 *)(buf))[pos] = (val)) argument
28 WVAL_LH(const __u8 * buf, int pos) in WVAL_LH()
33 DVAL_LH(const __u8 * buf, int pos) in DVAL_LH()
38 WSET_LH(__u8 * buf, int pos, __u16 val) in WSET_LH()
44 DSET_LH(__u8 * buf, int pos, __u32 val) in DSET_LH()
/fs/
Dstatfs.c49 static int statfs_by_dentry(struct dentry *dentry, struct kstatfs *buf) in statfs_by_dentry()
66 int vfs_statfs(struct path *path, struct kstatfs *buf) in vfs_statfs()
108 struct statfs buf; in do_statfs_native() local
150 struct statfs64 buf; in do_statfs64() local
172 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
181 SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument
193 SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
202 SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument
Dpipe.c126 struct pipe_buffer *buf) in anon_pipe_buf_release()
142 struct pipe_buffer *buf) in anon_pipe_buf_steal()
168 struct pipe_buffer *buf) in generic_pipe_buf_steal()
196 void generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in generic_pipe_buf_get()
212 struct pipe_buffer *buf) in generic_pipe_buf_confirm()
227 struct pipe_buffer *buf) in generic_pipe_buf_release()
269 struct pipe_buffer *buf = pipe->bufs + curbuf; in pipe_read() local
383 struct pipe_buffer *buf = pipe->bufs + lastbuf; in pipe_write() local
415 struct pipe_buffer *buf = pipe->bufs + newbuf; in pipe_write() local
496 int count, buf, nrbufs; in pipe_ioctl() local
[all …]
Dsplice.c44 struct pipe_buffer *buf) in page_cache_pipe_buf_steal()
89 struct pipe_buffer *buf) in page_cache_pipe_buf_release()
100 struct pipe_buffer *buf) in page_cache_pipe_buf_confirm()
146 struct pipe_buffer *buf) in user_page_pipe_buf_steal()
199 struct pipe_buffer *buf = pipe->bufs + newbuf; in splice_to_pipe() local
227 ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in add_to_pipe()
338 struct pipe_buffer *buf) in generic_pipe_buf_nosteal()
369 ssize_t kernel_write(struct file *file, const char *buf, size_t count, in kernel_write()
456 struct pipe_buffer *buf, struct splice_desc *sd) in pipe_to_sendpage()
508 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; in splice_from_pipe_feed() local
[all …]
/fs/fuse/
Dcontrol.c33 static ssize_t fuse_conn_abort_write(struct file *file, const char __user *buf, in fuse_conn_abort_write()
44 static ssize_t fuse_conn_waiting_read(struct file *file, char __user *buf, in fuse_conn_waiting_read()
64 static ssize_t fuse_conn_limit_read(struct file *file, char __user *buf, in fuse_conn_limit_read()
73 static ssize_t fuse_conn_limit_write(struct file *file, const char __user *buf, in fuse_conn_limit_write()
100 char __user *buf, size_t len, in fuse_conn_max_background_read()
117 const char __user *buf, in fuse_conn_max_background_write()
137 char __user *buf, size_t len, in fuse_conn_congestion_threshold_read()
154 const char __user *buf, in fuse_conn_congestion_threshold_write()
/fs/exofs/
Dsys.c34 char *buf) in odev_attr_show()
43 const char *buf, size_t len) in odev_attr_store()
59 static ssize_t osdname_show(struct exofs_dev *edp, char *buf) in osdname_show()
67 static ssize_t systemid_show(struct exofs_dev *edp, char *buf) in systemid_show()
76 static ssize_t uri_show(struct exofs_dev *edp, char *buf) in uri_show()
81 static ssize_t uri_store(struct exofs_dev *edp, const char *buf, size_t len) in uri_store()
/fs/romfs/
Dstorage.c28 void *buf, size_t buflen) in romfs_mtd_read()
45 u_char buf[16], *p; in romfs_mtd_strnlen() local
73 u_char buf[17]; in romfs_mtd_strcmp() local
108 void *buf, size_t buflen) in romfs_blk_read()
141 u_char *buf, *p; in romfs_blk_strnlen() local
219 void *buf, size_t buflen) in romfs_dev_read()
/fs/btrfs/
Dsysfs.c94 struct kobj_attribute *a, char *buf) in btrfs_feature_attr_show()
111 const char *buf, size_t count) in btrfs_feature_attr_store()
230 static ssize_t btrfs_show_u64(u64 *value_ptr, spinlock_t *lock, char *buf) in btrfs_show_u64()
242 struct kobj_attribute *ka, char *buf) in global_rsv_size_show()
251 struct kobj_attribute *a, char *buf) in global_rsv_reserved_show()
268 struct kobj_attribute *attr, char *buf) in raid_bytes_show()
316 char *buf) in btrfs_space_info_show_total_bytes_pinned()
368 struct kobj_attribute *a, char *buf) in btrfs_label_show()
383 const char *buf, size_t len) in btrfs_label_store()
419 struct kobj_attribute *a, char *buf) in btrfs_nodesize_show()
[all …]
Dlzo.c34 void *buf; /* where decompressed data goes */ member
71 static inline void write_compress_length(char *buf, size_t len) in write_compress_length()
79 static inline size_t read_compress_length(char *buf) in read_compress_length()
108 char *buf; in lzo_compress_pages() local
283 char *buf; in lzo_decompress_biovec() local
/fs/ubifs/
Dscan.c40 static int scan_padding_bytes(void *buf, int len) in scan_padding_bytes()
69 int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_scan_a_node()
195 void *buf, int offs) in ubifs_add_snod()
239 void *buf) in ubifs_scanned_corruption()
270 void *buf = sbuf + offs; in ubifs_scan() local
Dio.c99 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read()
117 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write()
138 int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len) in ubifs_leb_change()
237 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()
675 int ubifs_wbuf_write_nolock(struct ubifs_wbuf *wbuf, void *buf, int len) in ubifs_wbuf_write_nolock()
858 int ubifs_write_node(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node()
897 int ubifs_read_node_wbuf(struct ubifs_wbuf *wbuf, void *buf, int type, int len, in ubifs_read_node_wbuf()
974 int ubifs_read_node(const struct ubifs_info *c, void *buf, int type, int len, in ubifs_read_node()
Dlpt.c350 void ubifs_pack_pnode(struct ubifs_info *c, void *buf, in ubifs_pack_pnode()
383 void ubifs_pack_nnode(struct ubifs_info *c, void *buf, in ubifs_pack_nnode()
415 void ubifs_pack_ltab(struct ubifs_info *c, void *buf, in ubifs_pack_ltab()
440 void ubifs_pack_lsave(struct ubifs_info *c, void *buf, int *lsave) in ubifs_pack_lsave()
615 void *buf = NULL, *p; in ubifs_create_dflt_lpt() local
914 static int check_lpt_crc(const struct ubifs_info *c, void *buf, int len) in check_lpt_crc()
964 static int unpack_pnode(const struct ubifs_info *c, void *buf, in unpack_pnode()
1001 int ubifs_unpack_nnode(const struct ubifs_info *c, void *buf, in ubifs_unpack_nnode()
1034 static int unpack_ltab(const struct ubifs_info *c, void *buf) in unpack_ltab()
1066 static int unpack_lsave(const struct ubifs_info *c, void *buf) in unpack_lsave()
[all …]
/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()
163 char *buf) in dlm_attr_show()
171 const char *buf, size_t len) in dlm_attr_store()
Dconfig.c108 static ssize_t cluster_cluster_name_show(struct config_item *item, char *buf) in cluster_cluster_name_show()
115 const char *buf, size_t len) in cluster_cluster_name_store()
129 const char *buf, size_t len) in cluster_set()
558 static ssize_t comm_nodeid_show(struct config_item *item, char *buf) in comm_nodeid_show()
563 static ssize_t comm_nodeid_store(struct config_item *item, const char *buf, in comm_nodeid_store()
573 static ssize_t comm_local_show(struct config_item *item, char *buf) in comm_local_show()
578 static ssize_t comm_local_store(struct config_item *item, const char *buf, in comm_local_store()
591 static ssize_t comm_addr_store(struct config_item *item, const char *buf, in comm_addr_store()
620 static ssize_t comm_addr_list_show(struct config_item *item, char *buf) in comm_addr_list_show()
678 static ssize_t node_nodeid_show(struct config_item *item, char *buf) in node_nodeid_show()
[all …]
/fs/f2fs/
Dsysfs.c67 struct f2fs_sb_info *sbi, char *buf) in dirty_segments_show()
74 struct f2fs_sb_info *sbi, char *buf) in lifetime_write_kbytes_show()
87 struct f2fs_sb_info *sbi, char *buf) in features_show()
127 struct f2fs_sb_info *sbi, char *buf) in current_reserved_blocks_show()
133 struct f2fs_sb_info *sbi, char *buf) in f2fs_sbi_show()
170 const char *buf, size_t count) in f2fs_sbi_store()
262 struct attribute *attr, char *buf) in f2fs_attr_show()
272 const char *buf, size_t len) in f2fs_attr_store()
302 struct f2fs_sb_info *sbi, char *buf) in f2fs_feature_show()
/fs/reiserfs/
Dprints.c79 static void sprintf_le_key(char *buf, struct reiserfs_key *key) in sprintf_le_key()
90 static void sprintf_cpu_key(char *buf, struct cpu_key *key) in sprintf_cpu_key()
100 static void sprintf_de_head(char *buf, struct reiserfs_de_head *deh) in sprintf_de_head()
112 static void sprintf_item_head(char *buf, struct item_head *ih) in sprintf_item_head()
125 static void sprintf_direntry(char *buf, struct reiserfs_dir_entry *de) in sprintf_direntry()
134 static void sprintf_block_head(char *buf, struct buffer_head *bh) in sprintf_block_head()
140 static void sprintf_buffer_head(char *buf, struct buffer_head *bh) in sprintf_buffer_head()
152 static void sprintf_disk_child(char *buf, struct disk_child *dc) in sprintf_disk_child()
/fs/ocfs2/cluster/
Dmasklog.c36 static ssize_t mlog_mask_show(u64 mask, char *buf) in mlog_mask_show()
50 static ssize_t mlog_mask_store(u64 mask, const char *buf, size_t count) in mlog_mask_store()
142 char *buf) in mlog_show()
150 const char *buf, size_t count) in mlog_store()
/fs/cifs/
Dsmb2file.c39 __u32 *oplock, FILE_ALL_INFO *buf) in smb2_open_file()
115 struct smb2_lock_element *buf, *cur; in smb2_unlock_range() local
208 struct smb2_lock_element *buf, unsigned int max_num) in smb2_push_mand_fdlocks()
252 struct smb2_lock_element *buf; in smb2_push_mandatory_locks() local
/fs/orangefs/
Dorangefs-sysfs.c162 char *buf) in orangefs_attr_show()
174 const char *buf, in orangefs_attr_store()
195 struct orangefs_attribute *attr, char *buf) in sysfs_int_show()
258 struct orangefs_attribute *attr, const char *buf, size_t count) in sysfs_int_store()
295 struct orangefs_attribute *attr, char *buf) in sysfs_service_op_show()
504 struct orangefs_attribute *attr, const char *buf, size_t count) in sysfs_service_op_store()

12345678910>>...13