Home
last modified time | relevance | path

Searched refs:l2_offset (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/tests/qemu-iotests/
H A D06063 l2_offset=262144 # 0x40000 (XXX: just an assumption)
110 truncate -s "$(($l2_offset+65536))" "$TEST_IMG"
115 poke_file "$TEST_IMG" "$l2_offset" "\x80\x00\x00\x00\x00\x02\x00\x00"
170 poke_file "$TEST_IMG" "$l2_offset" "\x00\x00\x00\x00\x00\x00\x00\x00"
215 poke_file "$TEST_IMG" "$l2_offset" "\x80\x00\x00\x00\x00\x05\x2a\x00"
223 poke_file "$TEST_IMG" "$l2_offset" "\x80\x00\x00\x00\x00\x05\x2a\x01"
239 poke_file "$TEST_IMG" "$l2_offset" "\x80\x00\x00\x00\x00\x05\x2a\x00"
247 poke_file "$TEST_IMG" "$l2_offset" "\x80\x00\x00\x00\x00\x05\x2a\x00"
256 poke_file "$TEST_IMG" "$l2_offset" "\x80\x00\x00\x00\x00\x05\x2a\x00"
257 poke_file "$TEST_IMG" "$(($l2_offset+8))" "\x80\x00\x00\x00\x00\x06\x2a\x00"
[all …]
H A Dqed.py173 l2_offset = qed.l1_table[l1_index]
174 l2_table = qed.read_table(l2_offset)
178 qed.write_table(l2_offset, l2_table)
200 for l2_offset in qed.l1_table:
201 if l2_offset == 0:
203 l2_table = qed.read_table(l2_offset)
204 out.seek(l2_offset)
H A D108274 l2_offset=$(peek_file_be "$TEST_IMG" $l1_offset 8)
275 l2_offset=$((l2_offset & 0x00fffffffffffe00))
277 $((l2_offset + 4096 / 512 * 8)) 8)
H A D27148 l2_offset=$((0x40000))
64 offset=$(($l2_offset + $entry_no * 16))
540 poke_file "$TEST_IMG" $(($l2_offset+8)) "\x00\x00"
583 poke_file "$TEST_IMG" $(($l2_offset+7)) "\x01"
599 poke_file_be "$TEST_IMG" $(($l2_offset+24)) 4 1
617 poke_file "$TEST_IMG" $(($l2_offset+7)) "\x01"
633 poke_file "$TEST_IMG" $(($l2_offset+15)) "\x01"
646 poke_file_be "$TEST_IMG" $(($l2_offset+24)) 8 $(((1 << 32) | 1))
659 poke_file "$TEST_IMG" $(($l2_offset+11)) "\x01\x80"
686 poke_file "$TEST_IMG" "$(($l2_offset+6))" "\x02"
[all …]
/openbmc/qemu/block/
H A Dqed-cluster.c95 uint64_t l2_offset; in qed_find_cluster() local
106 l2_offset = s->l1_table->offsets[qed_l1_index(s, pos)]; in qed_find_cluster()
107 if (qed_offset_is_unalloc_cluster(l2_offset)) { in qed_find_cluster()
111 if (!qed_check_table_offset(s, l2_offset)) { in qed_find_cluster()
116 ret = qed_read_l2_table(s, request, l2_offset); in qed_find_cluster()
/openbmc/qemu/docs/interop/
H A Dqed_spec.rst192 l2_offset = l1_table[l1_index]
193 l2_table = load_table(l2_offset)