HomeSort by: relevance | last modified time | path
    Searched defs:alignment (Results 1 - 25 of 237) sorted by relevancy

1 2 3 4 5 6 7 8 910

  /src/external/bsd/elftoolchain/dist/libelf/
elf_strptr.c 55 uint64_t alignment, count; local
100 * by alignment requirements.
113 if ((alignment = d->d_align) > 1) {
114 if ((alignment & (alignment - 1)) != 0) {
118 count = roundup2(count, alignment);
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_premap_shadow.cc 37 uptr alignment = granularity * 8; local
40 uptr map_size = shadow_size + left_padding + alignment;
45 uptr shadow_start = RoundUpTo(map_start + left_padding, alignment);
asan_linux.cc 123 uptr alignment = granularity * 8; local
126 uptr map_size = shadow_size + left_padding + alignment;
131 uptr shadow_start = RoundUpTo(map_start + left_padding, alignment);
  /src/external/bsd/jemalloc/dist/test/integration/
aligned_alloc.c 17 size_t alignment; local
20 alignment = 0;
22 p = aligned_alloc(alignment, 1);
24 "Expected error for invalid alignment %zu", alignment);
26 for (alignment = sizeof(size_t); alignment < MAXALIGN;
27 alignment <<= 1) {
29 p = aligned_alloc(alignment + 1, 1);
31 "Expected error for invalid alignment %zu"
49 size_t alignment, size; local
97 size_t alignment, size, total; local
    [all...]
posix_memalign.c 17 size_t alignment; local
20 for (alignment = 0; alignment < sizeof(void *); alignment++) {
21 expect_d_eq(posix_memalign(&p, alignment, 1), EINVAL,
22 "Expected error for invalid alignment %zu",
23 alignment); local
26 for (alignment = sizeof(size_t); alignment < MAXALIGN;
27 alignment <<= 1)
30 alignment + 1); local
36 size_t alignment, size; local
48 alignment, size); local
59 alignment, size); local
69 alignment, size); local
75 size_t alignment, size, total; local
    [all...]
sdallocx.c 13 size_t nsz, sz, alignment, total; local
21 for (alignment = 8;
22 alignment <= MAXALIGN;
23 alignment <<= 1) {
26 sz < 3 * alignment && sz < (1U << 31);
27 sz += (alignment >> (LG_SIZEOF_PTR-1)) - 1) {
29 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) |
31 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) |
41 MALLOCX_ALIGN(alignment));
mallocx.c 209 size_t nsz, rsz, alignment, total; local
217 for (alignment = 8;
218 alignment <= MAXALIGN;
219 alignment <<= 1) {
222 sz < 3 * alignment && sz < (1U << 31);
223 sz += (alignment >> (LG_SIZEOF_PTR-1)) - 1) {
225 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) |
228 "nallocx() error for alignment=%zu, "
229 "size=%zu (%#zx)", alignment, sz, sz);
230 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) |
    [all...]
  /src/external/bsd/jemalloc.old/dist/test/integration/
sdallocx.c 13 size_t nsz, sz, alignment, total; local
21 for (alignment = 8;
22 alignment <= MAXALIGN;
23 alignment <<= 1) {
26 sz < 3 * alignment && sz < (1U << 31);
27 sz += (alignment >> (LG_SIZEOF_PTR-1)) - 1) {
29 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) |
31 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) |
41 MALLOCX_ALIGN(alignment));
aligned_alloc.c 17 size_t alignment; local
20 alignment = 0;
22 p = aligned_alloc(alignment, 1);
24 "Expected error for invalid alignment %zu", alignment);
26 for (alignment = sizeof(size_t); alignment < MAXALIGN;
27 alignment <<= 1) {
29 p = aligned_alloc(alignment + 1, 1);
31 "Expected error for invalid alignment %zu"
49 size_t alignment, size; local
97 size_t alignment, size, total; local
    [all...]
posix_memalign.c 17 size_t alignment; local
20 for (alignment = 0; alignment < sizeof(void *); alignment++) {
21 expect_d_eq(posix_memalign(&p, alignment, 1), EINVAL,
22 "Expected error for invalid alignment %zu",
23 alignment); local
26 for (alignment = sizeof(size_t); alignment < MAXALIGN;
27 alignment <<= 1)
30 alignment + 1); local
36 size_t alignment, size; local
48 alignment, size); local
59 alignment, size); local
69 alignment, size); local
75 size_t alignment, size, total; local
    [all...]
  /src/sbin/gpt/
