Searched refs:dev_zero (Results 1 – 2 of 2) sorted by relevance
96 static int dev_zero = -1; variable102 dev_zero = open("/dev/zero", O_RDWR | SLJIT_CLOEXEC); in open_dev_zero()104 return dev_zero < 0; in open_dev_zero()116 if (SLJIT_UNLIKELY(dev_zero < 0)) in open_dev_zero()117 dev_zero = open("/dev/zero", O_RDWR | SLJIT_CLOEXEC); in open_dev_zero()120 return dev_zero < 0; in open_dev_zero()277 if (SLJIT_UNLIKELY((dev_zero < 0) && open_dev_zero())) { in sljit_allocate_stack()281 ptr = mmap(NULL, max_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, dev_zero, 0); in sljit_allocate_stack()
185 if (SLJIT_UNLIKELY((dev_zero < 0) && open_dev_zero())) in alloc_chunk()188 fd = dev_zero; in alloc_chunk()
Completed in 10 milliseconds