Searched refs:fuse_do_truncate (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/block/export/ |
H A D | fuse.c | 444 static int fuse_do_truncate(const FuseExport *exp, int64_t size, in fuse_do_truncate() function 541 ret = fuse_do_truncate(exp, statbuf->st_size, true, PREALLOC_MODE_OFF); in fuse_setattr() 653 ret = fuse_do_truncate(exp, offset + size, true, PREALLOC_MODE_OFF); in fuse_write() 708 ret = fuse_do_truncate(exp, offset, true, PREALLOC_MODE_OFF); in fuse_fallocate() 715 ret = fuse_do_truncate(exp, offset + length, true, in fuse_fallocate() 747 ret = fuse_do_truncate(exp, offset + length, false, in fuse_fallocate()
|
/openbmc/linux/fs/fuse/ |
H A D | file.c | 2872 static void fuse_do_truncate(struct file *file) in fuse_do_truncate() function 2981 fuse_do_truncate(file); in fuse_direct_IO()
|