Lines Matching refs:alignedbuffer
1017 BYTE *alignedbuffer;
1036 alignedbuffer = b;
1038 alignedbuffer = (BYTE *)VirtualAlloc(NULL, to_read, MEM_COMMIT,
1040 if (!alignedbuffer) {
1051 ofs + vol_to_read, alignedbuffer);
1068 alignedbuffer + br);
1082 if (alignedbuffer != b) {
1083 memcpy((void*)b, alignedbuffer + old_ofs, br);
1084 VirtualFree(alignedbuffer, 0, MEM_RELEASE);
1088 if (alignedbuffer != b)
1089 VirtualFree(alignedbuffer, 0, MEM_RELEASE);
1202 BYTE *alignedbuffer;
1229 alignedbuffer = (BYTE *)b;
1233 alignedbuffer = (BYTE *)VirtualAlloc(NULL, to_write,
1235 if (!alignedbuffer) {
1244 NTFS_BLOCK_SIZE, alignedbuffer);
1262 NTFS_BLOCK_SIZE, alignedbuffer +
1270 /* Copy the data to be written into @alignedbuffer. */
1271 memcpy(alignedbuffer + ofs, b, count);
1278 ofs + vol_to_write, alignedbuffer);
1295 alignedbuffer + bw);
1309 if (alignedbuffer != b)
1310 VirtualFree(alignedbuffer, 0, MEM_RELEASE);