Searched refs:base (Results 1 – 1 of 1) sorted by relevance
/block/partitions/ |
D | ldm.c | 368 unsigned long base, struct ldmdb *ldb) in ldm_validate_tocblocks() argument 395 data = read_part_sector(state, base + off[i], §); in ldm_validate_tocblocks() 442 unsigned long base, struct ldmdb *ldb) in ldm_validate_vmdb() argument 455 data = read_part_sector(state, base + OFF_VMDB, §); in ldm_validate_vmdb() 635 static int ldm_relative(const u8 *buffer, int buflen, int base, int offset) in ldm_relative() argument 638 base += offset; in ldm_relative() 639 if (!buffer || offset < 0 || base > buflen) { in ldm_relative() 644 if (base > buflen) in ldm_relative() 645 ldm_error("base (%d) > buflen (%d)", base, buflen); in ldm_relative() 648 if (base + buffer[base] >= buflen) { in ldm_relative() [all …]
|