Home
last modified time | relevance | path

Searched refs:once (Results 1 – 25 of 111) sorted by relevance

12345

/titanic_51/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-platform.h69 guarantee in both cases that the init function is run once, in one
112 ensures thath the function is called exactly once (pthread_once or
202 typedef struct { k5_once_t once; int error, did_run; void (*fn)(void); } k5_init_t; member
215 int k5int_err = k5_once(&k5int_i->once, k5int_i->fn); \
226 err = k5_once(&i->once, i->fn); \
238 static k5_init_t JOIN__2(NAME, once) = \
243 JOIN__2(NAME, once).did_run = 1; \
244 JOIN__2(NAME, once).error = NAME(); \
249 k5_call_init_function(& JOIN__2(NAME, once))
255 if we don't invoke mutex/once routine
[all...]
/titanic_51/usr/src/lib/libresolv2/common/irs/
H A Dgai_strerror.c59 static int once = 0; in gai_strerror()
67 if (!once) { in gai_strerror()
70 if (!once) { in gai_strerror()
75 once = 1; in gai_strerror()
H A Dirs_data.c60 static int once = 0; variable
135 if (!once) { in net_data_init()
138 if (!once) { in net_data_init()
143 once = 1; in net_data_init()
/titanic_51/usr/src/lib/libc/port/threads/
H A Dpthread.c154 * pthread_once: calls given function only once.
160 __once_t *once = (__once_t *)once_control; in pthread_once() local
162 if (once == NULL || init_routine == NULL) in pthread_once()
165 if (once->once_flag == PTHREAD_ONCE_NOTDONE) { in pthread_once()
166 (void) mutex_lock(&once->mlock); in pthread_once()
167 if (once->once_flag == PTHREAD_ONCE_NOTDONE) { in pthread_once()
168 pthread_cleanup_push(mutex_unlock, &once->mlock); in pthread_once()
172 once->once_flag = PTHREAD_ONCE_DONE; in pthread_once()
174 (void) mutex_unlock(&once->mlock); in pthread_once()
/titanic_51/usr/src/lib/libast/common/sfio/
H A Dvthread.h156 _vtonce_t once; member
169 #define vtonceerror(once) ((once)->error) argument
215 #define vtonceerror(once) (0) argument
/titanic_51/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dvthread.h153 /* structure for exactly once execution */
156 _vtonce_t once; member
169 #define vtonceerror(once) ((once)->error) argument
215 #define vtonceerror(once) (0) argument
/titanic_51/usr/src/cmd/svc/startd/
H A Dspecials.c63 static int once; in special_fsroot_post_online() local
91 if (once) in special_fsroot_post_online()
97 once++; in special_fsroot_post_online()
/titanic_51/usr/src/boot/sys/boot/efi/libefi/
H A Ddevpath.c66 static int once = 1; in efi_devpath_name() local
71 if (once) { in efi_devpath_name()
76 once = 0; in efi_devpath_name()
/titanic_51/usr/src/contrib/zlib/
H A Dcrc32.c158 Define a once() function depending on the availability of atomics. If this is
165 /* Definition of once functionality. */
167 local void once OF((once_t *, void (*)(void)));
175 /* Structure for once(), which must be initialized with ONCE_INIT. */
183 Run the provided init() function exactly once, even if multiple threads
184 invoke once() at the same time. The state must be a once_t initialized with
187 local void once(state, init) in once() function
204 /* Structure for once(), which must be initialized with ONCE_INIT. */
224 /* Run the provided init() function once. This is not thread-safe. */
225 local void once(stat function
[all...]
/titanic_51/usr/src/cmd/sa/
H A DREADME39 sadc is executed once, such that a special record is written to
46 If t and n are not specified, it writes data once.
58 minutes interval from 8:00 to 17:00 and once at other times.
/titanic_51/usr/src/cmd/tbl/
H A Dt8.c23 int once; variable
44 if (i==0) once=0; in putline()
108 if (allflg && once>0 ) in putline()
110 once=1; in putline()
/titanic_51/usr/src/psm/stand/boot/sparc/common/
H A Dboot_plat.c252 static int once; in openfile() local
255 if (once == 0) { in openfile()
257 ++once; in openfile()
/titanic_51/usr/src/cmd/mail/
H A DSTD_VAC_MSG8 receive it only once, although all the messages you send
/titanic_51/usr/src/lib/libsqlite/src/
H A Dtclsqlite.c74 int once; /* Set for first callback only */ member
99 assert( cbData->once ); in DbEvalCallback()
100 cbData->once = 0; in DbEvalCallback()
185 if( azCol==0 || (cbData->once && cbData->zArray[0]) ){ in DbEvalCallback()
197 cbData->once = 0; in DbEvalCallback()
796 cbData.once = 1; in DbObjCmd()
/titanic_51/usr/src/common/ficl/test/
H A Dtestcase.fr62 .( You should once more see [3] 1 2 3 -> )
/titanic_51/usr/src/cmd/geniconvtbl/
H A Dgeniconvtbl.c503 long once) in map_i_f() argument
587 } while ((0 < *inbytesleft) && (0 == once)); in map_i_f()
603 long once) in map_l_f() argument
683 } while ((0 < *inbytesleft) && (0 == once)); in map_l_f()
699 long once) in map_h_l() argument
823 } while ((0 < *inbytesleft) && (0 == once)); in map_h_l()
839 long once) in map_d_e_l() argument
914 } while ((0 < *inbytesleft) && (0 == once)); in map_d_e_l()
/titanic_51/usr/src/psm/
H A DMakefile.psm.6434 # XX64 all the stuff below this line should go away once the tools are fixed
/titanic_51/usr/src/lib/libshell/common/tests/
H A Darith.sh535 (( x==1)) || err_exit '((a[++x]++)) should only increment x once'
540 (( x==1)) || err_exit '((a[x++]++)) should only increment x once'
/titanic_51/usr/src/lib/fm/libdiagcode/common/tests/
H A DMALFORMED.dict35 a moose once bit my sister.
/titanic_51/usr/src/lib/libpp/common/
H A Dpp.probe197 echo '#include "once.h"
198 #include "once.h"' > once.$src
199 echo '#ifdef once
202 #define once
203 #endif' > once.h
404 { $cc -E once.$src | grep allmultiple ;} && allmultiple=1
/titanic_51/usr/src/contrib/ast/src/lib/libpp/
H A Dpp.probe197 echo '#include "once.h"
198 #include "once.h"' > once.$src
199 echo '#ifdef once
202 #define once
203 #endif' > once.h
404 { $cc -E once.$src | grep allmultiple ;} && allmultiple=1
/titanic_51/usr/src/cmd/auditd/
H A Ddoorway.c1193 static boolean_t once = B_FALSE; in process() local
1239 if (!once) { in process()
1241 once = B_TRUE; in process()
1266 once = B_FALSE; in process()
/titanic_51/usr/src/cmd/cmd-inet/etc/default/
H A Dipsec.dfl28 # This file is read once by each in.iked process.
/titanic_51/usr/src/cmd/ast/msgcc/
H A DNOTES53 (5) once all this is working I'll do catopen(3) and msggen(1)
/titanic_51/usr/src/contrib/ast/src/cmd/msgcc/
H A DNOTES53 (5) once all this is working I'll do catopen(3) and msggen(1)

12345