Lines Matching refs:fil
4607 struct tcp_sendfile_track *fil; in tcp_req_alloc_req_full() local
4619 fil = &tp->t_tcpreq_info[i]; in tcp_req_alloc_req_full()
4620 if ((fil->flags & TCP_TRK_TRACK_FLG_USED) == 0) in tcp_req_alloc_req_full()
4622 if ((fil->timestamp == req->timestamp) && in tcp_req_alloc_req_full()
4623 (fil->start == req->start) && in tcp_req_alloc_req_full()
4624 ((fil->flags & TCP_TRK_TRACK_FLG_OPEN) || in tcp_req_alloc_req_full()
4625 (fil->end == req->end))) { in tcp_req_alloc_req_full()
4633 return (fil); in tcp_req_alloc_req_full()
4647 fil = &tp->t_tcpreq_info[i]; in tcp_req_alloc_req_full()
4648 if (fil->flags == TCP_TRK_TRACK_FLG_EMPTY) { in tcp_req_alloc_req_full()
4650 fil->flags = TCP_TRK_TRACK_FLG_USED; in tcp_req_alloc_req_full()
4651 fil->timestamp = req->timestamp; in tcp_req_alloc_req_full()
4652 fil->playout_ms = req->playout_ms; in tcp_req_alloc_req_full()
4653 fil->localtime = ts; in tcp_req_alloc_req_full()
4654 fil->start = req->start; in tcp_req_alloc_req_full()
4656 fil->end = req->end; in tcp_req_alloc_req_full()
4658 fil->end = 0; in tcp_req_alloc_req_full()
4659 fil->flags |= TCP_TRK_TRACK_FLG_OPEN; in tcp_req_alloc_req_full()
4666 fil->sbcc_at_s = tptosocket(tp)->so_snd.sb_ccc; in tcp_req_alloc_req_full()
4667 fil->start_seq = tp->snd_una + in tcp_req_alloc_req_full()
4670 fil->end_seq = (fil->start_seq + ((uint32_t)(fil->end - fil->start))); in tcp_req_alloc_req_full()
4672 fil->end_seq = 0; in tcp_req_alloc_req_full()
4678 fil->end_seq += tcp_estimate_tls_overhead( in tcp_req_alloc_req_full()
4679 tptosocket(tp), (fil->end - fil->start)); in tcp_req_alloc_req_full()
4682 if (fil->flags & TCP_TRK_TRACK_FLG_OPEN) in tcp_req_alloc_req_full()
4686 tcp_req_log_req_info(tp, fil, i, in tcp_req_alloc_req_full()
4690 fil = NULL; in tcp_req_alloc_req_full()
4692 return (fil); in tcp_req_alloc_req_full()