/osnet-11/usr/src/lib/libmapmalloc/common/ |
H A D | valloc.c | 45 * memalign(align,nbytes) - do nothing 50 memalign(size_t align, size_t nbytes) argument
|
H A D | textmem.c | 90 static size_t align(size_t, int); 112 size = align(size, MINSZ); 130 size_t totpage = align(totsize, pagesize); 171 size = align(size, MINSZ); 217 align(size_t size, int bound) function
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/ |
H A D | mm.c | 66 grub_memalign (grub_size_t align, grub_size_t size) argument 71 if (align < sizeof (void *)) 72 align = sizeof (void *); 73 if (posix_memalign (&p, align, size) != 0) 76 p = memalign (align, size); 78 (void) align;
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/ |
H A D | pci.c | 32 grub_memalign_dma32 (grub_size_t align, grub_size_t size) argument 35 if (align < 64) 36 align = 64; 37 size = ALIGN_UP (size, align); 38 ret = grub_memalign (align, size);
|
/osnet-11/usr/src/grub/grub2/grub-core/mmap/i386/ |
H A D | mmap.c | 31 grub_mmap_malign_and_register (grub_uint64_t align, grub_uint64_t size, argument 47 && highestlow < ((end - size) - ((end - size) & (align - 1)))) 48 highestlow = (end - size) - ((end - size) & (align - 1)); 60 ret = grub_memalign (align, size);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | memalign.c | 41 * memalign(align, nbytes) 62 memalign(size_t align, size_t nbytes) argument 82 if (nbytes == 0 || _misaligned(align) || align == 0 || 83 align > MAX_ALIGN) { 106 ROUND(align); 107 while (align < MINSIZE + WORDSIZE) 108 align <<= 1; 109 reqsize = nbytes + align + (MINSIZE + WORDSIZE); 135 if (x % align ! [all...] |
/osnet-11/usr/src/lib/efcode/packages/ |
H A D | memalloc.c | 44 int align; local 51 align = POP(DS); 53 fc_int2cell(align), fc_size2cell(size), fc_ptr2cell(hint), &vaddr);
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/sparc64/ieee1275/ |
H A D | ieee1275.c | 32 grub_ieee1275_cell_t align; member in struct:claim_vaddr_args 42 args.align = 0; 54 grub_uint32_t align) 62 grub_ieee1275_cell_t align; member in struct:alloc_physmem_args 77 if (!align) 78 align = 1; 83 args.align = (align ? align : 1); 53 grub_ieee1275_alloc_physmem(grub_addr_t *paddr, grub_size_t size, grub_uint32_t align) argument
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | inet6_opt.c | 69 socklen_t len, uint_t align, void **databufp) 75 if (align > len || 76 (align != 1 && align != 2 && align != 4 && align != 8) || 91 remainder = (offset + 2 + len) % align; 95 padbytes = align - remainder; 68 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type, socklen_t len, uint_t align, void **databufp) argument
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_buf.c | 86 const void *buf, size_t len, size_t align) 89 size_t adj = roundup(off, align) - off; 127 const dt_buf_t *src, size_t align) 134 (size_t)(src->dbu_ptr - src->dbu_buf), align); 139 dt_buf_offset(const dt_buf_t *bp, size_t align) argument 142 return (roundup(off, align)); 85 dt_buf_write(dtrace_hdl_t *dtp, dt_buf_t *bp, const void *buf, size_t len, size_t align) argument 126 dt_buf_concat(dtrace_hdl_t *dtp, dt_buf_t *dst, const dt_buf_t *src, size_t align) argument
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | rpool.c | 34 char align[SM_ALIGN_SIZE]; member in union:__anon138
|
/osnet-11/usr/src/lib/libast/common/vmalloc/ |
H A D | vmlast.c | 392 static Void_t* lastalign(Vmalloc_t* vm, size_t size, size_t align) argument 394 static Void_t* lastalign(vm, size, align) 397 size_t align; 407 if(size <= 0 || align <= 0) 419 orgalign = align; 423 align = MULTIPLE(align,ALIGN); 425 s = size + align; 436 if((s = (size_t)(VLONG(data)%align)) != 0) 437 data += align [all...] |
H A D | vmpool.c | 337 static Void_t* poolalign(Vmalloc_t* vm, size_t size, size_t align) argument 339 static Void_t* poolalign(vm, size, align) 342 size_t align; 347 NOTUSED(align);
|
/osnet-11/usr/src/lib/libparted/common/libparted/cs/ |
H A D | natmath.c | 128 ped_alignment_init (PedAlignment* align, PedSector offset, PedSector grain_size) argument 130 PED_ASSERT (align != NULL, return 0); 136 align->offset = abs_mod (offset, grain_size); 138 align->offset = offset; 139 align->grain_size = grain_size; 151 PedAlignment* align; local 153 align = (PedAlignment*) ped_malloc (sizeof (PedAlignment)); 154 if (!align) 157 if (!ped_alignment_init (align, offset, grain_size)) 160 return align; 172 ped_alignment_destroy(PedAlignment* align) argument 181 ped_alignment_duplicate(const PedAlignment* align) argument 344 _closest_inside_geometry(const PedAlignment* align, const PedGeometry* geom, PedSector sector) argument 379 ped_alignment_align_up(const PedAlignment* align, const PedGeometry* geom, PedSector sector) argument 407 ped_alignment_align_down(const PedAlignment* align, const PedGeometry* geom, PedSector sector) argument 448 ped_alignment_align_nearest(const PedAlignment* align, const PedGeometry* geom, PedSector sector) argument 464 ped_alignment_is_aligned(const PedAlignment* align, const PedGeometry* geom, PedSector sector) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/kern/ |
H A D | mm.c | 149 grub_real_malloc (grub_mm_header_t *first, grub_size_t n, grub_size_t align) 163 extra = ((grub_addr_t) (p + 1) >> GRUB_MM_ALIGN_LOG2) % align; 165 extra = align - extra; 175 extra += (p->size - extra - n) & (~(align - 1)); 191 else if (align == 1 || p->size == n + extra) 282 grub_memalign (grub_size_t align, grub_size_t size) 291 align = (align >> GRUB_MM_ALIGN_LOG2); 292 if (align == 0) 293 align 148 grub_real_malloc(grub_mm_header_t *first, grub_size_t n, grub_size_t align) argument 281 grub_memalign(grub_size_t align, grub_size_t size) argument 558 grub_debug_memalign(const char *file, int line, grub_size_t align, grub_size_t size) argument [all...] |
/osnet-11/usr/src/lib/libumem/common/ |
H A D | malloc.c | 139 memalign(size_t align, size_t size_arg) argument 149 if (size_arg == 0 || align == 0 || (align & (align - 1)) != 0) { 157 if (align <= UMEM_ALIGN || 158 (align <= UMEM_SECOND_ALIGN && size_arg >= UMEM_SECOND_ALIGN)) 167 ASSERT(overhead <= align); 170 phase = align - overhead; 182 buf = vmem_xalloc(umem_memalign_arena, size, align, phase, 186 if ((size_arg + align) < [all...] |
/osnet-11/usr/src/lib/libresolv/ |
H A D | res_gethost.c | 74 } align; variable in typeref:union:__anon2413 193 bp += sizeof (align) - ((u_long)bp % sizeof (align));
|
/osnet-11/usr/src/lib/libparted/common/libparted/ |
H A D | device.c | 516 PedAlignment *align = NULL; local 519 align = ped_architecture->dev_ops->get_minimum_alignment(dev); 521 if (align == NULL) 522 align = ped_alignment_new(0, 525 return align; 542 PedAlignment *align = NULL; local 545 align = ped_architecture->dev_ops->get_optimum_alignment(dev); 549 if (align == NULL) { 552 align = ped_device_get_minimum_alignment(dev); 556 align [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/ |
H A D | calc.c | 175 calc_sizes (PedSector size, PedSector align, FatType fat_type, argument 189 - align; 230 fat_calc_sizes (PedSector size, PedSector align, FatType fat_type, argument 244 if (calc_sizes (size, align, fat_type, root_dir_sectors, 255 if (calc_sizes (size, align, fat_type, root_dir_sectors, 268 if (calc_sizes (size, align, fat_type, root_dir_sectors, 286 PedSector align, 303 if (calc_sizes (geom->length, align, fat_type, root_dir_sectors, 329 PedSector align; local 344 align 284 fat_calc_resize_sizes( const PedGeometry* geom, PedSector align, FatType fat_type, PedSector root_dir_sectors, PedSector cluster_sectors, PedSector* out_cluster_sectors, FatCluster* out_cluster_count, PedSector* out_fat_size) argument [all...] |
/osnet-11/usr/src/lib/efcode/gp2/ |
H A D | gp2.c | 203 fstack_t portid, bar, align, type, size_hi, size_lo; local 212 align = POP(DS); 218 fc_int2cell(portid), fc_int2cell(bar), fc_int2cell(align), 227 (int)bar, (int)align, (int)type, (int)size_hi, (int)size_lo,
|
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/ |
H A D | gui_label.c | 53 enum align_mode align; member in struct:grub_gui_label 94 if (self->align == align_left) 96 else if (self->align == align_center) 99 else if (self->align == align_right) 193 else if (grub_strcmp (name, "align") == 0) 200 self->align = i; /* Set the alignment mode. */ 254 label->align = align_left;
|
/osnet-11/usr/src/grub/grub2/grub-core/loader/powerpc/ieee1275/ |
H A D | linux.c | 54 grub_size_t align) 64 addr = ALIGN_UP (addr, align); 65 target = ALIGN_UP (target, align); 156 grub_uint32_t align; local 160 linux_size = grub_elf32_size (elf, &base_addr, &align); 176 seg_addr = grub_linux_claimmap_iterate (base_addr & ~ELF32_LOADMASK, linux_size, align); 204 grub_uint64_t align; local 208 linux_size = grub_elf64_size (elf, &base_addr, &align); 222 seg_addr = grub_linux_claimmap_iterate (base_addr & ~ELF64_LOADMASK, linux_size, align); 53 grub_linux_claimmap_iterate(grub_addr_t target, grub_size_t size, grub_size_t align) argument
|
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | macho.h | 41 grub_uint32_t align; member in struct:grub_macho_fat_arch
|
/osnet-11/usr/src/lib/nsswitch/dns/common/ |
H A D | gethostent.c | 68 } align; typedef in typeref:union:__anon2776
|
H A D | gethostent6.c | 61 } align; typedef in typeref:union:__anon2777
|