Lines Matching refs:newwin
61 int newwin; member
126 ack->rmpp_hdr.paylen_newwin = cpu_to_be32(rmpp_recv->newwin); in format_ack()
303 rmpp_recv->newwin = 1; in create_rmpp_recv()
486 (seg_num > rmpp_recv->newwin)) in continue_rmpp()
509 } else if (rmpp_recv->seg_num == rmpp_recv->newwin) { in continue_rmpp()
510 rmpp_recv->newwin += window_size(agent); in continue_rmpp()
559 rmpp_recv->newwin += window_size(agent); in start_rmpp()
639 struct ib_mad_recv_wc *mad_recv_wc, int newwin) in process_ds_ack() argument
645 rmpp_recv->repwin = newwin; in process_ds_ack()
654 int seg_num, newwin, ret; in process_rmpp_ack() local
664 newwin = be32_to_cpu(rmpp_mad->rmpp_hdr.paylen_newwin); in process_rmpp_ack()
665 if (newwin < seg_num) { in process_rmpp_ack()
675 process_ds_ack(agent, mad_recv_wc, newwin); in process_rmpp_ack()
691 seg_num > mad_send_wr->newwin) { in process_rmpp_ack()
698 if (newwin < mad_send_wr->newwin || seg_num < mad_send_wr->last_ack) in process_rmpp_ack()
705 mad_send_wr->newwin = newwin; in process_rmpp_ack()
727 mad_send_wr->seg_num < mad_send_wr->newwin && in process_rmpp_ack()
849 int newwin = 1; in init_newwin() local
866 newwin = rmpp_recv->repwin; in init_newwin()
872 return newwin; in init_newwin()
890 mad_send_wr->newwin = init_newwin(mad_send_wr); in ib_send_rmpp_mad()
927 if (mad_send_wr->seg_num == mad_send_wr->newwin || in ib_process_rmpp_send_wc()