Lines Matching refs:bucket
370 unsigned bucket; member
429 unsigned bucket, entry; in table_seq_start() local
432 bucket = n >> 32; in table_seq_start()
435 if (bucket >= ls->ls_rsbtbl_size) in table_seq_start()
452 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_start()
454 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
461 ri->bucket = bucket; in table_seq_start()
462 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
467 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
477 bucket++; in table_seq_start()
480 if (bucket >= ls->ls_rsbtbl_size) { in table_seq_start()
484 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_start()
486 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
492 ri->bucket = bucket; in table_seq_start()
493 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
497 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
509 unsigned bucket; in table_seq_next() local
512 bucket = n >> 32; in table_seq_next()
518 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
526 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
531 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
542 bucket++; in table_seq_next()
545 if (bucket >= ls->ls_rsbtbl_size) { in table_seq_next()
550 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_next()
552 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
558 ri->bucket = bucket; in table_seq_next()
559 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
563 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()