/reactos/modules/rostests/tests/linetest/ |
H A D | linetest.c | 70 #define blk RGB(0,0,0) macro 88 { 10, 20, 10, 11, blk }, in DrawLines() 92 { 12, 18, 15, 15, blk }, in DrawLines() 97 { 30, 15, 34, 11, blk }, in DrawLines() 102 { 1, 5, 2, 2, blk }, in DrawLines() 107 { 50, 4, 54, 4, blk }, in DrawLines() 111 { 50, 8, 58, 8, blk }, in DrawLines() 115 { 50, 12, 62, 12, blk }, in DrawLines() 120 { 53, 17, 62, 17, blk }, in DrawLines() 124 { 57, 21, 62, 21, blk }, in DrawLines() [all …]
|
/reactos/sdk/lib/fslib/ext2lib/ |
H A D | Memory.c | 31 int ext2_group_of_blk(PEXT2_FILESYS fs, ULONG blk) in ext2_group_of_blk() argument 33 return (blk - fs->ext2_sb->s_first_data_block) / in ext2_group_of_blk() 63 int group = ext2_group_of_blk(fs, blk); in ext2_block_alloc_stats() 66 ext2_mark_block_bitmap(fs->block_map, blk); in ext2_block_alloc_stats() 123 for (j=0, blk = new_blk; in ext2_allocate_group_table() 125 j++, blk++) in ext2_allocate_group_table() 126 ext2_mark_block_bitmap(bmap, blk); in ext2_allocate_group_table() 224 ULONG blk, num; in write_inode_tables() local 229 blk = fs->group_desc[i].bg_inode_table; in write_inode_tables() 232 retval = zero_blocks(fs, blk, num, &blk, &num); in write_inode_tables() [all …]
|
H A D | Bitmap.c | 223 ULONG blk; in ext2_write_inode_bitmap() local 238 blk = fs->group_desc[i].bg_inode_bitmap; in ext2_write_inode_bitmap() 240 if (blk) in ext2_write_inode_bitmap() 251 ((ULONGLONG)blk * fs->blocksize), in ext2_write_inode_bitmap() 279 ULONG blk; in ext2_write_block_bitmap() local 312 blk = fs->group_desc[i].bg_block_bitmap; in ext2_write_block_bitmap() 314 if (blk) in ext2_write_block_bitmap() 371 ULONG blk; in read_bitmaps() local 404 blk = fs->group_desc[i].bg_block_bitmap; in read_bitmaps() 406 if (blk) in read_bitmaps() [all …]
|
H A D | Mke2fs.c | 122 bool zero_blocks(PEXT2_FILESYS fs, ULONG blk, ULONG num, in zero_blocks() argument 151 *ret_blk = blk; in zero_blocks() 177 *ret_blk = blk; in zero_blocks() 244 ULONG blk; in ext2_mkdir() local 268 retval = ext2_new_block(fs, 0, 0, &blk); in ext2_mkdir() 300 inode.i_block[0] = blk; in ext2_mkdir() 309 retval = ext2_write_block(fs, blk, block); in ext2_mkdir() 350 ext2_block_alloc_stats(fs, blk, +1); in ext2_mkdir() 658 ULONG blk; in create_journal_dev() local 670 &blk, &count); in create_journal_dev() [all …]
|
H A D | Mke2fs.h | 336 int ext2_group_of_blk(PEXT2_FILESYS fs, ULONG blk); 345 void ext2_block_alloc_stats(PEXT2_FILESYS fs, ULONG blk, int inuse); 368 bool zero_blocks(PEXT2_FILESYS fs, ULONG blk, ULONG num,
|
/reactos/dll/3rdparty/mbedtls/ |
H A D | padlock.c | 112 uint32_t *blk; in mbedtls_padlock_xcryptecb() local 117 blk = MBEDTLS_PADLOCK_ALIGN16( buf ); in mbedtls_padlock_xcryptecb() 118 memcpy( blk, input, 16 ); in mbedtls_padlock_xcryptecb() 120 ctrl = blk + 4; in mbedtls_padlock_xcryptecb() 134 : "m" (ebx), "m" (ctrl), "m" (rk), "m" (blk) in mbedtls_padlock_xcryptecb() 137 memcpy( output, blk, 16 ); in mbedtls_padlock_xcryptecb()
|
H A D | aria.c | 967 uint8_t blk[MBEDTLS_ARIA_BLOCKSIZE]; in mbedtls_aria_self_test() local 992 mbedtls_aria_crypt_ecb( &ctx, aria_test1_ecb_pt, blk ); in mbedtls_aria_self_test() 993 if( memcmp( blk, aria_test1_ecb_ct[i], MBEDTLS_ARIA_BLOCKSIZE ) != 0 ) in mbedtls_aria_self_test() 1000 mbedtls_aria_crypt_ecb( &ctx, aria_test1_ecb_ct[i], blk ); in mbedtls_aria_self_test() 1001 if( memcmp( blk, aria_test1_ecb_pt, MBEDTLS_ARIA_BLOCKSIZE ) != 0 ) in mbedtls_aria_self_test() 1081 mbedtls_aria_crypt_ctr( &ctx, 48, &j, iv, blk, in mbedtls_aria_self_test() 1093 mbedtls_aria_crypt_ctr( &ctx, 48, &j, iv, blk, in mbedtls_aria_self_test()
|
/reactos/drivers/filesystems/ext2/inc/ |
H A D | ext2fs.h | 1764 ext3_fsblk_t blk) in ext3_blocks_count_set() argument 1766 es->s_blocks_count = cpu_to_le32((u32)blk); in ext3_blocks_count_set() 1767 es->s_blocks_count_hi = cpu_to_le32(blk >> 32); in ext3_blocks_count_set() 1771 ext3_fsblk_t blk) in ext3_free_blocks_count_set() argument 1773 es->s_free_blocks_count = cpu_to_le32((u32)blk); in ext3_free_blocks_count_set() 1774 es->s_free_blocks_count_hi = cpu_to_le32(blk >> 32); in ext3_free_blocks_count_set() 1778 ext3_fsblk_t blk) in ext3_r_blocks_count_set() argument 1780 es->s_r_blocks_count = cpu_to_le32((u32)blk); in ext3_r_blocks_count_set() 1781 es->s_r_blocks_count_hi = cpu_to_le32(blk >> 32); in ext3_r_blocks_count_set() 1805 struct ext4_group_desc *bg, ext4_fsblk_t blk); [all …]
|
/reactos/modules/rosapps/applications/sysutils/mkdosfs/ |
H A D | mkdosfs.c | 1634 int blk; in write_tables() local 1668 for (blk = 0; blk < fat_length; blk++) in write_tables() 1669 writebuf(fat+blk*sector_size, sector_size, "FAT"); in write_tables()
|
/reactos/drivers/filesystems/ext2/src/ext3/ |
H A D | generic.c | 2516 struct ext4_group_desc *bg, ext4_fsblk_t blk) in ext4_block_bitmap_set() argument 2518 bg->bg_block_bitmap = cpu_to_le32((u32)blk); in ext4_block_bitmap_set() 2520 bg->bg_block_bitmap_hi = cpu_to_le32(blk >> 32); in ext4_block_bitmap_set() 2524 struct ext4_group_desc *bg, ext4_fsblk_t blk) in ext4_inode_bitmap_set() argument 2526 bg->bg_inode_bitmap = cpu_to_le32((u32)blk); in ext4_inode_bitmap_set() 2528 bg->bg_inode_bitmap_hi = cpu_to_le32(blk >> 32); in ext4_inode_bitmap_set() 2532 struct ext4_group_desc *bg, ext4_fsblk_t blk) in ext4_inode_table_set() argument 2534 bg->bg_inode_table = cpu_to_le32((u32)blk); in ext4_inode_table_set() 2536 bg->bg_inode_table_hi = cpu_to_le32(blk >> 32); in ext4_inode_table_set()
|
/reactos/drivers/filesystems/ext2/src/ext4/ |
H A D | ext4_extents.c | 1585 ext4_fsblk_t blk; in ext4_ext_try_to_merge_up() local 1603 blk = ext4_idx_pblock(path[0].p_idx); in ext4_ext_try_to_merge_up() 1616 ext4_free_blocks(icb, handle, inode, NULL, blk, 1, in ext4_ext_try_to_merge_up()
|
/reactos/sdk/tools/mkisofs/schilytools/mkisofs/ |
H A D | write.c | 648 char blk[SECTOR_SIZE]; local 652 xfwrite(blk, SECTOR_SIZE, 1, outfile, 0, FALSE);
|