Home
last modified time | relevance | path

Searched refs:data_left (Results 1 – 9 of 9) sorted by relevance

/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c448 unsigned int data_left = min_t(unsigned int, mss, total_len); in iwl_txq_gen2_build_amsdu() local
454 total_len -= data_left; in iwl_txq_gen2_build_amsdu()
459 data_left)) & 0x3; in iwl_txq_gen2_build_amsdu()
465 length = snap_ip_tcp_hdrlen + data_left; in iwl_txq_gen2_build_amsdu()
473 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_txq_gen2_build_amsdu()
499 while (data_left) { in iwl_txq_gen2_build_amsdu()
502 tb_len = min_t(unsigned int, tso.size, data_left); in iwl_txq_gen2_build_amsdu()
513 data_left -= tb_len; in iwl_txq_gen2_build_amsdu()
/drivers/remoteproc/
Dremoteproc_coredump.c136 size_t *data_left) in rproc_coredump_find_segment() argument
142 *data_left = segment->size - user_offset; in rproc_coredump_find_segment()
148 *data_left = 0; in rproc_coredump_find_segment()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c1778 unsigned int data_left = in iwl_fill_data_tbs_amsdu() local
1786 total_len -= data_left; in iwl_fill_data_tbs_amsdu()
1791 data_left)) & 0x3; in iwl_fill_data_tbs_amsdu()
1797 length = snap_ip_tcp_hdrlen + data_left; in iwl_fill_data_tbs_amsdu()
1805 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_fill_data_tbs_amsdu()
1811 csum_skb = alloc_skb(data_left + tcp_hdrlen(skb), in iwl_fill_data_tbs_amsdu()
1819 data_left); in iwl_fill_data_tbs_amsdu()
1848 while (data_left) { in iwl_fill_data_tbs_amsdu()
1850 data_left); in iwl_fill_data_tbs_amsdu()
1868 data_left -= size; in iwl_fill_data_tbs_amsdu()
/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c1490 int seg_len, total_len, data_left; in nicvf_sq_append_tso() local
1503 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in nicvf_sq_append_tso()
1504 total_len -= data_left; in nicvf_sq_append_tso()
1509 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in nicvf_sq_append_tso()
1518 while (data_left > 0) { in nicvf_sq_append_tso()
1521 size = min_t(int, tso.size, data_left); in nicvf_sq_append_tso()
1529 data_left -= size; in nicvf_sq_append_tso()
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c819 int hdr_len, total_len, data_left, ret; in txq_submit_tso() local
841 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in txq_submit_tso()
842 total_len -= data_left; in txq_submit_tso()
847 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in txq_submit_tso()
848 txq_put_hdr_tso(skb, txq, data_left, &first_cmd_sts, in txq_submit_tso()
851 while (data_left > 0) { in txq_submit_tso()
855 size = min_t(int, tso.size, data_left); in txq_submit_tso()
857 size == data_left, in txq_submit_tso()
861 data_left -= size; in txq_submit_tso()
Dmvneta.c2641 int hdr_len, total_len, data_left; in mvneta_tx_tso() local
2663 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in mvneta_tx_tso()
2664 total_len -= data_left; in mvneta_tx_tso()
2669 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in mvneta_tx_tso()
2673 while (data_left > 0) { in mvneta_tx_tso()
2677 size = min_t(int, tso.size, data_left); in mvneta_tx_tso()
2681 size == data_left, in mvneta_tx_tso()
2684 data_left -= size; in mvneta_tx_tso()
/drivers/net/ethernet/freescale/
Dfec_main.c714 int hdr_len, total_len, data_left; in fec_enet_txq_submit_tso() local
741 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in fec_enet_txq_submit_tso()
742 total_len -= data_left; in fec_enet_txq_submit_tso()
746 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in fec_enet_txq_submit_tso()
751 while (data_left > 0) { in fec_enet_txq_submit_tso()
754 size = min_t(int, tso.size, data_left); in fec_enet_txq_submit_tso()
760 size == data_left, in fec_enet_txq_submit_tso()
765 data_left -= size; in fec_enet_txq_submit_tso()
/drivers/tty/ipwireless/
Dhardware.c462 unsigned short data_left = packet->length - packet->offset; in do_send_packet() local
471 if (data_left < fragment_data_len) in do_send_packet()
472 fragment_data_len = data_left; in do_send_packet()
/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c513 size_t data_left = len; in gelic_wl_parse_ie() local
522 while (2 <= data_left) { in gelic_wl_parse_ie()
525 data_left -= 2; in gelic_wl_parse_ie()
527 if (data_left < item_len) in gelic_wl_parse_ie()
550 data_left -= item_len; in gelic_wl_parse_ie()