Lines Matching refs:header
372 rwlocks = (tdb_rwlock_t *)((char *)tdb->map_ptr + tdb->header.rwlocks);
395 rwlocks = (tdb_rwlock_t *)((char *)tdb->map_ptr + tdb->header.rwlocks);
443 if (tdb->header.rwlocks == 0) return 0;
447 rwlocks = (tdb_rwlock_t *)((char *)tdb->map_ptr + tdb->header.rwlocks);
448 for(i = 0; i < tdb->header.hash_size+1; i++) {
462 tdb_off off = (tdb_off)((char *)&tdb->header.rwlocks
463 - (char *)&tdb->header);
465 tdb->header.rwlocks = 0;
467 || write(tdb->fd, (void *)&tdb->header.rwlocks,
468 sizeof(tdb->header.rwlocks))
469 != sizeof(tdb->header.rwlocks))