Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE (Results 1 – 20 of 20) sorted by relevance

/reactos/drivers/filesystems/ext2/src/ext3/
H A Dindirect.c46 BLOCK_SIZE, in Ext2ExpandLast()
54 RtlZeroMemory(pData, BLOCK_SIZE); in Ext2ExpandLast()
81 pEntry->rec_len = (USHORT)(BLOCK_SIZE); in Ext2ExpandLast()
219 BLOCK_SIZE,
301 *Number = BLOCK_SIZE/4;
316 BLOCK_SIZE/4 - Slot,
379 Number = min(SizeArray, ((*Extra + (Start & (BLOCK_SIZE/4 - 1))) * 4 / BLOCK_SIZE));
525 BLOCK_SIZE,
573 BLOCK_SIZE/4 - Slot,
719 Start = (BLOCK_SIZE / 4) - 1;
[all …]
H A Dgeneric.c228 if (BLOCK_SIZE != EXT3_MIN_BLOCK_SIZE) { in Ext2LoadGroup()
229 sb_block = EXT4_MIN_BLOCK_SIZE / BLOCK_SIZE; in Ext2LoadGroup()
719 RtlCopyMemory(bh->b_data, Buf, BLOCK_SIZE); in Ext2SaveBlock()
750 delta = (ULONG)offset & (BLOCK_SIZE - 1); in Ext2LoadBuffer()
751 len = BLOCK_SIZE - delta; in Ext2LoadBuffer()
812 delta = (ULONG)offset & (BLOCK_SIZE - 1); in Ext2ZeroBuffer()
813 len = BLOCK_SIZE - delta; in Ext2ZeroBuffer()
817 if (delta == 0 && len >= BLOCK_SIZE) { in Ext2ZeroBuffer()
945 delta = (ULONG)offset & (BLOCK_SIZE - 1); in Ext2SaveBuffer()
946 len = BLOCK_SIZE - delta; in Ext2SaveBuffer()
[all …]
/reactos/dll/win32/rpcrt4/
H A Dcstub.c214 #define BLOCK_SIZE 1024 macro
225 block = VirtualAlloc( NULL, BLOCK_SIZE * sizeof(*block), in allocate_block()
229 for (i = 0; i < BLOCK_SIZE; i++) in allocate_block()
232 block[i].offset = (BLOCK_SIZE * num + i + 3) * sizeof(void *); in allocate_block()
234 VirtualProtect( block, BLOCK_SIZE * sizeof(*block), PAGE_EXECUTE_READ, &oldprot ); in allocate_block()
249 if (num - 3 > BLOCK_SIZE * MAX_BLOCKS) in fill_delegated_stub_table()
257 for (i = 0; i < (num - 3 + BLOCK_SIZE - 1) / BLOCK_SIZE; i++) in fill_delegated_stub_table()
261 for (j = 0; j < BLOCK_SIZE && j < num - 3 - i * BLOCK_SIZE; j++) *entry++ = &block[j]; in fill_delegated_stub_table()
271 if (num - 3 > BLOCK_SIZE * MAX_BLOCKS) in fill_delegated_proxy_table()
279 for (i = 0; i < (num - 3 + BLOCK_SIZE - 1) / BLOCK_SIZE; i++) in fill_delegated_proxy_table()
[all …]
H A Dcproxy.c259 #define BLOCK_SIZE 1024 macro
270 block = VirtualAlloc( NULL, BLOCK_SIZE * sizeof(*block), in allocate_block()
274 for (i = 0; i < BLOCK_SIZE; i++) init_thunk( &block[i], BLOCK_SIZE * num + i + 3 ); in allocate_block()
275 VirtualProtect( block, BLOCK_SIZE * sizeof(*block), PAGE_EXECUTE_READ, &oldprot ); in allocate_block()
290 if (num - 3 > BLOCK_SIZE * MAX_BLOCKS) in fill_stubless_table()
295 for (i = 0; i < (num - 3 + BLOCK_SIZE - 1) / BLOCK_SIZE; i++) in fill_stubless_table()
299 for (j = 0; j < BLOCK_SIZE && j < num - 3 - i * BLOCK_SIZE; j++, entry++) in fill_stubless_table()
/reactos/dll/win32/hhctrl.ocx/
H A Dstream.h23 #define BLOCK_SIZE (1 << BLOCK_BITS) macro
24 #define BLOCK_MASK (BLOCK_SIZE-1)
34 char buf[BLOCK_SIZE];
H A Dsearch.c75 char *buffer = heap_alloc(BLOCK_SIZE); in SearchCHM_File()
H A Dchm.c65 chm->strings[offset >> BLOCK_BITS] = heap_alloc(BLOCK_SIZE); in GetChmString()
68 BLOCK_SIZE, &read); in GetChmString()
/reactos/modules/rosapps/applications/sysutils/mkdosfs/
H A Dmkdosfs.c64 #define BLOCK_SIZE 512 macro
340 #define SECTORS_PER_BLOCK ( BLOCK_SIZE / HARD_SECTOR_SIZE )
649 != (loff_t)current_block * BLOCK_SIZE) in do_check()
652 got = read (dev, buffer, try * BLOCK_SIZE); /* Try reading! */ in do_check()
656 if (got & (BLOCK_SIZE - 1)) in do_check()
658 got /= BLOCK_SIZE; in do_check()
688 static char blkbuf[BLOCK_SIZE * TEST_BUFFER_BLOCKS]; in check_blocks()
813 return len/BLOCK_SIZE; in count_blocks()
839 return (low + 1) / BLOCK_SIZE; in count_blocks()
1197 num_sectors = (ll_t)blocks*BLOCK_SIZE/sector_size; in setup_tables()
[all …]
/reactos/drivers/filesystems/ext2/src/ext4/
H A Dextents.c55 *Number = (ULONG)((_len + BLOCK_SIZE - 1) >> BLOCK_BITS); in Ext2MapExtent()
217 Wanted = (ULONG)((Size->QuadPart + BLOCK_SIZE - 1) >> BLOCK_BITS); in Ext2TruncateExtent()
/reactos/drivers/filesystems/ext2/src/
H A Dfileinfo.c754 (ULONGLONG)BLOCK_SIZE); in Ext2SetFileInformation()
852 EndOfFile.QuadPart, BLOCK_SIZE); in Ext2SetFileInformation()
1085 Blocks = (ULONG)((Size->QuadPart + BLOCK_SIZE - 1) >> BLOCK_BITS); in Ext2TotalBlocks()
1099 Meta += 1 + ((Blocks + BLOCK_SIZE/4 - 1) >> (BLOCK_BITS - 2)); in Ext2TotalBlocks()
1102 Meta += 1 + BLOCK_SIZE/4; in Ext2TotalBlocks()
1112 Meta += 1 + Blocks * (1 + BLOCK_SIZE/4); in Ext2TotalBlocks()
1122 Blocks = (ULONG)((Size->QuadPart + BLOCK_SIZE - 1) >> BLOCK_BITS); in Ext2TotalBlocks()
1163 Start = (ULONG)((Mcb->Inode.i_size + BLOCK_SIZE - 1) >> BLOCK_BITS); in Ext2ExpandFile()
1164 End = (ULONG)((Size->QuadPart + BLOCK_SIZE - 1) >> BLOCK_BITS); in Ext2ExpandFile()
H A Dlinux.c575 BLOCK_SIZE, in submit_bh_mdl()
581 if (memcmp(Buffer, bh->b_data, BLOCK_SIZE) != 0) { in submit_bh_mdl()
584 memmove(Buffer, bh->b_data, BLOCK_SIZE); in submit_bh_mdl()
963 BLOCK_SIZE,
H A Dmemory.c803 Base = (LONGLONG)BLOCK_SIZE; in Ext2AddMcbExtent()
860 Base = (LONGLONG)BLOCK_SIZE; in Ext2RemoveMcbExtent()
908 offset = Vbn & (~((LONGLONG)BLOCK_SIZE - 1)); in Ext2LookupMcbExtent()
909 ASSERT ((offset & (BLOCK_SIZE - 1)) == 0); in Ext2LookupMcbExtent()
927 (*Lbn) += ((Vbn) & ((LONGLONG)BLOCK_SIZE - 1)); in Ext2LookupMcbExtent()
932 (*Length) -= ((Vbn) & ((LONGLONG)BLOCK_SIZE - 1)); in Ext2LookupMcbExtent()
1240 End = (ULONG)((Size + Offset + BLOCK_SIZE - 1) >> BLOCK_BITS); in Ext2BuildExtents()
2568 Vcb->sb.s_blocksize = BLOCK_SIZE;
2596 Vcb->sbi.s_inodes_per_block = BLOCK_SIZE / Vcb->InodeSize;
2605 Vcb->sbi.s_desc_per_block = BLOCK_SIZE / GROUP_DESC_SIZE;
[all …]
H A Dwrite.c204 if (0 == ( End->LowPart & (BLOCK_SIZE -1)) && in Ext2ZeroData()
205 0 == (Start->LowPart & (BLOCK_SIZE -1))) { in Ext2ZeroData()
987 CEILING_ALIGNED(ULONG, Length, BLOCK_SIZE), in Ext2WriteFile()
1001 CEILING_ALIGNED(ULONG, Length, BLOCK_SIZE), in Ext2WriteFile()
1050 (ULONGLONG)BLOCK_SIZE); in Ext2WriteFile()
H A Ddirctl.c211 AllocationSize = CEILING_ALIGNED(ULONGLONG, FileSize, BLOCK_SIZE); in Ext2ProcessEntry()
840 RecLen = BLOCK_SIZE - (ByteOffset & (BLOCK_SIZE - 1)); in Ext2QueryDirectory()
H A Dcleanup.c261 (ULONGLONG)BLOCK_SIZE); in Ext2Cleanup()
H A Dcreate.c2166 (ULONGLONG)BLOCK_SIZE); in Ext2SupersedeOrOverWriteFile()
/reactos/sdk/lib/crt/wine/
H A Dundname.c106 #define BLOCK_SIZE 1024 in und_alloc() macro
124 ptr = sym->mem_alloc_ptr(BLOCK_SIZE); in und_alloc()
131 ptr = (char*)sym->alloc_list + BLOCK_SIZE - sym->avail_in_first; in und_alloc()
135 #undef BLOCK_SIZE in und_alloc()
/reactos/dll/opengl/mesa/
H A Ddlist.c220 #define BLOCK_SIZE 500 macro
388 if (ctx->CurrentPos + count + 2 > BLOCK_SIZE) { in alloc_instruction()
392 newblock = (Node *) malloc( sizeof(Node) * BLOCK_SIZE ); in alloc_instruction()
3000 ctx->CurrentListPtr = ctx->CurrentBlock = (Node *) malloc( sizeof(Node) * BLOCK_SIZE ); in gl_NewList()
/reactos/drivers/filesystems/ext2/inc/
H A Dext2fs.h93 #define BLOCK_SIZE (Vcb->BlockSize) macro
/reactos/sdk/lib/fslib/vfatlib/check/
H A DChangeLog741 BLOCK_SIZE, which was the only thing used from linux/fs.h.