implement falloc and ffree