Lines Matching refs:sqbuf

345 		i40iw_free_sqbuf(&iwdev->vsi, (void *)send_entry->sqbuf);  in i40iw_free_retrans_entry()
378 struct i40iw_puda_buf *sqbuf; in i40iw_form_cm_frame() local
393 sqbuf = i40iw_puda_get_bufpool(vsi->ilq); in i40iw_form_cm_frame()
394 if (!sqbuf) in i40iw_form_cm_frame()
396 buf = sqbuf->mem.va; in i40iw_form_cm_frame()
418 sqbuf->totallen = packetsize + eth_hlen; in i40iw_form_cm_frame()
419 sqbuf->maclen = eth_hlen; in i40iw_form_cm_frame()
420 sqbuf->tcphlen = sizeof(*tcph) + opts_len; in i40iw_form_cm_frame()
421 sqbuf->scratch = (void *)cm_node; in i40iw_form_cm_frame()
427 sqbuf->ipv4 = true; in i40iw_form_cm_frame()
458 sqbuf->ipv4 = false; in i40iw_form_cm_frame()
517 sqbuf->tcphlen = tcph->doff << 2; in i40iw_form_cm_frame()
534 atomic_set(&sqbuf->refcount, 1); in i40iw_form_cm_frame()
536 return sqbuf; in i40iw_form_cm_frame()
545 struct i40iw_puda_buf *sqbuf; in i40iw_send_reset() local
548 sqbuf = i40iw_form_cm_frame(cm_node, NULL, NULL, NULL, flags); in i40iw_send_reset()
549 if (!sqbuf) { in i40iw_send_reset()
554 return i40iw_schedule_cm_timer(cm_node, sqbuf, I40IW_TIMER_TYPE_SEND, 0, 1); in i40iw_send_reset()
843 struct i40iw_puda_buf *sqbuf; in i40iw_send_mpa_request() local
859 sqbuf = i40iw_form_cm_frame(cm_node, in i40iw_send_mpa_request()
864 if (!sqbuf) { in i40iw_send_mpa_request()
868 return i40iw_schedule_cm_timer(cm_node, sqbuf, I40IW_TIMER_TYPE_SEND, 1, 0); in i40iw_send_mpa_request()
881 struct i40iw_puda_buf *sqbuf; in i40iw_send_mpa_reject() local
893 sqbuf = i40iw_form_cm_frame(cm_node, in i40iw_send_mpa_reject()
898 if (!sqbuf) { in i40iw_send_mpa_reject()
903 return i40iw_schedule_cm_timer(cm_node, sqbuf, I40IW_TIMER_TYPE_SEND, 1, 0); in i40iw_send_mpa_reject()
1055 struct i40iw_puda_buf *sqbuf, in i40iw_schedule_cm_timer() argument
1070 i40iw_free_sqbuf(vsi, (void *)sqbuf); in i40iw_schedule_cm_timer()
1075 new_send->sqbuf = sqbuf; in i40iw_schedule_cm_timer()
1098 atomic_inc(&sqbuf->refcount); in i40iw_schedule_cm_timer()
1099 i40iw_puda_send_buf(vsi->ilq, sqbuf); in i40iw_schedule_cm_timer()
1163 iwqp = (struct i40iw_qp *)close_entry->sqbuf; in i40iw_handle_close_entry()
1288 atomic_inc(&send_entry->sqbuf->refcount); in i40iw_cm_timer_tick()
1289 i40iw_puda_send_buf(vsi->ilq, send_entry->sqbuf); in i40iw_cm_timer_tick()
1340 struct i40iw_puda_buf *sqbuf; in i40iw_send_syn() local
1377 sqbuf = i40iw_form_cm_frame(cm_node, &opts, NULL, NULL, flags); in i40iw_send_syn()
1378 if (!sqbuf) { in i40iw_send_syn()
1382 return i40iw_schedule_cm_timer(cm_node, sqbuf, I40IW_TIMER_TYPE_SEND, 1, 0); in i40iw_send_syn()
1391 struct i40iw_puda_buf *sqbuf; in i40iw_send_ack() local
1394 sqbuf = i40iw_form_cm_frame(cm_node, NULL, NULL, NULL, SET_ACK); in i40iw_send_ack()
1395 if (sqbuf) in i40iw_send_ack()
1396 i40iw_puda_send_buf(vsi->ilq, sqbuf); in i40iw_send_ack()
1407 struct i40iw_puda_buf *sqbuf; in i40iw_send_fin() local
1409 sqbuf = i40iw_form_cm_frame(cm_node, NULL, NULL, NULL, SET_ACK | SET_FIN); in i40iw_send_fin()
1410 if (!sqbuf) { in i40iw_send_fin()
1414 return i40iw_schedule_cm_timer(cm_node, sqbuf, I40IW_TIMER_TYPE_SEND, 1, 0); in i40iw_send_fin()