Searched refs:newindex (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/kern/ |
H A D | kern_ktr.c | 326 int newindex, saveindex; in ktr_tracepoint() local 366 newindex = (saveindex + 1) % ktr_entries; in ktr_tracepoint() 367 } while (atomic_cmpset_rel_int(&ktr_idx, saveindex, newindex) == 0); in ktr_tracepoint()
|
/freebsd/contrib/ncurses/ncurses/tty/ |
H A D | hashmap.c | 365 hsp->newindex = i; in NCURSES_SP_NAME() 379 && hsp->oldindex != hsp->newindex) { in NCURSES_SP_NAME() 382 hsp->newindex, hsp->oldindex)); in NCURSES_SP_NAME() 383 OLDNUM(SP_PARM, hsp->newindex) = hsp->oldindex; in NCURSES_SP_NAME()
|
/freebsd/sys/netinet/ |
H A D | sctputil.c | 5958 int index, newindex; in sctp_sorecvmsg() local 5963 newindex = index + 1; in sctp_sorecvmsg() 5964 if (newindex >= SCTP_READ_LOG_SIZE) { in sctp_sorecvmsg() 5965 newindex = 0; in sctp_sorecvmsg() 5967 } while (atomic_cmpset_int(&inp->readlog_index, index, newindex) == 0); in sctp_sorecvmsg() 7107 uint32_t saveindex, newindex; in sctp_log_trace() local 7112 newindex = 1; in sctp_log_trace() 7114 newindex = saveindex + 1; in sctp_log_trace() 7116 } while (atomic_cmpset_int(&SCTP_BASE_SYSCTL(sctp_log).index, saveindex, newindex) == 0); in sctp_log_trace()
|
/freebsd/contrib/ncurses/ncurses/ |
H A D | curses.priv.h | 813 int oldindex, newindex; member
|