Searched refs:rand (Results 1 – 7 of 7) sorted by relevance
284 facilities->rand = ((p[1] << 8) & 0xFF00) + ((p[2] << 0) & 0x00FF); in rose_parse_national()433 if (rose->rand != 0 || rose->source_ndigis == 1 || rose->dest_ndigis == 1) { in rose_create_facilities()437 if (rose->rand != 0) { in rose_create_facilities()439 *p++ = (rose->rand >> 8) & 0xFF; in rose_create_facilities()440 *p++ = (rose->rand >> 0) & 0xFF; in rose_create_facilities()
918 if (rose_route->rand == facilities.rand && in rose_route_frame()947 rose_route->rand = facilities.rand; in rose_route_frame()
796 sk->protinfo.rose->rand = ((int)sk->protinfo.rose & 0xFFFF) + sk->protinfo.rose->lci; in rose_connect()
661 static int rand; in irlap_generate_rand_time_slot() local666 rand += jiffies; in irlap_generate_rand_time_slot()667 rand ^= (rand << 12); in irlap_generate_rand_time_slot()668 rand ^= (rand >> 20); in irlap_generate_rand_time_slot()670 slot = s + rand % (S-s); in irlap_generate_rand_time_slot()
114 unsigned int rand; member125 unsigned int lci, rand; member
82 unsigned int rand; member
298 static unsigned long rand; variable361 rand = rand * 1664525L + 1013904223L; in random()362 return (unsigned char) (rand >> 24); in random()377 rand = jiffies; in dmascc_init()