Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 25 of 541) sorted by last modified time

12345678910>>...22

/freebsd/sys/dev/nvme/
H A Dnvme_ns.c51 uint32_t alignment);
56 uint32_t alignment,
60 uint32_t alignment);
364 nvme_construct_child_bios(struct bio *bp, uint32_t alignment, int *num_bios) in nvme_construct_child_bios() argument
376 alignment); in nvme_construct_child_bios()
395 alignment - (cur_offset & (alignment - 1))); in nvme_construct_child_bios()
421 uint32_t alignment) in nvme_ns_split_bio() argument
427 child_bios = nvme_construct_child_bios(bp, alignment, &num_bios); in nvme_ns_split_bio()
/freebsd/share/mk/
H A Dbsd.sys.mk284 CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3
/freebsd/sys/vm/
H A Dvm_extern.h63 vm_paddr_t low, vm_paddr_t high, u_long alignment, vm_paddr_t boundary,
66 int flags, vm_paddr_t low, vm_paddr_t high, u_long alignment,
143 vm_addr_align_ok(vm_paddr_t pa, u_long alignment) in vm_addr_align_ok() argument
145 KASSERT(powerof2(alignment), ("%s: alignment is not a power of 2: %#lx", in vm_addr_align_ok()
146 __func__, alignment)); in vm_addr_align_ok()
147 return ((pa & (alignment - 1)) == 0); in vm_addr_align_ok()
163 vm_addr_ok(vm_paddr_t pa, vm_paddr_t size, u_long alignment, in vm_addr_ok() argument
166 return (vm_addr_align_ok(pa, alignment) && in vm_addr_ok()
/freebsd/contrib/unbound/doc/
H A DChangelog2341 - Merge PR #234 - Ensure proper alignment of cmsg buffers by Jérémie
5751 - Fix cmsg alignment for argument to sendmsg on NetBSD.
7233 - Fix alignment problem in util/random on sparc64/freebsd.
8314 - fix for memory alignment in struct sock_list allocation.
9145 - use _beginthreadex() when available (performs stack alignment).
11353 - alignment problem fix on solaris 64.
11505 - Port to OS/X and Dec Alpha. Printf format and alignment fixes.
11652 - Improved alignment of reply_info packet, nice for 32 and 64 bit.
/freebsd/contrib/unbound/
H A Dconfigure3013 "Anonymous union alignment botch");
/freebsd/sys/powerpc/powerpc/
H A Dbusdma_machdep.c66 bus_size_t alignment; member
102 #define dmat_alignment(dmat) ((dmat)->alignment)
126 if (!vm_addr_align_ok(paddr, dmat->alignment)) in must_bounce()
171 newtag->alignment = alignment; in bus_dma_tag_create()
205 if (newtag->alignment > 1) in bus_dma_tag_create()
250 t->alignment = dmat->alignment; in bus_dma_template_clone()
329 if (dmat->alignment > 1) in bus_dmamap_create()
428 (dmat->alignment <= dmat->maxsize) && in bus_dmamem_alloc()
440 dmat->lowaddr, dmat->alignment ? dmat->alignment : 1ul, in bus_dmamem_alloc()
482 dmat->boundary, dmat->alignment); in _bus_dmamap_count_phys()
[all …]
/freebsd/sys/riscv/riscv/
H A Dbusdma_bounce.c113 #define dmat_alignment(dmat) ((dmat)->common.alignment)
130 bounce_bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, in bounce_bus_dma_tag_create() argument
162 newtag->common.alignment > 1) in bounce_bus_dma_tag_create()
288 if (dmat->common.alignment > 1) in bounce_bus_dmamap_create()
429 (dmat->common.alignment <= dmat->common.maxsize) && in bounce_bus_dmamem_alloc()
435 dmat->common.alignment <= PAGE_SIZE && in bounce_bus_dmamem_alloc()
443 0ul, dmat->common.lowaddr, dmat->common.alignment != 0 ? in bounce_bus_dmamem_alloc()
444 dmat->common.alignment : 1ul, dmat->common.boundary, attr); in bounce_bus_dmamem_alloc()
526 dmat->common.boundary, dmat->common.alignment); in _bus_dmamap_count_pages()
545 dmat->common.alignment); in _bus_dmamap_count_pages()
[all …]
/freebsd/sys/x86/x86/
H A Dbusdma_bounce.c204 newtag->common.alignment > 1) in bounce_bus_dma_tag_create()
320 if (dmat->common.alignment > 1) in bounce_bus_dmamap_create()
436 dmat->common.alignment <= PAGE_SIZE && in bounce_bus_dmamem_alloc()
440 dmat->common.alignment, M_DEVBUF, in bounce_bus_dmamem_alloc()
446 (uintmax_t)dmat->common.alignment)); in bounce_bus_dmamem_alloc()
450 dmat->common.alignment <= PAGE_SIZE && in bounce_bus_dmamem_alloc()
461 dmat->common.alignment != 0 ? dmat->common.alignment : 1ul, in bounce_bus_dmamem_alloc()
574 dmat->common.alignment); in _bus_dmamap_count_pages()
610 dmat->common.alignment); in _bus_dmamap_count_ma()
612 dmat->common.alignment), in _bus_dmamap_count_ma()
[all …]
/freebsd/sys/kern/
H A Dsubr_busdma_bounce.c80 bus_size_t alignment; member
182 if ((dmat_alignment(dmat) <= bz->alignment) && in alloc_bounce_zone()
202 bz->alignment = MAX(dmat_alignment(dmat), PAGE_SIZE); in alloc_bounce_zone()
253 "alignment", CTLFLAG_RD, &bz->alignment, ""); in alloc_bounce_zone()
/freebsd/sys/arm/arm/
H A Dbusdma_machdep.c80 bus_size_t alignment; member
170 #define dmat_alignment(dmat) ((dmat)->alignment)
279 return (!vm_addr_align_ok(addr, dmat->alignment)); in alignment_bounce()
322 dmat->alignment <= PAGE_SIZE, in might_bounce()
325 __func__, dmat->alignment)); in might_bounce()
375 KASSERT(alignment != 0 && powerof2(alignment), in bus_dma_tag_create()
394 newtag->alignment = alignment; in bus_dma_tag_create()
416 newtag->alignment = MAX(parent->alignment, newtag->alignment); in bus_dma_tag_create()
483 t->alignment = dmat->alignment; in bus_dma_template_clone()
722 dmat->alignment <= PAGE_SIZE && in bus_dmamem_alloc()
[all …]
/freebsd/sys/arm64/arm64/
H A Dbusdma_bounce.c123 #define dmat_alignment(dmat) ((dmat)->common.alignment)
280 newtag->alloc_alignment = newtag->common.alignment; in bounce_bus_dma_tag_create()
296 newtag->common.alignment > 1) in bounce_bus_dma_tag_create()
427 if (dmat->common.alignment > 1) in bounce_bus_dmamap_create()
688 dmat->common.boundary, dmat->common.alignment); in _bus_dmamap_count_pages()
707 dmat->common.alignment); in _bus_dmamap_count_pages()
757 KASSERT(dmat->common.alignment <= PAGE_SIZE, in bounce_bus_dmamap_load_phys()
759 "than PAGE_SIZE: %lu", dmat->common.alignment)); in bounce_bus_dmamap_load_phys()
814 dmat->common.alignment <= PAGE_SIZE, in bounce_bus_dmamap_load_buffer()
865 KASSERT(dmat->common.alignment <= PAGE_SIZE, in bounce_bus_dmamap_load_buffer()
[all …]
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/
H A Dp3041ds.dts69 alignment = <0 0x1000000>;
73 alignment = <0 0x400000>;
77 alignment = <0 0x2000000>;
H A Dp5040ds.dts81 alignment = <0 0x1000000>;
85 alignment = <0 0x400000>;
89 alignment = <0 0x2000000>;
H A Dt4240qds.dts330 alignment = <0 0x1000000>;
334 alignment = <0 0x400000>;
338 alignment = <0 0x2000000>;
/freebsd/sys/contrib/device-tree/src/arm64/ti/
H A Dk3-am68-sk-som.dtsi127 alignment = <0x1000>;
H A Dk3-j7200-som-p0.dtsi25 alignment = <0x1000>;
79 alignment = <0x1000>;
H A Dk3-j721e-beagleboneai64.dts164 alignment = <0x1000>;
H A Dk3-j721e-sk.dts46 alignment = <0x1000>;
160 alignment = <0x1000>;
H A Dk3-j721e-som-p0.dtsi27 alignment = <0x1000>;
141 alignment = <0x1000>;
H A Dk3-j721s2-som-p0.dtsi29 alignment = <0x1000>;
131 alignment = <0x1000>;
H A Dk3-am642-sk.dts50 alignment = <0x1000>;
104 alignment = <0x1000>;
H A Dk3-am642-tqma64xxl.dtsi30 alignment = <0x1000>;
84 alignment = <0x1000>;
H A Dk3-am65-iot2050-common.dtsi45 alignment = <0x1000>;
75 alignment = <0x1000>;
H A Dk3-am654-base-board.dts48 alignment = <0x1000>;
78 alignment = <0x1000>;
H A Dk3-am62x-sk-common.dtsi53 alignment = <0x1000>;
59 alignment = <0x1000>;

12345678910>>...22