Home
last modified time | relevance | path

Searched refs:PAGESIZE (Results 1 – 25 of 27) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c124 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 Darc_os.c111 n = PAGESIZE * ((int64_t)freemem - zfs_arc_free_target); in arc_available_memory()
H A Dzfs_vnops_os.c485 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 Dparam.h53 #ifdef PAGESIZE
54 #undef PAGESIZE
58 #define PAGESIZE (spl_pagesize()) macro
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dparam.h60 #ifdef PAGESIZE
61 #undef PAGESIZE
65 #define PAGESIZE (spl_pagesize()) macro
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dabd_os.c184 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 Dzfs_vnops_os.c3765 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 Dsystm.h37 #define PAGESIZE PAGE_SIZE macro
38 #define PAGEOFFSET (PAGESIZE - 1)
H A Dparam.h35 #define PAGESIZE PAGE_SIZE macro
/f-stack/freebsd/contrib/device-tree/Bindings/mtd/
H A Dgpmc-nand.txt125 "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 Dsysmacros.h107 #ifndef PAGESIZE
108 #define PAGESIZE PAGE_SIZE macro
/f-stack/freebsd/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))
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/
H A Dreservation_016_pos.ksh95 -b $(getconf PAGESIZE) -c 1000 -d 0
H A Dreservation_009_pos.ksh97 -b $(getconf PAGESIZE) -c 1000 -d 0
H A Dreservation_015_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_008_pos.ksh122 -b $(getconf PAGESIZE) -c 1000 -d 0
/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dkernel.c111 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 Dzfs_zstd.c682 PAGESIZE)); in zstd_meminit()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_context.h634 #define ptob(x) ((x) * PAGESIZE)
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dspa_log_spacemap.c701 uint64_t system_mem_allowed = ((physmem * PAGESIZE) * in spa_log_exceeds_memlimit()
H A Dzio.c187 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 Dmalloc.c755 # ifdef PAGESIZE
756 # define malloc_getpagesize PAGESIZE
/f-stack/freebsd/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c902 error = posix_memalign((void **)&label, PAGESIZE, sizeof (*label)); in zpool_read_label()

12