Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 13 of 13) sorted by relevance

/fs/squashfs/
Dlz4_wrapper.c33 void *buff, int len) in lz4_comp_opts() argument
35 struct lz4_comp_opts *comp_opts = buff; in lz4_comp_opts()
52 static void *lz4_init(struct squashfs_sb_info *msblk, void *buff) in lz4_init() argument
98 void *buff = stream->input, *data; in lz4_uncompress() local
105 memcpy(buff, data + offset, avail); in lz4_uncompress()
106 buff += avail; in lz4_uncompress()
119 buff = stream->output; in lz4_uncompress()
122 memcpy(data, buff, bytes); in lz4_uncompress()
125 memcpy(data, buff, PAGE_SIZE); in lz4_uncompress()
126 buff += PAGE_SIZE; in lz4_uncompress()
Dlzo_wrapper.c28 static void *lzo_init(struct squashfs_sb_info *msblk, void *buff) in lzo_init() argument
72 void *buff = stream->input, *data; in lzo_uncompress() local
80 memcpy(buff, data + offset, avail); in lzo_uncompress()
81 buff += avail; in lzo_uncompress()
93 buff = stream->output; in lzo_uncompress()
96 memcpy(data, buff, bytes); in lzo_uncompress()
99 memcpy(data, buff, PAGE_SIZE); in lzo_uncompress()
100 buff += PAGE_SIZE; in lzo_uncompress()
Dxz_wrapper.c39 void *buff, int len) in squashfs_xz_comp_opts() argument
41 struct disk_comp_opts *comp_opts = buff; in squashfs_xz_comp_opts()
81 static void *squashfs_xz_init(struct squashfs_sb_info *msblk, void *buff) in squashfs_xz_init() argument
83 struct comp_opts *comp_opts = buff; in squashfs_xz_init()
Ddecompressor.h27 void *buff, int length) in squashfs_comp_opts() argument
30 msblk->decompressor->comp_opts(msblk, buff, length) : NULL; in squashfs_comp_opts()
Dcache.c304 void *buff = entry->data[offset / PAGE_SIZE] in squashfs_copy_data() local
310 memcpy(buffer, buff, remaining); in squashfs_copy_data()
315 memcpy(buffer, buff, bytes); in squashfs_copy_data()
Dzlib_wrapper.c24 static void *zlib_init(struct squashfs_sb_info *dummy, void *buff) in zlib_init() argument
Dzstd_wrapper.c29 static void *zstd_init(struct squashfs_sb_info *msblk, void *buff) in zstd_init() argument
/fs/incfs/
Dsysfs.c26 struct kobj_attribute *attr, char *buff) \
28 return sysfs_emit(buff, "supported\n"); \
102 struct kobj_attribute *attr, char *buff) \
107 return sysfs_emit(buff, "%d\n", node->isn_mi->mi_##name); \
114 struct kobj_attribute *attr, char *buff) \
119 return sysfs_emit(buff, "%lld\n", node->isn_mi->mi_##name); \
/fs/ext4/
Dhash.c296 unsigned char *buff; in ext4fs_dirhash() local
301 buff = kzalloc(sizeof(char) * PATH_MAX, GFP_KERNEL); in ext4fs_dirhash()
302 if (!buff) in ext4fs_dirhash()
305 dlen = utf8_casefold(um, &qstr, buff, PATH_MAX); in ext4fs_dirhash()
307 kfree(buff); in ext4fs_dirhash()
311 r = __ext4fs_dirhash(dir, buff, dlen, hinfo); in ext4fs_dirhash()
313 kfree(buff); in ext4fs_dirhash()
/fs/befs/
Ddatastream.h15 void *buff, befs_off_t len);
Ddatastream.c131 void *buff, befs_off_t len) in befs_read_lsymlink() argument
150 memcpy(buff + bytes_read, bh->b_data, plen); in befs_read_lsymlink()
/fs/ecryptfs/
Dmain.c764 struct kobj_attribute *attr, char *buff) in version_show() argument
766 return snprintf(buff, PAGE_SIZE, "%d\n", ECRYPTFS_VERSIONING_MASK); in version_show()
/fs/fuse/
Dinode.c1869 struct kobj_attribute *attr, char *buff) in fuse_bpf_show() argument
1871 return sysfs_emit(buff, "supported\n"); in fuse_bpf_show()
1894 struct kobj_attribute *attr, char *buff) in bpf_prog_type_fuse_show() argument
1896 return sysfs_emit(buff, "%d\n", BPF_PROG_TYPE_FUSE); in bpf_prog_type_fuse_show()