Home
last modified time | relevance | path

Searched refs:PAGE_SIZE (Results 1 – 25 of 29) sorted by relevance

12

/haiku/src/tests/system/libroot/posix/
H A Dmprotect_test.cpp17 #ifndef PAGE_SIZE
18 # define PAGE_SIZE 4096 macro
22 static const size_t kMapChunkSize = 4 * PAGE_SIZE;
23 static const size_t kTestSize = 256 * PAGE_SIZE;
40 if (mprotect(sMappedBase + sMappedSize - PAGE_SIZE, PAGE_SIZE, in signal_handler()
59 if (mprotect(sMappedBase + sMappedSize - PAGE_SIZE, PAGE_SIZE, PROT_READ) in signal_handler()
92 if (mprotect(sMappedBase + sMappedSize - PAGE_SIZE, PAGE_SIZE, PROT_READ) in main()
98 for (int i = 0; i < 256 * PAGE_SIZE; i++) { in main()
/haiku/src/tests/system/kernel/swap/
H A Dswap_test_heap.cpp13 #ifndef PAGE_SIZE
14 # define PAGE_SIZE 4096 macro
17 #define PAGE_ELEMENT_COUNT (PAGE_SIZE / 4)
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_qpair.c543 modulo = req->payload_size & (PAGE_SIZE - 1); in _nvme_qpair_build_contig_request()
544 unaligned = phys_addr & (PAGE_SIZE - 1); in _nvme_qpair_build_contig_request()
560 seg_addr = payload + PAGE_SIZE - unaligned; in _nvme_qpair_build_contig_request()
566 seg_addr = payload + cur_nseg * PAGE_SIZE - unaligned; in _nvme_qpair_build_contig_request()
699 nvme_assert((length >= remaining_transfer_len) || ((phys_addr + length) % PAGE_SIZE) == 0, in _nvme_qpair_build_prps_sgl_request()
701 nvme_assert((sge_count == 0) || (phys_addr % PAGE_SIZE) == 0, in _nvme_qpair_build_prps_sgl_request()
707 modulo = data_transferred & (PAGE_SIZE - 1); in _nvme_qpair_build_prps_sgl_request()
708 unaligned = phys_addr & (PAGE_SIZE - 1); in _nvme_qpair_build_prps_sgl_request()
724 PAGE_SIZE - unaligned; in _nvme_qpair_build_prps_sgl_request()
742 cur_nseg * PAGE_SIZE - unaligned; in _nvme_qpair_build_prps_sgl_request()
[all …]
H A Dnvme_internal.h107 #define NVME_MAX_XFER_SIZE NVME_MAX_PRP_LIST_ENTRIES * PAGE_SIZE
616 } __attribute__((aligned(PAGE_SIZE)));
H A Dnvme_ctrlr.c563 PAGE_SIZE); in nvme_ctrlr_construct_namespaces()
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/
H A DOsSupportBeOS.h101 #ifndef PAGE_SIZE
102 #define PAGE_SIZE B_PAGE_SIZE macro
H A DOsSupportBeOS.cpp279 dwRoundedBytes = (dwBytes + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in AllocPhysPageBlock()
H A DCDaffyDuck.cpp114 m_pOsSupport->FreePhysPageBlock( PAGE_SIZE, m_pDuckPage); in ~CDaffyDuck()
826 Status = pOsSupport->AllocPhysPageBlock( PAGE_SIZE, pPageBlock); in MakeDaffyDuck()
H A DCDspCommObject.cpp36 #define COMM_PAGE_PHYS_BYTES ((sizeof(DspCommPage)+PAGE_SIZE-1)/PAGE_SIZE)*PAGE_SIZE
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/
H A Dnvme_arch.h19 #define PAGE_SIZE B_PAGE_SIZE macro
/haiku/headers/posix/
H A Dlimits.h101 #define PAGE_SIZE PAGESIZE macro
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_subr_sbuf.c89 #ifdef PAGE_SIZE
90 #define SBUF_MAXEXTENDSIZE PAGE_SIZE
91 #define SBUF_MAXEXTENDINCR PAGE_SIZE
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dmft.c525 #ifndef PAGE_SIZE
526 #define PAGE_SIZE 4096 macro
564 size = PAGE_SIZE; in ntfs_mft_bitmap_find_free_rec()
590 buf = ntfs_malloc(PAGE_SIZE); in ntfs_mft_bitmap_find_free_rec()
603 for (; pass <= 2; size = PAGE_SIZE) { in ntfs_mft_bitmap_find_free_rec()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_descdma.c179 PAGE_SIZE, 0, /* alignment, bounds */ in ath_descdma_alloc_desc()
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwmvar.h325 #define IWM_CMD_RESP_MAX PAGE_SIZE
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malo.h53 #define MALO_RXSIZE PAGE_SIZE
H A Dif_malohal.c123 PAGE_SIZE, 0, /* alignment, bounds */ in malo_hal_attach()
H A Dif_malo.c453 PAGE_SIZE, 0, /* alignment, bounds */ in malo_desc_setup()
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwxvar.h301 #define IWX_CMD_RESP_MAX PAGE_SIZE
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/pci/
H A Drtwn_pci_attach.c273 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), PAGE_SIZE, 0, in rtwn_pci_alloc_tx_list()
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/
H A Dif_bge.c2955 error = bge_dma_ring_alloc(sc, PAGE_SIZE, BGE_STD_RX_RING_SZ, in bge_dma_alloc()
2964 error = bge_dma_ring_alloc(sc, PAGE_SIZE, BGE_RX_RTN_RING_SZ(sc), in bge_dma_alloc()
2973 error = bge_dma_ring_alloc(sc, PAGE_SIZE, BGE_TX_RING_SZ, in bge_dma_alloc()
2993 error = bge_dma_ring_alloc(sc, PAGE_SIZE, sbsz, in bge_dma_alloc()
3002 error = bge_dma_ring_alloc(sc, PAGE_SIZE, BGE_STATS_SZ, in bge_dma_alloc()
3012 error = bge_dma_ring_alloc(sc, PAGE_SIZE, BGE_JUMBO_RX_RING_SZ, in bge_dma_alloc()
3109 NULL, MJUM9BYTES, BGE_NSEG_JUMBO, PAGE_SIZE, in bge_dma_alloc()
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A Dif_em.c568 .isc_q_align = PAGE_SIZE,
570 .isc_tx_maxsegsize = PAGE_SIZE,
595 .isc_q_align = PAGE_SIZE,
597 .isc_tx_maxsegsize = PAGE_SIZE,
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/pcn/
H A Dif_pcn.c612 M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0);
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Dif_igc.c272 .isc_q_align = PAGE_SIZE,
274 .isc_tx_maxsegsize = PAGE_SIZE,
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl.c1939 PAGE_SIZE, 0, /* alignment, bounds */ in mwl_desc_setup()
2118 jumbosize = roundup(MWL_AGGR_SIZE, PAGE_SIZE); in mwl_rxdma_setup()
2122 PAGE_SIZE, 0, /* alignment, bounds */ in mwl_rxdma_setup()

12