diff options
author | Miles Bader <miles@gnu.org> | 1996-09-23 17:37:56 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-09-23 17:37:56 +0000 |
commit | 27fcf24cd41248e7b408eef767ca32e838c0dd64 (patch) | |
tree | d73cba0fe0d96097d176c2d46e28b87edf2c176b /utils/old-settrans.c | |
parent | f125d73a8426aa430565b4bbdd6d469c4c2ea52e (diff) |
(file_pager_read_page, pending_blocks_write, disk_pager_read_page,
disk_pager_read_page, disk_pager_write_page, pager_report_extent,
find_block, pager_unlock_page, diskfs_grow):
Use store_ operations instead of the old device ones, and some store
fields instead of globals.
(file_pager_read_page):
Make BUF void **, NEW_BUF void *, and LENGTH size_t.
Pass &LENGTH to store_read, not LENGTH.
(free_page_bufs, free_page_bufs_lock):
New variables.
(create_disk_pager):
Create PAGER_BUCKET.
Pass in new args to diskfs_pager_setup (renamed from disk_pager_setup).
(service_paging_request):
Function removed.
(struct pending_blocks):
Make BUF void *.
(disk_pager_write_page):
Make BUF void *, and LENGTH size_t.
Check amount written, and return EIO if it's wrong.
(disk_image):
New variable.
(get_page_buf, free_page_buf):
New functions.
(disk_pager_read_page):
Make BUF void **, and LENGTH size_t.
Check amount read, and return EIO if it's wrong.
(file_pager_write_pager):
Make BUF void *.
(diskfs_shutdown_pager):
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
(pager_read_page, pager_read_page):
Convert BUF to a pointer when calling work functions.
(file_pager_read_page:do_pending_reads, pager_unlock_page,
pending_blocks_write, diskfs_grow, find_block):
Use filesystem blocks, not device blocks, in block<->offset/size
conversions.
(pending_blocks_write):
Make PAGE_BUF void *, and LENGTH size_t.
Check amount written, and return EIO if it's wrong.
<hurd/store.h>:
New include.
Diffstat (limited to 'utils/old-settrans.c')
0 files changed, 0 insertions, 0 deletions