Jump to content

KernReadFileAtCache

From EDM2
Revision as of 21:50, 9 June 2017 by Martini (talk | contribs)

This seems to do the same as KernReadAtFile, but reads from the cache and returns the corresponding pages of the cache data structure.

Synopsis

APIRET APIENTRY KernReadFileAtCache(KEEhfile khfd,KEECachePages** ptr, QWORD off, ULONG nbytes, PULONG nread);

Parameters

khfd
SFT pointer
ptr
Pointer to a variable the receives the cache data structure for the specified data blocks.
off
Offset in file to start reading
nbytes
Number of bytes to read
nread
Pointer to an ULONG to receive the number of bytes actually read.

Comments

Yet another JFS hack. Meanwhile I understand why IBM is reluctant to provide JFS support for Warp 4.