Lines Matching refs:bucket

371 	unsigned bucket;  member
430 unsigned bucket, entry; in table_seq_start() local
433 bucket = n >> 32; in table_seq_start()
436 if (bucket >= ls->ls_rsbtbl_size) in table_seq_start()
453 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_start()
455 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
462 ri->bucket = bucket; in table_seq_start()
463 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
468 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
478 bucket++; in table_seq_start()
481 if (bucket >= ls->ls_rsbtbl_size) { in table_seq_start()
485 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_start()
487 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
493 ri->bucket = bucket; in table_seq_start()
494 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
498 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start()
510 unsigned bucket; in table_seq_next() local
513 bucket = n >> 32; in table_seq_next()
519 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
527 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
532 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next()
543 bucket++; in table_seq_next()
546 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()