/netbsd-current/sys/kern/ |
H A D | subr_spldebug.c | 72 u_int cidx; local 80 cidx = cpu_index(curcpu()); 82 KASSERT(cidx < maxcpus); 84 splraise_depth[cidx] = 0; 85 spllowered_to[cidx] = ipl; 87 spllowered_from[cidx][0] = return_address(0); 88 spllowered_from[cidx][1] = return_address(1); 96 u_int cidx; local 105 cidx = cpu_index(curcpu()); 107 KASSERT(cidx < maxcpu [all...] |
/netbsd-current/lib/lua/sqlite/ |
H A D | sqlite.c | 276 int cidx; local 279 cidx = (int)luaL_checkinteger(L, 2) - 1; 281 lua_pushstring(L, sqlite3_column_name(*stmt, cidx)); 299 int cidx; local 302 cidx = (int)luaL_checkinteger(L, 2) - 1; 304 switch (sqlite3_column_type(*stmt, cidx)) { 306 lua_pushinteger(L, sqlite3_column_int(*stmt, cidx)); 309 lua_pushnumber(L, sqlite3_column_double(*stmt, cidx)); 313 cidx));
|
/netbsd-current/sys/dev/ic/ |
H A D | bcmgenetvar.h | 54 uint32_t cidx, pidx; member in struct:genet_ring
|
H A D | bcmgenet.c | 487 sc->sc_tx.cidx = sc->sc_tx.pidx = 0; 520 sc->sc_rx.cidx = sc->sc_rx.pidx = 0; 688 total = (pidx - sc->sc_rx.cidx) & 0xffff; 692 index = sc->sc_rx.cidx % RX_DESC_COUNT; 761 sc->sc_rx.cidx = (sc->sc_rx.cidx + 1) & 0xffff; 762 WR4(sc, GENET_RX_DMA_CONS_INDEX(qid), sc->sc_rx.cidx); 774 int cidx, i, pkts = 0; local 776 cidx = RD4(sc, GENET_TX_DMA_CONS_INDEX(qid)) & 0xffff; 777 i = sc->sc_tx.cidx [all...] |
/netbsd-current/sys/compat/netbsd32/ |
H A D | netbsd32_socket.c | 388 size_t clen, cidx = 0, cspace; local 416 if (__predict_false(cidx + cspace > clen)) { 420 nclen = cidx + cspace; 431 if (cidx <= MLEN) { 433 memcpy(nc, control, cidx); 434 memset(nc + cidx, 0, nclen - cidx); 443 cmsg = (void *)&control[cidx]; 456 cidx += CMSG_ALIGN(cmsg->cmsg_len); 460 if (cidx > MLE [all...] |
/netbsd-current/sys/uvm/ |
H A D | uvm_pglist.c | 121 paddr_t cidx = 0; /* XXX: GCC */ local 188 if (uvm_physseg_find(candidate, &cidx) != psi) 190 if (cidx != candidate - uvm_physseg_get_start(psi)) 192 if (uvm_physseg_find(candidate + num - 1, &cidx) != psi) 194 if (cidx != candidate - uvm_physseg_get_start(psi) + num - 1) 573 paddr_t cidx = 0; local 574 const uvm_physseg_t bank = uvm_physseg_find(candidate, &cidx); 578 KDASSERTMSG(cidx == candidate - uvm_physseg_get_start(psi), 580 candidate, cidx, (paddr_t)candidate - uvm_physseg_get_start(psi));
|
/netbsd-current/external/bsd/top/dist/ |
H A D | display.c | 531 summary_format(int x, int y, int *numbers, const char **names, int *cidx) argument 556 if (cidx != NULL) 559 color = color_test(*cidx++, num); 594 summary_format_memory(int x, int y, long *numbers, const char **names, int *cidx) argument 623 color = color_test(*cidx++, num); 1190 int *cidx; local 1206 cidx = cpustate_cidx; 1223 color = color_test(*cidx++, value/10); 1256 int *cidx; local 1274 cidx [all...] |
/netbsd-current/sys/dev/pci/cxgb/ |
H A D | cxgb_sge.c | 531 u_int cidx = q->cidx; local 534 struct rx_sw_desc *d = &q->sdesc[cidx]; 544 if (++cidx == q->size) 545 cidx = 0; 1642 unsigned int cidx = q->cidx; local 1647 "reclaiming %u Tx descriptors at cidx %u", n, cidx); 1649 d = &q->sdesc[cidx]; [all...] |
H A D | cxgb_adapter.h | 192 uint32_t cidx; member in struct:sge_rspq 230 uint32_t cidx; member in struct:sge_fl 256 uint32_t cidx; member in struct:sge_txq
|
H A D | cxgb_common.h | 742 unsigned int cidx); 745 unsigned int cong_thres, int gen, unsigned int cidx); 748 unsigned int fl_thres, int gen, unsigned int cidx);
|
H A D | cxgb_t3_hw.c | 1903 * @cidx: consumer pointer 1912 unsigned int cidx) 1922 t3_write_reg(adapter, A_SG_CONTEXT_DATA0, V_EC_INDEX(cidx) | 1946 * @cidx: consumer pointer 1954 unsigned int cong_thres, int gen, unsigned int cidx) 1966 V_FL_INDEX_LO(cidx & M_FL_INDEX_LO)); 1968 V_FL_GEN(gen) | V_FL_INDEX_HI(cidx >> 12) | 1985 * @cidx: consumer pointer 1993 unsigned int fl_thres, int gen, unsigned int cidx) 2004 V_CQ_INDEX(cidx)); 1909 t3_sge_init_ecntxt(adapter_t *adapter, unsigned int id, int gts_enable, enum sge_context_type type, int respq, u64 base_addr, unsigned int size, unsigned int token, int gen, unsigned int cidx) argument 1952 t3_sge_init_flcntxt(adapter_t *adapter, unsigned int id, int gts_enable, u64 base_addr, unsigned int size, unsigned int bsize, unsigned int cong_thres, int gen, unsigned int cidx) argument 1991 t3_sge_init_rspcntxt(adapter_t *adapter, unsigned int id, int irq_vec_idx, u64 base_addr, unsigned int size, unsigned int fl_thres, int gen, unsigned int cidx) argument [all...] |
/netbsd-current/sys/rump/librump/rumpkern/ |
H A D | intr.c | 204 unsigned int cidx; local 220 cidx = sip - si->si_entry; 221 ci = cpu_lookup(cidx);
|
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/ |
H A D | minfo.d | 600 size_t cidx; 653 ctors[cidx++] = curmod; 687 ctors[cidx++] = _modules[m]; 693 ctors = (cast(immutable(ModuleInfo)**).realloc(ctors.ptr, cidx * size_t.sizeof))[0 .. cidx];
|
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/rt/ |
H A D | minfo.d | 600 size_t cidx; 653 ctors[cidx++] = curmod; 687 ctors[cidx++] = _modules[m]; 693 ctors = (cast(immutable(ModuleInfo)**).realloc(ctors.ptr, cidx * size_t.sizeof))[0 .. cidx];
|
/netbsd-current/sys/compat/linux/common/ |
H A D | linux_socket.c | 513 size_t clen, cidx = 0, cspace; local 573 if (__predict_false(cidx + cspace > clen)) { 577 nclen = cidx + cspace; 588 if (cidx <= MLEN) 590 memcpy(nc, control, cidx); 596 cmsg = (void *)&control[cidx]; 613 cidx += cspace; 617 if (cidx > MLEN) { 622 ctl_mbuf->m_len = cidx;
|
/netbsd-current/external/gpl3/binutils.old/dist/gas/ |
H A D | macro.c | 506 size_t cidx; local 583 cidx = idx; 585 if (idx != cidx && idx >= in->len) 587 idx = cidx; 691 size_t cidx; local 697 cidx = sb_skip_white (idx, in); 698 idx = sb_skip_comma (cidx, in); 699 if (idx == cidx || idx < in->len) 702 idx = cidx;
|
/netbsd-current/external/gpl3/binutils/dist/gas/ |
H A D | macro.c | 538 size_t cidx; local 617 cidx = idx; 619 if (idx != cidx && idx >= in->len) 621 idx = cidx; 728 size_t cidx; local 734 cidx = sb_skip_white (idx, in); 735 idx = sb_skip_comma (cidx, in); 736 if (idx == cidx || idx < in->len) 739 idx = cidx;
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/ |
H A D | macro.c | 507 size_t cidx; local 586 cidx = idx; 588 if (idx != cidx && idx >= in->len) 590 idx = cidx; 697 size_t cidx; local 703 cidx = sb_skip_white (idx, in); 704 idx = sb_skip_comma (cidx, in); 705 if (idx == cidx || idx < in->len) 708 idx = cidx;
|
/netbsd-current/external/bsd/ntp/dist/ntpd/ |
H A D | refclock_nmea.c | 284 int cidx; /* current field index */ member in struct:__anon13 1281 data->cidx = 0; 1356 if (fn < data->cidx) { 1357 data->cidx = 0; 1360 while ((fn > data->cidx) && (tmp = *data->cptr) != '\0') { 1361 data->cidx += (tmp == ',');
|
/netbsd-current/sys/dev/iscsi/ |
H A D | iscsi_rcv.c | 145 int cidx; local 150 cidx = itt & 0xff; 151 if (cidx >= CCBS_PER_SESSION) 154 ccb = &conn->c_session->s_ccb[cidx];
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/x509/ |
H A D | x509_vfy.c | 1246 int cidx = ctx->error_depth; local 1249 if (cidx != sk_X509_num(ctx->chain) - 1) 1250 cidx++; 1252 crl_issuer = sk_X509_value(ctx->chain, cidx); 1262 for (cidx++; cidx < sk_X509_num(ctx->chain); cidx++) { 1263 crl_issuer = sk_X509_value(ctx->chain, cidx);
|
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/x509/ |
H A D | x509_vfy.c | 1266 int cidx = ctx->error_depth; local 1269 if (cidx != sk_X509_num(ctx->chain) - 1) 1270 cidx++; 1272 crl_issuer = sk_X509_value(ctx->chain, cidx); 1282 for (cidx++; cidx < sk_X509_num(ctx->chain); cidx++) { 1283 crl_issuer = sk_X509_value(ctx->chain, cidx);
|
/netbsd-current/sys/dev/ |
H A D | cgd.c | 1529 u_int cidx, i; local 1536 for (i=0, cidx = cw->cw_last+1; i<maxcpus; ++i, ++cidx) { 1537 if (cidx >= maxcpus) 1538 cidx = 0; 1539 ci = cpu_lookup(cidx); 1541 cw->cw_last = cidx;
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/ssl/ |
H A D | t1_lib.c | 1029 size_t sent_sigslen, i, cidx; local 1062 if (!ssl_cert_lookup_by_nid(EVP_PKEY_id(pkey), &cidx) 1063 || lu->sig_idx != (int)cidx) {
|
/netbsd-current/external/gpl3/binutils.old/dist/gas/config/ |
H A D | tc-arc.c | 1618 allocate_tok (expressionS *tok, int ntok, int cidx) argument 1623 if (cidx > ntok) 1628 if (cidx == ntok) 1630 return allocate_tok (tok, ntok - 1, cidx);
|