/freebsd-11-stable/sys/kern/ |
H A D | kern_clocksource.c | 72 #define ET_HW_LOCK(state) \ 75 mtx_lock_spin(&(state)->et_hw_mtx); \ 80 #define ET_HW_UNLOCK(state) \ 83 mtx_unlock_spin(&(state)->et_hw_mtx); \ 137 struct pcpu_state *state; local 142 state = DPCPU_PTR(timerstate); 143 now = state->now; 158 struct pcpu_state *state; local 173 state = DPCPU_PTR(timerstate); 176 while (now >= state 233 struct pcpu_state *state; local 268 struct pcpu_state *state; local 304 struct pcpu_state *state; local 379 struct pcpu_state *state; local 445 struct pcpu_state *state; local 481 struct pcpu_state *state; local 593 struct pcpu_state *state; local 682 struct pcpu_state *state; local 762 struct pcpu_state *state; local 795 struct pcpu_state *state; local 837 struct pcpu_state *state; local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CStringChecker.cpp | 64 void checkLiveSymbols(ProgramStateRef state, SymbolReaper &SR) const; 68 checkRegionChanges(ProgramStateRef state, 114 ProgramStateRef state, 161 ProgramStateRef state, SVal V, QualType Ty); 163 static ProgramStateRef setCStringLength(ProgramStateRef state, 167 ProgramStateRef &state, 172 ProgramStateRef &state, 178 ProgramStateRef &state, 183 ProgramStateRef state, 197 ProgramStateRef state, 215 CheckBufferAccess(CheckerContext &C, ProgramStateRef state, const Expr *Size, const Expr *Buf, const char *message = nullptr, bool WarnAboutSize = false) const argument 266 assumeZero(CheckerContext &C, ProgramStateRef state, SVal V, QualType Ty) argument 277 checkNonNull(CheckerContext &C, ProgramStateRef state, const Expr *S, SVal l, unsigned IdxOfArg) const argument 308 CheckLocation(CheckerContext &C, ProgramStateRef state, const Expr *S, SVal l, const char *warningMsg) const argument 368 CheckBufferAccess(CheckerContext &C, ProgramStateRef state, const Expr *Size, const Expr *FirstBuf, const Expr *SecondBuf, const char *firstMessage, const char *secondMessage, bool WarnAboutSize) const argument 447 CheckOverlap(CheckerContext &C, ProgramStateRef state, const Expr *Size, const Expr *First, const Expr *Second) const argument 560 emitOverlapBug(CheckerContext &C, ProgramStateRef state, const Stmt *First, const Stmt *Second) const argument 656 checkAdditionOverflow(CheckerContext &C, ProgramStateRef state, NonLoc left, NonLoc right) const argument 711 setCStringLength(ProgramStateRef state, const MemRegion *MR, SVal strLength) argument 751 getCStringLengthForRegion(CheckerContext &C, ProgramStateRef &state, const Expr *Ex, const MemRegion *MR, bool hypothetical) argument 790 getCStringLength(CheckerContext &C, ProgramStateRef &state, const Expr *Ex, SVal Buf, bool hypothetical) const argument 864 getCStringLiteral(CheckerContext &C, ProgramStateRef &state, const Expr *expr, SVal val) const argument 884 IsFirstBufInBound(CheckerContext &C, ProgramStateRef state, const Expr *FirstBuf, const Expr *Size) argument 950 InvalidateBuffer(CheckerContext &C, ProgramStateRef state, const Expr *E, SVal V, bool IsSourceBuffer, const Expr *Size) argument 1137 evalCopyCommon(CheckerContext &C, const CallExpr *CE, ProgramStateRef state, const Expr *Size, const Expr *Dest, const Expr *Source, bool Restricted, bool IsMempcpy) const argument 1243 ProgramStateRef state = C.getState(); local 1252 ProgramStateRef state = C.getState(); local 1261 ProgramStateRef state = C.getState(); local 1280 ProgramStateRef state = C.getState(); local 1359 ProgramStateRef state = C.getState(); local 1543 ProgramStateRef state = C.getState(); local 1940 ProgramStateRef state = C.getState(); local 2310 ProgramStateRef state = C.getState(); local 2344 checkRegionChanges(ProgramStateRef state, const InvalidatedSymbols *, ArrayRef<const MemRegion *> ExplicitRegions, ArrayRef<const MemRegion *> Regions, const LocationContext *LCtx, const CallEvent *Call) const argument 2397 checkLiveSymbols(ProgramStateRef state, SymbolReaper &SR) const argument 2414 ProgramStateRef state = C.getState(); local [all...] |
H A D | BuiltinFunctionChecker.cpp | 34 ProgramStateRef state = C.getState(); local 52 state = state->assume(Arg.castAs<DefinedOrUnknownSVal>(), true); 55 if (!state) { 60 C.addTransition(state); 74 C.addTransition(state->BindExpr(CE, LCtx, Arg)); 95 svalBuilder.evalEQ(state, Extent, Size.castAs<DefinedOrUnknownSVal>()); 96 state = state->assume(extentMatchesSizeArg, true); 97 assert(state [all...] |
H A D | VLASizeChecker.cpp | 97 ProgramStateRef state = C.getState(); local 101 reportBug(VLA_Garbage, SE, state, C); 111 if (isTainted(state, sizeV)) { 121 std::tie(stateNotZero, stateZero) = state->assume(sizeD); 129 state = stateNotZero; 141 SVal LessThanZeroVal = svalBuilder.evalBinOp(state, BO_LT, sizeD, Zero, Ty); 147 std::tie(StateNeg, StatePos) = CM.assumeDual(state, *LessThanZeroDVal); 149 reportBug(VLA_Negative, SE, state, C); 152 state = StatePos; 166 state, BO_Mu [all...] |
H A D | ChrootChecker.cpp | 28 // enum value that represent the jail state 35 // The state transition: 79 ProgramStateRef state = C.getState(); local 80 ProgramStateManager &Mgr = state->getStateManager(); 84 state = Mgr.addGDM(state, ChrootChecker::getTag(), (void*) ROOT_CHANGED); 85 C.addTransition(state); 89 ProgramStateRef state = C.getState(); local 90 ProgramStateManager &Mgr = state->getStateManager(); 92 // If there are no jail state i [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_zstd.c | 169 struct private_data *state; local 177 state = (struct private_data *)calloc(sizeof(*state), 1); 181 if (state == NULL || out_block == NULL || dstream == NULL) { 183 free(state); 190 self->data = state; 192 state->out_block_size = out_block_size; 193 state->out_block = out_block; 194 state->dstream = dstream; 199 state 208 struct private_data *state; local 285 struct private_data *state; local [all...] |
H A D | archive_write.c | 116 a->archive.state = ARCHIVE_STATE_NEW; 215 f->state = ARCHIVE_WRITE_FILTER_STATE_NEW; 233 if (f->state != ARCHIVE_WRITE_FILTER_STATE_OPEN) 260 if (f->state != ARCHIVE_WRITE_FILTER_STATE_NEW) 263 f->state = ARCHIVE_WRITE_FILTER_STATE_OPEN; 268 f->state = ARCHIVE_WRITE_FILTER_STATE_OPEN; 270 f->state = ARCHIVE_WRITE_FILTER_STATE_FATAL; 294 if (f->state == ARCHIVE_WRITE_FILTER_STATE_OPEN) { 300 f->state = 303 f->state 339 struct archive_none *state; local 381 struct archive_none *state = (struct archive_none *)f->data; local 481 struct archive_none *state = (struct archive_none *)f->data; local [all...] |
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | pckbd.c | 62 int ks_state; /* shift/lock key state */ 202 pckbd_state_t *state; local 235 state = (pckbd_state_t *)(*kbd)->kb_data; 236 callout_init(&state->ks_timer, 0); 248 pckbd_state_t *state; local 279 state = (pckbd_state_t *)kbd->kb_data; 280 callout_reset(&state->ks_timer, hz / 10, pckbd_timeout, arg); 433 pckbd_state_t *state; local 444 state = &default_kbd_state; 451 state 494 pckbd_state_t *state = (pckbd_state_t *)kbd->kb_data; local 582 pckbd_state_t *state; local 701 pckbd_state_t *state; local 715 pckbd_state_t *state = kbd->kb_data; local 837 pckbd_state_t *state; local [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-sysinfo.c | 69 * This structure defines the private state maintained by sysinfo module. 82 } state __attribute__ ((section (".data_in_text"))) = { variable in typeref:struct:__anon8766 91 } state = { variable in typeref:struct:__anon8767 118 return &(state.sysinfo); 126 cvmx_spinlock_lock(&state.lock); 127 state.sysinfo.core_mask = state.sysinfo.core_mask | core_mask; 128 cvmx_spinlock_unlock(&state.lock); 136 cvmx_spinlock_lock(&state.lock); 137 state [all...] |
H A D | cvmx-debug.c | 205 static inline void cvmx_debug_update_state(cvmx_debug_state_t state) argument 207 cvmx_debug_memcpy_align(cvmx_debug_globals->state, &state, sizeof(cvmx_debug_state_t)); 212 cvmx_debug_state_t state; local 213 cvmx_debug_memcpy_align(&state, cvmx_debug_globals->state, sizeof(cvmx_debug_state_t)); 214 return state; 230 static inline int __cvmx_debug_in_focus(cvmx_debug_state_t state, unsigned core) argument 232 return state.focus_core == core; 297 cvmx_debug_state_t state; local 474 cvmx_debug_active_core(cvmx_debug_state_t state, unsigned core) argument 617 cvmx_debug_state_t state = cvmx_debug_get_state(); local 1065 cvmx_debug_stop_core(cvmx_debug_state_t state, unsigned core, cvmx_debug_register_t *debug_reg, int proxy) argument 1087 cvmx_debug_set_focus_core(cvmx_debug_state_t *state, int core) argument 1095 cvmx_debug_may_elect_as_focus_core(cvmx_debug_state_t *state, int core, cvmx_debug_register_t *debug_reg) argument 1144 cvmx_debug_delay_focus_core(cvmx_debug_state_t state, unsigned core, cvmx_debug_register_t *debug_reg) argument 1167 cvmx_debug_delay_isr_core(unsigned core, uint32_t depc, int single_stepped_exc_only, cvmx_debug_state_t state) argument 1190 cvmx_debug_state_t state = cvmx_debug_get_state(); local 1462 cvmx_debug_state_t state; local 1497 cvmx_debug_state_t state; local 1551 cvmx_debug_state_t state; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | i386gnu-nat.c | 59 #define REG_ADDR(state, regnum) ((char *)(state) + reg_offset[regnum]) 63 /* Get the whole floating-point state of THREAD and record the 69 struct i386_float_state state; 73 (thread_state_t) &state, &count); 76 warning ("Couldn't fetch floating-point state from %s", 81 if (!state.initialized) 82 /* The floating-point state isn't initialized. */ 93 i387_supply_fsave (current_regcache, -1, state.hw_state); 130 thread_state_t state; 68 struct i386_float_state state; local 129 thread_state_t state; local 174 struct i386_float_state state; local 216 thread_state_t state; local [all...] |
H A D | ser-pipe.c | 55 struct pipe_state *state; 108 state = XMALLOC (struct pipe_state); 109 state->pid = pid; 111 scb->state = state; 122 struct pipe_state *state = scb->state; local 123 if (state != NULL) 125 int pid = state->pid; 128 xfree (state); [all...] |
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | strverscmp.c | 95 int state; local 102 /* state x d 0 - */ 111 /* state x/x x/d x/0 x/- d/x d/d d/0 d/- 130 state = S_N | ((c1 == '0') + (ISDIGIT (c1) != 0)); 134 state = next_state[state]; 137 state |= (c1 == '0') + (ISDIGIT (c1) != 0); 140 state = result_type[state << 2 | (((c2 == '0') + (ISDIGIT (c2) != 0)))]; 142 switch (state) [all...] |
/freebsd-11-stable/tools/tools/ath/athdecode/ |
H A D | main.c | 53 static dumpregs_t state; variable 82 state.chipnum = 5210; 116 fprintf(fd, "ar%uReset %s", state.chipnum, 120 fprintf(fd, "ar%u_reset.c; line %u", state.chipnum, r->val); 125 state.chipnum, r->val); 127 fprintf(fd, "ar%uReset (done), OK", state.chipnum); 130 fprintf(fd, "ar%uChipReset, channel %u MHz", state.chipnum, r->val); 133 fprintf(fd, "ar%uPerCalibration, channel %u MHz", state.chipnum, r->val); 136 fprintf(fd, "ar%uSetChannel, channel %u MHz", state.chipnum, r->val); 141 fprintf(fd, "ar%uAniReset, HAL_M_STA", state [all...] |
/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | d1_srvr.c | 169 int new_state, state, skip = 0; local 220 state = s->state; 222 switch (s->state) { 225 /* s->state=SSL_ST_ACCEPT; */ 245 s->state = SSL_ST_ERR; 251 s->state = SSL_ST_ERR; 259 s->state = SSL_ST_ERR; 270 if (s->state != SSL_ST_RENEGOTIATE) { 281 s->state [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountChecker.cpp | 130 ProgramStateRef state; member in class:__anon843::final 132 StopTrackingCallback(ProgramStateRef st) : state(std::move(st)) {} 133 ProgramStateRef getState() const { return state; } 136 state = removeRefBinding(state, sym); 154 ProgramStateRef state = C.getState(); 178 state = state->scanReachableSymbols<StopTrackingCallback>(Regions).getState(); 179 C.addTransition(state); 210 ProgramStateRef state local 231 ProgramStateRef state = C.getState(); local 451 ProgramStateRef state = C.getState(); local 608 ProgramStateRef state = C.getState(); local 711 updateSymbol(ProgramStateRef state, SymbolRef sym, RefVal V, ArgEffect AE, RefVal::Kind &hasErr, CheckerContext &C) const argument 891 ProgramStateRef state = C.getState(); local 1139 ProgramStateRef state = C.getState(); local 1150 evalAssume(ProgramStateRef state, SVal Cond, bool Assumption) const argument 1183 checkRegionChanges( ProgramStateRef state, const InvalidatedSymbols *invalidated, ArrayRef<const MemRegion *> ExplicitRegions, ArrayRef<const MemRegion *> Regions, const LocationContext *LCtx, const CallEvent *Call) const argument 1207 handleAutoreleaseCounts(ProgramStateRef state, ExplodedNode *Pred, const ProgramPointTag *Tag, CheckerContext &Ctx, SymbolRef Sym, RefVal V, const ReturnStmt *S) const argument 1285 handleSymbolDeath(ProgramStateRef state, SymbolRef sid, RefVal V, SmallVectorImpl<SymbolRef> &Leaked) const argument 1313 processLeaks(ProgramStateRef state, SmallVectorImpl<SymbolRef> &Leaked, CheckerContext &Ctx, ExplodedNode *Pred) const argument 1376 ProgramStateRef state = Pred->getState(); local 1413 ProgramStateRef state = C.getState(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/libunwind/src/ |
H A D | Unwind-EHABI.h | 36 _Unwind_State state, _Unwind_Control_Block *ucbp, _Unwind_Context *context); 39 _Unwind_State state, _Unwind_Control_Block *ucbp, _Unwind_Context *context); 42 _Unwind_State state, _Unwind_Control_Block *ucbp, _Unwind_Context *context);
|
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_schedule.c | 46 const char *wmesg, int timeout, int state) 50 MPASS((state & ~(TASK_PARKED | TASK_NORMAL)) == 0); 52 flags = SLEEPQ_SLEEP | ((state & TASK_INTERRUPTIBLE) != 0 ? 60 if ((state & TASK_INTERRUPTIBLE) != 0) { 102 wake_up_task(struct task_struct *task, unsigned int state) argument 108 if ((atomic_read(&task->state) & state) != 0) { 149 linux_signal_pending_state(long state, struct task_struct *task) argument 152 MPASS((state & ~TASK_NORMAL) == 0); 154 if ((state 45 linux_add_to_sleepqueue(void *wchan, struct task_struct *task, const char *wmesg, int timeout, int state) argument 171 autoremove_wake_function(wait_queue_t *wq, unsigned int state, int flags, void *key __unused) argument 184 default_wake_function(wait_queue_t *wq, unsigned int state, int flags, void *key __unused) argument 202 linux_wake_up(wait_queue_head_t *wqh, unsigned int state, int nr, bool locked) argument 222 linux_prepare_to_wait(wait_queue_head_t *wqh, wait_queue_t *wq, int state) argument 257 linux_wait_event_common(wait_queue_head_t *wqh, wait_queue_t *wq, int timeout, unsigned int state, spinlock_t *lock) argument 299 int state; local 361 linux_wait_on_bit_timeout(unsigned long *word, int bit, unsigned int state, int timeout) argument 402 linux_wait_on_atomic_t(atomic_t *a, unsigned int state) argument 428 linux_wake_up_state(struct task_struct *task, unsigned int state) argument [all...] |
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | ntp_random.c | 56 * rand()/srand() like interface, this package also has a special state info 60 * that much state information. Good sizes for the amount of state 61 * information are 32, 64, 128, and 256 bytes. The state can be switched by 63 * with initstate(). By default, the package runs with 128 bytes of state 65 * congruential generator. If the amount of state information is less than 68 * Internally, the state information is treated as an array of longs; the 70 * integer); the remainder of the array is the state information for the 71 * R.N.G. Thus, 32 bytes of state information will give 7 longs worth of 72 * state informatio 207 static unsigned long *state = &randtbl[1]; variable [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/widechar/ |
H A D | lib_slk_wset.c | 52 mbstate_t state; local 57 init_mb(state); 59 if ((arglen = wcsrtombs(NULL, &str, (size_t) 0, &state)) != (size_t) -1) { 62 if (wcsrtombs(mystr, &str, arglen, &state) != (size_t) -1) {
|
/freebsd-11-stable/sys/cddl/dev/dtrace/ |
H A D | dtrace_anon.c | 31 dtrace_state_t *state = NULL; local 53 state = dtrace_anon.dta_state; 78 if (state != NULL) { 80 * If we created any anonymous state, set it going now. 82 (void) dtrace_state_go(state, &dtrace_anon.dta_beganon);
|
/freebsd-11-stable/contrib/ofed/opensm/include/complib/ |
H A D | cl_spinlock_osd.h | 57 cl_state_t state; member in struct:_cl_spinlock_t
|
/freebsd-11-stable/contrib/flex/ |
H A D | tblcmp.c | 46 /* bldtbl - build table entries for dfa state 49 * int state[numecs], statenum, totaltrans, comstate, comfreq; 50 * bldtbl( state, statenum, totaltrans, comstate, comfreq ); 52 * State is the statenum'th dfa state. It is indexed by equivalence class and 53 * gives the number of the state to enter for a given equivalence class. 54 * totaltrans is the total number of transitions out of the state. Comstate 55 * is that state which is the destination of the most transitions out of State. 60 * either being redundant (a state processed later will have an identical 61 * transition table) or nearly redundant (a state processed later will have 69 * to the same destination state o [all...] |
/freebsd-11-stable/lib/libc/net/ |
H A D | linkaddr.c | 58 int byte = 0, state = NAMING, new; local 63 state &= ~LETTER; 71 state |= END; 72 } else if (state == NAMING && 75 state |= LETTER; 77 state |= DELIM; 79 switch (state /* | INPUT */) { 85 state = RESET; 92 state = GOTONE; 96 state [all...] |
/freebsd-11-stable/contrib/ldns/ldns/ |
H A D | sha1.h | 12 uint32_t state[5]; member in struct:__anon1817 18 void ldns_sha1_transform(uint32_t state[5], const unsigned char buffer[LDNS_SHA1_BLOCK_LENGTH]);
|