Lines Matching refs:newwin
62 int newwin; member
131 ack->rmpp_hdr.paylen_newwin = cpu_to_be32(rmpp_recv->newwin); in format_ack()
312 rmpp_recv->newwin = 1; in create_rmpp_recv()
495 (seg_num > rmpp_recv->newwin)) in continue_rmpp()
518 } else if (rmpp_recv->seg_num == rmpp_recv->newwin) { in continue_rmpp()
519 rmpp_recv->newwin += window_size(agent); in continue_rmpp()
568 rmpp_recv->newwin += window_size(agent); in start_rmpp()
648 struct ib_mad_recv_wc *mad_recv_wc, int newwin) in process_ds_ack() argument
654 rmpp_recv->repwin = newwin; in process_ds_ack()
663 int seg_num, newwin, ret; in process_rmpp_ack() local
673 newwin = be32_to_cpu(rmpp_mad->rmpp_hdr.paylen_newwin); in process_rmpp_ack()
674 if (newwin < seg_num) { in process_rmpp_ack()
684 process_ds_ack(agent, mad_recv_wc, newwin); in process_rmpp_ack()
700 seg_num > mad_send_wr->newwin) { in process_rmpp_ack()
707 if (newwin < mad_send_wr->newwin || seg_num < mad_send_wr->last_ack) in process_rmpp_ack()
714 mad_send_wr->newwin = newwin; in process_rmpp_ack()
736 mad_send_wr->seg_num < mad_send_wr->newwin && in process_rmpp_ack()
858 int newwin = 1; in init_newwin() local
875 newwin = rmpp_recv->repwin; in init_newwin()
881 return newwin; in init_newwin()
899 mad_send_wr->newwin = init_newwin(mad_send_wr); in ib_send_rmpp_mad()
936 if (mad_send_wr->seg_num == mad_send_wr->newwin || in ib_process_rmpp_send_wc()