Home
last modified time | relevance | path

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

/block/partitions/
Dldm.c371 struct tocblock *tb[4]; in ldm_validate_tocblocks() local
380 tb[0] = &ldb->toc; in ldm_validate_tocblocks()
381 tb[1] = kmalloc(sizeof(*tb[1]) * 3, GFP_KERNEL); in ldm_validate_tocblocks()
382 if (!tb[1]) { in ldm_validate_tocblocks()
386 tb[2] = (struct tocblock*)((u8*)tb[1] + sizeof(*tb[1])); in ldm_validate_tocblocks()
387 tb[3] = (struct tocblock*)((u8*)tb[2] + sizeof(*tb[2])); in ldm_validate_tocblocks()
400 if (ldm_parse_tocblock(data, tb[nr_tbs])) in ldm_validate_tocblocks()
409 if (((tb[0]->bitmap1_start + tb[0]->bitmap1_size) > ph->config_size) || in ldm_validate_tocblocks()
410 ((tb[0]->bitmap2_start + tb[0]->bitmap2_size) > in ldm_validate_tocblocks()
417 if (!ldm_compare_tocblocks(tb[0], tb[i])) { in ldm_validate_tocblocks()
[all …]