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

Function spray_aio

g2all/900/lapse.js:308–317  ·  view source on GitHub ↗
(
    loops=1, reqs1_p, num_reqs, ids_p, multi=true, cmd=AIO_CMD_READ,
)

Source from the content-addressed store, hash-verified

306}
307
308function spray_aio(
309 loops=1, reqs1_p, num_reqs, ids_p, multi=true, cmd=AIO_CMD_READ,
310) {
311 const step = 4 * (multi ? num_reqs : 1);
312 cmd |= multi ? AIO_CMD_FLAG_MULTI : 0;
313 for (let i = 0, idx = 0; i < loops; i++) {
314 aio_submit_cmd(cmd, reqs1_p, num_reqs, ids_p.add(idx));
315 idx += step;
316 }
317}
318
319function poll_aio(ids, states, num_ids=ids.length) {
320 if (states !== undefined) {

Callers 3

leak_kernel_addrsFunction · 0.70
double_free_reqs1Function · 0.70
setupFunction · 0.70

Calls 2

aio_submit_cmdFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected