Lines Matching defs:new_entry
1733 int new_entry;
1745 * calculate new_entry from sack count and each sgt[].len
1749 for (new_entry = old_entry; new_entry < sg_num; new_entry++) {
1750 sentlen += (le32_to_cpu(sgt[new_entry].len) & ~SGTEND);
1757 if (new_entry == sg_num) {
1770 len = le32_to_cpu(sgt[new_entry].len);
1771 addr = le32_to_cpu(sgt[new_entry].addr);
1773 sgt[new_entry].addr = cpu_to_le32(addr);
1774 sgt[new_entry].len = cpu_to_le32(restlen);
1776 /* set cur_entry with new_entry */
1777 data->cur_entry = new_entry;