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

Function cancel_aios

g2all/900/lapse.js:326–336  ·  view source on GitHub ↗
(ids_p, num_ids)

Source from the content-addressed store, hash-verified

324}
325
326function cancel_aios(ids_p, num_ids) {
327 const len = max_aio_ids;
328 const rem = num_ids % len;
329 const num_batches = (num_ids - rem) / len;
330 for (let bi = 0; bi < num_batches; bi++) {
331 aio_multi_cancel(ids_p.add((bi << 2) * len), len);
332 }
333 if (rem) {
334 aio_multi_cancel(ids_p.add((num_batches << 2) * len), rem);
335 }
336}
337
338function free_aios(ids_p, num_ids) {
339 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