Searched refs:new_total (Results 1 – 3 of 3) sorted by relevance
73 int new_total) in modem_socket_packet_size_update() argument83 if (new_total < 0) { in modem_socket_packet_size_update()84 new_total += modem_socket_packet_get_total(sock); in modem_socket_packet_size_update()87 if (new_total <= 0) { in modem_socket_packet_size_update()97 if (new_total == old_total) { in modem_socket_packet_size_update()102 if (new_total < old_total) { in modem_socket_packet_size_update()104 while (old_total > new_total && sock->packet_count > 0) { in modem_socket_packet_size_update()106 if (old_total - new_total < sock->packet_sizes[0]) { in modem_socket_packet_size_update()107 sock->packet_sizes[0] -= old_total - new_total; in modem_socket_packet_size_update()124 if (new_total - old_total > 0) { in modem_socket_packet_size_update()[all …]
74 int new_total);
906 int ret, socket_id, new_total; in MODEM_CMD_DEFINE() local910 new_total = ATOI(argv[1], 0, "length"); in MODEM_CMD_DEFINE()917 new_total); in MODEM_CMD_DEFINE()920 new_total, ret); in MODEM_CMD_DEFINE()923 if (new_total > 0) { in MODEM_CMD_DEFINE()