static void qht_bucket_reset__locked(struct qht_bucket *head)

{

    struct qht_bucket *b = head;

    int i;



    seqlock_write_begin(&head->sequence);

    do {

        for (i = 0; i < QHT_BUCKET_ENTRIES; i++) {

            if (b->pointers[i] == NULL) {

                goto done;

            }

            b->hashes[i] = 0;

            atomic_set(&b->pointers[i], NULL);

        }

        b = b->next;

    } while (b);

 done:

    seqlock_write_end(&head->sequence);

}

static void qht_bucket_reset__locked(struct qht_bucket *head)

{

    struct qht_bucket *b = head;

    int i;



    seqlock_write_begin(&head->sequence);

    do {

        for (i = 0; i < QHT_BUCKET_ENTRIES; i++) {

            if (b->pointers[i] == NULL) {

                goto done;

            }

            b->hashes[i] = 0;

            atomic_set(&b->pointers[i], NULL);

        }

        b = b->next;

    } while (b);

 done:

    seqlock_write_end(&head->sequence);

}

            b->hashes[i] = 0;
static void FUNC_0(struct qht_bucket *VAR_0)

{

    struct qht_bucket *VAR_1 = VAR_0;

    int VAR_2;



    seqlock_write_begin(&VAR_0->sequence);

    do {

        for (VAR_2 = 0; VAR_2 < QHT_BUCKET_ENTRIES; VAR_2++) {

            if (VAR_1->pointers[VAR_2] == NULL) {

                goto done;

            }

            VAR_1->hashes[VAR_2] = 0;

            atomic_set(&VAR_1->pointers[VAR_2], NULL);

        }

        VAR_1 = VAR_1->next;

    } while (VAR_1);

 done:

    seqlock_write_end(&VAR_0->sequence);

}

static void FUNC_0(struct qht_bucket *VAR_0)
{ struct qht_bucket *VAR_1 = VAR_0; int VAR_2; seqlock_write_begin(&VAR_0->sequence); do { for (VAR_2 = 0; VAR_2 < QHT_BUCKET_ENTRIES; VAR_2++) { if (VAR_1->pointers[VAR_2] == NULL) { goto done; } VAR_1->hashes[VAR_2] = 0; atomic_set(&VAR_1->pointers[VAR_2], NULL); } VAR_1 = VAR_1->next; } while (VAR_1); done:
seqlock_write_end(&VAR_0->sequence); }