Searched refs:hashnum (Results 1 – 1 of 1) sorted by relevance
66 static unsigned int hashnum(unsigned int num) in hashnum() function87 v = vendors[hashnum(vendorid)]; in names_vendor()98 p = products[hashnum((vendorid << 16) | productid)]; in names_product()109 c = classes[hashnum(classid)]; in names_class()120 s = subclasses[hashnum((classid << 8) | subclassid)]; in names_subclass()132 p = protocols[hashnum((classid << 16) | (subclassid << 8) in names_protocol()191 unsigned int h = hashnum(vendorid); in new_vendor()211 unsigned int h = hashnum((vendorid << 16) | productid); in new_product()231 unsigned int h = hashnum(classid); in new_class()250 unsigned int h = hashnum((classid << 8) | subclassid); in new_subclass()[all …]