Searched refs:LUN_HASH_FUNC (Results 1 – 2 of 2) sorted by relevance
159 #define LUN_HASH_FUNC(lun) ((lun) & (LUN_HASH_SIZE - 1)) macro
656 SLIST_FOREACH(tptr, &fc->lun_hash[LUN_HASH_FUNC(lun)], next) { in get_lun_statep()840 SLIST_INSERT_HEAD(&fc->lun_hash[LUN_HASH_FUNC(lun)], tptr, next); in create_lun_state()867 SLIST_REMOVE(&fc->lun_hash[LUN_HASH_FUNC(tptr->ts_lun)], tptr, tstate, next); in destroy_lun_state()