Lines Matching refs:id

765 		unsigned int id;  in sfxge_tx_qreap()  local
769 id = reaped++ & (SFXGE_TX_NDESCS - 1); in sfxge_tx_qreap()
771 ASSERT3P(stp->st_mp[id], ==, NULL); in sfxge_tx_qreap()
773 if ((stmp = stp->st_stmp[id]) != NULL) { in sfxge_tx_qreap()
774 stp->st_stmp[id] = NULL; in sfxge_tx_qreap()
789 if ((stbp = stp->st_stbp[id]) != NULL) { in sfxge_tx_qreap()
790 stp->st_stbp[id] = NULL; in sfxge_tx_qreap()
814 unsigned int id; in sfxge_tx_qlist_abort() local
821 id = stp->st_added & (SFXGE_TX_NDESCS - 1); in sfxge_tx_qlist_abort()
824 stmp = stp->st_stmp[id]; in sfxge_tx_qlist_abort()
825 stp->st_stmp[id] = NULL; in sfxge_tx_qlist_abort()
842 stbp = stp->st_stbp[id]; in sfxge_tx_qlist_abort()
843 stp->st_stbp[id] = NULL; in sfxge_tx_qlist_abort()
860 mp = stp->st_mp[id]; in sfxge_tx_qlist_abort()
861 stp->st_mp[id] = NULL; in sfxge_tx_qlist_abort()
874 unsigned int id; in sfxge_tx_qlist_post() local
887 id = stp->st_added & (SFXGE_TX_NDESCS - 1); in sfxge_tx_qlist_post()
906 if (((stp->st_added - 1) & (SFXGE_TX_NDESCS - 1)) != id) { in sfxge_tx_qlist_post()
911 stmp = stp->st_stmp[id]; in sfxge_tx_qlist_post()
912 stp->st_stmp[id] = NULL; in sfxge_tx_qlist_post()
914 stbp = stp->st_stbp[id]; in sfxge_tx_qlist_post()
915 stp->st_stbp[id] = NULL; in sfxge_tx_qlist_post()
917 mp = stp->st_mp[id]; in sfxge_tx_qlist_post()
918 stp->st_mp[id] = NULL; in sfxge_tx_qlist_post()
920 id = (stp->st_added - 1) & (SFXGE_TX_NDESCS - 1); in sfxge_tx_qlist_post()
922 ASSERT(stp->st_stmp[id] == NULL); in sfxge_tx_qlist_post()
923 stp->st_stmp[id] = stmp; in sfxge_tx_qlist_post()
925 ASSERT(stp->st_stbp[id] == NULL); in sfxge_tx_qlist_post()
926 stp->st_stbp[id] = stbp; in sfxge_tx_qlist_post()
928 ASSERT(stp->st_mp[id] == NULL); in sfxge_tx_qlist_post()
929 stp->st_mp[id] = mp; in sfxge_tx_qlist_post()
1033 unsigned int id; in sfxge_tx_kstat_init() local
1055 for (id = 0; id < TX_NQSTATS; id++) { in sfxge_tx_kstat_init()
1056 kstat_named_init(knp, (char *)efx_tx_qstat_name(sp->s_enp, id), in sfxge_tx_kstat_init()
1400 sfxge_tx_qpayload_fragment(sfxge_txq_t *stp, unsigned int id, mblk_t **mpp, in sfxge_tx_qpayload_fragment() argument
1410 stbp = stp->st_stbp[id]; in sfxge_tx_qpayload_fragment()
1413 stmp = stp->st_stmp[id]; in sfxge_tx_qpayload_fragment()
1461 stmp->stm_next = stp->st_stmp[id]; in sfxge_tx_qpayload_fragment()
1462 stp->st_stmp[id] = stmp; in sfxge_tx_qpayload_fragment()
1516 stbp->stb_next = stp->st_stbp[id]; in sfxge_tx_qpayload_fragment()
1517 stp->st_stbp[id] = stbp; in sfxge_tx_qpayload_fragment()
1575 unsigned int id; in sfxge_tx_qlso_fragment() local
1595 id = stp->st_added & (SFXGE_TX_NDESCS - 1); in sfxge_tx_qlso_fragment()
1598 ASSERT(stp->st_stbp[id] == NULL); in sfxge_tx_qlso_fragment()
1599 ASSERT(stp->st_stmp[id] == NULL); in sfxge_tx_qlso_fragment()
1699 stbp->stb_next = stp->st_stbp[id]; in sfxge_tx_qlso_fragment()
1700 stp->st_stbp[id] = stbp; in sfxge_tx_qlso_fragment()
1714 if ((rc = sfxge_tx_qpayload_fragment(stp, id, &mp, &off, in sfxge_tx_qlso_fragment()
1729 if (stp->st_stmp[id] == NULL) in sfxge_tx_qlso_fragment()
1732 stp->st_mp[id] = stpp->stp_mp; in sfxge_tx_qlso_fragment()
1765 ASSERT(stp->st_mp[id] == NULL); in sfxge_tx_qlso_fragment()
1783 unsigned int id; in sfxge_tx_qpacket_fragment() local
1794 id = stp->st_added & (SFXGE_TX_NDESCS - 1); in sfxge_tx_qpacket_fragment()
1796 ASSERT(stp->st_stbp[id] == NULL); in sfxge_tx_qpacket_fragment()
1797 ASSERT(stp->st_stmp[id] == NULL); in sfxge_tx_qpacket_fragment()
1847 stmp->stm_next = stp->st_stmp[id]; in sfxge_tx_qpacket_fragment()
1848 stp->st_stmp[id] = stmp; in sfxge_tx_qpacket_fragment()
1894 stbp->stb_next = stp->st_stbp[id]; in sfxge_tx_qpacket_fragment()
1895 stp->st_stbp[id] = stbp; in sfxge_tx_qpacket_fragment()
1931 if (stp->st_stmp[id] == NULL) in sfxge_tx_qpacket_fragment()
1934 stp->st_mp[id] = stpp->stp_mp; in sfxge_tx_qpacket_fragment()
1949 ASSERT(stp->st_stmp[id] == NULL); in sfxge_tx_qpacket_fragment()
2355 unsigned int id; in sfxge_tx_qcomplete() local
2358 id = completed++ & (SFXGE_TX_NDESCS - 1); in sfxge_tx_qcomplete()
2360 if ((stmp = stp->st_stmp[id]) != NULL) { in sfxge_tx_qcomplete()
2375 mp = stp->st_mp[id]; in sfxge_tx_qcomplete()
2376 stp->st_mp[id] = NULL; in sfxge_tx_qcomplete()