Lines Matching defs:hw_fragsize
1469 unsigned int hw_fragsize;
1669 aport->hw_fragsize = 1 << aport->hw_fragshift;
1671 ASSERT(aport->hw_fragsize >= MIN_FRAGSIZE);
1672 ASSERT(aport->hw_fragsize <= MAX_FRAGSIZE);
1673 ASSERT(aport->hw_fragcount >= MIN_FRAGCOUNT(aport->hw_fragsize));
1674 ASSERT(aport->hw_fragcount <= MAX_FRAGCOUNT(aport->hw_fragsize));
1682 rport->swbuf_size = swfrags * aport->hw_fragsize;
1689 int total_bytes = aport->hw_fragcount * aport->hw_fragsize;
1698 wport->swbuf_size = swfrags * aport->hw_fragsize;
1734 wport->hw_fragsize = rport->hw_fragsize;
1926 const int fragsize = wport->hw_fragsize;
2050 const int fragsize = rport->hw_fragsize;
2147 int end = (idx + wport->hw_fragsize - 1)
2530 int hw_fragsize;
2536 hw_fragsize = 1 << hw_fragshift;
2537 if (sw_fragcount < MIN_FRAGCOUNT(hw_fragsize))
2538 sw_fragcount = MIN_FRAGCOUNT(hw_fragsize);
2539 if (sw_fragcount > MAX_FRAGCOUNT(hw_fragsize))
2540 sw_fragcount = MAX_FRAGCOUNT(hw_fragsize);
2565 int hw_fragshift, hw_fragsize, hw_fragcount;
2576 hw_fragsize = 1 << hw_fragshift;
2578 if (hw_fragcount < MIN_FRAGCOUNT(hw_fragsize) ||
2579 hw_fragcount > MAX_FRAGCOUNT(hw_fragsize))