Lines Matching refs:usemap
302 check_use (const char *data, nscd_ssize_t first_free, uint8_t *usemap, in check_use() argument
312 if (usemap[start] == use_not) in check_use()
315 usemap[start] = use | use_begin; in check_use()
319 if (usemap[++start] != use_not) in check_use()
322 usemap[start] = use; in check_use()
325 usemap[start] = use | use_end; in check_use()
327 else if ((usemap[start] & ~use_first) == ((use | use_begin) & ~use_first)) in check_use()
333 usemap[start] |= (use & use_first); in check_use()
337 if (usemap[++start] != use) in check_use()
340 if (usemap[++start] != (use | use_end)) in check_use()
384 uint8_t *usemap = calloc (head->first_free, 1); in verify_persistent_db() local
385 if (usemap == NULL) in verify_persistent_db()
400 if (! check_use (data, head->first_free, usemap, use_he, work, in verify_persistent_db()
429 if (! check_use (data, head->first_free, usemap, in verify_persistent_db()
463 if (usemap[idx] == use_data_begin) in verify_persistent_db()
471 free (usemap); in verify_persistent_db()
475 free (usemap); in verify_persistent_db()