Searched refs:PAGESIZE (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-current/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dparam.h60 #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 Dparam.h53 #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 Dsystm.h37 #define PAGESIZE PAGE_SIZE macro
38 #define PAGEOFFSET (PAGESIZE - 1)
H A Dparam.h35 #define PAGESIZE PAGE_SIZE macro
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c102 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 Darc_os.c88 n = PAGESIZE * ((int64_t)freemem - zfs_arc_free_target);
H A Dzfs_vnops_os.c491 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 Dzvol_swap_005_pos.ksh57 ((pageblocks = $(getconf PAGESIZE) / 512))
H A Dzvol_swap_006_pos.ksh70 ((pageblocks = $(getconf PAGESIZE) / 512))
/freebsd-current/tests/sys/cddl/zfs/tests/zvol/zvol_swap/
H A Dzvol_swap_004_pos.ksh72 typeset -i volblksize pagesize=$($PAGESIZE)
H A Dzvol_swap_005_pos.ksh66 ((pageblocks = $($PAGESIZE) / 512))
H A Dzvol_swap_006_pos.ksh77 ((pageblocks = $($PAGESIZE) / 512))
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dabd_os.c197 * 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 Dzfs_uio.c362 ulong_t incr = MIN(cnt, PAGESIZE);
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/
H A Dreservation_015_pos.ksh97 -b $(getconf PAGESIZE) -c 1000 -d 0
H A Dreservation_016_pos.ksh96 -b $(getconf PAGESIZE) -c 1000 -d 0
H A Dreservation_010_pos.ksh98 -b $(getconf PAGESIZE) -c 1000 -d 0
H A Dreservation_009_pos.ksh99 -b $(getconf PAGESIZE) -c 1000 -d 0
H A Dreservation_008_pos.ksh122 -b $(getconf PAGESIZE) -c 1000 -d 0
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h107 #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 Dkernel.c129 stksize = P2ROUNDUP(MAX(stksize, TS_STACK_MIN), PAGESIZE);
136 VERIFY0(pthread_attr_setguardsize(&attr, PAGESIZE));
/freebsd-current/sys/contrib/openzfs/module/zstd/
H A Dzfs_zstd.c821 PAGESIZE));
/freebsd-current/sys/cddl/contrib/opensolaris/uts/intel/dtrace/
H A Dfasttrap_isa.c261 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 Dzutil_import.c944 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 Dspa_log_spacemap.c741 uint64_t system_mem_allowed = ((physmem * PAGESIZE) *

Completed in 187 milliseconds

12