Lines Matching refs:bucket
417 unsigned bucket; member
484 unsigned bucket, entry; in table_seq_start() local
487 bucket = n >> 32; in table_seq_start()
490 if (bucket >= ls->ls_rsbtbl_size) in table_seq_start()
509 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_start()
511 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
518 ri->bucket = bucket; in table_seq_start()
519 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
524 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
534 bucket++; in table_seq_start()
537 if (bucket >= ls->ls_rsbtbl_size) { in table_seq_start()
541 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_start()
543 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
549 ri->bucket = bucket; in table_seq_start()
550 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
554 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
566 unsigned bucket; in table_seq_next() local
569 bucket = n >> 32; in table_seq_next()
575 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
583 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
588 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
599 bucket++; in table_seq_next()
602 if (bucket >= ls->ls_rsbtbl_size) { in table_seq_next()
607 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_next()
609 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
615 ri->bucket = bucket; in table_seq_next()
616 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
620 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()