Searched refs:alignment (Results 51 - 75 of 250) sorted by relevance

12345678910

/freebsd-10-stable/sys/dev/nvme/
H A Dnvme_ns.c52 uint32_t alignment);
57 uint32_t alignment,
61 uint32_t alignment);
293 KASSERT((align & (align - 1)) == 0, ("alignment not power of 2\n"));
341 nvme_construct_child_bios(struct bio *bp, uint32_t alignment, int *num_bios) argument
355 alignment);
376 alignment - (cur_offset & (alignment - 1)));
405 uint32_t alignment)
411 child_bios = nvme_construct_child_bios(bp, alignment,
404 nvme_ns_split_bio(struct nvme_namespace *ns, struct bio *bp, uint32_t alignment) argument
[all...]
/freebsd-10-stable/contrib/jemalloc/include/jemalloc/
H A Djemalloc.h49 JEMALLOC_EXPORT int je_posix_memalign(void **memptr, size_t alignment,
51 JEMALLOC_EXPORT void *je_aligned_alloc(size_t alignment, size_t size)
57 JEMALLOC_EXPORT void * je_memalign(size_t alignment, size_t size)
/freebsd-10-stable/sys/dev/pms/RefTisa/tisa/sassata/sas/ini/
H A Ditdinit.c131 iniMem->tdCachedMem[0].alignment = sizeof (void *); /* 4 bytes */
148 iniMem->tdCachedMem[i].alignment = 0;
171 initiatorResource->initiatorOption.dynamicDmaMem.alignment = 0;
177 initiatorResource->initiatorOption.dynamicCachedMem.alignment = 0;
198 initiatorResource->initiatorOption.dynamicDmaMem.alignment = sizeof(void *);
215 initiatorResource->initiatorOption.dynamicCachedMem.alignment = sizeof(void *);
/freebsd-10-stable/sbin/geom/class/part/
H A Dgeom_part.c96 { 'a', "alignment", GPART_AUTOFILL, G_TYPE_STRING },
104 "-t type [-a alignment] [-b start] [-s size] [-i index] "
173 { 'a', "alignment", GPART_AUTOFILL, G_TYPE_STRING },
178 "-i index [-a alignment] [-s size] [-f flags] geom"
314 off_t lba, new_lba, alignment, offset; local
341 s = gctl_get_ascii(req, "alignment");
343 alignment = 1;
345 error = g_parse_lba(s, pp->lg_sectorsize, &alignment);
347 errc(EXIT_FAILURE, error, "Invalid alignment param");
348 if (alignment
438 off_t lba, len, alignment, offset; local
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Expression/
H A DIRMemoryMap.h52 lldb::addr_t Malloc (size_t size, uint8_t alignment, uint32_t permissions, AllocationPolicy policy, Error &error);
86 uint8_t m_alignment; ///< The alignment of the requested allocation
97 uint8_t alignment,
H A DClangExpressionDeclMap.h159 /// @param[in] alignment
160 /// The required alignment of the variable in bytes.
170 off_t alignment);
192 /// @param[out] alignment
193 /// The alignment of the struct, in bytes.
201 off_t &alignment);
223 /// alignment, this offset will align the field correctly.
464 off_t m_struct_alignment; ///< The alignment of the struct in bytes.
/freebsd-10-stable/sys/x86/x86/
H A Dbusdma_bounce.c99 bus_size_t alignment; member in struct:bounce_zone
159 bounce_bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, argument
170 NULL, alignment, boundary, lowaddr, highaddr, filter, filterarg,
185 newtag->common.alignment > 1)
284 * exclusion region, a data alignment that is stricter than 1, and/or
310 if (dmat->common.alignment > 1)
406 * - The alignment is less than or equal to the maximum size
412 * - The alignment constraint isn't larger than a page boundary.
417 * NOTE: The (dmat->common.alignment <= dmat->maxsize) check
418 * below is just a quick hack. The exact alignment guarantee
[all...]
/freebsd-10-stable/contrib/groff/src/preproc/eqn/
H A Dbox.h91 enum alignment { LEFT_ALIGN, RIGHT_ALIGN, CENTER_ALIGN }; enum
94 alignment align;
98 void set_alignment(alignment);
114 void set_alignment(alignment a) { col.set_alignment(a); }
/freebsd-10-stable/sys/contrib/octeon-sdk/
H A Dcvmx-malloc.h119 * allocate a buffer with a specified alignment
122 * @param alignment alignment of buffer. Must be a power of 2
128 void *cvmx_memalign(cvmx_arena_list_t arena_list, size_t alignment, size_t bytes);
191 * @param align alignment of buffers (must be power of 2)
193 * must be a multiple of the requested alignment for all
194 * buffers to have the requested alignment.
/freebsd-10-stable/sys/dev/firewire/
H A Dfwdma.c76 fwdma_malloc(struct firewire_comm *fc, int alignment, bus_size_t size, argument
84 /*alignment*/ alignment,
154 fwdma_malloc_multiseg(struct firewire_comm *fc, int alignment, argument
182 /*alignment*/ alignment,
/freebsd-10-stable/sys/powerpc/pseries/
H A Dplpar_iommu.c160 bus_addr_t min, bus_addr_t max, bus_size_t alignment, bus_addr_t boundary,
181 (alignment < PAGE_SIZE) ? PAGE_SIZE : alignment, 0,
189 alignment == 0,
190 ("Allocated segment does not match alignment constraint"));
159 phyp_iommu_map(device_t dev, bus_dma_segment_t *segs, int *nsegs, bus_addr_t min, bus_addr_t max, bus_size_t alignment, bus_addr_t boundary, void *cookie) argument
/freebsd-10-stable/sys/dev/pms/RefTisa/discovery/api/
H A Ddm.h128 bit32 alignment; member in struct:__anon2
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessingRecord.h35 unsigned alignment = 8) throw();
101 unsigned alignment = 8) throw() {
102 return ::operator new(bytes, PR, alignment);
110 unsigned alignment) throw() {
111 return ::operator delete(ptr, PR, alignment);
600 unsigned alignment) throw() {
601 return PR.Allocate(bytes, alignment);
109 operator delete(void* ptr, PreprocessingRecord& PR, unsigned alignment) argument
599 operator new(size_t bytes, clang::PreprocessingRecord& PR, unsigned alignment) argument
/freebsd-10-stable/sys/dev/drm/
H A Ddrm_sman.c90 unsigned alignment)
95 tmp = drm_mm_search_free(mm, size, alignment, 1);
100 tmp = drm_mm_get_block_atomic(tmp, size, alignment);
198 unsigned long size, unsigned alignment,
209 tmp = sman_mm->allocate(sman_mm->private, size, alignment);
89 drm_sman_mm_allocate(void *private, unsigned long size, unsigned alignment) argument
197 drm_sman_alloc(struct drm_sman *sman, unsigned int manager, unsigned long size, unsigned alignment, unsigned long owner) argument
H A Ddrm_bufs.c233 /* Unfortunately, we don't get any alignment specification from
235 * a power-of-two alignment, so try to align the bus address of
237 * PAGE_SIZE alignment.
420 int alignment; local
431 alignment = (request->flags & _DRM_PAGE_ALIGN)
443 DRM_DEBUG("alignment: %d\n", alignment);
483 buf->total = alignment;
504 offset += alignment;
549 int alignment; local
699 int alignment; local
[all...]
/freebsd-10-stable/sys/arm/arm/
H A Dbusdma_machdep.c91 bus_size_t alignment; member in struct:bus_dma_tag
150 bus_size_t alignment; member in struct:bounce_zone
306 || ((paddr & (dmat->alignment - 1)) != 0))
406 bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, argument
428 newtag->alignment = alignment ? alignment : 1;
488 || newtag->alignment > 1)
603 * exclusion region, a data alignment that is stricter than 1, and/or
739 * - The alignment constrain
[all...]
/freebsd-10-stable/sys/mips/mips/
H A Dbusdma_machdep.c69 bus_size_t alignment; member in struct:bus_dma_tag
115 bus_size_t alignment; member in struct:bounce_zone
196 || ((paddr & (dmat->alignment - 1)) != 0))
321 bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, argument
343 newtag->alignment = alignment;
393 || newtag->alignment > 1)
501 * exclusion region, a data alignment that is stricter than 1, and/or
629 (dmat->alignment < dmat->maxsize) &&
641 0ul, dmat->lowaddr, dmat->alignment
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Expression/
H A DIRMemoryMap.cpp207 uint8_t alignment,
213 m_alignment (alignment),
235 IRMemoryMap::Malloc (size_t size, uint8_t alignment, uint32_t permissions, AllocationPolicy policy, Error &error) argument
243 size_t alignment_mask = alignment - 1;
247 allocation_size = alignment;
249 allocation_size = (size & alignment_mask) ? ((size + alignment) & (~alignment_mask)) : size;
313 lldb::addr_t mask = alignment - 1;
320 alignment,
345 (uint64_t)alignment,
203 Allocation(lldb::addr_t process_alloc, lldb::addr_t process_start, size_t size, uint32_t permissions, uint8_t alignment, AllocationPolicy policy) argument
/freebsd-10-stable/sys/dev/ata/
H A Data-dma.c81 if (ch->dma.alignment == 0)
82 ch->dma.alignment = 2;
94 if (bus_dma_tag_create(bus_get_dma_tag(dev), ch->dma.alignment, 0,
191 ch->dma.alignment, ch->dma.boundary,
286 if (request->bytecount & (ch->dma.alignment - 1)) {
289 request->bytecount, ch->dma.alignment);
/freebsd-10-stable/contrib/gdb/gdb/
H A Dui-out.c38 int alignment; member in struct:ui_out_hdr
264 int alignment, const char *col_name,
267 int *alignment, char **colhdr);
340 ui_out_table_header (struct ui_out *uiout, int width, enum ui_align alignment, argument
349 append_header_to_list (uiout, width, alignment, col_name, colhdr);
351 uo_table_header (uiout, width, alignment, col_name, colhdr);
767 default_table_header (struct ui_out *uiout, int width, enum ui_align alignment, argument
1022 int alignment,
1030 temphdr->alignment = alignment;
1020 append_header_to_list(struct ui_out *uiout, int width, int alignment, const char *col_name, const char *colhdr) argument
1060 get_next_header(struct ui_out *uiout, int *colno, int *width, int *alignment, char **colhdr) argument
[all...]
/freebsd-10-stable/contrib/gdb/include/
H A Dobstack.h177 int alignment_mask; /* Mask of alignment for each object. */
308 # define obstack_specify_allocation(h, size, alignment, chunkfun, freefun) \
309 _obstack_begin ((h), (size), (alignment), \
312 # define obstack_specify_allocation_with_arg(h, size, alignment, chunkfun, freefun, arg) \
313 _obstack_begin_1 ((h), (size), (alignment), \
333 # define obstack_specify_allocation(h, size, alignment, chunkfun, freefun) \
334 _obstack_begin ((h), (size), (alignment), \
337 # define obstack_specify_allocation_with_arg(h, size, alignment, chunkfun, freefun, arg) \
338 _obstack_begin_1 ((h), (size), (alignment), \
421 /* These assume that the obstack alignment i
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DRecordLayout.h81 /// NonVirtualAlign - The non-virtual alignment (in chars) of an object,
82 /// which is the alignment of the object without virtual bases.
103 /// AlignAfterVBases - Force appropriate alignment after virtual bases are
129 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment,
136 CharUnits size, CharUnits alignment,
158 /// getAlignment - Get the record alignment in characters.
188 /// getNonVirtualSize - Get the non-virtual alignment (in chars) of an object,
189 /// which is the alignment of the object without virtual bases.
/freebsd-10-stable/gnu/usr.bin/grep/
H A Dobstack.h170 int alignment_mask; /* Mask of alignment for each object. */
302 # define obstack_specify_allocation(h, size, alignment, chunkfun, freefun) \
303 _obstack_begin ((h), (size), (alignment), \
306 # define obstack_specify_allocation_with_arg(h, size, alignment, chunkfun, freefun, arg) \
307 _obstack_begin_1 ((h), (size), (alignment), \
327 # define obstack_specify_allocation(h, size, alignment, chunkfun, freefun) \
328 _obstack_begin ((h), (size), (alignment), \
331 # define obstack_specify_allocation_with_arg(h, size, alignment, chunkfun, freefun, arg) \
332 _obstack_begin_1 ((h), (size), (alignment), \
415 /* These assume that the obstack alignment i
[all...]
/freebsd-10-stable/sys/arm/xscale/i80321/
H A Di80321_space.c162 bus_size_t size, bus_size_t alignment, bus_size_t boundary, int flags,
197 bus_size_t size, bus_size_t alignment, bus_size_t boundary, int flags,
161 i80321_io_bs_alloc(bus_space_tag_t tag, bus_addr_t rstart, bus_addr_t rend, bus_size_t size, bus_size_t alignment, bus_size_t boundary, int flags, bus_addr_t *bpap, bus_space_handle_t *bshp) argument
196 i80321_mem_bs_alloc(bus_space_tag_t tag, bus_addr_t rstart, bus_addr_t rend, bus_size_t size, bus_size_t alignment, bus_size_t boundary, int flags, bus_addr_t *bpap, bus_space_handle_t *bshp) argument
/freebsd-10-stable/sys/dev/ixl/
H A Di40e_osdep.c67 enum i40e_memory_type type __unused, u64 size, u32 alignment)
74 alignment, 0, /* alignment, bounds */
66 i40e_allocate_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem, enum i40e_memory_type type __unused, u64 size, u32 alignment) argument

Completed in 157 milliseconds

12345678910