Searched refs:total (Results 1 - 25 of 55) sorted by last modified time

123

/haiku/src/preferences/screen/
H A DScreenMode.cpp370 uint32 total = displayMode.timing.h_total * displayMode.timing.v_total;
371 min = minClock * 1000.0 / total;
372 max = maxClock * 1000.0 / total;
/haiku/src/tools/fs_shell/
H A Dcommand_cp.cpp908 fssh_off_t total = 0; local
912 if (progress && (total % chunkSize) == 0) {
926 total += bytesWritten;
/haiku/src/apps/deskbar/
H A DSwitcher.cpp2018 int32 total = 0; local
2021 while (total < (nslots * fManager->SlotSize())) {
2024 total += stepSize;
2269 int32 total = 0; local
2272 while (total < (nslots * (int32)fItemHeight)) {
2275 total += stepSize;
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c4681 int i, total, nbant, noise; local
4683 total = nbant = noise = 0;
4687 total += noise;
4693 return (nbant == 0) ? -127 : (total / nbant) - 107;
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c4529 int i, total, nbant, noise; local
4531 total = nbant = noise = 0;
4535 total += noise;
4541 return (nbant == 0) ? -127 : (total / nbant) - 107;
/haiku/src/tests/system/network/tcp_shell/
H A Dtcp_shell.cpp1529 for (ssize_t total = 0; total < size; ) {
1533 total, strerror(bytesWritten));
1537 total += bufferSize;
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.cpp1522 int32 total = bytesBefore + bytesAfter; local
1559 total = BFS_ENDIAN_TO_HOST_INT16(inKeyLengths[in++]);
1581 BFS_ENDIAN_TO_HOST_INT16(inKeyLengths[in]) - total);
1598 bytesBefore = node->AllKeyLength() - total;
1627 memmove(inKeys, inKeys + total, bytesBefore);
1629 memmove(inKeys + bytesBefore + bytes, inKeys + total + bytesBefore,
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A DVirtioQueue.cpp377 size_t total = readVectorCount + writtenVectorCount; local
378 for (size_t i = 0; i < total; i++, index = desc[index].next) {
382 if (i < total - 1)
/haiku/src/apps/cortex/TransportView/
H A DTransportView.cpp1218 int total = menu->CountItems(); local
1219 for(int n = 0; n < total; ++n) {
/haiku/headers/private/kernel/util/
H A Diovec_support.h64 size_t total = 0; local
72 if (vecs[i].iov_len > SSIZE_MAX || total > (SSIZE_MAX - vecs[i].iov_len)) {
76 total += vecs[i].iov_len;
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Drunlist.c952 * 'allocated_size' is valid, and we can use it to compute the total
1116 s64 bytes_read, to_read, ofs, total; local
1134 for (total = 0LL; count; rl++, ofs = 0) {
1145 total += to_read;
1158 total += bytes_read;
1171 return total;
1173 if (total)
1174 return total;
1205 s64 written, to_write, total = 0; local
1225 for (total
[all...]
H A Dattrib.c152 s64 total, r; local
215 for (i = 0, total = 0; rl[i].length; i++) {
216 if (total + (rl[i].length << vol->cluster_size_bits) >=
238 intlth = (sle64_to_cpu(a->data_size) - total
281 memcpy(b + total, intbuf, sle64_to_cpu(a->data_size) -
282 total);
284 total = sle64_to_cpu(a->data_size);
299 b + total);
315 total += r;
318 return total;
991 s64 br, to_read, ofs, total, total2, max_read, max_init; local
1851 s64 total = 0; local
2395 s64 total; local
7033 int res, total = 0; local
7077 int res, total = 0; local
7217 s64 total = 0; local
[all...]
H A Dsecurity.c448 unsigned long total; local
452 total = 0;
460 total += STUFFSZ;
466 } while (!res && (total < ALIGN_SDS_BLOCK));
H A Dcompress.c443 /* Free the compression context and return the total number of bytes
711 s64 br, to_read, ofs, total, total2; local
761 total = total2 = 0;
816 if (total)
817 return total;
828 total += to_read;
871 if (total)
872 return total;
876 total += br;
931 if (total)
[all...]
/haiku/src/system/kernel/vm/
H A DVMAnonymousCache.cpp243 swap_addr_t total = file->last_slot - file->first_slot; local
244 kprintf(" vnode: %p, pages: total: %" B_PRIu32 ", free: %" B_PRIu32
245 "\n", file->vnode, total, file->bmp->free_slots);
247 totalSwapPages += total;
253 kprintf("total: %9" B_PRIu32 "\n", totalSwapPages);
/haiku/src/kits/interface/
H A DRegionSupport.cpp518 register int total; local
523 total = reg1->fCount + reg2->fCount;
526 tempReg->fDataSize = total;
532 total -= tempReg->fCount;
533 while (total--)
540 total -= tempReg->fCount;
541 while (total--)
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_ra.c580 int mcs, uint32_t total, uint32_t fail)
594 if (total == 0)
600 g->nprobe_pkts += total;
578 ieee80211_ra_add_stats_ht(struct ieee80211_ra_node *rn, struct ieee80211com *ic, struct ieee80211_node *ni, int mcs, uint32_t total, uint32_t fail) argument
H A Dieee80211_ra.h66 * total: How many Tx attempts (initial attempt + any retries) were made?
71 int mcs, unsigned int total, unsigned int fail);
H A Dieee80211_ra_vht.c580 int mcs, int nss, uint32_t total, uint32_t fail)
597 if (total == 0)
605 g->nprobe_pkts += total;
578 ieee80211_ra_vht_add_stats(struct ieee80211_ra_vht_node *rn, struct ieee80211com *ic, struct ieee80211_node *ni, int mcs, int nss, uint32_t total, uint32_t fail) argument
H A Dieee80211_ra_vht.h72 * total: How many Tx attempts (initial attempt + any retries) were made?
77 int mcs, int nss, unsigned int total, unsigned int fail);
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dlowntfs.c482 s64 total = 0; local
528 s64 ret = ntfs_attr_pread(na, offset, size, buf + total);
539 total += ret;
542 res = total;
558 int res, total = 0; local
584 s64 ret = ntfs_attr_pwrite(na, offset, size, buf + total);
591 total += ret;
593 res = total;
/haiku/src/system/boot/loader/
H A Dkernel_args.cpp254 uint64 total = 0; local
256 total += ranges[i].size;
257 return total;
/haiku/src/system/boot/platform/openfirmware/arch/sparc/
H A Dmmu.cpp72 find_physical_memory_ranges(size_t &total) argument
77 total = 0;
119 total += regions[i].size;
227 uint32 total = 0; local
272 total += map->length;
274 TRACE("total size kept: %" B_PRIu32 "\n", total);
588 size_t total; local
589 if (find_physical_memory_ranges(total) != B_OK) {
593 TRACE("total physica
[all...]
/haiku/src/libs/compat/freebsd_iflib/
H A Dmp_ring.c99 int n, pending, total; local
109 total = 0;
121 else if (total > 0) {
129 total += n;
136 if (cidx != pidx && pending < 64 && total < budget)
141 ns.flags = state_to_flags(ns, total >= budget);
150 MPASS(total > 0);
173 int n, pending, total; local
183 total = 0;
200 else if (total >
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/
H A Dif_iwnreg.h1435 uint32_t total; member in struct:iwn_beacon_missed

Completed in 445 milliseconds

123