Searched refs:ALIGN (Results 1 - 17 of 17) sorted by relevance
/ast/src/cmd/dsslib/ip_t/ |
H A D | bgpsize.c | 27 #define ALIGN 16 macro 40 if (!(pad = ALIGN - fixed % ALIGN)) 41 pad = ALIGN; 46 sfprintf(sfstdout, "edit bgp.h and adjust padding dimensions to pad[%u] and data[%u] for data aligned to %d bytes and a total size of %u\n", pad, data, ALIGN, TOTAL);
|
/ast/src/cmd/tests/vmalloc/ |
H A D | tregion.c | 34 if((((Vmulong_t)addr[i])%ALIGN) != 0) 38 if((((Vmulong_t)addr[i+1])%ALIGN) != 0)
|
H A D | tlast.c | 34 if((((Vmulong_t)addr[i])%ALIGN) != 0)
|
H A D | tcompact.c | 60 if((((Vmulong_t)addr[i])%ALIGN) != 0)
|
H A D | tpool.c | 59 if((((Vmulong_t)addr[i])%ALIGN) != 0)
|
H A D | talign.c | 61 Vmdcheap->round = ALIGN;
|
/ast/src/lib/libast/vmalloc/ |
H A D | vmopen.c | 42 Vmuchar_t a[ROUND(sizeof(Vmdata_t),ALIGN)]; 46 Vmuchar_t a[ROUND(sizeof(Vmalloc_t),ALIGN)]; 50 Vmuchar_t a[ROUND(sizeof(Seg_t),ALIGN)]; 98 vd = &init->vd.vd; /**/ASSERT(VLONG(vd)%ALIGN == 0); 105 incr = MULTIPLE(incr,ALIGN); 112 algn = (size_t)(VLONG(addr)%ALIGN); 113 init = (Vminit_t*)(addr + (algn ? ALIGN-algn : 0)); /**/ASSERT(VLONG(init)%ALIGN == 0); 114 vd = &init->vd.vd; /**/ASSERT(VLONG(vd)%ALIGN == 0); 129 vd->seg = &init->seg.seg; /**/ ASSERT(VLONG(vd->seg)%ALIGN [all...] |
H A D | vmlast.c | 52 size = size < ALIGN ? ALIGN : ROUND(size,ALIGN); 174 if(!seg || (VLONG(data)%ALIGN) != 0 || 198 size = size < ALIGN ? ALIGN : ROUND(size,ALIGN); 376 size = size <= TINYSIZE ? TINYSIZE : ROUND(size,ALIGN); 377 align = MULTIPLE(align,ALIGN);
|
H A D | vmprivate.c | 60 s = size + sizeof(Seg_t) + sizeof(Block_t) + sizeof(Head_t) + 2*ALIGN; 131 if((s = (size_t)(VLONG(addr)%ALIGN)) != 0) 132 addr += ALIGN-s; 136 seg->addr = (Void_t*)(addr - (s ? ALIGN-s : 0)); 138 seg->baddr = addr + size - (s ? 2*ALIGN : 0);
|
H A D | vmhdr.h | 203 /* ALIGN is chosen so that a block can store all primitive types. 234 #undef ALIGN /* bsd sys/param.h defines this */ macro 235 #define ALIGN sizeof(struct _align_s) macro 237 /* make sure that the head of a block is a multiple of ALIGN */ 251 #define HEADSIZE ROUND(sizeof(struct _head_s),ALIGN) 257 /* now make sure that the body of a block is a multiple of ALIGN */ 264 #define BODYSIZE ROUND(sizeof(struct _body_s),ALIGN) 273 ** sizeof(Head_t)%ALIGN == 0 274 ** sizeof(Body_t)%ALIGN == 0 287 #define TINYSIZE ROUND(sizeof(struct _tiny_s),ALIGN) [all...] |
H A D | vmmopen.c | 35 #undef ALIGN /* some sys/param.h define this */ macro 45 #undef ALIGN macro 46 #define ALIGN sizeof(struct _align_s) macro 70 #define MMHEAD(file) ROUND(sizeof(Mmvm_t)+strlen(file), ALIGN) 173 size += MMHEAD(mmdc->file) + ALIGN;
|
H A D | vmstat.c | 77 { s = ROUND(s,ALIGN);
|
H A D | vmbest.c | 628 /**/ ASSERT((ALIGN%(BITS+1)) == 0 ); 629 /**/ ASSERT((sizeof(Head_t)%ALIGN) == 0 ); 630 /**/ ASSERT((sizeof(Body_t)%ALIGN) == 0 ); 631 /**/ ASSERT((BODYSIZE%ALIGN) == 0 ); 635 size = size <= BODYSIZE ? BODYSIZE : ROUND(size,ALIGN); 679 /**/ ASSERT((SIZE(tp)%ALIGN) == 0); 874 size = size <= BODYSIZE ? BODYSIZE : ROUND(size,ALIGN); 888 s = SIZE(np); /**/ASSERT(s%ALIGN == 0); 897 SIZE(rp) += (s += sizeof(Head_t)); /**/ASSERT((s%ALIGN) == 0); 1024 size = size <= BODYSIZE ? BODYSIZE : ROUND(size,ALIGN); [all...] |
H A D | vmpool.c | 71 size = ROUND(size,ALIGN); 139 size = ROUND(vd->pool,ALIGN);
|
H A D | vmdebug.c | 383 s = ROUND(size,ALIGN) + DB_EXTRA; 515 s = ROUND(size,ALIGN) + DB_EXTRA; 676 if((s = ROUND(size,ALIGN) + DB_EXTRA) < sizeof(Body_t))
|
H A D | vmprofile.c | 483 s = ROUND(size,ALIGN) + PF_EXTRA; 583 news = ROUND(size,ALIGN) + PF_EXTRA; 676 s = (size <= TINYSIZE ? TINYSIZE : ROUND(size,ALIGN)) + PF_EXTRA;
|
H A D | malloc.c | 729 char array[ALIGN]; 742 { char array[ALIGN];
|
Completed in 31 milliseconds