| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | dmu_os.c | 124 ASSERT3U(db->db_size, >=, PAGESIZE); in dmu_write_pages() 139 thiscpy = MIN(PAGESIZE, tocpy - copied); in dmu_write_pages() 144 bufoff += PAGESIZE; in dmu_write_pages() 211 bcopy((char *)db->db_data + bufoff, va, PAGESIZE); in dmu_read_pages() 250 tocpy = MIN(db->db_size - bufoff, PAGESIZE - pgoff); in dmu_read_pages() 255 ASSERT(pgoff <= PAGESIZE); in dmu_read_pages() 256 if (pgoff == PAGESIZE) { in dmu_read_pages() 306 bzero(va + pgoff, PAGESIZE - pgoff); in dmu_read_pages() 326 tocpy = MIN(db->db_size - bufoff, PAGESIZE); in dmu_read_pages() 329 if (tocpy < PAGESIZE) { in dmu_read_pages() [all …]
|
| H A D | arc_os.c | 111 n = PAGESIZE * ((int64_t)freemem - zfs_arc_free_target); in arc_available_memory()
|
| H A D | zfs_vnops_os.c | 485 for (start &= PAGEMASK; len > 0; start += PAGESIZE) { in update_pages() 487 int nbytes = imin(PAGESIZE - off, len); in update_pages() 540 for (start = uio->uio_loffset; len > 0; start += PAGESIZE) { in mappedread_sf() 541 int bytes = MIN(PAGESIZE, len); in mappedread_sf() 550 if (bytes != PAGESIZE && error == 0) in mappedread_sf() 551 bzero(va + bytes, PAGESIZE - bytes); in mappedread_sf() 622 for (start &= PAGEMASK; len > 0; start += PAGESIZE) { in mappedread() 624 uint64_t bytes = MIN(PAGESIZE - off, len); in mappedread()
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/freebsd/sys/ |
| H A D | param.h | 53 #ifdef PAGESIZE 54 #undef PAGESIZE 58 #define PAGESIZE (spl_pagesize()) macro
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
| H A D | param.h | 60 #ifdef PAGESIZE 61 #undef PAGESIZE 65 #define PAGESIZE (spl_pagesize()) macro
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | abd_os.c | 184 return (P2ROUNDUP(size, PAGESIZE) / PAGESIZE); in abd_chunkcnt_for_bytes() 398 sg_set_page(sg, page, PAGESIZE, 0); in abd_alloc_chunks() 485 sg_set_page(sg, abd_zero_page, PAGESIZE, 0); in abd_alloc_zero_scatter() 496 #define PAGE_SHIFT (highbit64(PAGESIZE)-1) 572 sg_set_page(sg, p, PAGESIZE, 0); in abd_alloc_chunks() 586 umem_free(p, PAGESIZE); in abd_free_chunks() 600 memset(abd_zero_page, 0, PAGESIZE); in abd_alloc_zero_scatter() 615 sg_set_page(sg, abd_zero_page, PAGESIZE, 0); in abd_alloc_zero_scatter() 694 umem_free(abd_zero_page, PAGESIZE); in abd_free_zero_scatter() 1048 pgoff = sgoff & (PAGESIZE - 1); in abd_bio_map_off() [all …]
|
| H A D | zfs_vnops_os.c | 3765 for (total = io_off + io_len; io_off < total; io_off += PAGESIZE) { in zfs_fillpage() 3770 err = dmu_read(os, zp->z_id, io_off, PAGESIZE, va, in zfs_fillpage()
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | systm.h | 37 #define PAGESIZE PAGE_SIZE macro 38 #define PAGEOFFSET (PAGESIZE - 1)
|
| H A D | param.h | 35 #define PAGESIZE PAGE_SIZE macro
|
| /f-stack/freebsd/contrib/device-tree/Bindings/mtd/ |
| H A D | gpmc-nand.txt | 125 "2 + (PAGESIZE / 512) * ECC_BYTES" >= OOBSIZE" 128 PAGESIZE number of bytes in main-area of device page 136 Example(a): For a device with PAGESIZE = 2048 and OOBSIZE = 64 and 143 Example(b): For a device with PAGESIZE = 2048 and OOBSIZE = 128 and
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | sysmacros.h | 107 #ifndef PAGESIZE 108 #define PAGESIZE PAGE_SIZE macro
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_swap/ |
| H A D | zvol_swap_005_pos.ksh | 57 ((pageblocks = $(getconf PAGESIZE) / 512))
|
| H A D | zvol_swap_006_pos.ksh | 70 ((pageblocks = $(getconf PAGESIZE) / 512))
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/ |
| H A D | reservation_016_pos.ksh | 95 -b $(getconf PAGESIZE) -c 1000 -d 0
|
| H A D | reservation_009_pos.ksh | 97 -b $(getconf PAGESIZE) -c 1000 -d 0
|
| H A D | reservation_015_pos.ksh | 96 -b $(getconf PAGESIZE) -c 1000 -d 0
|
| H A D | reservation_010_pos.ksh | 98 -b $(getconf PAGESIZE) -c 1000 -d 0
|
| H A D | reservation_008_pos.ksh | 122 -b $(getconf PAGESIZE) -c 1000 -d 0
|
| /f-stack/freebsd/contrib/openzfs/lib/libzpool/ |
| H A D | kernel.c | 111 stksize = P2ROUNDUP(MAX(stksize, TS_STACK_MIN), PAGESIZE); in zk_thread_create() 118 VERIFY0(pthread_attr_setguardsize(&attr, PAGESIZE)); in zk_thread_create()
|
| /f-stack/freebsd/contrib/openzfs/module/zstd/ |
| H A D | zfs_zstd.c | 682 PAGESIZE)); in zstd_meminit()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfs_context.h | 634 #define ptob(x) ((x) * PAGESIZE)
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | spa_log_spacemap.c | 701 uint64_t system_mem_allowed = ((physmem * PAGESIZE) * in spa_log_exceeds_memlimit()
|
| H A D | zio.c | 187 if (arc_watch && !IS_P2ALIGNED(size, PAGESIZE)) in zio_init() 198 if (size < PAGESIZE) { in zio_init() 201 align = PAGESIZE; in zio_init()
|
| /f-stack/freebsd/contrib/octeon-sdk/cvmx-malloc/ |
| H A D | malloc.c | 755 # ifdef PAGESIZE 756 # define malloc_getpagesize PAGESIZE
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.c | 902 error = posix_memalign((void **)&label, PAGESIZE, sizeof (*label)); in zpool_read_label()
|