Home
last modified time | relevance | path

Searched refs:windex (Results 1 – 15 of 15) sorted by relevance

/dragonfly/bin/cpdup/
H A Dhclink.c224 trans->windex = sizeof(*whead); in hcc_start_command()
242 trans->windex = sizeof(*whead); in hcc_start_reply()
260 whead->bytes = trans->windex; in hcc_finish_command()
261 aligned_bytes = HCC_ALIGN(trans->windex); in hcc_finish_command()
313 whead->bytes = trans->windex; in hcc_finish_reply()
315 aligned_bytes = HCC_ALIGN(trans->windex); in hcc_finish_reply()
334 trans->windex = HCC_ALIGN(trans->windex + item->bytes); in hcc_leaf_string()
348 trans->windex = HCC_ALIGN(trans->windex + item->bytes); in hcc_leaf_data()
362 trans->windex = HCC_ALIGN(trans->windex + item->bytes); in hcc_leaf_int32()
376 trans->windex = HCC_ALIGN(trans->windex + item->bytes); in hcc_leaf_int64()
[all …]
H A Dhclink.h28 int windex; /* output buffer index */ member
/dragonfly/usr.bin/flame_graph/
H A Dcollect.c92 uint32_t windex; in flame_collect() local
122 windex = fg->windex; in flame_collect()
127 delta = windex - rindex; in flame_collect()
129 rindex = windex - fg->nentries + 1; in flame_collect()
134 while (rindex != windex) { in flame_collect()
140 savewindex[n] = windex; in flame_collect()
/dragonfly/sys/kern/
H A Dsys_pipe.c395 pb->windex = 0; in pipespace()
529 size = rpb->windex - rpb->rindex; in pipe_read()
589 if (rpb->windex != rpb->rindex) in pipe_read()
600 if (rpb->windex != rpb->rindex) { in pipe_read()
638 size = rpb->windex - rpb->rindex; in pipe_read()
699 size_t windex; in pipe_write() local
787 windex = wpb->windex & (wpb->size - 1); in pipe_write()
821 segsize = wpb->size - windex; in pipe_write()
855 wpb->windex += space; in pipe_write()
953 if (wpb->windex != wpb->rindex) { in pipe_write()
[all …]
H A Dvfs_journal.c184 bytes = jo->fifo.windex - jo->fifo.rindex; in journal_wthread()
286 wakeup(&jo->fifo.windex); in journal_wthread()
293 wakeup(&jo->fifo.windex); in journal_wthread()
387 wakeup(&jo->fifo.windex); in journal_rthread()
401 wakeup(&jo->fifo.windex); in journal_rthread()
412 wakeup(&jo->fifo.windex); in journal_rthread()
585 jo->fifo.windex += (req + 15) & ~15; in journal_reserve()
649 jo->fifo.windex += nsize - osize; in journal_extend()
688 (jo->fifo.windex & jo->fifo.mask) == in journal_abort()
691 jo->fifo.windex -= osize; in journal_abort()
[all …]
H A Dlwkt_ipiq.c184 int windex; in lwkt_send_ipiq3() local
302 windex = ip->ip_windex & MAXCPUFIFO_MASK; in lwkt_send_ipiq3()
303 ip->ip_info[windex].func = func; in lwkt_send_ipiq3()
304 ip->ip_info[windex].arg1 = arg1; in lwkt_send_ipiq3()
305 ip->ip_info[windex].arg2 = arg2; in lwkt_send_ipiq3()
344 int windex; in lwkt_send_ipiq3_passive() local
375 windex = ip->ip_windex & MAXCPUFIFO_MASK; in lwkt_send_ipiq3_passive()
376 ip->ip_info[windex].func = func; in lwkt_send_ipiq3_passive()
377 ip->ip_info[windex].arg1 = arg1; in lwkt_send_ipiq3_passive()
378 ip->ip_info[windex].arg2 = arg2; in lwkt_send_ipiq3_passive()
H A Dvfs_jops.c494 rstat->membufused = jo->fifo.windex - jo->fifo.xindex; in journal_status_vfs_journal()
/dragonfly/sbin/svc/
H A Dexecute.c624 int windex; in execute_log() local
638 windex = InitCmd->logwindex; in execute_log()
640 windex = InitCmd->logwindex - InitCmd->logcount; in execute_log()
649 n = InitCmd->logwindex - windex; in execute_log()
662 if (n > lbsize - (windex & lbmask)) in execute_log()
663 n = lbsize - (windex & lbmask); in execute_log()
686 windex += n; in execute_log()
768 int windex; in logger_thread() local
782 windex = cmd->logwindex & lbmask; in logger_thread()
783 n = lbsize - windex; in logger_thread()
[all …]
/dragonfly/sys/dev/virtual/vkernel/net/
H A Dif_vke.c80 int windex; member
174 while (NETFIFOINDEX(fifo->windex + 1, sc) == in vke_txfifo_done_enqueue()
178 fifo->array[NETFIFOINDEX(fifo->windex, sc)] = m; in vke_txfifo_done_enqueue()
180 ++fifo->windex; in vke_txfifo_done_enqueue()
194 if (NETFIFOINDEX(fifo->rindex, sc) == NETFIFOINDEX(fifo->windex, sc)) in vke_txfifo_done_dequeue()
213 if (NETFIFOINDEX(fifo->windex + 1, sc) == in vke_txfifo_enqueue()
218 fifo->array[NETFIFOINDEX(fifo->windex, sc)] = m; in vke_txfifo_enqueue()
220 ++fifo->windex; in vke_txfifo_enqueue()
651 if (NETFIFOINDEX(fifo->windex + 1, sc) == in vke_rx_thread()
661 m = fifo->array[NETFIFOINDEX(fifo->windex, sc)]; in vke_rx_thread()
[all …]
/dragonfly/sys/dev/smbus/cyapa/
H A Dcyapa.c138 int windex; member
1650 return(fifo->rindex == fifo->windex); in fifo_empty()
1664 if (n > (size_t)(fifo->windex - fifo->rindex)) in fifo_ready()
1665 n = (size_t)(fifo->windex - fifo->rindex); in fifo_ready()
1678 return ((size_t)(fifo->windex - fifo->rindex));
1711 if (fifo->rindex == fifo->windex) { in fifo_read_char()
1731 fifo->buf[fifo->windex & CYAPA_BUFMASK] = c; in fifo_write_char()
1732 ++fifo->windex; in fifo_write_char()
1758 ptr = fifo->buf + (fifo->windex & CYAPA_BUFMASK); in fifo_write()
1759 fifo->windex += n; in fifo_write()
[all …]
/dragonfly/sys/platform/pc64/x86_64/
H A Dmp_flame.c129 fge = &fg->fge[fg->windex % FLAME_GRAPH_NENTRIES]; in hard_sniff()
145 ++fg->windex; in hard_sniff()
/dragonfly/sys/sys/
H A Dflame_graph.h54 uint32_t windex; member
H A Dpipe.h63 size_t windex; /* current write index (FIFO) */ member
H A Dmountctl.h159 int windex; /* stream writer index */ member
/dragonfly/usr.bin/fstat/
H A Dfstat.c834 b1->windex - b1->rindex, in pipetrans()
835 b2->windex - b2->rindex); in pipetrans()