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()
123 memcpy(data, buff, bytes); in lz4_uncompress()
127 memcpy(data, buff, PAGE_SIZE); in lz4_uncompress()
128 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()
97 memcpy(data, buff, bytes); in lzo_uncompress()
101 memcpy(data, buff, PAGE_SIZE); in lzo_uncompress()
102 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.h28 void *buff, int length) in squashfs_comp_opts() argument
31 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"); \
104 struct kobj_attribute *attr, char *buff) \
109 return sysfs_emit(buff, "%d\n", node->isn_mi->mi_##name); \
116 struct kobj_attribute *attr, char *buff) \
121 return sysfs_emit(buff, "%lld\n", node->isn_mi->mi_##name); \
/fs/ext4/
Dhash.c300 unsigned char *buff; in ext4fs_dirhash() local
305 buff = kzalloc(sizeof(char) * PATH_MAX, GFP_KERNEL); in ext4fs_dirhash()
306 if (!buff) in ext4fs_dirhash()
309 dlen = utf8_casefold(um, &qstr, buff, PATH_MAX); in ext4fs_dirhash()
311 kfree(buff); in ext4fs_dirhash()
315 r = __ext4fs_dirhash(dir, buff, dlen, hinfo); in ext4fs_dirhash()
317 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.c770 struct kobj_attribute *attr, char *buff) in version_show() argument
772 return snprintf(buff, PAGE_SIZE, "%d\n", ECRYPTFS_VERSIONING_MASK); in version_show()
/fs/fuse/
Dinode.c2221 struct kobj_attribute *attr, char *buff) in fuse_bpf_show() argument
2223 return sysfs_emit(buff, "supported\n"); in fuse_bpf_show()
2246 struct kobj_attribute *attr, char *buff) in bpf_prog_type_fuse_show() argument
2248 return sysfs_emit(buff, "%d\n", BPF_PROG_TYPE_FUSE); in bpf_prog_type_fuse_show()