wr_cred           664 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 	lld->wr_cred = adap->params.ofldq_wr_cred;
wr_cred           331 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h 	unsigned char wr_cred;               /* WR 16-byte credits */
wr_cred           407 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c 	while (csk->wr_cred && (skb = skb_peek(&csk->write_queue)) != NULL) {
wr_cred           417 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c 		if (csk->wr_cred < wrs_needed) {
wr_cred           421 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c 				wrs_needed, csk->wr_cred);
wr_cred           428 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c 		csk->wr_cred -= wrs_needed;
wr_cred           436 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c 			csk->wr_cred, csk->wr_una_cred);
wr_cred           916 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c 	if (csk->wr_cred != csk->wr_max_cred) {
wr_cred           998 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c 	csk->wr_max_cred = csk->wr_cred = T3C_DATA(t3dev)->max_wrs - 1;
wr_cred           725 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 	while (csk->wr_cred && (skb = skb_peek(&csk->write_queue)) != NULL) {
wr_cred           750 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 			csk->wr_cred -= flowclen16;
wr_cred           755 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 		if (csk->wr_cred < credits_needed) {
wr_cred           759 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 				credits_needed, csk->wr_cred);
wr_cred           765 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 		csk->wr_cred -= credits_needed;
wr_cred           772 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 			csk->wr_cred, csk->wr_una_cred);
wr_cred          1617 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 	if (csk->wr_cred != csk->wr_max_cred) {
wr_cred          1803 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 	csk->wr_cred = lldi->wr_cred -
wr_cred          1805 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 	csk->wr_max_cred = csk->wr_cred;
wr_cred          2131 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 		lldi->nrxq, lldi->wr_cred);
wr_cred          1027 drivers/scsi/cxgbi/libcxgbi.c 			csk->wr_cred, csk->wr_una_cred, snd_una, seq_chk);
wr_cred          1031 drivers/scsi/cxgbi/libcxgbi.c 	csk->wr_cred += credits;
wr_cred          1032 drivers/scsi/cxgbi/libcxgbi.c 	if (csk->wr_una_cred > csk->wr_max_cred - csk->wr_cred)
wr_cred          1033 drivers/scsi/cxgbi/libcxgbi.c 		csk->wr_una_cred = csk->wr_max_cred - csk->wr_cred;
wr_cred          1041 drivers/scsi/cxgbi/libcxgbi.c 				csk->wr_cred, csk->wr_una_cred);
wr_cred          1048 drivers/scsi/cxgbi/libcxgbi.c 				credits, csk->wr_cred, csk->wr_una_cred,
wr_cred          1133 drivers/scsi/cxgbi/libcxgbi.c 	if (unlikely(csk->wr_cred + pending != csk->wr_max_cred))
wr_cred          1135 drivers/scsi/cxgbi/libcxgbi.c 			csk, csk->tid, csk->wr_cred, pending, csk->wr_max_cred);
wr_cred           121 drivers/scsi/cxgbi/libcxgbi.h 	int wr_cred;
wr_cred           214 drivers/target/iscsi/cxgbit/cxgbit.h 	u32 wr_cred;
wr_cred          1322 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	csk->wr_cred = cdev->lldi.wr_cred -
wr_cred          1324 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	csk->wr_max_cred = csk->wr_cred;
wr_cred          1800 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	if (unlikely(csk->wr_cred > csk->wr_max_cred)) {
wr_cred          1802 drivers/target/iscsi/cxgbit/cxgbit_cm.c 		       csk, csk->tid, csk->wr_cred, csk->wr_max_cred);
wr_cred          1811 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	if (unlikely((csk->wr_cred + credit) != csk->wr_max_cred)) {
wr_cred          1813 drivers/target/iscsi/cxgbit/cxgbit_cm.c 		       csk, csk->tid, csk->wr_cred,
wr_cred          1828 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	csk->wr_cred += credits;
wr_cred          1829 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	if (csk->wr_una_cred > (csk->wr_max_cred - csk->wr_cred))
wr_cred          1830 drivers/target/iscsi/cxgbit/cxgbit_cm.c 		csk->wr_una_cred = csk->wr_max_cred - csk->wr_cred;
wr_cred          1839 drivers/target/iscsi/cxgbit/cxgbit_cm.c 			       csk->wr_cred, csk->wr_una_cred);
wr_cred          1847 drivers/target/iscsi/cxgbit/cxgbit_cm.c 				credits, csk->wr_cred, csk->wr_una_cred,
wr_cred           206 drivers/target/iscsi/cxgbit/cxgbit_target.c 	while (csk->wr_cred && ((skb = skb_peek(&csk->txq)) != NULL)) {
wr_cred           234 drivers/target/iscsi/cxgbit/cxgbit_target.c 			csk->wr_cred -= flowclen16;
wr_cred           238 drivers/target/iscsi/cxgbit/cxgbit_target.c 		if (csk->wr_cred < credits_needed) {
wr_cred           241 drivers/target/iscsi/cxgbit/cxgbit_target.c 				 credits_needed, csk->wr_cred);
wr_cred           247 drivers/target/iscsi/cxgbit/cxgbit_target.c 		csk->wr_cred -= credits_needed;
wr_cred           252 drivers/target/iscsi/cxgbit/cxgbit_target.c 			 csk->wr_cred, csk->wr_una_cred);