/freebsd-current/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
H A D | param.h | 60 #ifdef PAGESIZE 61 #undef PAGESIZE macro 62 #endif /* PAGESIZE */ 65 #define PAGESIZE (spl_pagesize()) macro
|
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/ |
H A D | param.h | 53 #ifdef PAGESIZE 54 #undef PAGESIZE macro 55 #endif /* PAGESIZE */ 58 #define PAGESIZE (spl_pagesize()) macro
|
/freebsd-current/sys/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
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | dmu_os.c | 102 ASSERT3U(db->db_size, >=, PAGESIZE); 114 for (copied = 0; copied < tocpy; copied += PAGESIZE) { 117 thiscpy = MIN(PAGESIZE, tocpy - copied); 122 bufoff += PAGESIZE; 189 memcpy(va, (char *)db->db_data + bufoff, PAGESIZE); local 228 tocpy = MIN(db->db_size - bufoff, PAGESIZE - pgoff); 235 ASSERT3S(pgoff, <=, PAGESIZE); 236 if (pgoff == PAGESIZE) { 287 memset(va + pgoff, 0, PAGESIZE - pgoff); 307 tocpy = MIN(db->db_size - bufoff, PAGESIZE); [all...] |
H A D | arc_os.c | 88 n = PAGESIZE * ((int64_t)freemem - zfs_arc_free_target);
|
H A D | zfs_vnops_os.c | 491 for (start &= PAGEMASK; len > 0; start += PAGESIZE) { 493 int nbytes = imin(PAGESIZE - off, len); 546 for (start = zfs_uio_offset(uio); len > 0; start += PAGESIZE) { 547 int bytes = MIN(PAGESIZE, len); 556 if (bytes != PAGESIZE && error == 0) 557 memset(va + bytes, 0, PAGESIZE - bytes); 607 * NOTE: We will always "break up" the IO into PAGESIZE uiomoves when 627 for (start &= PAGEMASK; len > 0; start += PAGESIZE) { 629 uint64_t bytes = MIN(PAGESIZE - off, len);
|
/freebsd-current/sys/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))
|
/freebsd-current/tests/sys/cddl/zfs/tests/zvol/zvol_swap/ |
H A D | zvol_swap_004_pos.ksh | 72 typeset -i volblksize pagesize=$($PAGESIZE)
|
H A D | zvol_swap_005_pos.ksh | 66 ((pageblocks = $($PAGESIZE) / 512))
|
H A D | zvol_swap_006_pos.ksh | 77 ((pageblocks = $($PAGESIZE) / 512))
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | abd_os.c | 197 * an allocated zero'd PAGESIZE buffer. 198 * Userspace - Will be an allocated zero'ed PAGESIZE buffer. 210 return (P2ROUNDUP(size, PAGESIZE) / PAGESIZE); 337 size_t sg_size = MIN(PAGESIZE << compound_order(page), 426 sg_set_page(sg, page, PAGESIZE, 0); 515 sg_set_page(sg, abd_zero_page, PAGESIZE, 0); 519 ABDSTAT_INCR(abdstat_scatter_data_size, PAGESIZE); 526 #define PAGE_SHIFT (highbit64(PAGESIZE)-1) 534 ((struct page *)((void *)(pg) + (i) * PAGESIZE)) [all...] |
H A D | zfs_uio.c | 362 ulong_t incr = MIN(cnt, PAGESIZE);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/ |
H A D | reservation_015_pos.ksh | 97 -b $(getconf PAGESIZE) -c 1000 -d 0
|
H A D | reservation_016_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_009_pos.ksh | 99 -b $(getconf PAGESIZE) -c 1000 -d 0
|
H A D | reservation_008_pos.ksh | 122 -b $(getconf PAGESIZE) -c 1000 -d 0
|
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | sysmacros.h | 107 #ifndef PAGESIZE 108 #define PAGESIZE PAGE_SIZE macro 178 * and we want to round it up to a page boundary using "PAGESIZE" as 181 * P2ROUNDUP(x, (uint64_t)PAGESIZE) 183 * P2ROUNDUP_TYPED(x, PAGESIZE, uint64_t)
|
/freebsd-current/sys/contrib/openzfs/lib/libzpool/ |
H A D | kernel.c | 129 stksize = P2ROUNDUP(MAX(stksize, TS_STACK_MIN), PAGESIZE); 136 VERIFY0(pthread_attr_setguardsize(&attr, PAGESIZE));
|
/freebsd-current/sys/contrib/openzfs/module/zstd/ |
H A D | zfs_zstd.c | 821 PAGESIZE));
|
/freebsd-current/sys/cddl/contrib/opensolaris/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 261 size_t first = MIN(len, PAGESIZE - (pc & PAGEOFFSET)); 876 limit = USD_GETLIMIT(desc) * (desc->sd_gran ? PAGESIZE : 1);
|
/freebsd-current/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_import.c | 944 label = (vdev_phys_t *)umem_alloc_aligned(sizeof (*label), PAGESIZE, 1027 VDEV_LABELS * sizeof (*labels), PAGESIZE, UMEM_DEFAULT);
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | spa_log_spacemap.c | 741 uint64_t system_mem_allowed = ((physmem * PAGESIZE) *
|