/fs/gfs2/locking/dlm/ |
D | sysfs.c | 15 static ssize_t proto_name_show(struct gdlm_ls *ls, char *buf) in proto_name_show() 20 static ssize_t block_show(struct gdlm_ls *ls, char *buf) in block_show() 31 static ssize_t block_store(struct gdlm_ls *ls, const char *buf, size_t len) in block_store() 49 static ssize_t withdraw_show(struct gdlm_ls *ls, char *buf) in withdraw_show() 60 static ssize_t withdraw_store(struct gdlm_ls *ls, const char *buf, size_t len) in withdraw_store() 75 static ssize_t id_show(struct gdlm_ls *ls, char *buf) in id_show() 80 static ssize_t jid_show(struct gdlm_ls *ls, char *buf) in jid_show() 85 static ssize_t first_show(struct gdlm_ls *ls, char *buf) in first_show() 90 static ssize_t first_done_show(struct gdlm_ls *ls, char *buf) in first_done_show() 95 static ssize_t recover_show(struct gdlm_ls *ls, char *buf) in recover_show() [all …]
|
/fs/nfsd/ |
D | nfsctl.c | 121 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write() 142 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read() 196 static ssize_t write_svc(struct file *file, char *buf, size_t size) in write_svc() 229 static ssize_t write_add(struct file *file, char *buf, size_t size) in write_add() 262 static ssize_t write_del(struct file *file, char *buf, size_t size) in write_del() 298 static ssize_t write_export(struct file *file, char *buf, size_t size) in write_export() 332 static ssize_t write_unexport(struct file *file, char *buf, size_t size) in write_unexport() 366 static ssize_t write_getfs(struct file *file, char *buf, size_t size) in write_getfs() 428 static ssize_t write_getfd(struct file *file, char *buf, size_t size) in write_getfd() 488 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip() [all …]
|
/fs/gfs2/ |
D | sys.c | 29 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show() 35 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show() 40 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show() 51 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store() 77 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show() 83 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store() 97 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store() 110 static ssize_t quota_sync_store(struct gfs2_sbd *sdp, const char *buf, in quota_sync_store() 123 static ssize_t quota_refresh_user_store(struct gfs2_sbd *sdp, const char *buf, in quota_refresh_user_store() 137 static ssize_t quota_refresh_group_store(struct gfs2_sbd *sdp, const char *buf, in quota_refresh_group_store() [all …]
|
/fs/ |
D | quota_tree.c | 46 dqbuf_t buf = kmalloc(size, GFP_NOFS); in getdqbuf() local 52 static inline void freedqbuf(dqbuf_t buf) in freedqbuf() 57 static inline ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, dqbuf_t buf) in read_blk() 66 static inline ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, dqbuf_t buf) in write_blk() 77 dqbuf_t buf = getdqbuf(info->dqi_usable_bs); in get_free_dqblk() local 106 static int put_free_dqblk(struct qtree_mem_dqinfo *info, dqbuf_t buf, uint blk) in put_free_dqblk() 123 static int remove_free_dqentry(struct qtree_mem_dqinfo *info, dqbuf_t buf, uint blk) in remove_free_dqentry() 168 static int insert_free_dqentry(struct qtree_mem_dqinfo *info, dqbuf_t buf, uint blk) in insert_free_dqentry() 218 dqbuf_t buf = getdqbuf(info->dqi_usable_bs); in find_free_dqentry() local 287 dqbuf_t buf = getdqbuf(info->dqi_usable_bs); in do_insert_tree() local [all …]
|
D | pipe.c | 152 struct pipe_buffer *buf) in anon_pipe_buf_release() 182 struct pipe_buffer *buf, int atomic) in generic_pipe_buf_map() 202 struct pipe_buffer *buf, void *map_data) in generic_pipe_buf_unmap() 224 struct pipe_buffer *buf) in generic_pipe_buf_steal() 251 void generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in generic_pipe_buf_get() 266 struct pipe_buffer *buf) in generic_pipe_buf_confirm() 306 struct pipe_buffer *buf = pipe->bufs + curbuf; in pipe_read() local 428 struct pipe_buffer *buf = pipe->bufs + lastbuf; in pipe_write() local 475 struct pipe_buffer *buf = pipe->bufs + newbuf; in pipe_write() local 568 bad_pipe_r(struct file *filp, char __user *buf, size_t count, loff_t *ppos) in bad_pipe_r() [all …]
|
D | readdir.c | 22 int vfs_readdir(struct file *file, filldir_t filler, void *buf) in vfs_readdir() 76 struct readdir_callback * buf = (struct readdir_callback *) __buf; in fillonedir() local 110 struct readdir_callback buf; in SYSCALL_DEFINE3() local 153 struct getdents_callback * buf = (struct getdents_callback *) __buf; in filldir() local 196 struct getdents_callback buf; in SYSCALL_DEFINE3() local 239 struct getdents_callback64 * buf = (struct getdents_callback64 *) __buf; in filldir64() local 278 struct getdents_callback64 buf; in SYSCALL_DEFINE3() local
|
D | splice.c | 41 struct pipe_buffer *buf) in page_cache_pipe_buf_steal() 85 struct pipe_buffer *buf) in page_cache_pipe_buf_release() 96 struct pipe_buffer *buf) in page_cache_pipe_buf_confirm() 144 struct pipe_buffer *buf) in user_page_pipe_buf_steal() 197 struct pipe_buffer *buf = pipe->bufs + newbuf; in splice_to_pipe() local 520 struct pipe_buffer *buf, struct splice_desc *sd) in pipe_to_sendpage() 557 static int pipe_to_file(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in pipe_to_file() 626 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; in __splice_from_pipe() local 1041 struct pipe_buffer *buf = pipe->bufs + i; in splice_direct_to_actor() local 1268 static int pipe_to_user(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in pipe_to_user()
|
/fs/ncpfs/ |
D | ncpsign_kernel.c | 22 #define BVAL(buf,pos) (((__u8 *)(buf))[pos]) argument 23 #define PVAL(buf,pos) ((unsigned)BVAL(buf,pos)) argument 24 #define BSET(buf,pos,val) (BVAL(buf,pos) = (val)) argument 27 WVAL_LH(__u8 * buf, int pos) in WVAL_LH() 32 DVAL_LH(__u8 * buf, int pos) in DVAL_LH() 37 WSET_LH(__u8 * buf, int pos, __u16 val) in WSET_LH() 43 DSET_LH(__u8 * buf, int pos, __u32 val) in DSET_LH()
|
/fs/btrfs/ |
D | sysfs.c | 31 static ssize_t root_blocks_used_show(struct btrfs_root *root, char *buf) in root_blocks_used_show() 37 static ssize_t root_block_limit_show(struct btrfs_root *root, char *buf) in root_block_limit_show() 43 static ssize_t super_blocks_used_show(struct btrfs_fs_info *fs, char *buf) in super_blocks_used_show() 50 static ssize_t super_total_blocks_show(struct btrfs_fs_info *fs, char *buf) in super_total_blocks_show() 56 static ssize_t super_blocksize_show(struct btrfs_fs_info *fs, char *buf) in super_blocksize_show() 105 struct attribute *attr, char *buf) in btrfs_super_attr_show() 118 const char *buf, size_t len) in btrfs_super_attr_store() 130 struct attribute *attr, char *buf) in btrfs_root_attr_show() 143 const char *buf, size_t len) in btrfs_root_attr_store()
|
/fs/partitions/ |
D | check.c | 123 char *disk_name(struct gendisk *hd, int partno, char *buf) in disk_name() 135 const char *bdevname(struct block_device *bdev, char *buf) in bdevname() 199 struct device_attribute *attr, char *buf) in part_partition_show() 207 struct device_attribute *attr, char *buf) in part_start_show() 215 struct device_attribute *attr, char *buf) in part_size_show() 222 struct device_attribute *attr, char *buf) in part_stat_show() 250 struct device_attribute *attr, char *buf) in part_fail_show() 259 const char *buf, size_t count) in part_fail_store() 355 struct device_attribute *attr, char *buf) in whole_disk_show()
|
/fs/ocfs2/cluster/ |
D | masklog.c | 36 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() 122 char *buf) in mlog_show() 130 const char *buf, size_t count) in mlog_store()
|
/fs/ubifs/ |
D | scan.c | 40 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() 237 void *buf) in ubifs_scanned_corruption() 264 void *buf = sbuf + offs; in ubifs_scan() local
|
D | lpt.c | 349 void ubifs_pack_pnode(struct ubifs_info *c, void *buf, in ubifs_pack_pnode() 382 void ubifs_pack_nnode(struct ubifs_info *c, void *buf, in ubifs_pack_nnode() 414 void ubifs_pack_ltab(struct ubifs_info *c, void *buf, in ubifs_pack_ltab() 439 void ubifs_pack_lsave(struct ubifs_info *c, void *buf, int *lsave) in ubifs_pack_lsave() 614 void *buf = NULL, *p; in ubifs_create_dflt_lpt() local 916 static int check_lpt_crc(void *buf, int len) in check_lpt_crc() 965 static int unpack_pnode(const struct ubifs_info *c, void *buf, in unpack_pnode() 1002 int ubifs_unpack_nnode(const struct ubifs_info *c, void *buf, in ubifs_unpack_nnode() 1035 static int unpack_ltab(const struct ubifs_info *c, void *buf) in unpack_ltab() 1067 static int unpack_lsave(const struct ubifs_info *c, void *buf) in unpack_lsave() [all …]
|
D | io.c | 95 int ubifs_check_node(const struct ubifs_info *c, const void *buf, int lnum, in ubifs_check_node() 176 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) in ubifs_pad() 504 int ubifs_wbuf_write_nolock(struct ubifs_wbuf *wbuf, void *buf, int len) in ubifs_wbuf_write_nolock() 650 int ubifs_write_node(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node() 691 int ubifs_read_node_wbuf(struct ubifs_wbuf *wbuf, void *buf, int type, int len, in ubifs_read_node_wbuf() 771 int ubifs_read_node(const struct ubifs_info *c, void *buf, int type, int len, in ubifs_read_node()
|
D | recovery.c | 44 static int is_empty(void *buf, int len) in is_empty() 77 void *sbuf, *buf; in get_master_node() local 349 static int is_last_write(const struct ubifs_info *c, void *buf, int offs) in is_last_write() 397 static void clean_buf(const struct ubifs_info *c, void **buf, int lnum, in clean_buf() 431 static int no_more_nodes(const struct ubifs_info *c, void *buf, int len, in no_more_nodes() 539 void *buf = sleb->buf + len - pad_len; in fix_unclean_leb() local 602 void *buf = sbuf + offs; in ubifs_recover_leb() local 954 void *buf = sbuf; in clean_an_unclean_leb() local
|
/fs/dlm/ |
D | lockspace.c | 35 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_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show() 83 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show() 130 char *buf) in dlm_attr_show() 138 const char *buf, size_t len) in dlm_attr_store()
|
D | config.c | 126 const char *buf, size_t len) in cluster_set() 636 char *buf) in show_cluster() 646 const char *buf, size_t len) in store_cluster() 655 char *buf) in show_comm() 664 const char *buf, size_t len) in store_comm() 672 static ssize_t comm_nodeid_read(struct dlm_comm *cm, char *buf) in comm_nodeid_read() 677 static ssize_t comm_nodeid_write(struct dlm_comm *cm, const char *buf, in comm_nodeid_write() 684 static ssize_t comm_local_read(struct dlm_comm *cm, char *buf) in comm_local_read() 689 static ssize_t comm_local_write(struct dlm_comm *cm, const char *buf, in comm_local_write() 698 static ssize_t comm_addr_write(struct dlm_comm *cm, const char *buf, size_t len) in comm_addr_write() [all …]
|
/fs/reiserfs/ |
D | prints.c | 79 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/ocfs2/dlm/ |
D | dlmdebug.c | 101 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() 344 char *buf; in dlm_print_one_mle() local 403 static ssize_t debug_buffer_read(struct file *file, char __user *buf, in debug_buffer_read() 552 static int dump_lock(struct dlm_lock *lock, int list_type, char *buf, int len) in dump_lock() 576 static int dump_lockres(struct dlm_lock_resource *res, char *buf, int len) in dump_lockres()
|
/fs/cifs/ |
D | smbencrypt.c | 46 #define CVAL(buf,pos) (((unsigned char *)(buf))[pos]) argument 47 #define SSVALX(buf,pos,val) (CVAL(buf,pos)=(val)&0xFF,CVAL(buf,pos+1)=(val)>>8) argument 48 #define SSVAL(buf,pos,val) SSVALX((buf),(pos),((__u16)(val))) argument
|
/fs/hostfs/ |
D | hostfs_user.c | 28 struct stat64 buf; in stat_file() local 70 struct stat64 buf; in file_type() local 160 int read_file(int fd, unsigned long long *offset, char *buf, int len) in read_file() 171 int write_file(int fd, unsigned long long *offset, const char *buf, int len) in write_file() 380 int hostfs_do_readlink(char *file, char *buf, int size) in hostfs_do_readlink() 408 struct statfs64 buf; in do_statfs() local
|
/fs/ext4/ |
D | hash.c | 70 static void str2hashbuf_signed(const char *msg, int len, __u32 *buf, int num) in str2hashbuf_signed() 98 static void str2hashbuf_unsigned(const char *msg, int len, __u32 *buf, int num) in str2hashbuf_unsigned() 145 __u32 in[8], buf[4]; in ext4fs_dirhash() local
|
/fs/ext3/ |
D | hash.c | 70 static void str2hashbuf_signed(const char *msg, int len, __u32 *buf, int num) in str2hashbuf_signed() 98 static void str2hashbuf_unsigned(const char *msg, int len, __u32 *buf, int num) in str2hashbuf_unsigned() 145 __u32 in[8], buf[4]; in ext3fs_dirhash() local
|
/fs/jffs2/ |
D | read.c | 22 struct jffs2_full_dnode *fd, unsigned char *buf, in jffs2_read_dnode() 154 unsigned char *buf, uint32_t offset, uint32_t len) in jffs2_read_inode_range()
|
/fs/ocfs2/ |
D | stackglue.c | 450 char *buf) in ocfs2_max_locking_protocol_show() 470 char *buf) in ocfs2_loaded_cluster_plugins_show() 502 char *buf) in ocfs2_active_cluster_plugin_show() 524 char *buf) in ocfs2_cluster_stack_show() 536 const char *buf, size_t count) in ocfs2_cluster_stack_store()
|