Lines Matching defs:bin
64 * 2) Protect hashbin structure itself (linked list in each bin)
71 * o HB_GLOBAL was using a spinlock for each bin (local locking).
99 * way to know the proper bin, so don't know which spinlock to use.
453 int bin;
465 bin = GET_HASHBIN( hashv );
482 enqueue_first( (irda_queue_t**) &hashbin->hb_queue[ bin ],
514 int bin;
520 bin = GET_HASHBIN( hashv );
525 dequeue_general( (irda_queue_t**) &hashbin->hb_queue[ bin ],
564 int bin, found = FALSE;
578 bin = GET_HASHBIN( hashv );
588 entry = hashbin->hb_queue[ bin ];
610 } while ( entry != hashbin->hb_queue[ bin ] );
617 dequeue_general( (irda_queue_t**) &hashbin->hb_queue[ bin ],
658 int bin;
682 bin = GET_HASHBIN( hashv );
687 dequeue_general( (irda_queue_t**) &hashbin->hb_queue[ bin ],
719 int bin;
732 bin = GET_HASHBIN( hashv );
737 entry = hashbin->hb_queue[ bin];
756 } while ( entry != hashbin->hb_queue[ bin ] );
878 int bin;
889 bin = GET_HASHBIN( entry->q_hash);
895 if ( entry != hashbin->hb_queue[ bin ]) {
904 if ( bin >= HASHBIN_SIZE)
910 bin++;
911 for ( i = bin; i < HASHBIN_SIZE; i++ ) {