Jump to content

KernReadFileAtCache

From EDM2
Revision as of 03:38, 28 May 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 (KEEhfile) - input
SFT pointer
ptr (KEECachePages**) - input
Pointer to a variable the receives the cache data structure for the specified data blocks.
off (QWORD) - input
Offset in file to start reading
nbytes (ULONG) - input
Number of bytes to read
nread (PULONG) - input
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.