search for: first_block

Displaying 4 results from an estimated 4 matches for "first_block".

2009 Aug 05
2
[LLVMdev] Dominator error inserting instructions into BasicBlock
...LLVM and had good luck with the simple stuff, but I am running into all kinds of trouble trying to make copies of variables within a BasicBlock as part of a LoopPass I am trying to make copies of the variables that are in scope in the loop body like so: //Remove the existing terminator first_block->getTerminator()->eraseFromParent(); //Get the symbol table so that we know what to store ValueSymbolTable* vst = first_block->getValueSymbolTable(); IRBuilder <> builder(first_block); for (ValueSymbolTable::iterator vst_it = vst->begin(); vst_it != vst->end(); vst_it...
2008 Jan 07
1
[PATCH]Add rollback support for the converter
...0; err = ext2fs_block_iterate2(ext2_fs, ext2_ino, BLOCK_FLAG_DATA_ONLY, NULL, __block_iterate_proc, &data); @@ -495,7 +502,7 @@ static int create_file_extents(struct bt } else if (data.num_blocks > 0) { ret = record_file_blocks(trans, root, objectid, btrfs_inode, data.first_block, data.disk_block, - data.num_blocks, 1); + data.num_blocks, data.checksum); if (ret) goto fail; } @@ -504,7 +511,7 @@ static int create_file_extents(struct bt if (last_block > data.first_block) { ret = record_file_blocks(trans, root, objectid, btrfs_inode, data.fir...
2009 Jan 21
0
[PATCH] Progs: update convert for uninitialized block groups
...trfs_item_key_to_cpu(leaf, &key, path.slots[0]); if (key.objectid != objectid || key.type != BTRFS_EXTENT_DATA_KEY) @@ -2048,7 +2070,7 @@ static int relocate_one_reference(struct if (data.num_blocks > 0) { ret = record_file_blocks(trans, root, objectid, &inode, data.first_block, data.disk_block, - data.num_blocks, 0); + data.num_blocks, datacsum); if (ret) goto fail; } @@ -2218,7 +2240,7 @@ next: ret = btrfs_commit_transaction(trans, cur_root); BUG_ON(ret); - if (num_refs > 0 && pass++ < 4) + if (num_refs > 0 && pass++ &lt...
2012 Apr 02
23
[PATCH 00 of 18] [v2] tools: fix bugs and build errors triggered by -O2 -Wall -Werror
Changes: tools/blktap: remove unneeded pointer dereferencing in convert_dev_name_to_num tools/blktap: constify string arrays in convert_dev_name_to_num tools/blktap: fix params and physical-device parsing tools/blktap: remove unneeded pointer dereferencing from img2qcow.c tools/blktap: remove unneeded pointer dereferencing from qcow2raw.c tools/blktap2: fix build errors caused by Werror in