Home
last modified time | relevance | path

Searched refs:bidx (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_hash.c189 first_item(Cache *cp, int *bidx, int *iidx) in first_item() argument
199 for (*bidx = 0; *bidx < cp->hsz && (cp->bp[*bidx].nalloc == 0 || in first_item()
200 cp->bp[*bidx].nent == 0); (*bidx)++) in first_item()
203 if (*bidx < cp->hsz && cp->bp[*bidx].nent > 0) { in first_item()
204 itemp = cp->bp[*bidx].itempp[0]; in first_item()
207 *bidx = -1; in first_item()
214 next_item(Cache *cp, int *bidx, int *iidx) in next_item() argument
224 if (*bidx < cp->hsz && *bidx >= 0) { in next_item()
225 if ((*iidx + 1) < cp->bp[*bidx].nent) { in next_item()
226 itemp = cp->bp[*bidx].itempp[++(*iidx)]; in next_item()
[all …]
H A Dmed_hash.h75 extern Item *first_item(Cache *cp, int *bidx, int *iidx);
76 extern Item *next_item(Cache *cp, int *bidx, int *iidx);
/titanic_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_mover.c2509 int bidx; /* buffer index */ in mover_tape_reader() local
2534 buf = tlm_buffer_in_buf(bufs, &bidx); in mover_tape_reader()
2540 NDMP_LOG(LOG_DEBUG, "R%d", bidx); in mover_tape_reader()
2548 NDMP_LOG(LOG_DEBUG, "r%d", bidx); in mover_tape_reader()
2572 bidx = bufs->tbs_buffer_in; in mover_tape_reader()
2658 int bidx; /* buffer index */ in mover_socket_writer() local
2682 bidx = bufs->tbs_buffer_out; in mover_socket_writer()
2685 buf = &bufs->tbs_buffer[bidx]; in mover_socket_writer()
2688 NDMP_LOG(LOG_DEBUG, "w%d", bidx); in mover_socket_writer()
2698 bidx = bufs->tbs_buffer_out; in mover_socket_writer()
[all …]
H A Dndmpd_tar.c957 int bidx, nw; in ndmp_tar_writer() local
985 buf = tlm_buffer_out_buf(bufs, &bidx); in ndmp_tar_writer()
989 NDMP_LOG(LOG_DEBUG, "w%d", bidx); in ndmp_tar_writer()
995 bidx, session->ns_mover.md_position); in ndmp_tar_writer()
1002 buf = tlm_buffer_out_buf(bufs, &bidx); in ndmp_tar_writer()
1012 NDMP_LOG(LOG_DEBUG, "W%d", bidx); in ndmp_tar_writer()
1073 int bidx; in ndmp_tar_reader() local
1114 buf = tlm_buffer_in_buf(bufs, &bidx); in ndmp_tar_reader()
1119 NDMP_LOG(LOG_DEBUG, "R%d", bidx); in ndmp_tar_reader()
1127 NDMP_LOG(LOG_DEBUG, "r%d", bidx); in ndmp_tar_reader()
[all …]
/titanic_41/usr/src/uts/common/io/ipw/
H A Dipw2100.c2033 uint32_t idx, bidx; in ipw2100_send() local
2144 bidx = idx / 2; in ipw2100_send()
2154 bidx = idx / 2; in ipw2100_send()
2161 txbuf = sc->sc_txbufs[bidx]; in ipw2100_send()
2162 dr = &sc->sc_dma_txbufs[bidx]; in ipw2100_send()