/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irs_data.c | 60 static int once = 0; variable 135 if (!once) { 138 if (!once) { 143 once = 1;
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | specials.c | 63 static int once; local 91 if (once) 97 once++;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | k5-platform.h | 69 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 in struct:__anon4670 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...] |
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t8.c | 23 int once; variable 44 if (i==0) once=0; 108 if (allflg && once>0 ) 110 once=1;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | enc_des.c | 93 int once; member in struct:_fb
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | vthread.h | 153 /* structure for exactly once execution */ 156 _vtonce_t once; member in struct:_vtonce_s 169 #define vtonceerror(once) ((once)->error) 215 #define vtonceerror(once) (0)
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | pthread.c | 181 * pthread_once: calls given function only once. 187 __once_t *once = (__once_t *)once_control; local 189 if (once == NULL || init_routine == NULL) 192 if (once->once_flag == PTHREAD_ONCE_NOTDONE) { 193 (void) mutex_lock(&once->mlock); 194 if (once->once_flag == PTHREAD_ONCE_NOTDONE) { 195 pthread_cleanup_push(mutex_unlock, &once->mlock); 199 once->once_flag = PTHREAD_ONCE_DONE; 201 (void) mutex_unlock(&once->mlock);
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | boot_plat.c | 252 static int once; local 255 if (once == 0) { 257 ++once;
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | tclsqlite.c | 74 int once; /* Set for first callback only */ member in struct:CallbackData 99 assert( cbData->once ); 100 cbData->once = 0; 185 if( azCol==0 || (cbData->once && cbData->zArray[0]) ){ 197 cbData->once = 0; 796 cbData.once = 1;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/nca/ |
H A D | nca.c | 143 * once mdb pager bug is fixed. 277 static int once; local 279 if (once == 0) { 288 once++;
|
/illumos-gate/usr/src/cmd/auditd/ |
H A D | doorway.c | 1193 static boolean_t once = B_FALSE; local 1239 if (!once) { 1241 once = B_TRUE; 1266 once = B_FALSE;
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | geniconvtbl.c | 503 long once) 587 } while ((0 < *inbytesleft) && (0 == once)); 603 long once) 683 } while ((0 < *inbytesleft) && (0 == once)); 699 long once) 823 } while ((0 < *inbytesleft) && (0 == once)); 839 long once) 914 } while ((0 < *inbytesleft) && (0 == once)); 497 map_i_f( itm_tbl_hdr_t *tbl_hdr, const unsigned char **inbuf, size_t *inbytesleft, unsigned char **outbuf, size_t *outbytesleft, long once) argument 597 map_l_f( itm_tbl_hdr_t *tbl_hdr, const unsigned char **inbuf, size_t *inbytesleft, unsigned char **outbuf, size_t *outbytesleft, long once) argument 693 map_h_l( itm_tbl_hdr_t *tbl_hdr, const unsigned char **inbuf, size_t *inbytesleft, unsigned char **outbuf, size_t *outbytesleft, long once) argument 833 map_d_e_l( itm_tbl_hdr_t *tbl_hdr, const unsigned char **inbuf, size_t *inbytesleft, unsigned char **outbuf, size_t *outbytesleft, long once) argument
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_addr.c | 791 boolean_t once = B_FALSE; local 819 if (once) 822 once = B_TRUE; 1766 * to sctp_valid_addr_list() once the clustering module has processed it.
|
/illumos-gate/usr/src/common/ficl/ |
H A D | vm.c | 253 int once; local 263 once = (fw != NULL); 264 if (once) 281 if (once) {
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | tape.c | 527 * the device once without prompting to enable unattended 1294 static int once = 0; local 1309 if (once == 0) { 1311 ++once;
|
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | reglib.h | 551 unsigned char once; /* if 1st parse fails, quit */ member in struct:reglib_s
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 692 * Simply assign "waitaround = 0" once you attach to the process, and then 2946 int once = 1; local 3112 if (once) { 3122 once = 0; 3133 once = 0; 4119 * NOTE: though rather bulky, it is only called once per file
|
/illumos-gate/usr/src/uts/common/io/iwn/ |
H A D | if_iwnreg.h | 764 struct iwn5000_calib_elem once; member in struct:iwn5000_calib_status
|
/illumos-gate/usr/src/uts/common/io/iwh/ |
H A D | iwh_hw.h | 1075 #define BIT_INT_ALIVE (1<<0) /* uCode interrupts once it initializes */ 2187 struct iwh_calib_cfg_elmnt_s once; member in struct:iwh_calib_cfg_status_s
|
/illumos-gate/usr/src/uts/common/io/iwp/ |
H A D | iwp_hw.h | 1075 #define BIT_INT_ALIVE (1<<0) /* uCode interrupts once it initializes */ 2184 struct iwp_calib_cfg_elmnt_s once; member in struct:iwp_calib_cfg_status_s
|