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