nr_frags          273 arch/um/drivers/vector_kern.c 	int nr_frags, frag;
nr_frags          276 arch/um/drivers/vector_kern.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          277 arch/um/drivers/vector_kern.c 	if (nr_frags > MAX_IOV_SIZE) {
nr_frags          287 arch/um/drivers/vector_kern.c 	if (nr_frags > 0) {
nr_frags          293 arch/um/drivers/vector_kern.c 	for (frag = 0; frag < nr_frags; frag++) {
nr_frags          602 arch/um/drivers/vector_kern.c 	int err, nr_frags, frag;
nr_frags          634 arch/um/drivers/vector_kern.c 	nr_frags = skb_shinfo(result)->nr_frags;
nr_frags          635 arch/um/drivers/vector_kern.c 	for (frag = 0; frag < nr_frags; frag++) {
nr_frags         1103 drivers/atm/eni.c DPRINTK("iovcnt = %d\n",skb_shinfo(skb)->nr_frags);
nr_frags         1104 drivers/atm/eni.c 	if (!skb_shinfo(skb)->nr_frags) dma_size += 5;
nr_frags         1105 drivers/atm/eni.c 	else dma_size += 5*(skb_shinfo(skb)->nr_frags+1);
nr_frags         1126 drivers/atm/eni.c 	if (!skb_shinfo(skb)->nr_frags)
nr_frags         1131 drivers/atm/eni.c 		for (i = -1; i < skb_shinfo(skb)->nr_frags; i++)
nr_frags         2515 drivers/atm/he.c 	if (skb_shinfo(skb)->nr_frags) {
nr_frags         2559 drivers/atm/he.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1686 drivers/atm/horizon.c     unsigned int tx_iovcnt = skb_shinfo(skb)->nr_frags;
nr_frags         1975 drivers/atm/idt77252.c 	if (skb_shinfo(skb)->nr_frags != 0) {
nr_frags         1658 drivers/atm/nicstar.c 	if (skb_shinfo(skb)->nr_frags != 0) {
nr_frags          645 drivers/atm/zatm.c 	EVENT("iovcnt=%d\n",skb_shinfo(skb)->nr_frags,0);
nr_frags          647 drivers/atm/zatm.c 	if (!skb_shinfo(skb)->nr_frags) {
nr_frags          244 drivers/block/aoe/aoecmd.c 	skb_shinfo(skb)->nr_frags = skb->data_len = 0;
nr_frags          422 drivers/block/aoe/aoedev.c 	skb_shinfo(skb)->nr_frags = skb->data_len = 0;
nr_frags          356 drivers/crypto/chelsio/chcr_ipsec.c 	flits = sgl_len(skb_shinfo(skb)->nr_frags + 1);
nr_frags           39 drivers/crypto/chelsio/chtls/chtls_io.c 	cnt = skb_shinfo(skb)->nr_frags;
nr_frags          256 drivers/crypto/chelsio/chtls/chtls_io.c 		skb_shinfo(skb)->nr_frags--;
nr_frags          266 drivers/crypto/chelsio/chtls/chtls_io.c 		skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags, page, 0,
nr_frags          554 drivers/crypto/chelsio/chtls/chtls_io.c 		skb_shinfo(skb)->nr_frags++;
nr_frags          585 drivers/crypto/chelsio/chtls/chtls_io.c 	cnt = skb_shinfo(skb)->nr_frags;
nr_frags          656 drivers/crypto/chelsio/chtls/chtls_io.c 				skb_shinfo(skb)->nr_frags--;
nr_frags         1074 drivers/crypto/chelsio/chtls/chtls_io.c 			int i = skb_shinfo(skb)->nr_frags;
nr_frags         1249 drivers/crypto/chelsio/chtls/chtls_io.c 		i = skb_shinfo(skb)->nr_frags;
nr_frags          176 drivers/hsi/clients/ssi_protocol.c 	BUG_ON(msg->sgt.nents != (unsigned int)(skb_shinfo(skb)->nr_frags + 1));
nr_frags          180 drivers/hsi/clients/ssi_protocol.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          206 drivers/hsi/clients/ssi_protocol.c 	msg = hsi_alloc_msg(skb_shinfo(skb)->nr_frags + 1, flags);
nr_frags          104 drivers/infiniband/hw/hfi1/vnic_sdma.c 	for (i = 0; i < skb_shinfo(tx->skb)->nr_frags; i++) {
nr_frags          547 drivers/infiniband/ulp/ipoib/ipoib.h 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          557 drivers/infiniband/ulp/ipoib/ipoib.h 	for (i = 0; i < nr_frags; ++i) {
nr_frags          561 drivers/infiniband/ulp/ipoib/ipoib.h 	priv->tx_wr.wr.num_sge	     = nr_frags + off;
nr_frags          539 drivers/infiniband/ulp/ipoib/ipoib_cm.c 	num_frags = skb_shinfo(skb)->nr_frags;
nr_frags          547 drivers/infiniband/ulp/ipoib/ipoib_cm.c 			--skb_shinfo(skb)->nr_frags;
nr_frags          723 drivers/infiniband/ulp/ipoib/ipoib_cm.c 	if (skb_shinfo(skb)->nr_frags > usable_sge) {
nr_frags          732 drivers/infiniband/ulp/ipoib/ipoib_cm.c 		if (skb_shinfo(skb)->nr_frags > usable_sge) {
nr_frags          292 drivers/infiniband/ulp/ipoib/ipoib_ib.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; ++i) {
nr_frags          332 drivers/infiniband/ulp/ipoib/ipoib_ib.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; ++i) {
nr_frags          597 drivers/infiniband/ulp/ipoib/ipoib_ib.c 	if (skb_shinfo(skb)->nr_frags > usable_sge) {
nr_frags          606 drivers/infiniband/ulp/ipoib/ipoib_ib.c 		if (skb_shinfo(skb)->nr_frags > usable_sge) {
nr_frags         2152 drivers/net/ethernet/3com/3c59x.c 	if (!skb_shinfo(skb)->nr_frags) {
nr_frags         2171 drivers/net/ethernet/3com/3c59x.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2196 drivers/net/ethernet/3com/3c59x.c 			if (i == skb_shinfo(skb)->nr_frags-1)
nr_frags         2439 drivers/net/ethernet/3com/3c59x.c 					for (i=1; i<=skb_shinfo(skb)->nr_frags; i++)
nr_frags         2768 drivers/net/ethernet/3com/3c59x.c 				for (k=0; k<=skb_shinfo(skb)->nr_frags; k++)
nr_frags          739 drivers/net/ethernet/3com/typhoon.c 	numDesc = skb_shinfo(skb)->nr_frags + 1;
nr_frags          792 drivers/net/ethernet/3com/typhoon.c 	if(skb_shinfo(skb)->nr_frags == 0) {
nr_frags          812 drivers/net/ethernet/3com/typhoon.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          162 drivers/net/ethernet/adaptec/starfire.c #define skb_num_frags(skb) (skb_shinfo(skb)->nr_frags + 1)
nr_frags         1383 drivers/net/ethernet/adaptec/starfire.c 					for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          101 drivers/net/ethernet/aeroflex/greth.c 	if (skb_shinfo(skb)->nr_frags == 0)
nr_frags          109 drivers/net/ethernet/aeroflex/greth.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          188 drivers/net/ethernet/aeroflex/greth.c 			int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          197 drivers/net/ethernet/aeroflex/greth.c 			for (i = 0; i < nr_frags; i++) {
nr_frags          208 drivers/net/ethernet/aeroflex/greth.c 			greth->tx_free += nr_frags+1;
nr_frags          467 drivers/net/ethernet/aeroflex/greth.c 	int curr_tx, nr_frags, i, err = NETDEV_TX_OK;
nr_frags          471 drivers/net/ethernet/aeroflex/greth.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          475 drivers/net/ethernet/aeroflex/greth.c 	if (greth_num_free_bds(tx_last, greth->tx_next) < nr_frags + 1) {
nr_frags          493 drivers/net/ethernet/aeroflex/greth.c 	if (nr_frags != 0)
nr_frags          517 drivers/net/ethernet/aeroflex/greth.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          532 drivers/net/ethernet/aeroflex/greth.c 		if (i < nr_frags - 1)
nr_frags          677 drivers/net/ethernet/aeroflex/greth.c 	int nr_frags, i;
nr_frags          687 drivers/net/ethernet/aeroflex/greth.c 		nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          690 drivers/net/ethernet/aeroflex/greth.c 		bdp_last_frag = greth->tx_bd_base + SKIP_TX(tx_last, nr_frags);
nr_frags          713 drivers/net/ethernet/aeroflex/greth.c 		for (i = 0; i < nr_frags; i++) {
nr_frags         2428 drivers/net/ethernet/agere/et131x.c 	u32 nr_frags = skb_shinfo(skb)->nr_frags + 1;
nr_frags         2442 drivers/net/ethernet/agere/et131x.c 	memset(desc, 0, sizeof(struct tx_desc) * (nr_frags + 1));
nr_frags         2444 drivers/net/ethernet/agere/et131x.c 	for (i = 0; i < nr_frags; i++) {
nr_frags         2422 drivers/net/ethernet/alteon/acenic.c 	if (!skb_shinfo(skb)->nr_frags)	{
nr_frags         2460 drivers/net/ethernet/alteon/acenic.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2477 drivers/net/ethernet/alteon/acenic.c 			if (i == skb_shinfo(skb)->nr_frags - 1) {
nr_frags          563 drivers/net/ethernet/altera/altera_tse_main.c 	int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          927 drivers/net/ethernet/amazon/ena/ena_netdev.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_info->page,
nr_frags         2115 drivers/net/ethernet/amazon/ena/ena_netdev.c 	num_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2205 drivers/net/ethernet/amazon/ena/ena_netdev.c 	last_frag = skb_shinfo(skb)->nr_frags;
nr_frags          603 drivers/net/ethernet/amd/xgbe/xgbe-desc.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1894 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2783 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 				skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags          247 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          314 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	u32 i, len, nr_frags;
nr_frags          340 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 				nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          342 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 				for (i = 0; i < 2 && i < nr_frags; i++)
nr_frags          421 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	u32 i, fidx, nr_frags, count = 1;
nr_frags          458 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          459 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	for (i = nr_frags; i < 4 ; i++)
nr_frags          464 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	for (i = 0, fidx = 0; split || (fidx < nr_frags); i++) {
nr_frags          500 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 			if (split || (fidx != nr_frags)) {
nr_frags          740 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, page, 0,
nr_frags          750 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	rx_ring->npagepool -= skb_shinfo(skb)->nr_frags;
nr_frags          428 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 	unsigned int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          502 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 	for (; nr_frags--; ++frag_count) {
nr_frags          581 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 	frags = skb_shinfo(skb)->nr_frags + 1;
nr_frags         1370 drivers/net/ethernet/atheros/alx/main.c 	num = skb_shinfo(skb)->nr_frags + 1;
nr_frags         1467 drivers/net/ethernet/atheros/alx/main.c 	for (f = 0; f < skb_shinfo(skb)->nr_frags; f++) {
nr_frags         1957 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	tpd_req = skb_shinfo(skb)->nr_frags + 1;
nr_frags         2101 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	u16 nr_frags;
nr_frags         2105 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2152 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         1600 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1702 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	u16 nr_frags;
nr_frags         1708 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1772 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         2193 drivers/net/ethernet/atheros/atlx/atl1.c 	unsigned int nr_frags;
nr_frags         2201 drivers/net/ethernet/atheros/atlx/atl1.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2258 drivers/net/ethernet/atheros/atlx/atl1.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         2348 drivers/net/ethernet/atheros/atlx/atl1.c 	unsigned int nr_frags = 0;
nr_frags         2360 drivers/net/ethernet/atheros/atlx/atl1.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2361 drivers/net/ethernet/atheros/atlx/atl1.c 	for (f = 0; f < nr_frags; f++) {
nr_frags          258 drivers/net/ethernet/aurora/nb8800.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, page,
nr_frags          139 drivers/net/ethernet/broadcom/bgmac.c 	int nr_frags;
nr_frags          151 drivers/net/ethernet/broadcom/bgmac.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          156 drivers/net/ethernet/broadcom/bgmac.c 	if (ring->end - ring->start + nr_frags + 1 >= BGMAC_TX_RING_SLOTS) {
nr_frags          168 drivers/net/ethernet/broadcom/bgmac.c 	if (!nr_frags)
nr_frags          174 drivers/net/ethernet/broadcom/bgmac.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          185 drivers/net/ethernet/broadcom/bgmac.c 		if (i == nr_frags - 1)
nr_frags          192 drivers/net/ethernet/broadcom/bgmac.c 	ring->end += nr_frags + 1;
nr_frags         2879 drivers/net/ethernet/broadcom/bnx2.c 			last_idx = sw_cons + tx_buf->nr_frags + 1;
nr_frags         2880 drivers/net/ethernet/broadcom/bnx2.c 			last_ring_idx = sw_ring_cons + tx_buf->nr_frags + 1;
nr_frags         2893 drivers/net/ethernet/broadcom/bnx2.c 		last = tx_buf->nr_frags;
nr_frags         2963 drivers/net/ethernet/broadcom/bnx2.c 		shinfo->nr_frags--;
nr_frags         2964 drivers/net/ethernet/broadcom/bnx2.c 		page = skb_frag_page(&shinfo->frags[shinfo->nr_frags]);
nr_frags         2965 drivers/net/ethernet/broadcom/bnx2.c 		__skb_frag_set_page(&shinfo->frags[shinfo->nr_frags], NULL);
nr_frags         5462 drivers/net/ethernet/broadcom/bnx2.c 			last = tx_buf->nr_frags;
nr_frags         6615 drivers/net/ethernet/broadcom/bnx2.c 	    (skb_shinfo(skb)->nr_frags + 1))) {
nr_frags         6686 drivers/net/ethernet/broadcom/bnx2.c 	last_frag = skb_shinfo(skb)->nr_frags;
nr_frags         6687 drivers/net/ethernet/broadcom/bnx2.c 	tx_buf->nr_frags = last_frag;
nr_frags         6646 drivers/net/ethernet/broadcom/bnx2.h 	unsigned short		nr_frags;
nr_frags         3403 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (skb_shinfo(skb)->nr_frags >= (MAX_FETCH_BD - num_tso_win_sub)) {
nr_frags         3408 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			int num_wnds = skb_shinfo(skb)->nr_frags - wnd_size;
nr_frags         3467 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		   skb_shinfo(skb)->nr_frags, hlen, first_bd_sz);
nr_frags         3778 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			skb_shinfo(skb)->nr_frags +
nr_frags         4071 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          371 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (unlikely(free_size < skb_shinfo(skb)->nr_frags + 2)) {
nr_frags          378 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	last_frag = skb_shinfo(skb)->nr_frags;
nr_frags          386 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	tx_buf->nr_frags = last_frag;
nr_frags          645 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		last = tx_buf->nr_frags;
nr_frags         1044 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			unsigned int nr_frags;
nr_frags         1047 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			nr_frags = --shinfo->nr_frags;
nr_frags         1048 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			__skb_frag_set_page(&shinfo->frags[nr_frags], NULL);
nr_frags         2523 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			last = tx_buf->nr_frags;
nr_frags          693 drivers/net/ethernet/broadcom/bnxt/bnxt.h 		unsigned short		nr_frags;
nr_frags         1553 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	int nr_frags, index;
nr_frags         1577 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1580 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	if (ring->free_bds <= (nr_frags + 1)) {
nr_frags         1610 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	for (i = 0; i <= nr_frags; i++) {
nr_frags         1649 drivers/net/ethernet/broadcom/genet/bcmgenet.c 		if (i == nr_frags)
nr_frags         1659 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	ring->free_bds -= nr_frags + 1;
nr_frags         1660 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	ring->prod_index += nr_frags + 1;
nr_frags         6594 drivers/net/ethernet/broadcom/tg3.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         7942 drivers/net/ethernet/broadcom/tg3.c 	if (unlikely(budget <= (skb_shinfo(skb)->nr_frags + 1))) {
nr_frags         8074 drivers/net/ethernet/broadcom/tg3.c 			  ((skb_shinfo(skb)->nr_frags == 0) ? TXD_FLAG_END : 0),
nr_frags         8077 drivers/net/ethernet/broadcom/tg3.c 	} else if (skb_shinfo(skb)->nr_frags > 0) {
nr_frags         8088 drivers/net/ethernet/broadcom/tg3.c 		last = skb_shinfo(skb)->nr_frags - 1;
nr_frags         8567 drivers/net/ethernet/broadcom/tg3.c 					 skb_shinfo(skb)->nr_frags - 1);
nr_frags          555 drivers/net/ethernet/brocade/bna/bnad.c 		skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags,
nr_frags         2967 drivers/net/ethernet/brocade/bna/bnad.c 	vectors = 1 + skb_shinfo(skb)->nr_frags;
nr_frags         1503 drivers/net/ethernet/cadence/macb_main.c 	unsigned int f, nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1549 drivers/net/ethernet/cadence/macb_main.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         1670 drivers/net/ethernet/cadence/macb_main.c 	unsigned int nr_frags, f;
nr_frags         1689 drivers/net/ethernet/cadence/macb_main.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1691 drivers/net/ethernet/cadence/macb_main.c 	nr_frags--;
nr_frags         1692 drivers/net/ethernet/cadence/macb_main.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         1782 drivers/net/ethernet/cadence/macb_main.c 	unsigned int desc_cnt, nr_frags, frag_size, f;
nr_frags         1834 drivers/net/ethernet/cadence/macb_main.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1835 drivers/net/ethernet/cadence/macb_main.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         1080 drivers/net/ethernet/calxeda/xgmac.c 	int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          609 drivers/net/ethernet/cavium/liquidio/lio_core.c 				skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags         1487 drivers/net/ethernet/cavium/liquidio/lio_main.c 	frags = skb_shinfo(skb)->nr_frags;
nr_frags         1530 drivers/net/ethernet/cavium/liquidio/lio_main.c 	frags = skb_shinfo(skb)->nr_frags;
nr_frags         2402 drivers/net/ethernet/cavium/liquidio/lio_main.c 	if (skb_shinfo(skb)->nr_frags == 0) {
nr_frags         2442 drivers/net/ethernet/cavium/liquidio/lio_main.c 		cmdsetup.s.u.gatherptrs = (skb_shinfo(skb)->nr_frags + 1);
nr_frags         2459 drivers/net/ethernet/cavium/liquidio/lio_main.c 		frags = skb_shinfo(skb)->nr_frags;
nr_frags          832 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 	frags = skb_shinfo(skb)->nr_frags;
nr_frags          876 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 	frags = skb_shinfo(skb)->nr_frags;
nr_frags         1481 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 	if (!skb_shinfo(skb)->nr_frags) {
nr_frags         1516 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 		cmdsetup.s.u.gatherptrs = (skb_shinfo(skb)->nr_frags + 1);
nr_frags         1532 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 		frags = skb_shinfo(skb)->nr_frags;
nr_frags          277 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags          400 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c 	if (skb_shinfo(skb)->nr_frags != 0) {
nr_frags         1320 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	if (skb_shinfo(skb)->nr_frags)
nr_frags         1321 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		subdesc_cnt += skb_shinfo(skb)->nr_frags;
nr_frags         1590 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1713 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 			skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, page,
nr_frags         1116 drivers/net/ethernet/chelsio/cxgb/sge.c 		unsigned int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         1207 drivers/net/ethernet/chelsio/cxgb/sge.c 	    nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         1319 drivers/net/ethernet/chelsio/cxgb/sge.c 	        count = 1 + skb_shinfo(skb)->nr_frags;
nr_frags         1672 drivers/net/ethernet/chelsio/cxgb/sge.c 	count = 1 + skb_shinfo(skb)->nr_frags;
nr_frags         1709 drivers/net/ethernet/chelsio/cxgb/sge.c 		count = 1 + skb_shinfo(skb)->nr_frags;
nr_frags          253 drivers/net/ethernet/chelsio/cxgb3/sge.c 	nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          903 drivers/net/ethernet/chelsio/cxgb3/sge.c 		skb_fill_page_desc(newskb, skb_shinfo(newskb)->nr_frags,
nr_frags          950 drivers/net/ethernet/chelsio/cxgb3/sge.c 	flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 2;
nr_frags          978 drivers/net/ethernet/chelsio/cxgb3/sge.c 	end = &si->frags[si->nr_frags];
nr_frags         1022 drivers/net/ethernet/chelsio/cxgb3/sge.c 	nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         1596 drivers/net/ethernet/chelsio/cxgb3/sge.c 	for (i = 0; i < si->nr_frags; i++)
nr_frags         1680 drivers/net/ethernet/chelsio/cxgb3/sge.c 	cnt = skb_shinfo(skb)->nr_frags;
nr_frags         2136 drivers/net/ethernet/chelsio/cxgb3/sge.c 	int nr_frags;
nr_frags         2166 drivers/net/ethernet/chelsio/cxgb3/sge.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2168 drivers/net/ethernet/chelsio/cxgb3/sge.c 	if (!nr_frags) {
nr_frags         2183 drivers/net/ethernet/chelsio/cxgb3/sge.c 	rx_frag += nr_frags;
nr_frags         2191 drivers/net/ethernet/chelsio/cxgb3/sge.c 	skb_shinfo(skb)->nr_frags++;
nr_frags          252 drivers/net/ethernet/chelsio/cxgb4/sge.c 	end = &si->frags[si->nr_frags];
nr_frags          282 drivers/net/ethernet/chelsio/cxgb4/sge.c 	end = &si->frags[si->nr_frags];
nr_frags          305 drivers/net/ethernet/chelsio/cxgb4/sge.c 	unsigned int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          832 drivers/net/ethernet/chelsio/cxgb4/sge.c 	flits = sgl_len(skb_shinfo(skb)->nr_frags + 1);
nr_frags          887 drivers/net/ethernet/chelsio/cxgb4/sge.c 	unsigned int nfrags = si->nr_frags;
nr_frags          911 drivers/net/ethernet/chelsio/cxgb4/sge.c 	for (i = (nfrags != si->nr_frags); nfrags >= 2; nfrags -= 2, to++) {
nr_frags         1686 drivers/net/ethernet/chelsio/cxgb4/sge.c 	flits = sgl_len(skb_shinfo(skb)->nr_frags + 1);
nr_frags         2190 drivers/net/ethernet/chelsio/cxgb4/sge.c 	cnt = skb_shinfo(skb)->nr_frags;
nr_frags         2623 drivers/net/ethernet/chelsio/cxgb4/sge.c 	skb_shinfo(skb)->nr_frags = gl->nfrags;
nr_frags          288 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	end = &si->frags[si->nr_frags];
nr_frags          310 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	unsigned int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          873 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	flits = sgl_len(skb_shinfo(skb)->nr_frags + 1);
nr_frags          908 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	unsigned int nfrags = si->nr_frags;
nr_frags          932 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	for (i = (nfrags != si->nr_frags); nfrags >= 2; nfrags -= 2, to++) {
nr_frags         1367 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		  ndesc, credits, txq->q.pidx, skb->len, ssi->nr_frags);
nr_frags         1482 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	skb_shinfo(skb)->nr_frags = gl->nfrags;
nr_frags          878 drivers/net/ethernet/cisco/enic/enic_main.c 	    skb_shinfo(skb)->nr_frags + 1 > ENIC_NON_TSO_MAX_DESC &&
nr_frags          887 drivers/net/ethernet/cisco/enic/enic_main.c 	    skb_shinfo(skb)->nr_frags + ENIC_DESC_MAX_SPLITS) {
nr_frags         1143 drivers/net/ethernet/cortina/gemini.c 	short frag, last_frag = skb_si->nr_frags - 1;
nr_frags         1246 drivers/net/ethernet/cortina/gemini.c 	nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          766 drivers/net/ethernet/emulex/benet/be_main.c 	return 1 + (skb_headlen(skb) ? 1 : 0) + skb_shinfo(skb)->nr_frags;
nr_frags         1016 drivers/net/ethernet/emulex/benet/be_main.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2347 drivers/net/ethernet/emulex/benet/be_main.c 		skb_shinfo(skb)->nr_frags = 1;
nr_frags         2378 drivers/net/ethernet/emulex/benet/be_main.c 			skb_shinfo(skb)->nr_frags++;
nr_frags         2470 drivers/net/ethernet/emulex/benet/be_main.c 	skb_shinfo(skb)->nr_frags = j + 1;
nr_frags          728 drivers/net/ethernet/faraday/ftgmac100.c 	nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         1619 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	int nr_frags, i;
nr_frags         1626 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 		nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1641 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 		for (i = 1; i <= nr_frags; i++) {
nr_frags         1913 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	const int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1964 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	for (i = 0; i < nr_frags; i++) {
nr_frags         1985 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	qm_sg_entry_set_f(&sgt[nr_frags], frag_len);
nr_frags         2088 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 		     (skb_shinfo(skb)->nr_frags >= DPAA_SGT_MAX_ENTRIES))) {
nr_frags          526 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          540 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	if (unlikely(PAGE_SIZE / sizeof(struct scatterlist) < nr_frags + 1))
nr_frags          543 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	scl = kcalloc(nr_frags + 1, sizeof(struct scatterlist), GFP_ATOMIC);
nr_frags          547 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	sg_init_table(scl, nr_frags + 1);
nr_frags           27 drivers/net/ethernet/freescale/enetc/enetc.c 	if (unlikely(skb_shinfo(skb)->nr_frags > ENETC_MAX_SKB_FRAGS))
nr_frags           31 drivers/net/ethernet/freescale/enetc/enetc.c 	count = skb_shinfo(skb)->nr_frags + 1; /* fragments + head */
nr_frags          190 drivers/net/ethernet/freescale/enetc/enetc.c 	for (f = 0; f < skb_shinfo(skb)->nr_frags; f++, frag++) {
nr_frags          616 drivers/net/ethernet/freescale/enetc/enetc.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_swbd->page,
nr_frags          391 drivers/net/ethernet/freescale/fec_main.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          401 drivers/net/ethernet/freescale/fec_main.c 	for (frag = 0; frag < nr_frags; frag++) {
nr_frags          412 drivers/net/ethernet/freescale/fec_main.c 		if (frag == nr_frags - 1) {
nr_frags          475 drivers/net/ethernet/freescale/fec_main.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          528 drivers/net/ethernet/freescale/fec_main.c 	if (nr_frags) {
nr_frags          491 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	int nr_frags;
nr_frags          501 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          503 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		for (i = 0; i < nr_frags; i++, frag++) {
nr_frags          531 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          532 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	if (fep->tx_free <= nr_frags || (CBDR_SC(bdp) & BD_ENET_TX_READY)) {
nr_frags          548 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	if (nr_frags)
nr_frags          550 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	fep->tx_free -= nr_frags + 1;
nr_frags          560 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	while (nr_frags) {
nr_frags          580 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		nr_frags--;
nr_frags         1101 drivers/net/ethernet/freescale/gianfar.c 		for (j = 0; j < skb_shinfo(tx_queue->tx_skbuff[i])->nr_frags;
nr_frags         1806 drivers/net/ethernet/freescale/gianfar.c 	unsigned int nr_frags, nr_txbds, bytes_sent, fcb_len = 0;
nr_frags         1844 drivers/net/ethernet/freescale/gianfar.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1848 drivers/net/ethernet/freescale/gianfar.c 		nr_txbds = nr_frags + 2;
nr_frags         1850 drivers/net/ethernet/freescale/gianfar.c 		nr_txbds = nr_frags + 1;
nr_frags         1916 drivers/net/ethernet/freescale/gianfar.c 	if (likely(!nr_frags)) {
nr_frags         1924 drivers/net/ethernet/freescale/gianfar.c 		for (i = 0; i < nr_frags; i++, frag++) {
nr_frags         1936 drivers/net/ethernet/freescale/gianfar.c 			if (i == nr_frags - 1)
nr_frags         1965 drivers/net/ethernet/freescale/gianfar.c 		if (!nr_frags)
nr_frags         2025 drivers/net/ethernet/freescale/gianfar.c 	for (i = 0; i < nr_frags; i++) {
nr_frags         2212 drivers/net/ethernet/freescale/gianfar.c 		frags = skb_shinfo(skb)->nr_frags;
nr_frags         2397 drivers/net/ethernet/freescale/gianfar.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, page,
nr_frags          580 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          615 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		if (skb_shinfo(skb)->nr_frags) {
nr_frags          688 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		if (skb_shinfo(skb)->nr_frags)
nr_frags          690 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		cmd |= skb_shinfo(skb)->nr_frags << DESC_FRAGS_NUM_OFF;
nr_frags          720 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          758 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	if (skb_shinfo(skb)->nr_frags) {
nr_frags          218 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	buf_num = skb_shinfo(skb)->nr_frags + 1;
nr_frags          253 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	frag_num = skb_shinfo(skb)->nr_frags;
nr_frags          332 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	seg_num = skb_shinfo(skb)->nr_frags + 1;
nr_frags         1198 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		return skb_shinfo(skb)->nr_frags + 1;
nr_frags         1202 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1240 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	for (i = 0; i < (skb_shinfo(skb)->nr_frags - bd_limit - 1); i++) {
nr_frags         1359 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	seg_num = skb_shinfo(skb)->nr_frags + 1;
nr_frags          152 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	for (i = 0 ; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          192 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags ; i++)
nr_frags          485 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	nr_sges = skb_shinfo(skb)->nr_frags + 1;
nr_frags          590 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		nr_sges = skb_shinfo(skb)->nr_frags + 1;
nr_frags          645 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		nr_sges = skb_shinfo(skb)->nr_frags + 1;
nr_frags         1644 drivers/net/ethernet/ibm/ehea/ehea_main.c 	nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         1517 drivers/net/ethernet/ibm/emac/core.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1524 drivers/net/ethernet/ibm/emac/core.c 	if (likely(!nr_frags && len <= MAL_MAX_TX_SIZE))
nr_frags         1533 drivers/net/ethernet/ibm/emac/core.c 	if (unlikely(dev->tx_cnt + nr_frags + mal_tx_chunks(len) > NUM_TX_BUFF))
nr_frags         1548 drivers/net/ethernet/ibm/emac/core.c 		slot = emac_xmit_split(dev, slot, pd + chunk, len, !nr_frags,
nr_frags         1551 drivers/net/ethernet/ibm/emac/core.c 	for (i = 0; i < nr_frags; ++i) {
nr_frags         1561 drivers/net/ethernet/ibm/emac/core.c 		slot = emac_xmit_split(dev, slot, pd, len, i == nr_frags - 1,
nr_frags         1038 drivers/net/ethernet/ibm/ibmveth.c 	if (skb_shinfo(skb)->nr_frags > 5 && __skb_linearize(skb)) {
nr_frags         1109 drivers/net/ethernet/ibm/ibmveth.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1151 drivers/net/ethernet/ibm/ibmveth.c 	for (i = 1; i < skb_shinfo(skb)->nr_frags + 1; i++)
nr_frags         1475 drivers/net/ethernet/ibm/ibmvnic.c 	if (skb_shinfo(skb)->nr_frags) {
nr_frags         1483 drivers/net/ethernet/ibm/ibmvnic.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2822 drivers/net/ethernet/intel/e1000/e1000_main.c 			unsigned int max_per_txd, unsigned int nr_frags,
nr_frags         2851 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (unlikely(mss && !nr_frags && size == len && size > 8))
nr_frags         2891 drivers/net/ethernet/intel/e1000/e1000_main.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         2908 drivers/net/ethernet/intel/e1000/e1000_main.c 			if (unlikely(mss && f == (nr_frags-1) &&
nr_frags         3106 drivers/net/ethernet/intel/e1000/e1000_main.c 	unsigned int nr_frags;
nr_frags         3193 drivers/net/ethernet/intel/e1000/e1000_main.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         3194 drivers/net/ethernet/intel/e1000/e1000_main.c 	for (f = 0; f < nr_frags; f++)
nr_frags         3198 drivers/net/ethernet/intel/e1000/e1000_main.c 		count += nr_frags;
nr_frags         3242 drivers/net/ethernet/intel/e1000/e1000_main.c 			     nr_frags, mss);
nr_frags         4200 drivers/net/ethernet/intel/e1000/e1000_main.c 				    skb_shinfo(rxtop)->nr_frags,
nr_frags         4209 drivers/net/ethernet/intel/e1000/e1000_main.c 				    skb_shinfo(rxtop)->nr_frags,
nr_frags         1576 drivers/net/ethernet/intel/e1000e/netdev.c 				skb_fill_page_desc(rxtop, shinfo->nr_frags,
nr_frags         1588 drivers/net/ethernet/intel/e1000e/netdev.c 				skb_fill_page_desc(rxtop, shinfo->nr_frags,
nr_frags         5556 drivers/net/ethernet/intel/e1000e/netdev.c 			unsigned int nr_frags)
nr_frags         5592 drivers/net/ethernet/intel/e1000e/netdev.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         5794 drivers/net/ethernet/intel/e1000e/netdev.c 	unsigned int nr_frags;
nr_frags         5849 drivers/net/ethernet/intel/e1000e/netdev.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         5850 drivers/net/ethernet/intel/e1000e/netdev.c 	for (f = 0; f < nr_frags; f++)
nr_frags         5894 drivers/net/ethernet/intel/e1000e/netdev.c 			     nr_frags);
nr_frags          293 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, page,
nr_frags         1076 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	for (f = 0; f < skb_shinfo(skb)->nr_frags; f++) {
nr_frags         1944 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_buffer->page,
nr_frags         3266 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	int nr_frags, sum;
nr_frags         3269 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         3270 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	if (nr_frags < (I40E_MAX_BUFFER_TXD - 1))
nr_frags         3276 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	nr_frags -= I40E_MAX_BUFFER_TXD - 2;
nr_frags         3325 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		if (!nr_frags--)
nr_frags          525 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	unsigned int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          531 drivers/net/ethernet/intel/i40e/i40e_txrx.h 		if (!nr_frags--)
nr_frags         1242 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_buffer->page,
nr_frags         2165 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	int nr_frags, sum;
nr_frags         2168 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2169 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	if (nr_frags < (IAVF_MAX_BUFFER_TXD - 1))
nr_frags         2175 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	nr_frags -= IAVF_MAX_BUFFER_TXD - 2;
nr_frags         2224 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		if (!nr_frags--)
nr_frags          466 drivers/net/ethernet/intel/iavf/iavf_txrx.h 	unsigned int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          472 drivers/net/ethernet/intel/iavf/iavf_txrx.h 		if (!nr_frags--)
nr_frags          613 drivers/net/ethernet/intel/ice/ice_txrx.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_buf->page,
nr_frags         1998 drivers/net/ethernet/intel/ice/ice_txrx.c 	unsigned int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2004 drivers/net/ethernet/intel/ice/ice_txrx.c 		if (!nr_frags--)
nr_frags         2029 drivers/net/ethernet/intel/ice/ice_txrx.c 	int nr_frags, sum;
nr_frags         2032 drivers/net/ethernet/intel/ice/ice_txrx.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2033 drivers/net/ethernet/intel/ice/ice_txrx.c 	if (nr_frags < (ICE_MAX_BUF_TXD - 1))
nr_frags         2039 drivers/net/ethernet/intel/ice/ice_txrx.c 	nr_frags -= ICE_MAX_BUF_TXD - 2;
nr_frags         2068 drivers/net/ethernet/intel/ice/ice_txrx.c 		if (!nr_frags--)
nr_frags         6077 drivers/net/ethernet/intel/igb/igb_main.c 	for (f = 0; f < skb_shinfo(skb)->nr_frags; f++)
nr_frags         7997 drivers/net/ethernet/intel/igb/igb_main.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_buffer->page,
nr_frags          296 drivers/net/ethernet/intel/igbvf/netdev.c 		if (!skb_shinfo(skb)->nr_frags) {
nr_frags          310 drivers/net/ethernet/intel/igbvf/netdev.c 			skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags,
nr_frags         2176 drivers/net/ethernet/intel/igbvf/netdev.c 	for (f = 0; f < skb_shinfo(skb)->nr_frags; f++) {
nr_frags         2311 drivers/net/ethernet/intel/igbvf/netdev.c 	if (igbvf_maybe_stop_tx(netdev, skb_shinfo(skb)->nr_frags + 4)) {
nr_frags         1112 drivers/net/ethernet/intel/igc/igc_main.c 	for (f = 0; f < skb_shinfo(skb)->nr_frags; f++)
nr_frags         1234 drivers/net/ethernet/intel/igc/igc_main.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_buffer->page,
nr_frags         1241 drivers/net/ethernet/intel/igc/igc_main.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_buffer->page,
nr_frags         1299 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	unsigned int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1309 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		if (unlikely(mss && !nr_frags && size == len && size > 8))
nr_frags         1333 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         1348 drivers/net/ethernet/intel/ixgb/ixgb_main.c 			if (unlikely(mss && (f == (nr_frags - 1))
nr_frags         2014 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_buffer->page,
nr_frags         8625 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	for (f = 0; f < skb_shinfo(skb)->nr_frags; f++)
nr_frags          846 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_buffer->page,
nr_frags         4136 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	for (f = 0; f < skb_shinfo(skb)->nr_frags; f++) {
nr_frags         4142 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	count += skb_shinfo(skb)->nr_frags;
nr_frags         1953 drivers/net/ethernet/jme.c 	nr_alloc = skb_shinfo(skb)->nr_frags + 2;
nr_frags         2030 drivers/net/ethernet/jme.c 	int i, nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2035 drivers/net/ethernet/jme.c 	for (i = 0 ; i < nr_frags ; ++i) {
nr_frags         2177 drivers/net/ethernet/jme.c 	txbi->nr_desc = skb_shinfo(skb)->nr_frags + 2;
nr_frags         2252 drivers/net/ethernet/jme.c 	       idx, skb_shinfo(skb)->nr_frags + 2, jiffies);
nr_frags          659 drivers/net/ethernet/marvell/mv643xx_eth.c 	for (frag = 0; frag < skb_shinfo(skb)->nr_frags; frag++) {
nr_frags          897 drivers/net/ethernet/marvell/mv643xx_eth.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          900 drivers/net/ethernet/marvell/mv643xx_eth.c 	for (frag = 0; frag < nr_frags; frag++) {
nr_frags          916 drivers/net/ethernet/marvell/mv643xx_eth.c 		if (frag == nr_frags - 1) {
nr_frags          936 drivers/net/ethernet/marvell/mv643xx_eth.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          963 drivers/net/ethernet/marvell/mv643xx_eth.c 	if (nr_frags) {
nr_frags          991 drivers/net/ethernet/marvell/mv643xx_eth.c 	txq->tx_desc_count += nr_frags + 1;
nr_frags         2054 drivers/net/ethernet/marvell/mvneta.c 				frag_num = skb_shinfo(rxq->skb)->nr_frags;
nr_frags         2364 drivers/net/ethernet/marvell/mvneta.c 	int i, nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2366 drivers/net/ethernet/marvell/mvneta.c 	for (i = 0; i < nr_frags; i++) {
nr_frags         2383 drivers/net/ethernet/marvell/mvneta.c 		if (i == nr_frags - 1) {
nr_frags         2432 drivers/net/ethernet/marvell/mvneta.c 	frags = skb_shinfo(skb)->nr_frags + 1;
nr_frags         3044 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         3062 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		if (i == (skb_shinfo(skb)->nr_frags - 1)) {
nr_frags         3227 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	frags = skb_shinfo(skb)->nr_frags + 1;
nr_frags         2743 drivers/net/ethernet/marvell/skge.c 	if (unlikely(skge_avail(&skge->tx_ring) < skb_shinfo(skb)->nr_frags + 1))
nr_frags         2779 drivers/net/ethernet/marvell/skge.c 	if (!skb_shinfo(skb)->nr_frags) /* single buffer i.e. no fragments */
nr_frags         2785 drivers/net/ethernet/marvell/skge.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1201 drivers/net/ethernet/marvell/sky2.c 	for (i = 0; i < skb_shinfo(re->skb)->nr_frags; i++)
nr_frags         1218 drivers/net/ethernet/marvell/sky2.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1255 drivers/net/ethernet/marvell/sky2.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++)
nr_frags         1792 drivers/net/ethernet/marvell/sky2.c 	count = (skb_shinfo(skb)->nr_frags + 1)
nr_frags         1934 drivers/net/ethernet/marvell/sky2.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2498 drivers/net/ethernet/marvell/sky2.c 	num_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2505 drivers/net/ethernet/marvell/sky2.c 			--skb_shinfo(skb)->nr_frags;
nr_frags         2539 drivers/net/ethernet/marvell/sky2.c 	if (skb_shinfo(skb)->nr_frags)
nr_frags          916 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	unsigned int nr_frags;
nr_frags          959 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          961 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          991 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (i == nr_frags - 1 &&
nr_frags         1022 drivers/net/ethernet/mediatek/mtk_eth_soc.c 				(!nr_frags * TX_DMA_LS0)));
nr_frags         1078 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1084 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		nfrags += skb_shinfo(skb)->nr_frags;
nr_frags          888 drivers/net/ethernet/mellanox/mlx4/en_rx.c 			skb_shinfo(skb)->nr_frags = nr;
nr_frags          583 drivers/net/ethernet/mellanox/mlx4/en_tx.c 	if (shinfo->nr_frags == 1) {
nr_frags          590 drivers/net/ethernet/mellanox/mlx4/en_tx.c 	if (shinfo->nr_frags)
nr_frags          622 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		real_size = CTRL_SIZE + shinfo->nr_frags * DS_SIZE +
nr_frags          644 drivers/net/ethernet/mellanox/mlx4/en_tx.c 				    (shinfo->nr_frags + 1) * DS_SIZE;
nr_frags          668 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		if (shinfo->nr_frags)
nr_frags          688 drivers/net/ethernet/mellanox/mlx4/en_tx.c 			if (shinfo->nr_frags)
nr_frags          786 drivers/net/ethernet/mellanox/mlx4/en_tx.c 	for (i_frag = shinfo->nr_frags - 1; i_frag >= 0; i_frag--) {
nr_frags          826 drivers/net/ethernet/mellanox/mlx4/en_tx.c 	while (++i_frag < shinfo->nr_frags) {
nr_frags          941 drivers/net/ethernet/mellanox/mlx4/en_tx.c 	tx_info->nr_maps = shinfo->nr_frags + tx_info->linear;
nr_frags          184 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c 	int nr_frags;
nr_frags          243 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c 	info->nr_frags = i;
nr_frags          374 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c 	if (!info.nr_frags) {
nr_frags          379 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c 	num_wqebbs = mlx5e_ktls_dumps_num_wqebbs(sq, info.nr_frags, info.sync_len);
nr_frags          386 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c 	for (; i < info.nr_frags; i++) {
nr_frags          414 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c 	for (; i < info.nr_frags; i++)
nr_frags           51 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c 	int nr_frags;
nr_frags          135 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c 	info->nr_frags = i;
nr_frags          241 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c 	for (i = 0; i < info.nr_frags; i++)
nr_frags          244 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c 	skb_shinfo(nskb)->nr_frags = info.nr_frags;
nr_frags          416 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags          212 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          309 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c 	ds_cnt += skb_shinfo(skb)->nr_frags;
nr_frags          632 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c 	ds_cnt += skb_shinfo(skb)->nr_frags;
nr_frags         1575 drivers/net/ethernet/mellanox/mlxsw/pci.c 	if (skb_shinfo(skb)->nr_frags > MLXSW_PCI_WQE_SG_ENTRIES - 1) {
nr_frags         1602 drivers/net/ethernet/mellanox/mlxsw/pci.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         4637 drivers/net/ethernet/micrel/ksz884x.c 	int last_frag = skb_shinfo(skb)->nr_frags;
nr_frags         4858 drivers/net/ethernet/micrel/ksz884x.c 	num = skb_shinfo(skb)->nr_frags + 1;
nr_frags         1307 drivers/net/ethernet/microchip/lan743x_main.c 	int nr_frags = 0;
nr_frags         1311 drivers/net/ethernet/microchip/lan743x_main.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1312 drivers/net/ethernet/microchip/lan743x_main.c 	result += nr_frags; /* 1 for each fragment buffer */
nr_frags         1397 drivers/net/ethernet/microchip/lan743x_main.c 				     int nr_frags)
nr_frags         1407 drivers/net/ethernet/microchip/lan743x_main.c 	if (nr_frags <= 0) {
nr_frags         1556 drivers/net/ethernet/microchip/lan743x_main.c 	int nr_frags = 0;
nr_frags         1586 drivers/net/ethernet/microchip/lan743x_main.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1604 drivers/net/ethernet/microchip/lan743x_main.c 		lan743x_tx_frame_add_lso(tx, frame_length, nr_frags);
nr_frags         1606 drivers/net/ethernet/microchip/lan743x_main.c 	if (nr_frags <= 0)
nr_frags         1609 drivers/net/ethernet/microchip/lan743x_main.c 	for (j = 0; j < nr_frags; j++) {
nr_frags         2738 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	frag_cnt = skb_shinfo(skb)->nr_frags;
nr_frags         1049 drivers/net/ethernet/natsemi/ns83820.c 	int nr_free, nr_frags;
nr_frags         1060 drivers/net/ethernet/natsemi/ns83820.c 	nr_frags =  skb_shinfo(skb)->nr_frags;
nr_frags         1073 drivers/net/ethernet/natsemi/ns83820.c 	if (nr_free <= nr_frags) {
nr_frags         1091 drivers/net/ethernet/natsemi/ns83820.c 	nr_free -= nr_frags;
nr_frags         1099 drivers/net/ethernet/natsemi/ns83820.c 	if (!nr_frags)
nr_frags         1122 drivers/net/ethernet/natsemi/ns83820.c 	if (nr_frags)
nr_frags         1139 drivers/net/ethernet/natsemi/ns83820.c 		cmdsts = ((nr_frags) ? CMDSTS_MORE : do_intr ? CMDSTS_INTR : 0);
nr_frags         1144 drivers/net/ethernet/natsemi/ns83820.c 		if (!nr_frags)
nr_frags         1154 drivers/net/ethernet/natsemi/ns83820.c 		nr_frags--;
nr_frags         2331 drivers/net/ethernet/neterion/s2io.c 	frg_cnt = skb_shinfo(skb)->nr_frags;
nr_frags         4128 drivers/net/ethernet/neterion/s2io.c 	frg_cnt = skb_shinfo(skb)->nr_frags;
nr_frags          565 drivers/net/ethernet/neterion/vxge/vxge-main.c 		frg_cnt = skb_shinfo(skb)->nr_frags;
nr_frags          913 drivers/net/ethernet/neterion/vxge/vxge-main.c 	frg_cnt = skb_shinfo(skb)->nr_frags;
nr_frags         1047 drivers/net/ethernet/neterion/vxge/vxge-main.c 	frg_cnt = skb_shinfo(skb)->nr_frags;
nr_frags          827 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	       struct sk_buff *skb, u64 *tls_handle, int *nr_frags)
nr_frags          877 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		*nr_frags = 0;
nr_frags          979 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	int f, nr_frags, wr_idx, md_bytes;
nr_frags          996 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          998 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	if (unlikely(nfp_net_tx_full(tx_ring, nr_frags + 1))) {
nr_frags         1010 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	skb = nfp_net_tls_tx(dp, r_vec, skb, &tls_handle, &nr_frags);
nr_frags         1038 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	txd->offset_eop = (nr_frags ? 0 : PCIE_DESC_TX_EOP) | md_bytes;
nr_frags         1056 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	if (nr_frags > 0) {
nr_frags         1062 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		for (f = 0; f < nr_frags; f++) {
nr_frags         1080 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 				((f == nr_frags - 1) ? PCIE_DESC_TX_EOP : 0);
nr_frags         1093 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	tx_ring->wr_p += nr_frags + 1;
nr_frags         1097 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	tx_ring->wr_ptr_add += nr_frags + 1;
nr_frags         1161 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		int fidx, nr_frags;
nr_frags         1171 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1189 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		if (fidx == nr_frags - 1)
nr_frags         1279 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		int idx, nr_frags;
nr_frags         1285 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1299 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		if (tx_buf->fidx == nr_frags - 1)
nr_frags         2081 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	if (WARN_ON_ONCE(skb_shinfo(skb)->nr_frags)) {
nr_frags          515 drivers/net/ethernet/ni/nixge.c 	num_frag = skb_shinfo(skb)->nr_frags;
nr_frags         2215 drivers/net/ethernet/nvidia/forcedeth.c 	unsigned int fragments = skb_shinfo(skb)->nr_frags;
nr_frags         2370 drivers/net/ethernet/nvidia/forcedeth.c 	unsigned int fragments = skb_shinfo(skb)->nr_frags;
nr_frags          526 drivers/net/ethernet/pasemi/pasemi_mac.c 			nfrags = skb_shinfo(info->skb)->nr_frags;
nr_frags          826 drivers/net/ethernet/pasemi/pasemi_mac.c 	int nr_frags;
nr_frags          864 drivers/net/ethernet/pasemi/pasemi_mac.c 		nr_frags = TX_DESC_INFO(txring, i).dma;
nr_frags          870 drivers/net/ethernet/pasemi/pasemi_mac.c 		buf_count = 2 + nr_frags;
nr_frags          877 drivers/net/ethernet/pasemi/pasemi_mac.c 		for (j = 0; j <= nr_frags; j++)
nr_frags          881 drivers/net/ethernet/pasemi/pasemi_mac.c 		nf[descr_count] = nr_frags;
nr_frags         1346 drivers/net/ethernet/pasemi/pasemi_mac.c 	const int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         1441 drivers/net/ethernet/pasemi/pasemi_mac.c 	nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          576 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          736 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 				  flags, skb_shinfo(skb)->nr_frags, dma_addr);
nr_frags          773 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 				  flags, skb_shinfo(skb)->nr_frags, dma_addr);
nr_frags          846 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	if (skb_shinfo(skb)->nr_frags <= IONIC_TX_MAX_SG_ELEMS)
nr_frags         1984 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	int i, nr_frags;
nr_frags         1987 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1998 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	for (i = 0; i < nr_frags; i++) {
nr_frags         2052 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	frag_count = skb_shinfo(skb)->nr_frags + 1;
nr_frags         2067 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		frag_count = 1 + skb_shinfo(skb)->nr_frags;
nr_frags         2517 drivers/net/ethernet/qlogic/qed/qed_ll2.c 	u8 flags = 0, nr_frags;
nr_frags         2530 drivers/net/ethernet/qlogic/qed/qed_ll2.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2532 drivers/net/ethernet/qlogic/qed/qed_ll2.c 	if (1 + nr_frags > CORE_LL2_TX_MAX_BDS_PER_PACKET) {
nr_frags         2534 drivers/net/ethernet/qlogic/qed/qed_ll2.c 		       1 + nr_frags);
nr_frags         2556 drivers/net/ethernet/qlogic/qed/qed_ll2.c 	pkt.num_of_bds = 1 + nr_frags;
nr_frags         2577 drivers/net/ethernet/qlogic/qed/qed_ll2.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          136 drivers/net/ethernet/qlogic/qede/qede_fp.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++, bds_consumed++) {
nr_frags          310 drivers/net/ethernet/qlogic/qede/qede_fp.c 	return (skb_shinfo(skb)->nr_frags > allowed_frags);
nr_frags         1163 drivers/net/ethernet/qlogic/qede/qede_fp.c 		skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags++,
nr_frags         1608 drivers/net/ethernet/qlogic/qede/qede_fp.c 	while (tx_data_bd && frag_idx < skb_shinfo(skb)->nr_frags) {
nr_frags         1627 drivers/net/ethernet/qlogic/qede/qede_fp.c 	for (; frag_idx < skb_shinfo(skb)->nr_frags; frag_idx++, nbd++) {
nr_frags         2317 drivers/net/ethernet/qlogic/qla3xxx.c 	int frag_cnt = (int)skb_shinfo(skb)->nr_frags;
nr_frags         2476 drivers/net/ethernet/qlogic/qla3xxx.c 					     skb_shinfo(skb)->nr_frags);
nr_frags          585 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	int i, nr_frags;
nr_frags          588 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          599 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          630 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	int i, nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          632 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          677 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	frag_count = skb_shinfo(skb)->nr_frags + 1;
nr_frags          689 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		frag_count = 1 + skb_shinfo(skb)->nr_frags;
nr_frags         1334 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	unsigned int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1387 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          744 drivers/net/ethernet/realtek/8139cp.c 	if (TX_BUFFS_AVAIL(cp) <= (skb_shinfo(skb)->nr_frags + 1)) {
nr_frags          778 drivers/net/ethernet/realtek/8139cp.c 	if (skb_shinfo(skb)->nr_frags == 0) {
nr_frags          819 drivers/net/ethernet/realtek/8139cp.c 		for (frag = 0; frag < skb_shinfo(skb)->nr_frags; frag++) {
nr_frags          839 drivers/net/ethernet/realtek/8139cp.c 			if (frag == skb_shinfo(skb)->nr_frags - 1)
nr_frags         5705 drivers/net/ethernet/realtek/r8169_main.c 	for (cur_frag = 0; cur_frag < info->nr_frags; cur_frag++) {
nr_frags         5852 drivers/net/ethernet/realtek/r8169_main.c 			       unsigned int nr_frags)
nr_frags         5857 drivers/net/ethernet/realtek/r8169_main.c 	return slots_avail > nr_frags;
nr_frags         5893 drivers/net/ethernet/realtek/r8169_main.c 	if (unlikely(!rtl_tx_slots_avail(tp, skb_shinfo(skb)->nr_frags))) {
nr_frags         1924 drivers/net/ethernet/rocker/rocker_main.c 	if (skb_shinfo(skb)->nr_frags > ROCKER_TX_FRAGS_MAX) {
nr_frags         1930 drivers/net/ethernet/rocker/rocker_main.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1277 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1297 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	if (unlikely(sxgbe_tx_avail(tqueue, tx_rsize) < nr_frags + 1)) {
nr_frags         1349 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	for (frag_num = 0; frag_num < nr_frags; frag_num++) {
nr_frags         1377 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	tqueue->tx_count_frames += nr_frags + 1;
nr_frags         1399 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		  first_desc, nr_frags);
nr_frags          446 drivers/net/ethernet/sfc/falcon/rx.c 		skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags,
nr_frags          451 drivers/net/ethernet/sfc/falcon/rx.c 		if (skb_shinfo(skb)->nr_frags == n_frags)
nr_frags          496 drivers/net/ethernet/sfc/falcon/rx.c 			skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags,
nr_frags          502 drivers/net/ethernet/sfc/falcon/rx.c 			if (skb_shinfo(skb)->nr_frags == n_frags)
nr_frags          210 drivers/net/ethernet/sfc/falcon/tx.c 	unsigned int frag_index, nr_frags;
nr_frags          215 drivers/net/ethernet/sfc/falcon/tx.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          242 drivers/net/ethernet/sfc/falcon/tx.c 		if (frag_index >= nr_frags) {
nr_frags         1115 drivers/net/ethernet/sfc/ptp.c 	if (skb_shinfo(skb)->nr_frags != 0) {
nr_frags          435 drivers/net/ethernet/sfc/rx.c 		skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags,
nr_frags          440 drivers/net/ethernet/sfc/rx.c 		if (skb_shinfo(skb)->nr_frags == n_frags)
nr_frags          485 drivers/net/ethernet/sfc/rx.c 			skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags,
nr_frags          491 drivers/net/ethernet/sfc/rx.c 			if (skb_shinfo(skb)->nr_frags == n_frags)
nr_frags          271 drivers/net/ethernet/sfc/tx.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; ++i) {
nr_frags          297 drivers/net/ethernet/sfc/tx.c 	if (skb_shinfo(skb)->nr_frags) {
nr_frags          365 drivers/net/ethernet/sfc/tx.c 	unsigned int frag_index, nr_frags;
nr_frags          370 drivers/net/ethernet/sfc/tx.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          412 drivers/net/ethernet/sfc/tx.c 		if (frag_index >= nr_frags) {
nr_frags          386 drivers/net/ethernet/sfc/tx_tso.c 		EFX_WARN_ON_ONCE_PARANOID(skb_shinfo(skb)->nr_frags < 1);
nr_frags          408 drivers/net/ethernet/sfc/tx_tso.c 			if (++frag_i >= skb_shinfo(skb)->nr_frags)
nr_frags         2915 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         3133 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         3603 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags         3615 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags         1869 drivers/net/ethernet/sun/cassini.c 		count -= skb_shinfo(skb)->nr_frags +
nr_frags         1880 drivers/net/ethernet/sun/cassini.c 		for (frag = 0; frag <= skb_shinfo(skb)->nr_frags; frag++) {
nr_frags         2030 drivers/net/ethernet/sun/cassini.c 		skb_shinfo(skb)->nr_frags++;
nr_frags         2054 drivers/net/ethernet/sun/cassini.c 			skb_shinfo(skb)->nr_frags++;
nr_frags         2757 drivers/net/ethernet/sun/cassini.c 	int entry, nr_frags, frag, tabort, tentry;
nr_frags         2767 drivers/net/ethernet/sun/cassini.c 	    CAS_TABORT(cp)*(skb_shinfo(skb)->nr_frags + 1)) {
nr_frags         2787 drivers/net/ethernet/sun/cassini.c 	nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2805 drivers/net/ethernet/sun/cassini.c 			      (nr_frags == 0));
nr_frags         2808 drivers/net/ethernet/sun/cassini.c 			      TX_DESC_SOF, (nr_frags == 0));
nr_frags         2812 drivers/net/ethernet/sun/cassini.c 	for (frag = 0; frag < nr_frags; frag++) {
nr_frags         2838 drivers/net/ethernet/sun/cassini.c 			      (frag + 1 == nr_frags));
nr_frags         3896 drivers/net/ethernet/sun/cassini.c 		for (frag = 0; frag <= skb_shinfo(skb)->nr_frags;  frag++) {
nr_frags         3908 drivers/net/ethernet/sun/cassini.c 			if (frag != skb_shinfo(skb)->nr_frags) {
nr_frags         3263 drivers/net/ethernet/sun/niu.c 	skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags, page, offset, size);
nr_frags         3568 drivers/net/ethernet/sun/niu.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         6624 drivers/net/ethernet/sun/niu.c 	if (niu_tx_avail(rp) <= (skb_shinfo(skb)->nr_frags + 1)) {
nr_frags         6673 drivers/net/ethernet/sun/niu.c 	nfg = skb_shinfo(skb)->nr_frags;
nr_frags         6693 drivers/net/ethernet/sun/niu.c 	for (i = 0; i <  skb_shinfo(skb)->nr_frags; i++) {
nr_frags          660 drivers/net/ethernet/sun/sungem.c 		if (skb_shinfo(skb)->nr_frags) {
nr_frags          661 drivers/net/ethernet/sun/sungem.c 			int last = entry + skb_shinfo(skb)->nr_frags;
nr_frags          679 drivers/net/ethernet/sun/sungem.c 		for (frag = 0; frag <= skb_shinfo(skb)->nr_frags; frag++) {
nr_frags         1017 drivers/net/ethernet/sun/sungem.c 	if (unlikely(TX_BUFFS_AVAIL(gp) <= (skb_shinfo(skb)->nr_frags + 1))) {
nr_frags         1029 drivers/net/ethernet/sun/sungem.c 	if (skb_shinfo(skb)->nr_frags == 0) {
nr_frags         1066 drivers/net/ethernet/sun/sungem.c 		for (frag = 0; frag < skb_shinfo(skb)->nr_frags; frag++) {
nr_frags         1076 drivers/net/ethernet/sun/sungem.c 			if (frag == skb_shinfo(skb)->nr_frags - 1)
nr_frags         1608 drivers/net/ethernet/sun/sungem.c 			for (frag = 0; frag <= skb_shinfo(skb)->nr_frags; frag++) {
nr_frags         1617 drivers/net/ethernet/sun/sungem.c 				if (frag != skb_shinfo(skb)->nr_frags)
nr_frags         1226 drivers/net/ethernet/sun/sunhme.c 			for (frag = 0; frag <= skb_shinfo(skb)->nr_frags; frag++) {
nr_frags         1240 drivers/net/ethernet/sun/sunhme.c 				if (frag != skb_shinfo(skb)->nr_frags)
nr_frags         1939 drivers/net/ethernet/sun/sunhme.c 		if (skb_shinfo(skb)->nr_frags) {
nr_frags         1942 drivers/net/ethernet/sun/sunhme.c 			last = elem + skb_shinfo(skb)->nr_frags;
nr_frags         1951 drivers/net/ethernet/sun/sunhme.c 		for (frag = 0; frag <= skb_shinfo(skb)->nr_frags; frag++) {
nr_frags         2305 drivers/net/ethernet/sun/sunhme.c  	if (TX_BUFFS_AVAIL(hp) <= (skb_shinfo(skb)->nr_frags + 1)) {
nr_frags         2317 drivers/net/ethernet/sun/sunhme.c 	if (skb_shinfo(skb)->nr_frags == 0) {
nr_frags         2343 drivers/net/ethernet/sun/sunhme.c 		for (frag = 0; frag < skb_shinfo(skb)->nr_frags; frag++) {
nr_frags         2356 drivers/net/ethernet/sun/sunhme.c 			if (frag == skb_shinfo(skb)->nr_frags - 1)
nr_frags         1083 drivers/net/ethernet/sun/sunvnet_common.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1123 drivers/net/ethernet/sun/sunvnet_common.c 	docopy = skb_shinfo(skb)->nr_frags >= ncookies;
nr_frags         1124 drivers/net/ethernet/sun/sunvnet_common.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          579 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          180 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1024 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags         1205 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 					skb, skb_shinfo(skb)->nr_frags,
nr_frags         1489 drivers/net/ethernet/tehuti/tehuti.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1503 drivers/net/ethernet/tehuti/tehuti.c 	for (i = 0; i < nr_frags; i++) {
nr_frags         1520 drivers/net/ethernet/tehuti/tehuti.c 	db->wptr->len = -txd_sizes[nr_frags].bytes;
nr_frags         1611 drivers/net/ethernet/tehuti/tehuti.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1643 drivers/net/ethernet/tehuti/tehuti.c 			    (txd_sizes[nr_frags].qwords, txd_checksum, txd_vtag,
nr_frags         1654 drivers/net/ethernet/tehuti/tehuti.c 	f->m.wptr += txd_sizes[nr_frags].bytes;
nr_frags         1665 drivers/net/ethernet/tehuti/tehuti.c 	priv->tx_level -= txd_sizes[nr_frags].bytes;
nr_frags          715 drivers/net/ethernet/ti/netcp_core.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, page,
nr_frags         1116 drivers/net/ethernet/ti/netcp_core.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          648 drivers/net/ethernet/tundra/tsi108_eth.c 	int frags = skb_shinfo(skb)->nr_frags + 1;
nr_frags         1801 drivers/net/ethernet/via/via-rhine.c 	    (((unsigned long)skb->data & 3) || skb_shinfo(skb)->nr_frags != 0 || skb->ip_summed == CHECKSUM_PARTIAL)) {
nr_frags         1726 drivers/net/ethernet/via/via-velocity.c 		if (skb_shinfo(skb)->nr_frags > 0)
nr_frags         2529 drivers/net/ethernet/via/via-velocity.c 	if (skb_shinfo(skb)->nr_frags > 6 && __skb_linearize(skb)) {
nr_frags         2534 drivers/net/ethernet/via/via-velocity.c 	pktlen = skb_shinfo(skb)->nr_frags == 0 ?
nr_frags         2560 drivers/net/ethernet/via/via-velocity.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          834 drivers/net/ethernet/xilinx/ll_temac_main.c 	num_frag = skb_shinfo(skb)->nr_frags;
nr_frags          624 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	num_frag = skb_shinfo(skb)->nr_frags;
nr_frags          415 drivers/net/hyperv/netvsc_drv.c 	int frags = skb_shinfo(skb)->nr_frags;
nr_frags          446 drivers/net/hyperv/netvsc_drv.c 	int i, frags = skb_shinfo(skb)->nr_frags;
nr_frags          805 drivers/net/thunderbolt.c 			skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags         1071 drivers/net/thunderbolt.c 			if (frag < skb_shinfo(skb)->nr_frags) {
nr_frags         1108 drivers/net/thunderbolt.c 		if (frag < skb_shinfo(skb)->nr_frags) {
nr_frags          155 drivers/net/usb/cdc-phonet.c 				skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags          161 drivers/net/usb/cdc-phonet.c 			skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags         2026 drivers/net/usb/smsc95xx.c 	BUG_ON(skb_shinfo(skb)->nr_frags);
nr_frags         1318 drivers/net/usb/usbnet.c 	num_sgs = skb_shinfo(skb)->nr_frags + 1;
nr_frags         1334 drivers/net/usb/usbnet.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          433 drivers/net/virtio_net.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, page, offset,
nr_frags          953 drivers/net/virtio_net.c 		num_skb_frags = skb_shinfo(curr_skb)->nr_frags;
nr_frags         1535 drivers/net/virtio_net.c 	sg_init_table(sq->sg, skb_shinfo(skb)->nr_frags + (can_push ? 1 : 2));
nr_frags          660 drivers/net/vmxnet3/vmxnet3_drv.c 	skb_frag_t *frag = skb_shinfo(skb)->frags + skb_shinfo(skb)->nr_frags;
nr_frags          662 drivers/net/vmxnet3/vmxnet3_drv.c 	BUG_ON(skb_shinfo(skb)->nr_frags >= MAX_SKB_FRAGS);
nr_frags          669 drivers/net/vmxnet3/vmxnet3_drv.c 	skb_shinfo(skb)->nr_frags++;
nr_frags          756 drivers/net/vmxnet3/vmxnet3_drv.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          957 drivers/net/vmxnet3/vmxnet3_drv.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1060 drivers/net/wireless/ath/wil6210/debugfs.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1065 drivers/net/wireless/ath/wil6210/debugfs.c 	if (nr_frags) {
nr_frags         1066 drivers/net/wireless/ath/wil6210/debugfs.c 		seq_printf(s, "    nr_frags = %d\n", nr_frags);
nr_frags         1067 drivers/net/wireless/ath/wil6210/debugfs.c 		for (i = 0; i < nr_frags; i++) {
nr_frags         1625 drivers/net/wireless/ath/wil6210/txrx.c void wil_tx_desc_set_nr_frags(struct vring_tx_desc *d, int nr_frags)
nr_frags         1627 drivers/net/wireless/ath/wil6210/txrx.c 	d->mac.d[2] |= (nr_frags << MAC_CFG_DESC_TX_2_NUM_OF_DESCRIPTORS_POS);
nr_frags         1752 drivers/net/wireless/ath/wil6210/txrx.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1753 drivers/net/wireless/ath/wil6210/txrx.c 	int min_desc_required = nr_frags + 1;
nr_frags         1845 drivers/net/wireless/ath/wil6210/txrx.c 	for (f = headlen ? -1 : 0; f < nr_frags; f++)  {
nr_frags         1920 drivers/net/wireless/ath/wil6210/txrx.c 			if (rem_data == 0 || (f == nr_frags - 1 && len == 0)) {
nr_frags         1925 drivers/net/wireless/ath/wil6210/txrx.c 					hdr_ctx->nr_frags = sg_desc_cnt;
nr_frags         1934 drivers/net/wireless/ath/wil6210/txrx.c 				first_ctx->nr_frags = sg_desc_cnt - 1;
nr_frags         1948 drivers/net/wireless/ath/wil6210/txrx.c 				if (f < nr_frags - 1 || len > 0)
nr_frags         2041 drivers/net/wireless/ath/wil6210/txrx.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2052 drivers/net/wireless/ath/wil6210/txrx.c 		     skb->len, ring_index, nr_frags);
nr_frags         2057 drivers/net/wireless/ath/wil6210/txrx.c 	if (unlikely(avail < 1 + nr_frags)) {
nr_frags         2060 drivers/net/wireless/ath/wil6210/txrx.c 				    ring_index, 1 + nr_frags);
nr_frags         2090 drivers/net/wireless/ath/wil6210/txrx.c 	ring->ctx[i].nr_frags = nr_frags;
nr_frags         2091 drivers/net/wireless/ath/wil6210/txrx.c 	wil_tx_desc_set_nr_frags(d, nr_frags + 1);
nr_frags         2094 drivers/net/wireless/ath/wil6210/txrx.c 	for (; f < nr_frags; f++) {
nr_frags         2138 drivers/net/wireless/ath/wil6210/txrx.c 			     used, used + nr_frags + 1)) {
nr_frags         2141 drivers/net/wireless/ath/wil6210/txrx.c 			     ring_index, used, used + nr_frags + 1);
nr_frags         2152 drivers/net/wireless/ath/wil6210/txrx.c 	wil_ring_advance_head(ring, nr_frags + 1);
nr_frags         2155 drivers/net/wireless/ath/wil6210/txrx.c 	trace_wil6210_tx(ring_index, swhead, skb->len, nr_frags);
nr_frags         2172 drivers/net/wireless/ath/wil6210/txrx.c 	nr_frags = f + 1; /* frags mapped + one for skb head */
nr_frags         2173 drivers/net/wireless/ath/wil6210/txrx.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         2466 drivers/net/wireless/ath/wil6210/txrx.c 		int lf = (vring->swtail + ctx->nr_frags) % vring->size;
nr_frags         1412 drivers/net/wireless/ath/wil6210/txrx_edma.c 	int nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1413 drivers/net/wireless/ath/wil6210/txrx_edma.c 	int min_desc_required = nr_frags + 2; /* Headers, Head, Fragments */
nr_frags         1477 drivers/net/wireless/ath/wil6210/txrx_edma.c 				 (nr_frags != 0) ? wil_tso_type_first :
nr_frags         1485 drivers/net/wireless/ath/wil6210/txrx_edma.c 	for (f = 0; f < nr_frags; f++) {
nr_frags         1494 drivers/net/wireless/ath/wil6210/txrx_edma.c 					 (f != nr_frags - 1) ?
nr_frags          517 drivers/net/wireless/ath/wil6210/wil6210.h 	u8 nr_frags;
nr_frags         3634 drivers/net/wireless/broadcom/b43/main.c 	B43_WARN_ON(skb_shinfo(skb)->nr_frags);
nr_frags          960 drivers/net/wireless/broadcom/b43legacy/dma.c 	B43legacy_WARN_ON(skb_shinfo(skb)->nr_frags != 0);
nr_frags         2497 drivers/net/wireless/broadcom/b43legacy/main.c 	B43legacy_WARN_ON(skb_shinfo(skb)->nr_frags);
nr_frags          184 drivers/net/wireless/broadcom/b43legacy/pio.c 	B43legacy_WARN_ON(skb_shinfo(skb)->nr_frags != 0);
nr_frags         3086 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		if (unlikely(1 + packet->info.d_struct.txb->nr_frags >
nr_frags         3095 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		if (txq->available <= 3 + packet->info.d_struct.txb->nr_frags) {
nr_frags         3129 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		if (packet->info.d_struct.txb->nr_frags > 1)
nr_frags         3138 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		tbd->num_fragments = 1 + packet->info.d_struct.txb->nr_frags;
nr_frags         3148 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		if (packet->info.d_struct.txb->nr_frags > 1)
nr_frags         3150 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				       packet->info.d_struct.txb->nr_frags);
nr_frags         3153 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		for (i = 0; i < packet->info.d_struct.txb->nr_frags; i++) {
nr_frags         3155 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			if (i == packet->info.d_struct.txb->nr_frags - 1)
nr_frags         3193 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		txq->available -= 1 + packet->info.d_struct.txb->nr_frags;
nr_frags         10214 drivers/net/wireless/intel/ipw2x00/ipw2200.c 						 txb->nr_frags));
nr_frags         10216 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		       txb->nr_frags, le32_to_cpu(tfd->u.data.num_chunks));
nr_frags         10237 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (i != txb->nr_frags) {
nr_frags         10242 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		for (j = i; j < txb->nr_frags; j++)
nr_frags         10250 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			for (j = i; j < txb->nr_frags; j++) {
nr_frags         10336 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	for(n=0; n<txb->nr_frags; ++n) {
nr_frags          487 drivers/net/wireless/intel/ipw2x00/libipw.h 	u8 nr_frags;
nr_frags          171 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	for (i = 0; i < txb->nr_frags; i++)
nr_frags          177 drivers/net/wireless/intel/ipw2x00/libipw_tx.c static struct libipw_txb *libipw_alloc_txb(int nr_frags, int txb_size,
nr_frags          182 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	txb = kmalloc(sizeof(struct libipw_txb) + (sizeof(u8 *) * nr_frags),
nr_frags          188 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	txb->nr_frags = nr_frags;
nr_frags          191 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          200 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	if (unlikely(i != nr_frags)) {
nr_frags          246 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	int i, bytes_per_frag, nr_frags, bytes_last_frag, frag_size,
nr_frags          392 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 		nr_frags = bytes / bytes_per_frag;
nr_frags          395 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 			nr_frags++;
nr_frags          399 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 		nr_frags = 1;
nr_frags          407 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 		nr_frags++;
nr_frags          412 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	txb = libipw_alloc_txb(nr_frags, frag_size,
nr_frags          421 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 		txb->payload_size = frag_size * (nr_frags - 1) +
nr_frags          451 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	for (; i < nr_frags; i++) {
nr_frags          462 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 		if (i != nr_frags - 1) {
nr_frags          972 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	if ((num_subframes * 2 + skb_shinfo(skb)->nr_frags + 1) >
nr_frags          434 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          606 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c 	    skb_shinfo(skb)->nr_frags > IWL_PCIE_MAX_FRAGS(trans_pcie) &&
nr_frags         2029 drivers/net/wireless/intel/iwlwifi/pcie/tx.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2335 drivers/net/wireless/intel/iwlwifi/pcie/tx.c 	    skb_shinfo(skb)->nr_frags > IWL_PCIE_MAX_FRAGS(trans_pcie) &&
nr_frags          453 drivers/net/wireless/mediatek/mt76/dma.c 	if (shinfo->nr_frags < ARRAY_SIZE(shinfo->frags)) {
nr_frags          455 drivers/net/wireless/mediatek/mt76/dma.c 		skb_add_rx_frag(skb, shinfo->nr_frags, page, offset, len,
nr_frags          441 drivers/net/wireless/mediatek/mt76/usb.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags          483 drivers/net/wireless/mediatek/mt76/usb.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags          374 drivers/net/xen-netback/netback.c 	nr_slots = shinfo->nr_frags;
nr_frags          379 drivers/net/xen-netback/netback.c 	for (shinfo->nr_frags = start; shinfo->nr_frags < nr_slots;
nr_frags          380 drivers/net/xen-netback/netback.c 	     shinfo->nr_frags++, txp++, gop++) {
nr_frags          384 drivers/net/xen-netback/netback.c 		frag_set_pending_idx(&frags[shinfo->nr_frags], pending_idx);
nr_frags          392 drivers/net/xen-netback/netback.c 		for (shinfo->nr_frags = 0; shinfo->nr_frags < frag_overflow;
nr_frags          393 drivers/net/xen-netback/netback.c 		     shinfo->nr_frags++, txp++, gop++) {
nr_frags          398 drivers/net/xen-netback/netback.c 			frag_set_pending_idx(&frags[shinfo->nr_frags],
nr_frags          450 drivers/net/xen-netback/netback.c 	int nr_frags = shinfo->nr_frags;
nr_frags          451 drivers/net/xen-netback/netback.c 	const bool sharedslot = nr_frags &&
nr_frags          472 drivers/net/xen-netback/netback.c 	for (i = 0; i < nr_frags; i++, gop_map++) {
nr_frags          536 drivers/net/xen-netback/netback.c 			for (j = 0; j < first_shinfo->nr_frags; j++) {
nr_frags          551 drivers/net/xen-netback/netback.c 		nr_frags = shinfo->nr_frags;
nr_frags          563 drivers/net/xen-netback/netback.c 	int nr_frags = shinfo->nr_frags;
nr_frags          567 drivers/net/xen-netback/netback.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          914 drivers/net/xen-netback/netback.c 		skb_shinfo(skb)->nr_frags = ret;
nr_frags          916 drivers/net/xen-netback/netback.c 			skb_shinfo(skb)->nr_frags++;
nr_frags          922 drivers/net/xen-netback/netback.c 		if (skb_shinfo(skb)->nr_frags > MAX_SKB_FRAGS) {
nr_frags          923 drivers/net/xen-netback/netback.c 			frag_overflow = skb_shinfo(skb)->nr_frags - MAX_SKB_FRAGS;
nr_frags          925 drivers/net/xen-netback/netback.c 			skb_shinfo(skb)->nr_frags = MAX_SKB_FRAGS;
nr_frags          928 drivers/net/xen-netback/netback.c 				skb_shinfo(skb)->nr_frags = 0;
nr_frags          944 drivers/net/xen-netback/netback.c 				skb_shinfo(skb)->nr_frags = 0;
nr_frags         1078 drivers/net/xen-netback/netback.c 	for (f = 0; f < skb_shinfo(skb)->nr_frags; f++)
nr_frags         1088 drivers/net/xen-netback/netback.c 	skb_shinfo(skb)->nr_frags = i;
nr_frags         1115 drivers/net/xen-netback/netback.c 			skb_shinfo(skb)->nr_frags = 0;
nr_frags         1119 drivers/net/xen-netback/netback.c 				skb_shinfo(nskb)->nr_frags = 0;
nr_frags          301 drivers/net/xen-netback/rx.c 	unsigned int nr_frags = skb_shinfo(frag_iter)->nr_frags;
nr_frags          306 drivers/net/xen-netback/rx.c 	if (pkt->frag >= nr_frags) {
nr_frags          525 drivers/net/xen-netfront.c 	int i, frags = skb_shinfo(skb)->nr_frags;
nr_frags          675 drivers/net/xen-netfront.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          902 drivers/net/xen-netfront.c 		if (skb_shinfo(skb)->nr_frags == MAX_SKB_FRAGS) {
nr_frags          908 drivers/net/xen-netfront.c 		if (unlikely(skb_shinfo(skb)->nr_frags >= MAX_SKB_FRAGS)) {
nr_frags          914 drivers/net/xen-netfront.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
nr_frags          918 drivers/net/xen-netfront.c 		skb_shinfo(nskb)->nr_frags = 0;
nr_frags         3588 drivers/s390/net/qeth_core_main.c 	for (cnt = 0; cnt < skb_shinfo(skb)->nr_frags; cnt++) {
nr_frags         3767 drivers/s390/net/qeth_core_main.c 	for (cnt = 0; cnt < skb_shinfo(skb)->nr_frags; cnt++) {
nr_frags         5031 drivers/s390/net/qeth_core_main.c 	next_frag = skb_shinfo(skb)->nr_frags;
nr_frags         5136 drivers/s390/net/qeth_core_main.c 				   skb_shinfo(skb)->nr_frags);
nr_frags          348 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 		frag = &skb_shinfo(skb)->frags[skb_shinfo(skb)->nr_frags - 1];
nr_frags          409 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c 		int frags = skb_shinfo(skb)->nr_frags + (len != skb->data_len);
nr_frags          579 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 	cnt = skb_shinfo(skb)->nr_frags;
nr_frags         1173 drivers/scsi/cxgbi/libcxgbi.c 		int frags = skb_shinfo(skb)->nr_frags +
nr_frags         1185 drivers/scsi/cxgbi/libcxgbi.c 				csk, skb_shinfo(skb)->nr_frags, skb->len,
nr_frags         2001 drivers/scsi/cxgbi/libcxgbi.c 		tdata->nr_frags = err;
nr_frags         2003 drivers/scsi/cxgbi/libcxgbi.c 		if (tdata->nr_frags > MAX_SKB_FRAGS ||
nr_frags         2004 drivers/scsi/cxgbi/libcxgbi.c 		    (padlen && tdata->nr_frags == MAX_SKB_FRAGS)) {
nr_frags         2009 drivers/scsi/cxgbi/libcxgbi.c 			for (i = 0; i < tdata->nr_frags; i++, frag++) {
nr_frags         2023 drivers/scsi/cxgbi/libcxgbi.c 			for (i = 0; i < tdata->nr_frags; i++) {
nr_frags         2030 drivers/scsi/cxgbi/libcxgbi.c 			skb_shinfo(skb)->nr_frags = tdata->nr_frags;
nr_frags         2048 drivers/scsi/cxgbi/libcxgbi.c 		i = skb_shinfo(skb)->nr_frags;
nr_frags         2049 drivers/scsi/cxgbi/libcxgbi.c 		skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags,
nr_frags          528 drivers/scsi/cxgbi/libcxgbi.h 	unsigned short nr_frags;
nr_frags         1530 drivers/scsi/fcoe/fcoe.c 		frag = &skb_shinfo(skb)->frags[skb_shinfo(skb)->nr_frags - 1];
nr_frags          319 drivers/scsi/fcoe/fcoe_transport.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          484 drivers/scsi/fcoe/fcoe_transport.c 	skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags, page,
nr_frags          685 drivers/scsi/libfc/fc_fcp.c 					   skb_shinfo(fp_skb(fp))->nr_frags,
nr_frags          706 drivers/scsi/libfc/fc_fcp.c 		if ((skb_shinfo(fp_skb(fp))->nr_frags < FC_FRAME_SG_LEN) &&
nr_frags         1103 drivers/scsi/qedf/qedf_main.c 		frag = &skb_shinfo(skb)->frags[skb_shinfo(skb)->nr_frags - 1];
nr_frags          191 drivers/staging/octeon/ethernet-tx.c 	if (unlikely(skb_shinfo(skb)->nr_frags > 5)) {
nr_frags          263 drivers/staging/octeon/ethernet-tx.c 	if (skb_shinfo(skb)->nr_frags == 0) {
nr_frags          272 drivers/staging/octeon/ethernet-tx.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          282 drivers/staging/octeon/ethernet-tx.c 		hw_buffer.s.size = skb_shinfo(skb)->nr_frags + 1;
nr_frags          283 drivers/staging/octeon/ethernet-tx.c 		pko_command.s.segs = skb_shinfo(skb)->nr_frags + 1;
nr_frags          325 drivers/staging/octeon/ethernet-tx.c 	if (unlikely(skb_shinfo(skb)->nr_frags)) {
nr_frags         1317 drivers/staging/qlge/qlge_main.c 	int frag_cnt = skb_shinfo(skb)->nr_frags;
nr_frags         1518 drivers/staging/qlge/qlge_main.c 	__skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags,
nr_frags         1526 drivers/staging/qlge/qlge_main.c 	skb_shinfo(skb)->nr_frags++;
nr_frags          196 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	pattrib->nr_frags = 1;
nr_frags          169 drivers/staging/rtl8188eu/core/rtw_security.c 	for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) {
nr_frags          170 drivers/staging/rtl8188eu/core/rtw_security.c 		if (curfragnum + 1 == pattrib->nr_frags)
nr_frags          615 drivers/staging/rtl8188eu/core/rtw_security.c 			for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) {
nr_frags          626 drivers/staging/rtl8188eu/core/rtw_security.c 				if ((curfragnum+1) == pattrib->nr_frags) {	/* 4 the last fragment */
nr_frags         1256 drivers/staging/rtl8188eu/core/rtw_security.c 			for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) {
nr_frags         1257 drivers/staging/rtl8188eu/core/rtw_security.c 				if ((curfragnum+1) == pattrib->nr_frags) {	/* 4 the last fragment */
nr_frags          250 drivers/staging/rtl8188eu/core/rtw_xmit.c 	if (pattrib->nr_frags != 1)
nr_frags          647 drivers/staging/rtl8188eu/core/rtw_xmit.c 			for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) {
nr_frags          660 drivers/staging/rtl8188eu/core/rtw_xmit.c 				if (curfragnum + 1 == pattrib->nr_frags) {
nr_frags         1017 drivers/staging/rtl8188eu/core/rtw_xmit.c 			pattrib->nr_frags = frg_inx;
nr_frags         1019 drivers/staging/rtl8188eu/core/rtw_xmit.c 			pattrib->last_txcmdsz = pattrib->hdrlen + pattrib->iv_len + ((pattrib->nr_frags == 1) ? llc_sz : 0) +
nr_frags          353 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 	for (t = 0; t < pattrib->nr_frags; t++) {
nr_frags          357 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 		if (t != (pattrib->nr_frags - 1)) {
nr_frags          358 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 			RT_TRACE(_module_rtl871x_xmit_c_, _drv_err_, ("pattrib->nr_frags=%d\n", pattrib->nr_frags));
nr_frags          113 drivers/staging/rtl8188eu/include/rtw_xmit.h 	u8	nr_frags;
nr_frags          123 drivers/staging/rtl8188eu/os_dep/mon.c 	for (i = 0; i < attr->nr_frags - 1; i++) {
nr_frags          855 drivers/staging/rtl8192e/rtllib.h 	u8 nr_frags;
nr_frags         2471 drivers/staging/rtl8192e/rtllib_softmac.c 	for (i = 0; i < txb->nr_frags; i++) {
nr_frags          202 drivers/staging/rtl8192e/rtllib_tx.c static struct rtllib_txb *rtllib_alloc_txb(int nr_frags, int txb_size,
nr_frags          208 drivers/staging/rtl8192e/rtllib_tx.c 	txb = kmalloc(sizeof(struct rtllib_txb) + (sizeof(u8 *) * nr_frags),
nr_frags          214 drivers/staging/rtl8192e/rtllib_tx.c 	txb->nr_frags = nr_frags;
nr_frags          217 drivers/staging/rtl8192e/rtllib_tx.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          225 drivers/staging/rtl8192e/rtllib_tx.c 	if (unlikely(i != nr_frags)) {
nr_frags          554 drivers/staging/rtl8192e/rtllib_tx.c 	int i, bytes_per_frag, nr_frags, bytes_last_frag, frag_size;
nr_frags          755 drivers/staging/rtl8192e/rtllib_tx.c 		nr_frags = bytes / bytes_per_frag;
nr_frags          758 drivers/staging/rtl8192e/rtllib_tx.c 			nr_frags++;
nr_frags          766 drivers/staging/rtl8192e/rtllib_tx.c 		txb = rtllib_alloc_txb(nr_frags, frag_size +
nr_frags          780 drivers/staging/rtl8192e/rtllib_tx.c 		for (i = 0; i < nr_frags; i++) {
nr_frags          809 drivers/staging/rtl8192e/rtllib_tx.c 			if (i != nr_frags - 1) {
nr_frags         1017 drivers/staging/rtl8192u/ieee80211/ieee80211.h 	u8 nr_frags;
nr_frags         2044 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	for (i = 0; i < txb->nr_frags; i++) {
nr_frags         2082 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	for (i = ieee->tx_pending.frag; i < ieee->tx_pending.txb->nr_frags; i++) {
nr_frags          226 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
nr_frags          232 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 		sizeof(struct ieee80211_txb) + (sizeof(u8 *) * nr_frags),
nr_frags          238 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 	txb->nr_frags = nr_frags;
nr_frags          241 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 	for (i = 0; i < nr_frags; i++) {
nr_frags          249 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 	if (unlikely(i != nr_frags)) {
nr_frags          535 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 	int i, bytes_per_frag, nr_frags, bytes_last_frag, frag_size;
nr_frags          675 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 		nr_frags = bytes / bytes_per_frag;
nr_frags          678 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 			nr_frags++;
nr_frags          686 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 		txb = ieee80211_alloc_txb(nr_frags, frag_size + ieee->tx_headroom, GFP_ATOMIC);
nr_frags          703 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 		for (i = 0; i < nr_frags; i++) {
nr_frags          729 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 			if (i != nr_frags - 1) {
nr_frags          595 drivers/staging/rtl8712/ieee80211.h 	u8 nr_frags;
nr_frags          702 drivers/staging/rtl8712/rtl8712_xmit.c 	for (t = 0; t < pattrib->nr_frags; t++) {
nr_frags          703 drivers/staging/rtl8712/rtl8712_xmit.c 		if (t != (pattrib->nr_frags - 1)) {
nr_frags          170 drivers/staging/rtl8712/rtl871x_security.c 		for (curfragnum = 0; curfragnum < pattrib->nr_frags;
nr_frags          178 drivers/staging/rtl8712/rtl871x_security.c 			if ((curfragnum + 1) == pattrib->nr_frags) {
nr_frags          589 drivers/staging/rtl8712/rtl871x_security.c 			for (curfragnum = 0; curfragnum < pattrib->nr_frags;
nr_frags          601 drivers/staging/rtl8712/rtl871x_security.c 				if ((curfragnum + 1) == pattrib->nr_frags) {
nr_frags         1160 drivers/staging/rtl8712/rtl871x_security.c 			for (curfragnum = 0; curfragnum < pattrib->nr_frags;
nr_frags         1162 drivers/staging/rtl8712/rtl871x_security.c 				if ((curfragnum + 1) == pattrib->nr_frags) {
nr_frags          412 drivers/staging/rtl8712/rtl871x_xmit.c 			for (curfragnum = 0; curfragnum < pattrib->nr_frags;
nr_frags          416 drivers/staging/rtl8712/rtl871x_xmit.c 				if ((curfragnum + 1) == pattrib->nr_frags) {
nr_frags          684 drivers/staging/rtl8712/rtl871x_xmit.c 			pattrib->nr_frags = frg_inx;
nr_frags          687 drivers/staging/rtl8712/rtl871x_xmit.c 						((pattrib->nr_frags == 1) ?
nr_frags          103 drivers/staging/rtl8712/rtl871x_xmit.h 	u8	nr_frags;
nr_frags         2288 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	pattrib->nr_frags = 1;
nr_frags          239 drivers/staging/rtl8723bs/core/rtw_security.c 		for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) {
nr_frags          245 drivers/staging/rtl8723bs/core/rtw_security.c 			if ((curfragnum+1) == pattrib->nr_frags) {	/* the last fragment */
nr_frags          709 drivers/staging/rtl8723bs/core/rtw_security.c 			for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) {
nr_frags          722 drivers/staging/rtl8723bs/core/rtw_security.c 				if ((curfragnum+1) == pattrib->nr_frags) {	/* 4 the last fragment */
nr_frags         1557 drivers/staging/rtl8723bs/core/rtw_security.c 		for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) {
nr_frags         1558 drivers/staging/rtl8723bs/core/rtw_security.c 			if ((curfragnum+1) == pattrib->nr_frags) {	/* 4 the last fragment */
nr_frags          378 drivers/staging/rtl8723bs/core/rtw_xmit.c 	if (pattrib->nr_frags != 1)
nr_frags          941 drivers/staging/rtl8723bs/core/rtw_xmit.c 			for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) {
nr_frags          948 drivers/staging/rtl8723bs/core/rtw_xmit.c 				if ((curfragnum+1) == pattrib->nr_frags) {
nr_frags         1318 drivers/staging/rtl8723bs/core/rtw_xmit.c 			pattrib->nr_frags = frg_inx;
nr_frags         1320 drivers/staging/rtl8723bs/core/rtw_xmit.c 			pattrib->last_txcmdsz = pattrib->hdrlen + pattrib->iv_len + ((pattrib->nr_frags == 1) ? llc_sz:0) +
nr_frags          756 drivers/staging/rtl8723bs/include/ieee80211.h 	u8 nr_frags;
nr_frags          152 drivers/staging/rtl8723bs/include/rtw_xmit.h 	u8 nr_frags;
nr_frags          245 drivers/staging/unisys/visornic/visornic_main.c 	numfrags = skb_shinfo(skb)->nr_frags;
nr_frags          257 drivers/staging/unisys/visornic/visornic_main.c 		numfrags = skb_shinfo(skb)->nr_frags;
nr_frags          215 drivers/target/iscsi/cxgbit/cxgbit_main.c 	u8 skb_frag_idx = skb_shinfo(skb)->nr_frags;
nr_frags          228 drivers/target/iscsi/cxgbit/cxgbit_main.c 	skb_shinfo(skb)->nr_frags += gl->nfrags;
nr_frags          251 drivers/target/iscsi/cxgbit/cxgbit_main.c 		pdu_cb->hfrag_idx = skb_shinfo(skb)->nr_frags;
nr_frags          266 drivers/target/iscsi/cxgbit/cxgbit_main.c 		pdu_cb->dfrag_idx = skb_shinfo(skb)->nr_frags;
nr_frags          277 drivers/target/iscsi/cxgbit/cxgbit_main.c 		pdu_cb->hfrag_idx = skb_shinfo(skb)->nr_frags;
nr_frags          406 drivers/target/iscsi/cxgbit/cxgbit_main.c 	if ((gl && (((skb_shinfo(skb)->nr_frags + gl->nfrags) >
nr_frags          120 drivers/target/iscsi/cxgbit/cxgbit_target.c 	cnt = skb_shinfo(skb)->nr_frags;
nr_frags          360 drivers/target/iscsi/cxgbit/cxgbit_target.c 	u32 i = 0, nr_frags = MAX_SKB_FRAGS;
nr_frags          367 drivers/target/iscsi/cxgbit/cxgbit_target.c 		nr_frags--;
nr_frags          375 drivers/target/iscsi/cxgbit/cxgbit_target.c 	while (data_length && (i < nr_frags)) {
nr_frags         1395 drivers/target/iscsi/cxgbit/cxgbit_target.c 		ssi->nr_frags);
nr_frags         1404 drivers/target/iscsi/cxgbit/cxgbit_target.c 	for (i = 0; i < ssi->nr_frags; i++)
nr_frags         1417 drivers/target/iscsi/cxgbit/cxgbit_target.c 	for (i = 0; i < ssi->nr_frags; i++)
nr_frags         1419 drivers/target/iscsi/cxgbit/cxgbit_target.c 	ssi->nr_frags = 0;
nr_frags         1436 drivers/target/iscsi/cxgbit/cxgbit_target.c 		u8 hfrag_idx = hssi->nr_frags;
nr_frags         1447 drivers/target/iscsi/cxgbit/cxgbit_target.c 		hssi->nr_frags++;
nr_frags         1458 drivers/target/iscsi/cxgbit/cxgbit_target.c 		u8 dfrag_idx = hssi->nr_frags, i;
nr_frags         1473 drivers/target/iscsi/cxgbit/cxgbit_target.c 			hssi->nr_frags++;
nr_frags          135 drivers/target/tcm_fc/tfc_io.c 					   skb_shinfo(fp_skb(fp))->nr_frags,
nr_frags          158 drivers/target/tcm_fc/tfc_io.c 		    (skb_shinfo(fp_skb(fp))->nr_frags < FC_FRAME_SG_LEN))
nr_frags          340 drivers/usb/gadget/function/f_phonet.c 		skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, page,
nr_frags          513 include/linux/skbuff.h 	__u8		nr_frags;
nr_frags         2081 include/linux/skbuff.h 	for (i = skb_shinfo(skb)->nr_frags - 1; (int)i >= 0; i--)
nr_frags         2141 include/linux/skbuff.h 	skb_shinfo(skb)->nr_frags = i + 1;
nr_frags         3600 include/linux/skbuff.h 		(skb_shinfo(skb)->nr_frags && !(features & NETIF_F_SG)));
nr_frags          187 include/trace/events/net.h 		__field(	unsigned char,		nr_frags	)
nr_frags          213 include/trace/events/net.h 		__entry->nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags          225 include/trace/events/net.h 		  __entry->nr_frags, __entry->gso_size, __entry->gso_type)
nr_frags          944 net/appletalk/ddp.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          439 net/core/datagram.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          571 net/core/datagram.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          626 net/core/datagram.c 	int frag = skb_shinfo(skb)->nr_frags;
nr_frags         3059 net/core/dev.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         5409 net/core/dev.c 	    pinfo->nr_frags &&
nr_frags         5435 net/core/dev.c 			--pinfo->nr_frags * sizeof(pinfo->frags[0]));
nr_frags         2664 net/core/pktgen.c 			skb_shinfo(skb)->nr_frags = i;
nr_frags         3142 net/core/pktgen.c static void show_results(struct pktgen_dev *pkt_dev, int nr_frags)
nr_frags         3155 net/core/pktgen.c 		     pkt_dev->cur_pkt_size, nr_frags);
nr_frags         3174 net/core/pktgen.c 	int nr_frags = pkt_dev->skb ? skb_shinfo(pkt_dev->skb)->nr_frags : -1;
nr_frags         3187 net/core/pktgen.c 	show_results(pkt_dev, nr_frags);
nr_frags          604 net/core/skbuff.c 	for (i = 0; i < shinfo->nr_frags; i++)
nr_frags          754 net/core/skbuff.c 	       sh->tx_flags, sh->nr_frags,
nr_frags          782 net/core/skbuff.c 	for (i = 0; len && i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1344 net/core/skbuff.c 	int num_frags = skb_shinfo(skb)->nr_frags;
nr_frags         1408 net/core/skbuff.c 	skb_shinfo(skb)->nr_frags = new_frags;
nr_frags         1569 net/core/skbuff.c 	if (skb_shinfo(skb)->nr_frags) {
nr_frags         1578 net/core/skbuff.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1582 net/core/skbuff.c 		skb_shinfo(n)->nr_frags = i;
nr_frags         1641 net/core/skbuff.c 	       offsetof(struct skb_shared_info, frags[skb_shinfo(skb)->nr_frags]));
nr_frags         1653 net/core/skbuff.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++)
nr_frags         1930 net/core/skbuff.c 	int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         1953 net/core/skbuff.c 		skb_shinfo(skb)->nr_frags = i;
nr_frags         2075 net/core/skbuff.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2140 net/core/skbuff.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2160 net/core/skbuff.c 	skb_shinfo(skb)->nr_frags = k;
nr_frags         2208 net/core/skbuff.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2396 net/core/skbuff.c 	for (seg = 0; seg < skb_shinfo(skb)->nr_frags; seg++) {
nr_frags         2487 net/core/skbuff.c 	for (fragidx = 0; fragidx < skb_shinfo(skb)->nr_frags; fragidx++) {
nr_frags         2496 net/core/skbuff.c 	for (; len && fragidx < skb_shinfo(skb)->nr_frags; fragidx++) {
nr_frags         2569 net/core/skbuff.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2648 net/core/skbuff.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2747 net/core/skbuff.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         2909 net/core/skbuff.c 	    skb_shinfo(from)->nr_frags >= MAX_SKB_FRAGS)
nr_frags         2979 net/core/skbuff.c 	for (i = 0; i < skb_shinfo(from)->nr_frags; i++) {
nr_frags         2992 net/core/skbuff.c 	skb_shinfo(to)->nr_frags = j;
nr_frags         3199 net/core/skbuff.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++)
nr_frags         3202 net/core/skbuff.c 	skb_shinfo(skb1)->nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         3203 net/core/skbuff.c 	skb_shinfo(skb)->nr_frags  = 0;
nr_frags         3216 net/core/skbuff.c 	const int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         3218 net/core/skbuff.c 	skb_shinfo(skb)->nr_frags = 0;
nr_frags         3242 net/core/skbuff.c 				skb_shinfo(skb)->nr_frags++;
nr_frags         3246 net/core/skbuff.c 			skb_shinfo(skb)->nr_frags++;
nr_frags         3249 net/core/skbuff.c 	skb_shinfo(skb1)->nr_frags = k;
nr_frags         3313 net/core/skbuff.c 	to = skb_shinfo(tgt)->nr_frags;
nr_frags         3348 net/core/skbuff.c 	    (skb_shinfo(skb)->nr_frags - from) > (MAX_SKB_FRAGS - to))
nr_frags         3354 net/core/skbuff.c 	while ((todo > 0) && (from < skb_shinfo(skb)->nr_frags)) {
nr_frags         3383 net/core/skbuff.c 	skb_shinfo(tgt)->nr_frags = to;
nr_frags         3395 net/core/skbuff.c 	while (from < skb_shinfo(skb)->nr_frags)
nr_frags         3397 net/core/skbuff.c 	skb_shinfo(skb)->nr_frags = to;
nr_frags         3399 net/core/skbuff.c 	BUG_ON(todo > 0 && !skb_shinfo(skb)->nr_frags);
nr_frags         3490 net/core/skbuff.c 	while (st->frag_idx < skb_shinfo(st->cur_skb)->nr_frags) {
nr_frags         3591 net/core/skbuff.c 	int i = skb_shinfo(skb)->nr_frags;
nr_frags         3667 net/core/skbuff.c 	int nfrags = skb_shinfo(head_skb)->nr_frags;
nr_frags         3771 net/core/skbuff.c 			nfrags = skb_shinfo(list_skb)->nr_frags;
nr_frags         3865 net/core/skbuff.c 				nfrags = skb_shinfo(list_skb)->nr_frags;
nr_frags         3885 net/core/skbuff.c 			if (unlikely(skb_shinfo(nskb)->nr_frags >=
nr_frags         3903 net/core/skbuff.c 			skb_shinfo(nskb)->nr_frags++;
nr_frags         4004 net/core/skbuff.c 		int i = skbinfo->nr_frags;
nr_frags         4005 net/core/skbuff.c 		int nr_frags = pinfo->nr_frags + i;
nr_frags         4007 net/core/skbuff.c 		if (nr_frags > MAX_SKB_FRAGS)
nr_frags         4011 net/core/skbuff.c 		pinfo->nr_frags = nr_frags;
nr_frags         4012 net/core/skbuff.c 		skbinfo->nr_frags = 0;
nr_frags         4014 net/core/skbuff.c 		frag = pinfo->frags + nr_frags;
nr_frags         4034 net/core/skbuff.c 		int nr_frags = pinfo->nr_frags;
nr_frags         4035 net/core/skbuff.c 		skb_frag_t *frag = pinfo->frags + nr_frags;
nr_frags         4040 net/core/skbuff.c 		if (nr_frags + 1 + skbinfo->nr_frags > MAX_SKB_FRAGS)
nr_frags         4047 net/core/skbuff.c 		pinfo->nr_frags = nr_frags + 1 + skbinfo->nr_frags;
nr_frags         4053 net/core/skbuff.c 		memcpy(frag + 1, skbinfo->frags, sizeof(*frag) * skbinfo->nr_frags);
nr_frags         4183 net/core/skbuff.c 	for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         4313 net/core/skbuff.c 	if ((skb_cloned(skb) || skb_shinfo(skb)->nr_frags) &&
nr_frags         4352 net/core/skbuff.c 			if (skb_shinfo(skb1)->nr_frags ||
nr_frags         4361 net/core/skbuff.c 		    skb_shinfo(skb1)->nr_frags ||
nr_frags         5055 net/core/skbuff.c 		if (to_shinfo->nr_frags +
nr_frags         5056 net/core/skbuff.c 		    from_shinfo->nr_frags >= MAX_SKB_FRAGS)
nr_frags         5067 net/core/skbuff.c 		skb_fill_page_desc(to, to_shinfo->nr_frags,
nr_frags         5071 net/core/skbuff.c 		if (to_shinfo->nr_frags +
nr_frags         5072 net/core/skbuff.c 		    from_shinfo->nr_frags > MAX_SKB_FRAGS)
nr_frags         5080 net/core/skbuff.c 	memcpy(to_shinfo->frags + to_shinfo->nr_frags,
nr_frags         5082 net/core/skbuff.c 	       from_shinfo->nr_frags * sizeof(skb_frag_t));
nr_frags         5083 net/core/skbuff.c 	to_shinfo->nr_frags += from_shinfo->nr_frags;
nr_frags         5086 net/core/skbuff.c 		from_shinfo->nr_frags = 0;
nr_frags         5091 net/core/skbuff.c 	for (i = 0; i < from_shinfo->nr_frags; i++)
nr_frags         5733 net/core/skbuff.c 			frags[skb_shinfo(skb)->nr_frags]));
nr_frags         5740 net/core/skbuff.c 		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++)
nr_frags         5835 net/core/skbuff.c 	const int nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         5852 net/core/skbuff.c 					 frags[skb_shinfo(skb)->nr_frags]));
nr_frags         5881 net/core/skbuff.c 	shinfo->nr_frags = k;
nr_frags           12 net/core/tso.c 	return skb_shinfo(skb)->gso_segs * 2 + skb_shinfo(skb)->nr_frags;
nr_frags           54 net/core/tso.c 	    (tso->next_frag_idx < skb_shinfo(skb)->nr_frags)) {
nr_frags           78 net/core/tso.c 	    (tso->next_frag_idx < skb_shinfo(skb)->nr_frags)) {
nr_frags          297 net/ipv4/esp4.c 		} else if ((skb_shinfo(skb)->nr_frags < MAX_SKB_FRAGS)
nr_frags          325 net/ipv4/esp4.c 			nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          329 net/ipv4/esp4.c 			skb_shinfo(skb)->nr_frags = ++nfrags;
nr_frags          429 net/ipv4/esp4.c 		skb_shinfo(skb)->nr_frags = 1;
nr_frags          438 net/ipv4/esp4.c 		sg_init_table(dsg, skb_shinfo(skb)->nr_frags + 1);
nr_frags          732 net/ipv4/esp4.c 			nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          459 net/ipv4/inet_fragment.c 		for (i = 0; i < skb_shinfo(head)->nr_frags; i++)
nr_frags         1182 net/ipv4/ip_output.c 			int i = skb_shinfo(skb)->nr_frags;
nr_frags         1196 net/ipv4/ip_output.c 				skb_shinfo(skb)->nr_frags = ++i;
nr_frags         1023 net/ipv4/tcp.c 		i = skb_shinfo(skb)->nr_frags;
nr_frags         1324 net/ipv4/tcp.c 			int i = skb_shinfo(skb)->nr_frags;
nr_frags         3825 net/ipv4/tcp.c 	for (i = 0; i < shi->nr_frags; ++i) {
nr_frags         1416 net/ipv4/tcp_output.c 	for (i = 0; i < shinfo->nr_frags; i++) {
nr_frags         1432 net/ipv4/tcp_output.c 	shinfo->nr_frags = k;
nr_frags         2198 net/ipv4/tcp_output.c 			if (!skb_shinfo(skb)->nr_frags) {
nr_frags          242 net/ipv6/esp6.c 		} else if ((skb_shinfo(skb)->nr_frags < MAX_SKB_FRAGS)
nr_frags          270 net/ipv6/esp6.c 			nfrags = skb_shinfo(skb)->nr_frags;
nr_frags          274 net/ipv6/esp6.c 			skb_shinfo(skb)->nr_frags = ++nfrags;
nr_frags          370 net/ipv6/esp6.c 		skb_shinfo(skb)->nr_frags = 1;
nr_frags          379 net/ipv6/esp6.c 		sg_init_table(dsg, skb_shinfo(skb)->nr_frags + 1);
nr_frags          631 net/ipv6/esp6.c 			nfrags = skb_shinfo(skb)->nr_frags;
nr_frags         1603 net/ipv6/ip6_output.c 			int i = skb_shinfo(skb)->nr_frags;
nr_frags         1617 net/ipv6/ip6_output.c 				skb_shinfo(skb)->nr_frags = ++i;
nr_frags         1225 net/iucv/af_iucv.c 			for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags         1325 net/iucv/af_iucv.c 			for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          630 net/kcm/kcmsock.c 		if (WARN_ON(!skb_shinfo(skb)->nr_frags)) {
nr_frags          635 net/kcm/kcmsock.c 		for (fragidx = 0; fragidx < skb_shinfo(skb)->nr_frags;
nr_frags          787 net/kcm/kcmsock.c 		i = skb_shinfo(skb)->nr_frags;
nr_frags          958 net/kcm/kcmsock.c 		int i = skb_shinfo(skb)->nr_frags;
nr_frags         3294 net/mac80211/tx.c 	nfrags = 1 + skb_shinfo(skb)->nr_frags;
nr_frags         3295 net/mac80211/tx.c 	nfrags += 1 + skb_shinfo(head)->nr_frags;
nr_frags         3298 net/mac80211/tx.c 		nfrags += 1 + skb_shinfo(*frag_tail)->nr_frags;
nr_frags         2477 net/packet/af_packet.c 	int to_write, offset, len, nr_frags, len_max;
nr_frags         2527 net/packet/af_packet.c 		nr_frags = skb_shinfo(skb)->nr_frags;
nr_frags         2529 net/packet/af_packet.c 		if (unlikely(nr_frags >= MAX_SKB_FRAGS)) {
nr_frags         2539 net/packet/af_packet.c 		skb_fill_page_desc(skb, nr_frags, page, offset, len);
nr_frags          252 net/rxrpc/rxkad.c 	if (skb_shinfo(skb)->nr_frags > 16)
nr_frags          454 net/rxrpc/rxkad.c 	nsg = skb_shinfo(skb)->nr_frags;
nr_frags          140 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", skb_shinfo(skb)->nr_frags);
nr_frags           66 net/tls/tls_sw.c         for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
nr_frags          569 net/wireless/util.c 	skb_add_rx_frag(skb, sh->nr_frags, page, page_offset, len, size);
nr_frags           72 net/xfrm/xfrm_ipcomp.c 		if (WARN_ON(skb_shinfo(skb)->nr_frags >= MAX_SKB_FRAGS))
nr_frags           75 net/xfrm/xfrm_ipcomp.c 		frag = skb_shinfo(skb)->frags + skb_shinfo(skb)->nr_frags;
nr_frags           96 net/xfrm/xfrm_ipcomp.c 		skb_shinfo(skb)->nr_frags++;