Home
last modified time | relevance | path

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

12345678910>>...12

/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()
82 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
92 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
100 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
127 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
133 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
147 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store()
[all …]
/fs/quota/
Dquota_tree.c45 char *buf = kmalloc(size, GFP_NOFS); in getdqbuf() local
52 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk()
61 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk()
79 char *buf = getdqbuf(info->dqi_usable_bs); in get_free_dqblk() local
108 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk()
125 static int remove_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in remove_free_dqentry()
172 static int insert_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in insert_free_dqentry()
223 char *buf = getdqbuf(info->dqi_usable_bs); in find_free_dqentry() local
294 char *buf = getdqbuf(info->dqi_usable_bs); in do_insert_tree() local
403 char *buf = getdqbuf(info->dqi_usable_bs); in free_dqentry() local
[all …]
/fs/nfsd/
Dnfsctl.c87 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
108 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
243 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
282 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
339 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle()
423 static ssize_t write_threads(struct file *file, char *buf, size_t size) in write_threads()
467 static ssize_t write_pool_threads(struct file *file, char *buf, size_t size) in write_pool_threads()
533 static ssize_t __write_versions(struct file *file, char *buf, size_t size) in __write_versions()
664 static ssize_t write_versions(struct file *file, char *buf, size_t size) in write_versions()
678 static ssize_t __write_ports_names(char *buf, struct net *net) in __write_ports_names()
[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/ocfs2/dlm/
Ddlmdebug.c101 char buf[DLM_LOCKID_NAME_MAX]; in __dlm_print_one_lock_resource() local
255 static int stringify_lockname(const char *lockname, int locklen, char *buf, in stringify_lockname()
276 char *buf, int len) in stringify_nodemap()
287 static int dump_mle(struct dlm_master_list_entry *mle, char *buf, int len) in dump_mle()
334 char *buf; in dlm_print_one_mle() local
380 static ssize_t debug_read(struct file *file, char __user *buf, in debug_read()
389 static int debug_purgelist_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_purgelist_print()
421 char *buf = NULL; in debug_purgelist_open() local
445 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print()
481 char *buf = NULL; in debug_mle_open() local
[all …]
/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.c217 struct pipe_buffer *buf) in anon_pipe_buf_release()
247 struct pipe_buffer *buf, int atomic) in generic_pipe_buf_map()
268 struct pipe_buffer *buf, void *map_data) in generic_pipe_buf_unmap()
291 struct pipe_buffer *buf) in generic_pipe_buf_steal()
319 void generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in generic_pipe_buf_get()
335 struct pipe_buffer *buf) in generic_pipe_buf_confirm()
350 struct pipe_buffer *buf) in generic_pipe_buf_release()
399 struct pipe_buffer *buf = pipe->bufs + curbuf; in pipe_read() local
535 struct pipe_buffer *buf = pipe->bufs + lastbuf; in pipe_write() local
583 struct pipe_buffer *buf = pipe->bufs + newbuf; in pipe_write() local
[all …]
Dreaddir.c83 struct readdir_callback *buf = (struct readdir_callback *) __buf; in fillonedir() local
117 struct readdir_callback buf = { in SYSCALL_DEFINE3() local
158 struct getdents_callback * buf = (struct getdents_callback *) __buf; in filldir() local
202 struct getdents_callback buf = { in SYSCALL_DEFINE3() local
242 struct getdents_callback64 * buf = (struct getdents_callback64 *) __buf; in filldir64() local
282 struct getdents_callback64 buf = { in SYSCALL_DEFINE3() local
/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/dlm/
Dconfig.c133 static ssize_t cluster_cluster_name_read(struct dlm_cluster *cl, char *buf) in cluster_cluster_name_read()
139 const char *buf, size_t len) in cluster_cluster_name_write()
156 const char *buf, size_t len) in cluster_set()
688 char *buf) in show_cluster()
698 const char *buf, size_t len) in store_cluster()
707 char *buf) in show_comm()
716 const char *buf, size_t len) in store_comm()
724 static ssize_t comm_nodeid_read(struct dlm_comm *cm, char *buf) in comm_nodeid_read()
729 static ssize_t comm_nodeid_write(struct dlm_comm *cm, const char *buf, in comm_nodeid_write()
736 static ssize_t comm_local_read(struct dlm_comm *cm, char *buf) in comm_local_read()
[all …]
Dlockspace.c35 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_control_store()
58 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store()
66 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show()
71 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store()
77 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show()
82 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store()
90 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show()
96 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show()
150 char *buf) in dlm_attr_show()
158 const char *buf, size_t len) in dlm_attr_store()
/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(void *buf, int len) in check_lpt_crc()
963 static int unpack_pnode(const struct ubifs_info *c, void *buf, in unpack_pnode()
1000 int ubifs_unpack_nnode(const struct ubifs_info *c, void *buf, in ubifs_unpack_nnode()
1033 static int unpack_ltab(const struct ubifs_info *c, void *buf) in unpack_ltab()
1065 static int unpack_lsave(const struct ubifs_info *c, void *buf) in unpack_lsave()
[all …]
Drecovery.c62 static int is_empty(void *buf, int len) in is_empty()
81 static int first_non_ff(void *buf, int len) in first_non_ff()
114 void *sbuf, *buf; in get_master_node() local
413 static int is_last_write(const struct ubifs_info *c, void *buf, int offs) in is_last_write()
440 static void clean_buf(const struct ubifs_info *c, void **buf, int lnum, in clean_buf()
470 static int no_more_nodes(const struct ubifs_info *c, void *buf, int len, in no_more_nodes()
553 void *buf = sleb->buf + len - pad_len; in fix_unclean_leb() local
641 void *buf = sbuf + offs; in ubifs_recover_leb() local
1002 void *buf = sbuf; in clean_an_unclean_leb() local
/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()
108 char *buf) in mlog_show()
116 const char *buf, size_t count) in mlog_store()
/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()
154 static void sprintf_disk_child(char *buf, struct disk_child *dc) in sprintf_disk_child()
/fs/cifs/
Dsmb2file.c62 struct cifs_fid *fid, __u32 *oplock, FILE_ALL_INFO *buf, in smb2_open_file()
121 struct smb2_lock_element *buf, *cur; in smb2_unlock_range() local
214 struct smb2_lock_element *buf, unsigned int max_num) in smb2_push_mand_fdlocks()
258 struct smb2_lock_element *buf; in smb2_push_mandatory_locks() local
Dsmb1ops.c38 send_nt_cancel(struct TCP_Server_Info *server, void *buf, in send_nt_cancel()
82 cifs_read_data_offset(char *buf) in cifs_read_data_offset()
89 cifs_read_data_length(char *buf) in cifs_read_data_length()
99 struct smb_hdr *buf = (struct smb_hdr *)buffer; in cifs_find_mid() local
242 check2ndT2(char *buf) in check2ndT2()
377 char *buf, int malformed) in cifs_check_trans2()
680 struct cifs_fid *fid, __u32 *oplock, FILE_ALL_INFO *buf, in cifs_open_file()
721 char **buf, int *buf_type) in cifs_sync_read()
739 FILE_BASIC_INFO *buf, const unsigned int xid) in smb_set_file_info()
849 struct kstatfs *buf) in cifs_queryfs()
/fs/btrfs/
Dlzo.c34 void *buf; /* where compressed 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
282 char *buf; in lzo_decompress_biovec() local
/fs/hostfs/
Dhostfs_user.c20 static void stat64_to_hostfs(const struct stat64 *buf, struct hostfs_stat *p) in stat64_to_hostfs()
42 struct stat64 buf; in stat_file() local
117 int read_file(int fd, unsigned long long *offset, char *buf, int len) in read_file()
128 int write_file(int fd, unsigned long long *offset, const char *buf, int len) in write_file()
341 int hostfs_do_readlink(char *file, char *buf, int size) in hostfs_do_readlink()
368 struct statfs64 buf; in do_statfs() local
/fs/nilfs2/
Dioctl.c47 void *buf; in nilfs_ioctl_wrap_copy() local
234 void *buf, size_t size, size_t nmembs) in nilfs_ioctl_do_get_cpinfo()
265 void *buf, size_t size, size_t nmembs) in nilfs_ioctl_do_get_suinfo()
296 void *buf, size_t size, size_t nmembs) in nilfs_ioctl_do_get_vinfo()
308 void *buf, size_t size, size_t nmembs) in nilfs_ioctl_do_get_bdescs()
401 struct nilfs_argv *argv, void *buf) in nilfs_ioctl_move_blocks()
466 struct nilfs_argv *argv, void *buf) in nilfs_ioctl_delete_checkpoints()
483 struct nilfs_argv *argv, void *buf) in nilfs_ioctl_free_vblocknrs()
494 struct nilfs_argv *argv, void *buf) in nilfs_ioctl_mark_blocks_dirty()
/fs/debugfs/
Dfile.c25 static ssize_t default_read_file(struct file *file, char __user *buf, in default_read_file()
31 static ssize_t default_write_file(struct file *file, const char __user *buf, in default_write_file()
410 char buf[3]; in read_file_bool() local
425 char buf[32]; in write_file_bool() local
529 static size_t u32_format_array(char *buf, size_t bufsize, in u32_format_array()
551 char *buf; in u32_array_open() local
570 static ssize_t u32_array_read(struct file *file, char __user *buf, size_t len, in u32_array_read()

12345678910>>...12