Home
last modified time | relevance | path

Searched refs:next_offset (Results 1 – 25 of 33) sorted by relevance

12

/dragonfly/sys/vfs/hammer/
HDhammer_undo.c103 hammer_off_t next_offset; in hammer_generate_undo() local
147 if (undomap->next_offset == undomap->alloc_offset) in hammer_generate_undo()
148 undomap->next_offset = HAMMER_ENCODE_UNDO(0); in hammer_generate_undo()
149 next_offset = undomap->next_offset; in hammer_generate_undo()
155 if ((next_offset & HAMMER_BUFMASK) == 0) { in hammer_generate_undo()
156 undo = hammer_bnew(hmp, next_offset, &error, &buffer); in hammer_generate_undo()
160 undo = hammer_bread(hmp, next_offset, &error, &buffer); in hammer_generate_undo()
176 ((int)next_offset & HAMMER_UNDO_MASK); in hammer_generate_undo()
195 KKASSERT(((int)next_offset & HAMMER_UNDO_MASK) != 0); in hammer_generate_undo()
206 undomap->next_offset += bytes; in hammer_generate_undo()
[all …]
HDhammer_blockmap.c84 hammer_off_t next_offset; in hammer_blockmap_alloc() local
112 KKASSERT(HAMMER_ZONE_DECODE(blockmap->next_offset) == zone); in hammer_blockmap_alloc()
118 next_offset = HAMMER_DATA_DOALIGN_WITH(hammer_off_t, hint); in hammer_blockmap_alloc()
121 next_offset = blockmap->next_offset; in hammer_blockmap_alloc()
129 if (use_hint && ((next_offset ^ hint) & ~HAMMER_HINTBLOCK_MASK64)) { in hammer_blockmap_alloc()
130 next_offset = blockmap->next_offset; in hammer_blockmap_alloc()
137 if (next_offset == HAMMER_ZONE_ENCODE(zone + 1, 0)) { in hammer_blockmap_alloc()
145 next_offset = HAMMER_ZONE_ENCODE(zone, 0); in hammer_blockmap_alloc()
152 tmp_offset = next_offset + bytes - 1; in hammer_blockmap_alloc()
154 if ((next_offset ^ tmp_offset) & ~HAMMER_BUFMASK64) { in hammer_blockmap_alloc()
[all …]
HDhammer_redo.c70 hammer_off_t next_offset; in hammer_generate_redo() local
102 if (undomap->next_offset == undomap->alloc_offset) in hammer_generate_redo()
103 undomap->next_offset = HAMMER_ENCODE_UNDO(0); in hammer_generate_redo()
104 next_offset = undomap->next_offset; in hammer_generate_redo()
110 if ((next_offset & HAMMER_BUFMASK) == 0) { in hammer_generate_redo()
111 redo = hammer_bnew(hmp, next_offset, &error, &buffer); in hammer_generate_redo()
115 redo = hammer_bread(hmp, next_offset, &error, &buffer); in hammer_generate_redo()
130 ((int)next_offset & HAMMER_UNDO_MASK); in hammer_generate_redo()
149 KKASSERT(((int)next_offset & HAMMER_UNDO_MASK) != 0); in hammer_generate_redo()
160 undomap->next_offset += bytes; in hammer_generate_redo()
[all …]
HDhammer_flusher.c708 save_undo_next_offset = cundomap->next_offset; in hammer_flusher_finalize()
742 dundomap->next_offset != save_undo_next_offset) { in hammer_flusher_finalize()
745 dundomap->next_offset = save_undo_next_offset; in hammer_flusher_finalize()
838 } else if (cundomap->first_offset != cundomap->next_offset) { in hammer_flusher_finalize()
HDhammer_recover.c226 last_offset = rootmap->next_offset; in hammer_recover_stage1()
355 (intmax_t)rootmap->next_offset, in hammer_recover_stage1()
485 rootmap->next_offset = last_offset; in hammer_recover_stage1()
555 last_offset = rootmap->next_offset; in hammer_recover_stage2()
750 if (rootmap->first_offset != rootmap->next_offset) in hammer_recover_stage2()
HDhammer_disk.h388 hammer_off_t next_offset; /* zone-X offset for allocation */ member
/dragonfly/sbin/hammer/
HDblockmap.c133 assert(HAMMER_ZONE_DECODE(blockmap->next_offset) == zone); in alloc_blockmap()
144 assert(blockmap->next_offset != HAMMER_ZONE_ENCODE(zone + 1, 0)); in alloc_blockmap()
146 tmp_offset = blockmap->next_offset + bytes - 1; in alloc_blockmap()
147 if ((blockmap->next_offset ^ tmp_offset) & ~HAMMER_BUFMASK64) in alloc_blockmap()
148 blockmap->next_offset = tmp_offset & ~HAMMER_BUFMASK64; in alloc_blockmap()
154 HAMMER_BLOCKMAP_LAYER1_OFFSET(blockmap->next_offset); in alloc_blockmap()
157 assert(!((blockmap->next_offset & HAMMER_BIGBLOCK_MASK) == 0 && in alloc_blockmap()
164 HAMMER_BLOCKMAP_LAYER2_OFFSET(blockmap->next_offset); in alloc_blockmap()
185 blockmap->next_offset = in alloc_blockmap()
186 HAMMER_ZONE_LAYER2_NEXT_OFFSET(blockmap->next_offset); in alloc_blockmap()
[all …]
HDondisk.c558 blockmap->next_offset = zone_base; in format_blockmap()
595 blockmap->next_offset = HAMMER_ENCODE_RAW_BUFFER(0, 0); in format_freemap()
788 blockmap->next_offset = blockmap->first_offset; in format_undomap()
889 if (blockmap->first_offset <= blockmap->next_offset) in print_blockmap()
890 used = blockmap->next_offset - blockmap->first_offset; in print_blockmap()
893 HAMMER_OFF_LONG_ENCODE(blockmap->next_offset); in print_blockmap()
905 (uintmax_t)blockmap->next_offset, in print_blockmap()
HDcmd_show.c1092 if (scan_offset == rootmap->next_offset) in hammer_cmd_show_undo()
/dragonfly/contrib/binutils-2.34/gold/
HDgdb-index.cc406 off_t next_offset = 0; in visit_children() local
409 die_offset = next_offset) in visit_children()
415 next_offset = die.sibling_offset(); in visit_children()
506 off_t next_offset = 0; in visit_children_for_decls() local
509 die_offset = next_offset) in visit_children_for_decls()
515 next_offset = die.sibling_offset(); in visit_children_for_decls()
652 off_t next_offset = 0; in guess_full_class_name() local
661 child_offset = next_offset) in guess_full_class_name()
680 next_offset = child.sibling_offset(); in guess_full_class_name()
HDdwarf_reader.h62 next_offset() in next_offset() function
127 { return this->track_relocs_.next_offset(); } in do_next_offset()
HDehframe.cc891 if (relocs->next_offset() != per_offset) in read_cie()
1020 if (relocs->next_offset() != pfde - pcontents) in read_fde()
HDdwarf_reader.cc77 if (reloc_offset != this->track_relocs_.next_offset()) in do_get_reloc_target()
2029 while ((reloc_offset = this->reloc_mapper_->next_offset()) != -1) in read_relocs()
HDreloc.h1161 next_offset() const;
/dragonfly/contrib/binutils-2.27/gold/
HDgdb-index.cc406 off_t next_offset = 0; in visit_children() local
409 die_offset = next_offset) in visit_children()
415 next_offset = die.sibling_offset(); in visit_children()
506 off_t next_offset = 0; in visit_children_for_decls() local
509 die_offset = next_offset) in visit_children_for_decls()
515 next_offset = die.sibling_offset(); in visit_children_for_decls()
652 off_t next_offset = 0; in guess_full_class_name() local
661 child_offset = next_offset) in guess_full_class_name()
680 next_offset = child.sibling_offset(); in guess_full_class_name()
HDincremental-dump.cc331 info.next_offset(), in dump_incremental_inputs()
380 offset = sym_info.next_offset(); in dump_incremental_inputs()
HDdwarf_reader.h62 next_offset() in next_offset() function
127 { return this->track_relocs_.next_offset(); } in do_next_offset()
HDehframe.cc891 if (relocs->next_offset() != per_offset) in read_cie()
1020 if (relocs->next_offset() != pfde - pcontents) in read_fde()
HDdwarf_reader.cc77 if (reloc_offset != this->track_relocs_.next_offset()) in do_get_reloc_target()
2014 while ((reloc_offset = this->reloc_mapper_->next_offset()) != -1) in read_relocs()
HDreloc.h1161 next_offset() const;
/dragonfly/sys/dev/disk/nata/
HData-queue.c678 u_int64_t next_offset; in atawritereorder() local
682 next_offset = ata_get_lba(ch->transition); in atawritereorder()
684 next_offset == ata_get_lba(req)) { in atawritereorder()
686 next_offset = ata_get_lba(req); in atawritereorder()
/dragonfly/contrib/gcc-8.0/gcc/
HDedit-context.c768 int next_offset = next_column - 1; in apply_fixit() local
771 gcc_assert (next_offset >= 0); in apply_fixit()
777 if (next_offset >= (m_len + 1)) in apply_fixit()
780 size_t victim_len = next_offset - start_offset; in apply_fixit()
786 char *suffix = m_content + next_offset; in apply_fixit()
HDvarasm.c5228 HOST_WIDE_INT next_offset = byte_relative_ebitpos; in output_constructor_bitfield() local
5248 if (next_offset / BITS_PER_UNIT != local->total_bytes) in output_constructor_bitfield()
5259 if (next_offset / BITS_PER_UNIT != local->total_bytes) in output_constructor_bitfield()
5261 gcc_assert (next_offset / BITS_PER_UNIT >= local->total_bytes); in output_constructor_bitfield()
5262 assemble_zeros (next_offset / BITS_PER_UNIT - local->total_bytes); in output_constructor_bitfield()
5263 local->total_bytes = next_offset / BITS_PER_UNIT; in output_constructor_bitfield()
5280 temp_state.bit_offset = next_offset % BITS_PER_UNIT; in output_constructor_bitfield()
5291 while (next_offset < end_offset) in output_constructor_bitfield()
5296 HOST_WIDE_INT next_byte = next_offset / BITS_PER_UNIT; in output_constructor_bitfield()
5297 HOST_WIDE_INT next_bit = next_offset % BITS_PER_UNIT; in output_constructor_bitfield()
[all …]
/dragonfly/sys/kern/
HDsubr_disk.c1426 off_t next_offset; in bioqwritereorder() local
1440 next_offset = bioq->transition->bio_offset; in bioqwritereorder()
1442 (check_off == 0 || next_offset == bio->bio_offset) in bioqwritereorder()
1445 next_offset = bio->bio_offset + n; in bioqwritereorder()
/dragonfly/contrib/gcc-4.7/gcc/
HDvarasm.c4900 HOST_WIDE_INT next_offset = byte_relative_ebitpos; in output_constructor_bitfield() local
4921 if (next_offset / BITS_PER_UNIT != local->total_bytes) in output_constructor_bitfield()
4932 if (next_offset / BITS_PER_UNIT != local->total_bytes) in output_constructor_bitfield()
4934 gcc_assert (next_offset / BITS_PER_UNIT >= local->total_bytes); in output_constructor_bitfield()
4935 assemble_zeros (next_offset / BITS_PER_UNIT - local->total_bytes); in output_constructor_bitfield()
4936 local->total_bytes = next_offset / BITS_PER_UNIT; in output_constructor_bitfield()
4954 output_state.bit_offset = next_offset % BITS_PER_UNIT; in output_constructor_bitfield()
4965 while (next_offset < end_offset) in output_constructor_bitfield()
4970 HOST_WIDE_INT next_byte = next_offset / BITS_PER_UNIT; in output_constructor_bitfield()
4971 HOST_WIDE_INT next_bit = next_offset % BITS_PER_UNIT; in output_constructor_bitfield()
[all …]

12