add.c 59 "[-a alignment] [-b blocknr] [-i index] [-l label]",
86 add(gpt_t gpt, off_t alignment, off_t block, off_t sectors, off_t size __unused,
133 if (alignment > 0) {
134 alignsecs = alignment / gpt->secsz;
168 off_t alignment = 0, block = 0, sectors = 0, size = 0; local
192 if (gpt_add_ais(gpt, &alignment, &entry, &size, ch)
211 if ((sectors = gpt_check_ais(gpt, alignment, ~0U, size)) == -1)
214 return add(gpt, alignment, block, sectors, size, entry, name, type);
resize.c 59 "[-i index | -b blocknr] [-a alignment] [-s size] [-q]",
72 resize(gpt_t gpt, u_int entry, off_t alignment, off_t sectors,
92 alignsecs = alignment / gpt->secsz;
105 if (alignment == 0 ||
106 (alignment > 0 && sectors % alignsecs == 0)) {
149 off_t alignment = 0, sectors, start = 0, size = 0; local
159 else if (gpt_add_ais(gpt, &alignment, &entry, &size, ch) == -1)
178 if ((sectors = gpt_check_ais(gpt, alignment, entry, size)) == -1)
181 return resize(gpt, entry, alignment, sectors, size, quiet);
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
watchpoint-unaligned.c 25 uint64_t alignment; member in struct:__anon20951
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
watchpoint-unaligned.c 27 uint64_t alignment; member in struct:__anon596
  /src/sys/external/bsd/drm2/dist/drm/i915/gem/
i915_gem_tiling.c 91 * i915_gem_fence_alignment - required global GTT alignment for a fence
97 * Return the required global GTT alignment for a fence (a view of a tiled
106 * Minimum alignment is 4k (GTT page size), but might be greater
170 u32 size, alignment; local
179 alignment = i915_gem_fence_alignment(i915, vma->size, tiling_mode, stride);
180 if (!IS_ALIGNED(vma->node.start, alignment))
233 * no longer meets the alignment restrictions for its new
  /src/external/bsd/jemalloc/dist/test/unit/
base.c 129 * Check for tight packing at specified alignment under simple
143 size_t alignment = alignments[i]; local
144 size_t align_ceil = ALIGNMENT_CEILING(alignment,
146 p = base_alloc(tsdn, base, 1, alignment);
151 alignment)), "Expected quantum alignment");
152 q = base_alloc(tsdn, base, alignment, alignment);
158 r = base_alloc(tsdn, base, 1, alignment);
191 * Check for proper alignment support when normal blocks are too small
201 size_t alignment = alignments[i]; local
    [all...]
cache_bin.c 88 size_t alignment; local
89 cache_bin_info_compute_alloc(info, 1, &size, &alignment);
90 void *mem = mallocx(size, MALLOCX_ALIGN(alignment));
  /src/external/gpl2/groff/dist/src/devices/grohtml/
html-table.h 37 char alignment; member in struct:tab_position
68 char alignment; member in struct:cols
  /src/external/bsd/jemalloc.old/dist/test/unit/
base.c 129 * Check for tight packing at specified alignment under simple
143 size_t alignment = alignments[i]; local
144 size_t align_ceil = ALIGNMENT_CEILING(alignment,
146 p = base_alloc(tsdn, base, 1, alignment);
151 alignment)), "Expected quantum alignment");
152 q = base_alloc(tsdn, base, alignment, alignment);
158 r = base_alloc(tsdn, base, 1, alignment);
191 * Check for proper alignment support when normal blocks are too small
201 size_t alignment = alignments[i]; local
    [all...]
cache_bin.c 88 size_t alignment; local
89 cache_bin_info_compute_alloc(info, 1, &size, &alignment);
90 void *mem = mallocx(size, MALLOCX_ALIGN(alignment));
  /src/sys/arch/hpcmips/dev/
com_hpcio.c 215 int alignment; local
218 if (!com_hpcio_common_probe(iot, iobase, &alignment)) {
222 if (alignment == COM_HPCIO_HALFWORD_ALIGNMENT) {
242 com_hpcio_common_probe(bus_space_tag_t iot, int iobase, int *alignment)
251 *alignment = COM_HPCIO_BYTE_ALIGNMENT;
263 *alignment = COM_HPCIO_HALFWORD_ALIGNMENT;
278 int addr, alignment; local
291 return com_hpcio_common_probe(iot, addr, &alignment);
303 int addr, port, mode, alignment, *loc; local
317 com_hpcio_common_probe(haa->haa_iot, addr, &alignment);
    [all...]
  /src/sys/arch/powerpc/booke/
copyin.c 283 const size_t alignment = (usaddr ^ kdaddr) & 3; local
284 if (__predict_true(alignment == 0)) {
copyout.c 381 const size_t alignment = (udaddr ^ ksaddr) & 3; local
382 if (__predict_true(alignment == 0)) {
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_noinst_test.cc 81 size_t alignment = 1 << (my_rand_r(&seed) % 10 + 1); local
82 char *ptr = (char*)__asan::asan_memalign(alignment, size,
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_vram_mgr.c 407 uint32_t alignment = mem->page_alignment; local
410 alignment = pages_per_node;
413 pages, alignment, 0,

Completed in 62 milliseconds

1 2 3 4 5 6 7 8 910