Lines Matching defs:pool
903 Entry pool = tunGetPool(tunIfaceTotal, underlyingIfaceTotal);
904 if (pool.isEmpty()) {
907 Entry moved = addTrafficToApplications(tunIface, underlyingIface, tunIfaceTotal, pool);
952 Entry pool = new Entry();
953 pool.rxBytes = Math.min(tunIfaceTotal.rxBytes, underlyingIfaceTotal.rxBytes);
954 pool.rxPackets = Math.min(tunIfaceTotal.rxPackets, underlyingIfaceTotal.rxPackets);
955 pool.txBytes = Math.min(tunIfaceTotal.txBytes, underlyingIfaceTotal.txBytes);
956 pool.txPackets = Math.min(tunIfaceTotal.txPackets, underlyingIfaceTotal.txPackets);
957 pool.operations = Math.min(tunIfaceTotal.operations, underlyingIfaceTotal.operations);
958 return pool;
962 Entry tunIfaceTotal, Entry pool) {
969 tmpEntry.rxBytes = pool.rxBytes * rxBytes[i] / tunIfaceTotal.rxBytes;
974 tmpEntry.rxPackets = pool.rxPackets * rxPackets[i] / tunIfaceTotal.rxPackets;
979 tmpEntry.txBytes = pool.txBytes * txBytes[i] / tunIfaceTotal.txBytes;
984 tmpEntry.txPackets = pool.txPackets * txPackets[i] / tunIfaceTotal.txPackets;
990 pool.operations * operations[i] / tunIfaceTotal.operations;