/drivers/isdn/pcbit/ |
D | layer2.c | 146 int flen; /* fragment frame length including all headers */ in pcbit_transmit() local 182 flen = FRAME_HDR_LEN + PREHDR_LEN + frame->skb->len; in pcbit_transmit() 184 flen = FRAME_HDR_LEN + PREHDR_LEN; in pcbit_transmit() 186 if (flen > free) in pcbit_transmit() 187 flen = free; in pcbit_transmit() 195 pcbit_writew(dev, flen - FRAME_HDR_LEN); in pcbit_transmit() 229 flen = 2 + (frame->skb->len - frame->copied); in pcbit_transmit() 231 if (flen > free) in pcbit_transmit() 232 flen = free; in pcbit_transmit() 235 tt = ((ushort) (flen - 2)) | 0x8000U; /* Type 1 */ in pcbit_transmit() [all …]
|
/drivers/net/wireless/hostap/ |
D | hostap_80211_rx.c | 927 int flen; in hostap_80211_rx() local 938 flen = skb->len; in hostap_80211_rx() 940 flen -= hdrlen; in hostap_80211_rx() 942 if (frag_skb->tail + flen > frag_skb->end) { in hostap_80211_rx() 953 skb_copy_from_linear_data(skb, skb_put(frag_skb, flen), in hostap_80211_rx() 954 flen); in hostap_80211_rx() 960 flen), flen); in hostap_80211_rx()
|
/drivers/media/video/pwc/ |
D | pwc-if.c | 681 int i, fst, flen; in pwc_isoc_handler() local 743 flen = urb->iso_frame_desc[i].actual_length; in pwc_isoc_handler() 746 if (flen > 0) { /* if valid data... */ in pwc_isoc_handler() 751 if (flen + fbuf->filled > pdev->frame_total_size) { in pwc_isoc_handler() 752 …PWC_DEBUG_FLOW("Frame buffer overflow (flen = %d, frame_total_size = %d).\n", flen, pdev->frame_to… in pwc_isoc_handler() 757 memmove(fillptr, iso_buf, flen); in pwc_isoc_handler() 758 fillptr += flen; in pwc_isoc_handler() 761 fbuf->filled += flen; in pwc_isoc_handler() 764 if (flen < pdev->vlast_packet_size) { in pwc_isoc_handler() 780 pdev->vlast_packet_size = flen; in pwc_isoc_handler()
|
/drivers/s390/char/ |
D | tty3270.c | 1002 int flen, i; in tty3270_convert_line() local 1005 flen = 3; /* Prefix (TO_SBA). */ in tty3270_convert_line() 1007 flen += line->len; in tty3270_convert_line() 1012 flen += 3; /* TO_SA to switch highlight. */ in tty3270_convert_line() 1016 flen += 3; /* TO_SA to switch color. */ in tty3270_convert_line() 1021 flen += 3; /* TO_SA to reset hightlight. */ in tty3270_convert_line() 1023 flen += 3; /* TO_SA to reset color. */ in tty3270_convert_line() 1025 flen += 4; /* Postfix (TO_RA). */ in tty3270_convert_line() 1035 if (s->len != flen) { in tty3270_convert_line() 1037 n = tty3270_alloc_string(tp, flen); in tty3270_convert_line()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_user_sdma.c | 297 const int flen = in ipath_user_sdma_pin_pages() local 301 pages[j], 0, flen, DMA_TO_DEVICE); in ipath_user_sdma_pin_pages() 309 ipath_user_sdma_init_frag(pkt, pkt->naddr, fofs, flen, 1, 1, in ipath_user_sdma_pin_pages() 314 addr += flen; in ipath_user_sdma_pin_pages() 315 tlen -= flen; in ipath_user_sdma_pin_pages()
|
/drivers/net/ |
D | ppp_generic.c | 1229 int flen; in ppp_mp_explode() local 1341 flen = fragsize; in ppp_mp_explode() 1345 if (flen > mtu) in ppp_mp_explode() 1346 flen = mtu; in ppp_mp_explode() 1347 if (flen == len && nfree == 0) in ppp_mp_explode() 1349 frag = alloc_skb(flen + hdrlen + (flen == 0), GFP_ATOMIC); in ppp_mp_explode() 1352 q = skb_put(frag, flen + hdrlen); in ppp_mp_explode() 1376 if (flen == 0) in ppp_mp_explode() 1379 memcpy(q + hdrlen, p, flen); in ppp_mp_explode() 1387 p += flen; in ppp_mp_explode() [all …]
|
/drivers/net/wireless/ipw2x00/ |
D | libipw_rx.c | 584 int flen; in ieee80211_rx() local 597 flen = skb->len; in ieee80211_rx() 599 flen -= hdrlen; in ieee80211_rx() 601 if (frag_skb->tail + flen > frag_skb->end) { in ieee80211_rx() 612 skb_copy_from_linear_data(skb, skb_put(frag_skb, flen), flen); in ieee80211_rx() 617 skb_put(frag_skb, flen), flen); in ieee80211_rx()
|
/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_rx.c | 866 int flen; in ieee80211_rx() local 878 flen = skb->len; in ieee80211_rx() 880 flen -= hdrlen; in ieee80211_rx() 882 if (frag_skb->tail + flen > frag_skb->end) { in ieee80211_rx() 893 memcpy(skb_put(frag_skb, flen), skb->data, flen); in ieee80211_rx() 897 memcpy(skb_put(frag_skb, flen), skb->data + hdrlen, in ieee80211_rx() 898 flen); in ieee80211_rx()
|
/drivers/net/tokenring/ |
D | smctr.c | 5446 __u32 flen, len, offset = 0; in smctr_tx_move_frame() local 5454 flen = skb->len; in smctr_tx_move_frame() 5456 while(flen > 0 && bytes > 0) in smctr_tx_move_frame() 5462 if(offset + flen > ram_usable) in smctr_tx_move_frame() 5465 len = flen; in smctr_tx_move_frame() 5473 flen -=len; in smctr_tx_move_frame()
|
/drivers/isdn/hardware/eicon/ |
D | message.c | 9030 byte flen; in AddInfo() local 9055 flen=fty_i[i][0]; in AddInfo() 9057 for(k=0;k<=flen;k++,j++) in AddInfo()
|