/haiku/src/libs/compat/freebsd_network/compat/vm/ |
H A D | vm_extern.h | 51 * in -boundary (a power-of-two)? For boundary == 0, all addresses match. 54 vm_addr_bound_ok(vm_paddr_t pa, vm_paddr_t size, vm_paddr_t boundary) argument 56 KASSERT(powerof2(boundary), ("%s: boundary is not a power of 2: %#jx", 57 __func__, (uintmax_t)boundary)); 58 return (((pa ^ (pa + size - 1)) & -boundary) == 0); 63 vm_paddr_t boundary) 66 vm_addr_bound_ok(pa, size, boundary)); 62 vm_addr_ok(vm_paddr_t pa, vm_paddr_t size, u_long alignment, vm_paddr_t boundary) argument
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | malloc.h | 40 unsigned long boundary); 49 #define kernel_contigmalloc(size, type, flags, low, high, alignment, boundary) \ 51 alignment, boundary) 59 # define contigmalloc(size, type, flags, low, high, alignment, boundary) \ 61 alignment, boundary)
|
H A D | bus_dma.h | 146 * boundary: Boundary that segments cannot cross. 167 bus_addr_t boundary, bus_addr_t lowaddr,
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | malloc.cpp | 50 unsigned long boundary) 70 physicalRestrictions.boundary = boundary; 48 _kernel_contigmalloc(const char *file, int line, size_t size, int flags, vm_paddr_t low, vm_paddr_t high, unsigned long alignment, unsigned long boundary) argument
|
H A D | bus_dma.cpp | 35 phys_addr_t boundary; member in struct:bus_dma_tag 91 bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, bus_addr_t boundary, argument 108 if (boundary != 0 && boundary < maxsegsz) 109 maxsegsz = boundary; 112 newtag->boundary = boundary; 132 if (newtag->boundary == 0) { 133 newtag->boundary = parent->boundary; [all...] |
/haiku/src/libs/compat/openbsd_network/compat/machine/ |
H A D | bus.h | 31 int nsegments, bus_size_t maxsegsz, bus_size_t boundary, 38 int error = bus_dma_tag_create(tag, 1, boundary, 113 bus_dmamem_alloc_obsd(bus_dma_tag_t tag, bus_size_t size, bus_size_t alignment, bus_size_t boundary, argument 123 int error = bus_dma_tag_create(tag, alignment, boundary, 30 bus_dmamap_create_obsd(bus_dma_tag_t tag, bus_size_t maxsize, int nsegments, bus_size_t maxsegsz, bus_size_t boundary, int flags, bus_dmamap_t* dmamp) argument
|
/haiku/headers/os/mail/ |
H A D | MailContainer.h | 37 const char *boundary = NULL, 43 void SetBoundary(const char *boundary);
|
/haiku/src/add-ons/kernel/bus_managers/scsi/ |
H A D | dma_buffer.cpp | 61 // calculate space upto next dma boundary crossing and 66 SHOW_FLOW(0, "S/G-entry crosses DMA boundary @%" B_PRIxPHYSADDR, 169 uint32 boundary = dma_params->dma_boundary; local 175 // verify that we don't get problems with dma boundary 176 if (boundary != ~(uint32)0) { 177 if (size > boundary + 1) { 179 B_PRId32 "/%" B_PRId32 " bytes)", size, boundary + 1); 189 if (boundary != ~(uint32)0) 190 physicalRestrictions.boundary = boundary [all...] |
/haiku/src/kits/mail/ |
H A D | MailContainer.cpp | 24 // boundary line) in the message file. 28 // Note that the CRLF that starts the next boundary isn't included in the 31 // same as the boundary starting CRLF. So if you have something malformed 39 // part of the next boundary), you get -2. 45 const char *boundary, 57 SetBoundary(boundary); 67 SetBoundary(boundary); 82 void BMIMEMultipartMailContainer::SetBoundary(const char *boundary) { argument 85 if (boundary != NULL) 86 _boundary = strdup(boundary); 44 BMIMEMultipartMailContainer( const char *boundary, const char *this_is_an_MIME_message_text, uint32 defaultCharSet) argument [all...] |
H A D | MailAttachment.cpp | 517 // Set boundary 519 // Also, we have the make up the boundary out of whole cloth 521 BString boundary; 522 boundary << "BFile--" << ((long)file ^ time(NULL)) << "-" 524 fContainer->SetBoundary(boundary.String()); 548 // Set boundary 551 BString boundary; 561 boundary << "BFile-" << buffer << "--" << ((long)_data ^ time(NULL)) 564 fContainer->SetBoundary(boundary.String());
|
/haiku/src/add-ons/kernel/drivers/network/ether/etherpci/ |
H A D | etherpci.c | 101 int boundary; /* boundary register value (mirrored) */ member in struct:etherpci_private 657 ringzero(etherpci_private_t *data, unsigned boundary, argument 669 if (data->boundary < next_boundary) { 670 pages = next_boundary - data->boundary; 672 pages = (data->EC_RINGSIZE >> EC_PAGE_SHIFT) - (data->boundary - next_boundary); 676 offset = data->boundary << EC_PAGE_SHIFT; 678 data->boundary++; 679 if (data->boundary >= data->EC_RXBUF_END_PAGE) { 680 data->boundary [all...] |
/haiku/src/system/kernel/device_manager/ |
H A D | dma_resources.cpp | 129 restrictions.boundary = (generic_size_t)value + 1; 193 "boundary %" B_PRIuGENADDR ", max transfer %" B_PRIuGENADDR 197 fRestrictions.boundary, fRestrictions.max_transfer_size, 254 physicalRestrictions.boundary = fRestrictions.boundary; 293 if (fRestrictions.boundary > 0) { 294 generic_addr_t baseBoundary = base / fRestrictions.boundary; 296 != (base + (length - 1)) / fRestrictions.boundary) { 297 length = (baseBoundary + 1) * fRestrictions.boundary - base; 337 Takes care of boundary, an [all...] |
H A D | dma_resources.h | 28 generic_size_t boundary; member in struct:dma_restrictions
|
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/include/ |
H A D | acmacros.h | 347 #define ACPI_ROUND_DOWN(value, boundary) (((ACPI_SIZE)(value)) & \ 348 (~(((ACPI_SIZE) boundary)-1))) 350 #define ACPI_ROUND_UP(value, boundary) ((((ACPI_SIZE)(value)) + \ 351 (((ACPI_SIZE) boundary)-1)) & \ 352 (~(((ACPI_SIZE) boundary)-1))) 371 #define ACPI_ROUND_UP_TO(value, boundary) (((value) + ((boundary)-1)) / (boundary))
|
/haiku/headers/private/kernel/vm/ |
H A D | vm_types.h | 59 phys_size_t boundary; member in struct:physical_address_restrictions
|
/haiku/src/system/kernel/vm/ |
H A D | vm_page.cpp | 3858 \c boundary, multiples of which the page run must not cross. 3889 // compute the boundary mask 3891 if (restrictions->boundary != 0) { 3892 page_num_t boundary = restrictions->boundary / B_PAGE_SIZE; local 3893 // boundary must be a power of two and not less than alignment and 3895 ASSERT(((boundary - 1) & boundary) == 0); 3896 ASSERT(boundary >= alignmentMask + 1); 3897 ASSERT(boundary > [all...] |
/haiku/src/libs/compat/freebsd_network/compat/machine/x86/ |
H A D | bus.h | 172 bus_size_t boundary, int flags, bus_addr_t *addrp,
|
/haiku/src/tests/system/kernel/device_manager/ |
H A D | dma_resource_test.cpp | 117 B_PRIxGENADDR ", align %" B_PRIuGENADDR ", boundary %" B_PRIuGENADDR 121 restrictions.alignment, restrictions.boundary, 705 0, // boundary 772 0, // boundary 798 0, // boundary 842 1024, // boundary 849 TestSuite suite(context, "boundary", restrictions, 512); 869 0, // boundary 911 0, // boundary 943 512, // boundary [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/ |
H A D | if_bge.c | 2915 * 4GB boundary crossed. Limit maximum allowable DMA 2922 device_printf(sc->bge_dev, "4GB boundary crossed, " 2937 bus_size_t boundary, sbsz, rxmaxsegsz, txsegsz, txmaxsegsz; local 3024 boundary = 0; 3026 boundary = BGE_DMA_BNDRY; 3038 1, boundary, lowaddr, BUS_SPACE_MAXADDR, NULL, 3498 * All Broadcom controllers have 4GB boundary DMA bug. 3499 * Whenever an address crosses a multiple of the 4GB boundary 5280 * a 4GB boundary. If we encounter the condition, drop the
|