Searched refs:toc (Results 1 – 2 of 2) sorted by relevance
140 static bool ldm_parse_tocblock (const u8 *data, struct tocblock *toc) in ldm_parse_tocblock() argument142 BUG_ON (!data || !toc); in ldm_parse_tocblock()148 strncpy (toc->bitmap1_name, data + 0x24, sizeof (toc->bitmap1_name)); in ldm_parse_tocblock()149 toc->bitmap1_name[sizeof (toc->bitmap1_name) - 1] = 0; in ldm_parse_tocblock()150 toc->bitmap1_start = get_unaligned_be64(data + 0x2E); in ldm_parse_tocblock()151 toc->bitmap1_size = get_unaligned_be64(data + 0x36); in ldm_parse_tocblock()153 if (strncmp (toc->bitmap1_name, TOC_BITMAP1, in ldm_parse_tocblock()154 sizeof (toc->bitmap1_name)) != 0) { in ldm_parse_tocblock()156 TOC_BITMAP1, toc->bitmap1_name); in ldm_parse_tocblock()159 strncpy (toc->bitmap2_name, data + 0x46, sizeof (toc->bitmap2_name)); in ldm_parse_tocblock()[all …]
201 struct tocblock toc; member