Searched refs:ZERO_REGION_SIZE (Results 1 – 13 of 13) sorted by relevance
257 #define ZERO_REGION_SIZE (2 * 1024 * 1024) /* 2MB */ macro259 #define ZERO_REGION_SIZE (64 * 1024) /* 64KB */ macro
160 if (len > ZERO_REGION_SIZE) in zero_read()161 len = ZERO_REGION_SIZE; in zero_read()
179 #define ZERO_REGION_SIZE (64 * 1024) /* 64KB */ macro
225 #define ZERO_REGION_SIZE (64 * 1024) /* 64KB */ macro
243 #define ZERO_REGION_SIZE (64 * 1024) /* 64KB */ macro
104 CTASSERT((ZERO_REGION_SIZE & PAGE_MASK) == 0);766 addr = kva_alloc(ZERO_REGION_SIZE); in kmem_init_zero_region()769 for (i = 0; i < ZERO_REGION_SIZE; i += PAGE_SIZE) in kmem_init_zero_region()771 pmap_protect(kernel_pmap, addr, addr + ZERO_REGION_SIZE, VM_PROT_READ); in kmem_init_zero_region()
289 #define ZERO_REGION_SIZE (2 * 1024 * 1024) /* 2MB */ macro
318 #define ZERO_REGION_SIZE (64 * 1024) /* 64KB */ macro
439 if (copylen > ZERO_REGION_SIZE) in tarfs_read_file()440 copylen = ZERO_REGION_SIZE; in tarfs_read_file()
59 CTASSERT(ZERO_REGION_SIZE >= TARFS_BLOCKSIZE);
253 _Static_assert(ZERO_REGION_SIZE >= PAGE_SIZE, "zero_region too small");
624 tlen = min(xfersize, ZERO_REGION_SIZE); in ffs_read_hole()1478 tlen -= MIN(ZERO_REGION_SIZE, tlen); in ffs_close_ea()1489 liovec[i].iov_len = MIN(ZERO_REGION_SIZE, tlen); in ffs_close_ea()
959 iosize = min(iosize * 8, ZERO_REGION_SIZE); in vp_zerofill()