Lines Matching defs:iwinc
251 rdsdebug("recv %p iwinc %p page %p addr %lu ret %d\n", recv,
277 struct rds_iw_incoming *iwinc;
281 iwinc = container_of(inc, struct rds_iw_incoming, ii_inc);
282 rdsdebug("purging iwinc %p inc %p\n", iwinc, inc);
284 list_for_each_entry_safe(frag, pos, &iwinc->ii_frags, f_item) {
293 struct rds_iw_incoming *iwinc;
295 iwinc = container_of(inc, struct rds_iw_incoming, ii_inc);
298 rdsdebug("freeing iwinc %p inc %p\n", iwinc, inc);
299 BUG_ON(!list_empty(&iwinc->ii_frags));
300 kmem_cache_free(rds_iw_incoming_slab, iwinc);
308 struct rds_iw_incoming *iwinc;
318 iwinc = container_of(inc, struct rds_iw_incoming, ii_inc);
319 frag = list_entry(iwinc->ii_frags.next, struct rds_page_frag, f_item);
567 struct rds_iw_incoming *iwinc)
580 if (be32_to_cpu(iwinc->ii_inc.i_hdr.h_len) != RDS_CONG_MAP_BYTES)
587 frag = list_entry(iwinc->ii_frags.next, struct rds_page_frag, f_item);
652 struct rds_iw_incoming *iwinc = ic->i_iwinc;
656 rdsdebug("ic %p iwinc %p recv %p byte len %u\n", ic, iwinc, recv,
706 if (iwinc == NULL) {
707 iwinc = recv->r_iwinc;
709 ic->i_iwinc = iwinc;
711 hdr = &iwinc->ii_inc.i_hdr;
715 rdsdebug("ic %p iwinc %p rem %u flag 0x%x\n", ic, iwinc,
718 hdr = &iwinc->ii_inc.i_hdr;
731 list_add_tail(&recv->r_frag->f_item, &iwinc->ii_frags);
740 if (iwinc->ii_inc.i_hdr.h_flags == RDS_FLAG_CONG_BITMAP)
741 rds_iw_cong_recv(conn, iwinc);
744 &iwinc->ii_inc, GFP_ATOMIC,
758 rds_inc_put(&iwinc->ii_inc);