/src/sys/kern/ |
sys_pipe.c | 625 int segsize; /* first segment to transfer */ local in function:pipe_write 642 segsize = bp->size - bp->in; 643 if (segsize > size) 644 segsize = size; 648 error = uiomove((char *)bp->buffer + bp->in, segsize, 651 if (error == 0 && segsize < size) { 657 KASSERT(bp->in + segsize == bp->size); 659 size - segsize, uio); 667 KASSERT(bp->in == size - segsize + bp->size); 668 bp->in = size - segsize; [all...] |
/src/sys/arch/xen/xen/ |
xennetback_xenbus.c | 1079 size_t goff, segoff, segsize, take, totsize; local in function:xennetback_rx_copy_queue 1110 segsize = dm->dm_segs[seg].ds_len; 1113 while (segoff < segsize) { 1114 take = uimin(PAGE_SIZE - goff, segsize - segoff);
|
/src/sys/dev/pci/ |
if_ti.c | 351 int segptr, segsize, cnt; local in function:ti_mem 360 segsize = cnt; 362 segsize = TI_WINLEN - (segptr % TI_WINLEN); 367 segsize / 4); 373 (const uint32_t *)ptr, segsize / 4); 377 (const uint32_t *)ptr, segsize / 4); 379 ptr = (const char *)ptr + segsize; 381 segptr += segsize; 382 cnt -= segsize;
|
if_vioif.c | 1439 int segsize; member in struct:vioif_netqueue_init::__anoneda335100308 1446 .segsize = MCLBYTES, 1453 .segsize = ETHER_MAX_LEN - ETHER_HDR_LEN, 1486 params[dir].segsize + sc->sc_hdr_size,
|
/src/sys/netinet/ |
sctp_usrreq.c | 1519 u_int32_t *segsize; local in function:sctp_optsget 1532 segsize = sopt->sopt_data; 1543 *segsize = sctp_get_frag_point(stcb, &stcb->asoc); 1552 *segsize = sctp_get_frag_point(stcb, &stcb->asoc); 1565 *segsize = inp->sctp_frag_point - ovh; 2626 u_int32_t *segsize; local in function:sctp_optsset 2633 segsize = sopt->sopt_data; 2634 if (*segsize < 1) { 2639 inp->sctp_frag_point = (*segsize+ovh);
|