Lines Matching refs:fil

4538 	struct tcp_sendfile_track *fil;  in tcp_req_alloc_req_full()  local
4550 fil = &tp->t_tcpreq_info[i]; in tcp_req_alloc_req_full()
4551 if ((fil->flags & TCP_TRK_TRACK_FLG_USED) == 0) in tcp_req_alloc_req_full()
4553 if ((fil->timestamp == req->timestamp) && in tcp_req_alloc_req_full()
4554 (fil->start == req->start) && in tcp_req_alloc_req_full()
4555 ((fil->flags & TCP_TRK_TRACK_FLG_OPEN) || in tcp_req_alloc_req_full()
4556 (fil->end == req->end))) { in tcp_req_alloc_req_full()
4564 return(fil); in tcp_req_alloc_req_full()
4578 fil = &tp->t_tcpreq_info[i]; in tcp_req_alloc_req_full()
4579 if (fil->flags == TCP_TRK_TRACK_FLG_EMPTY) { in tcp_req_alloc_req_full()
4581 fil->flags = TCP_TRK_TRACK_FLG_USED; in tcp_req_alloc_req_full()
4582 fil->timestamp = req->timestamp; in tcp_req_alloc_req_full()
4583 fil->playout_ms = req->playout_ms; in tcp_req_alloc_req_full()
4584 fil->localtime = ts; in tcp_req_alloc_req_full()
4585 fil->start = req->start; in tcp_req_alloc_req_full()
4587 fil->end = req->end; in tcp_req_alloc_req_full()
4589 fil->end = 0; in tcp_req_alloc_req_full()
4590 fil->flags |= TCP_TRK_TRACK_FLG_OPEN; in tcp_req_alloc_req_full()
4597 fil->sbcc_at_s = tptosocket(tp)->so_snd.sb_ccc; in tcp_req_alloc_req_full()
4598 fil->start_seq = tp->snd_una + in tcp_req_alloc_req_full()
4601 fil->end_seq = (fil->start_seq + ((uint32_t)(fil->end - fil->start))); in tcp_req_alloc_req_full()
4603 fil->end_seq = 0; in tcp_req_alloc_req_full()
4609 fil->end_seq += tcp_estimate_tls_overhead( in tcp_req_alloc_req_full()
4610 tptosocket(tp), (fil->end - fil->start)); in tcp_req_alloc_req_full()
4613 if (fil->flags & TCP_TRK_TRACK_FLG_OPEN) in tcp_req_alloc_req_full()
4617 tcp_req_log_req_info(tp, fil, i, in tcp_req_alloc_req_full()
4621 fil = NULL; in tcp_req_alloc_req_full()
4623 return (fil); in tcp_req_alloc_req_full()