This repository has been archived on 2021-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
OS/pintos-env/pintos/filesys/free-map.h

17 lines
395 B
C
Executable file

#ifndef FILESYS_FREE_MAP_H
#define FILESYS_FREE_MAP_H
#include <stdbool.h>
#include <stddef.h>
#include "devices/block.h"
void free_map_init (void);
void free_map_read (void);
void free_map_create (void);
void free_map_open (void);
void free_map_close (void);
bool free_map_allocate (size_t, block_sector_t *);
void free_map_release (block_sector_t, size_t);
#endif /* filesys/free-map.h */