MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / cancel_aios

Function cancel_aios

g2all/700/lapse.js:346–356  ·  view source on GitHub ↗
(ids_p, num_ids)

Source from the content-addressed store, hash-verified

344}
345
346function cancel_aios(ids_p, num_ids) {
347 const len = max_aio_ids;
348 const rem = num_ids % len;
349 const num_batches = (num_ids - rem) / len;
350 for (let bi = 0; bi < num_batches; bi++) {
351 aio_multi_cancel(ids_p.add((bi << 2) * len), len);
352 }
353 if (rem) {
354 aio_multi_cancel(ids_p.add((num_batches << 2) * len), rem);
355 }
356}
357
358function free_aios(ids_p, num_ids) {
359 const len = max_aio_ids;

Callers 3

leak_kernel_addrsFunction · 0.70
double_free_reqs1Function · 0.70
setupFunction · 0.70

Calls 2

aio_multi_cancelFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected