Searched refs:seg_size (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/lib/
H A Ddma-noncoherent.c377 size_t seg_size = min((size_t)(PAGE_SIZE - offset), size); local
378 size_t cur_size = seg_size;
380 int nr_segs = 1 + ((size - seg_size) + PAGE_SIZE - 1)/PAGE_SIZE;
390 __dma_sync((void *)start, seg_size, direction);
395 seg_size = min((size_t)PAGE_SIZE, size - cur_size);
398 cur_size += seg_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/
H A Dmad.c786 int seg_size, pad; local
788 seg_size = sizeof(struct ib_mad) - hdr_len;
789 if (data_len && seg_size) {
790 pad = seg_size - data_len % seg_size;
791 return pad == seg_size ? 0 : pad;
793 return seg_size;
812 int left, seg_size, pad; local
814 send_buf->seg_size = sizeof (struct ib_mad) - send_buf->hdr_len;
815 seg_size
[all...]
H A Duser_mad.c380 seg++, left -= msg->seg_size, buf += msg->seg_size) {
382 min(left, msg->seg_size)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/rdma/
H A Dib_mad.h226 * @seg_size: Size of each RMPP segment.
243 int seg_size; member in struct:ib_mad_send_buf
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dtcp_output.c2453 unsigned int seg_size = tp->snd_una+tp->snd_wnd-TCP_SKB_CB(skb)->seq; local
2462 if (seg_size < TCP_SKB_CB(skb)->end_seq - TCP_SKB_CB(skb)->seq ||
2464 seg_size = min(seg_size, mss);
2466 if (tcp_fragment(sk, skb, seg_size, mss))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/block/
H A Dll_rw_blk.c1215 int i, nr_phys_segs, nr_hw_segs, seg_size, hw_seg_size, cluster; local
1222 hw_seg_size = seg_size = nr_phys_segs = nr_hw_segs = 0;
1233 if (seg_size + bv->bv_len > q->max_segment_size)
1242 seg_size += bv->bv_len;
1261 seg_size = bv->bv_len;

Completed in 86 milliseconds