Home
last modified time | relevance | path

Searched refs:pidshift (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmktemp.c102 static int pidshift = 0; in libc_mktemps() local
138 if (pidshift == 0) /* one-time initialization */ in libc_mktemps()
139 pidshift = fls((uint_t)MAXPID); /* high bit number */ in libc_mktemps()
156 if ((tryshift = xcnt * 6 - pidshift) < 0) { in libc_mktemps()
179 xpid >>= (previous_xcnt * 6 - pidshift); in libc_mktemps()
180 xpid &= ((1 << pidshift) - 1); in libc_mktemps()