Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libcrypt/common/
H A Ddes.c134 int g_desfd = UNOPENED; in common_crypt() local
146 if (g_desfd < 0) { in common_crypt()
147 if (g_desfd == -1 || (g_desfd = getdesfd()) < 0) { in common_crypt()
158 res = ioctl(g_desfd, (int)DESIOCQUICK, (char *)desp); in common_crypt()
162 res = ioctl(g_desfd, (int)DESIOCBLOCK, (char *)desp); in common_crypt()
/titanic_50/usr/src/lib/libnsl/des/
H A Ddes_crypt.c62 static int g_desfd = UNOPENED; variable
138 if (g_desfd < 0) { in common_crypt()
139 if (g_desfd == -1 || (g_desfd = getdesfd()) < 0) { in common_crypt()
150 res = ioctl(g_desfd, DESIOCQUICK, (char *)desp); in common_crypt()
154 res = ioctl(g_desfd, DESIOCBLOCK, (char *)desp); in common_crypt()
/titanic_50/usr/src/uts/common/des/
H A Ddes_crypt.c62 static int g_desfd = -1; variable
356 if (g_desfd < 0 && in common_crypt()
357 (g_desfd == -1 || (g_desfd = getdesfd()) < 0)) in common_crypt()
366 res = ioctl(g_desfd, DESIOCQUICK, (char *)desp); in common_crypt()
370 res = ioctl(g_desfd, DESIOCBLOCK, (char *)desp); in common_crypt()