---
name: "VOP_REALLOCBLKS"
section: "9freebsd"
platform: "linux"
package: "freebsd-manpages"
version: "12.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/VOP_REALLOCBLKS/9freebsd"
---

# VOP\_REALLOCBLKS(9freebsd)

rearrange blocks in a file to be contiguous

## NAME

**VOP\_REALLOCBLKS** – rearrange blocks in a file to be contiguous

## SYNOPSIS

**#include \<sys/param.h\>**

**#include \<sys/vnode.h\>**

*int*\

**VOP\_REALLOCBLKS**(*struct vnode \*vp*, *struct cluster\_save \*buflist*);

## DESCRIPTION

The arguments are:

- *vp*

  The file to manipulate.

- *buflist*

  A list of buffers to rearrange.

This seems to be part of a work in progress.

## RETURN VALUES

Zero is returned on success, otherwise an error is returned.

## SEE ALSO

[buf(9)](/buf/9.md), [vnode(9)](/vnode/9.md)

## AUTHORS

This manual page was written by Doug Rabson.
