Home
last modified time | relevance | path

Searched refs:header_num (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/net/disk_cache/blockfile/
Dblock_bitmaps_v3.cc34 int header_num = HeaderNumberForNewBlock(block_type, block_count); in CreateBlock() local
35 if (header_num < 0) in CreateBlock()
39 if (!bitmaps_[header_num].CreateMapBlock(block_count, &index)) in CreateBlock()
43 !bitmaps_[header_num].CreateMapBlock(block_count, &index)) { in CreateBlock()
48 Addr address(block_type, block_count, bitmaps_[header_num].FileId(), index); in CreateBlock()
58 int header_num = GetHeaderNumber(address); in DeleteBlock() local
59 if (header_num < 0) in DeleteBlock()
63 bitmaps_[header_num].DeleteMapBlock(address.start_block(), in DeleteBlock()
95 int header_num = GetHeaderNumber(address); in IsValid()
96 if (header_num < 0) in IsValid()
[all …]
/external/fio/
Dverify.c29 struct verify_header *hdr, unsigned int header_num,
105 unsigned int hdr_inc, header_num; in fill_pattern_headers() local
112 header_num = 0; in fill_pattern_headers()
115 populate_hdr(td, io_u, hdr, header_num, hdr_inc); in fill_pattern_headers()
116 header_num++; in fill_pattern_headers()
870 struct io_u *io_u, unsigned int header_num) in fill_meta() argument
881 vh->offset = io_u->offset + header_num * td->o.verify_interval; in fill_meta()
974 struct verify_header *hdr, unsigned int header_num, in populate_hdr() argument
1041 fill_meta(hdr, td, io_u, header_num); in populate_hdr()