/haiku/src/tests/system/libroot/posix/ |
H A D | mprotect_test.cpp | 17 #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 D | swap_test_heap.cpp | 13 #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 D | nvme_qpair.c | 543 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 D | nvme_internal.h | 107 #define NVME_MAX_XFER_SIZE NVME_MAX_PRP_LIST_ENTRIES * PAGE_SIZE 616 } __attribute__((aligned(PAGE_SIZE)));
|
H A D | nvme_ctrlr.c | 563 PAGE_SIZE); in nvme_ctrlr_construct_namespaces()
|
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/ |
H A D | OsSupportBeOS.h | 101 #ifndef PAGE_SIZE 102 #define PAGE_SIZE B_PAGE_SIZE macro
|
H A D | OsSupportBeOS.cpp | 279 dwRoundedBytes = (dwBytes + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in AllocPhysPageBlock()
|
H A D | CDaffyDuck.cpp | 114 m_pOsSupport->FreePhysPageBlock( PAGE_SIZE, m_pDuckPage); in ~CDaffyDuck() 826 Status = pOsSupport->AllocPhysPageBlock( PAGE_SIZE, pPageBlock); in MakeDaffyDuck()
|
H A D | CDspCommObject.cpp | 36 #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 D | nvme_arch.h | 19 #define PAGE_SIZE B_PAGE_SIZE macro
|
/haiku/headers/posix/ |
H A D | limits.h | 101 #define PAGE_SIZE PAGESIZE macro
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_subr_sbuf.c | 89 #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 D | mft.c | 525 #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 D | if_ath_descdma.c | 179 PAGE_SIZE, 0, /* alignment, bounds */ in ath_descdma_alloc_desc()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/ |
H A D | if_iwmvar.h | 325 #define IWM_CMD_RESP_MAX PAGE_SIZE
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/ |
H A D | if_malo.h | 53 #define MALO_RXSIZE PAGE_SIZE
|
H A D | if_malohal.c | 123 PAGE_SIZE, 0, /* alignment, bounds */ in malo_hal_attach()
|
H A D | if_malo.c | 453 PAGE_SIZE, 0, /* alignment, bounds */ in malo_desc_setup()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/ |
H A D | if_iwxvar.h | 301 #define IWX_CMD_RESP_MAX PAGE_SIZE
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/pci/ |
H A D | rtwn_pci_attach.c | 273 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 D | if_bge.c | 2955 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 D | if_em.c | 568 .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 D | if_pcn.c | 612 M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0);
|
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | if_igc.c | 272 .isc_q_align = PAGE_SIZE, 274 .isc_tx_maxsegsize = PAGE_SIZE,
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/ |
H A D | if_mwl.c | 1939 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()
|