Home
last modified time | relevance | path

Searched refs:tbf (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/uts/common/inet/tcp/
H A Dtcp_bind.c68 tcp_bind_hash_insert(tf_t *tbf, tcp_t *tcp, int caller_holds_lock) in tcp_bind_hash_insert() argument
80 tcpp = &tbf->tf_tcp; in tcp_bind_hash_insert()
82 mutex_enter(&tbf->tf_lock); in tcp_bind_hash_insert()
84 ASSERT(MUTEX_HELD(&tbf->tf_lock)); in tcp_bind_hash_insert()
148 mutex_exit(&tbf->tf_lock); in tcp_bind_hash_insert()
698 tf_t *tbf; in tcp_bindi() local
716 tbf = &tcps->tcps_bind_fanout[TCP_BIND_HASH(lport)]; in tcp_bindi()
717 mutex_enter(&tbf->tf_lock); in tcp_bindi()
718 for (ltcp = tbf->tf_tcp; ltcp != NULL; in tcp_bindi()
881 mutex_exit(&tbf->tf_lock); in tcp_bindi()
[all …]
/titanic_50/usr/src/uts/common/inet/sctp/
H A Dsctp_conn.c357 sctp_tf_t *tbf; in sctp_connect() local
513 tbf = &sctps->sctps_conn_fanout[SCTP_CONN_HASH(sctps, in sctp_connect()
515 mutex_enter(&tbf->tf_lock); in sctp_connect()
516 lsctp = sctp_lookup(sctp, &dstaddr, tbf, &connp->conn_ports, in sctp_connect()
520 mutex_exit(&tbf->tf_lock); in sctp_connect()
532 mutex_exit(&tbf->tf_lock); in sctp_connect()
541 mutex_exit(&tbf->tf_lock); in sctp_connect()
549 sctp_conn_hash_insert(tbf, sctp, 1); in sctp_connect()
550 mutex_exit(&tbf->tf_lock); in sctp_connect()
597 mutex_enter(&tbf->tf_lock); in sctp_connect()
[all …]
H A Dsctp_bind.c575 sctp_tf_t *tbf; in sctp_bindi() local
594 tbf = &sctps->sctps_bind_fanout[SCTP_BIND_HASH(port)]; in sctp_bindi()
595 mutex_enter(&tbf->tf_lock); in sctp_bindi()
596 for (lsctp = tbf->tf_sctp; lsctp != NULL; in sctp_bindi()
637 mutex_exit(&tbf->tf_lock); in sctp_bindi()
672 mutex_exit(&tbf->tf_lock); in sctp_bindi()
680 mutex_exit(&tbf->tf_lock); in sctp_bindi()
699 mutex_exit(&tbf->tf_lock); in sctp_bindi()
714 SCTP_BIND_HASH(port)] == tbf); in sctp_bindi()
715 sctp_bind_hash_insert(tbf, sctp, 1); in sctp_bindi()
[all …]
H A Dsctp_hash.c786 sctp_bind_hash_insert(sctp_tf_t *tbf, sctp_t *sctp, int caller_holds_lock) in sctp_bind_hash_insert() argument
795 sctpp = &tbf->tf_sctp; in sctp_bind_hash_insert()
797 mutex_enter(&tbf->tf_lock); in sctp_bind_hash_insert()
799 ASSERT(MUTEX_HELD(&tbf->tf_lock)); in sctp_bind_hash_insert()
809 sctp->sctp_bind_lockp = &tbf->tf_lock; in sctp_bind_hash_insert()
811 mutex_exit(&tbf->tf_lock); in sctp_bind_hash_insert()
/titanic_50/usr/src/cmd/backup/restore/
H A Dtape.c43 static char *tbf = NULL; variable
167 if (tbf != NULL) in newtapebuf()
168 free(tbf); in newtapebuf()
169 tbf = (char *)malloc(nsize); in newtapebuf()
170 if (tbf == NULL) { in newtapebuf()
433 if (tbf == NULL) { in getvol()
490 (void) strcpy(tbf, ": "); in getvol()
494 tbf, i+1); in getvol()
495 (void) strcpy(tbf, ", "); in getvol()
504 (void) fgets(tbf, (int)tbfsize, terminal); in getvol()
[all …]
/titanic_50/usr/src/uts/common/netinet/
H A Dip_mroute.h173 struct tbf *v_tbf; /* Token bkt structure at intf. */
283 struct tbf { struct
/titanic_50/usr/src/uts/common/io/arn/
H A Darn_recv.c468 struct ath_buf *tbf; in arn_rx_handler() local
478 tbf = list_object(&sc->sc_rxbuf_list, in arn_rx_handler()
492 tds = tbf->bf_desc; in arn_rx_handler()
493 status = ath9k_hw_rxprocdesc(ah, tds, tbf->bf_daddr, in arn_rx_handler()
H A Darn_xmit.c335 struct ath_buf *tbf; in arn_clone_txbuf() local
340 tbf = list_head(&sc->sc_txbuf_list); in arn_clone_txbuf()
341 list_remove(&sc->sc_txbuf_list, tbf); in arn_clone_txbuf()
344 ATH_TXBUF_RESET(tbf); in arn_clone_txbuf()
346 tbf->bf_daddr = bf->bf_daddr; /* physical addr of desc */ in arn_clone_txbuf()
347 tbf->bf_dma = bf->bf_dma; /* dma area for buf */ in arn_clone_txbuf()
348 *(tbf->bf_desc) = *(bf->bf_desc); /* virtual addr of desc */ in arn_clone_txbuf()
349 tbf->bf_state = bf->bf_state; /* buffer state */ in arn_clone_txbuf()
351 return (tbf); in arn_clone_txbuf()
465 struct ath_buf *tbf; in arn_tx_complete_aggr() local
[all …]
/titanic_50/usr/src/uts/common/inet/ip/
H A Dip_mroute.c595 ipst->ips_tbfs = kmem_zalloc(sizeof (struct tbf) * MAXVIFS, KM_SLEEP); in ip_mrouter_stack_init()
773 kmem_free(ipst->ips_tbfs, sizeof (struct tbf) * MAXVIFS); in ip_mrouter_stack_destroy()
840 struct tbf *v_tbf = ipst->ips_tbfs + vifcp->vifc_vifi; in add_vif()
1040 struct tbf *t = vifp->v_tbf; in del_vifp()
2830 struct tbf *t = vifp->v_tbf; in tbf_control()
2936 struct tbf *t = vifp->v_tbf; in tbf_queue()
2971 struct tbf *t = vifp->v_tbf; in tbf_process_q()
3051 struct tbf *t = vifp->v_tbf; in tbf_dq_sel()
3204 struct tbf *t = vifp->v_tbf; in tbf_update_tokens()
/titanic_50/usr/src/uts/common/inet/
H A Dip_stack.h334 struct tbf *ips_tbfs;
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dsa.c273 sa_layout_equal(sa_lot_t *tbf, sa_attr_type_t *attrs, int count) in sa_layout_equal() argument
277 if (count != tbf->lot_attr_count) in sa_layout_equal()
281 if (attrs[i] != tbf->lot_attrs[i]) in sa_layout_equal()
/titanic_50/usr/src/uts/common/inet/nca/
H A Dnca.h1165 void *tbf; /* Pointer to bind hash list struct. */ member