Searched refs:segcnt (Results 1 – 2 of 2) sorted by relevance
3897 int segcnt, free; in tulip_txput() local3933 segcnt = 1; in tulip_txput()3936 segcnt++; in tulip_txput()3940 CTR2(KTR_TULIP, "tulip_txput: sending packet %p (%d chunks)", m, segcnt); in tulip_txput()3943 segcnt = 0; in tulip_txput()4018 for (; nsegs - segcnt > 1; segcnt += 2) { in tulip_txput()4022 eop->di_desc->d_addr1 = segs[segcnt].ds_addr & 0xffffffff; in tulip_txput()4023 eop->di_desc->d_length1 = segs[segcnt].ds_len; in tulip_txput()4024 eop->di_desc->d_addr2 = segs[segcnt+1].ds_addr & 0xffffffff; in tulip_txput()4025 eop->di_desc->d_length2 = segs[segcnt+1].ds_len; in tulip_txput()[all …]
729 pdq_uint32_t fc, datalen, pdulen, segcnt; in pdq_process_received_data() local768 segcnt = (pdulen + PDQ_OS_HDR_OFFSET + PDQ_OS_DATABUF_SIZE - 1) / PDQ_OS_DATABUF_SIZE; in pdq_process_received_data()775 for (idx = 1; idx < segcnt; idx++) { in pdq_process_received_data()793 if (segcnt == 1) { in pdq_process_received_data()796 PDQ_OS_DATABUF_LEN_SET(lpdu, pdulen + PDQ_OS_HDR_OFFSET - (segcnt - 1) * PDQ_OS_DATABUF_SIZE); in pdq_process_received_data()