/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_parse.c | 456 char *base; member 470 newptr = realloc(b->base, newsize); in add_data_to_buffer() 475 b->base = newptr; in add_data_to_buffer() 478 memcpy(b->base + b->cur, d, len); in add_data_to_buffer() 499 char *newptr = realloc(prof_buf.base, prof_buf.cur); in profile_write_tree_to_buffer() 501 prof_buf.base = newptr; in profile_write_tree_to_buffer() 503 *buf = prof_buf.base; in profile_write_tree_to_buffer()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | zalloc_malloc.c | 83 char *base; in Malloc_align() local 85 if ((base = sbrk(incr)) == (char *)-1) in Malloc_align() 87 zextendPool(&MallocPool, base, incr); in Malloc_align() 88 zfree(&MallocPool, base, incr); in Malloc_align()
|
/illumos-gate/usr/src/cmd/troff/nroff.d/ |
H A D | n6.c | 267 int base, wid; in setwd() local 272 base = numtab[ST].val = wid = numtab[CT].val = 0; in setwd() 295 base -= k; in setwd() 299 if (base < numtab[SB].val) in setwd() 300 numtab[SB].val = base; in setwd() 301 if ((k = base + emsz) > numtab[ST].val) in setwd()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | timespec_get.c | 24 timespec_get(struct timespec *ts, int base) in timespec_get() argument 26 if (base != TIME_UTC) in timespec_get()
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | dr_util.h | 75 uint64_t base, uint64_t len); 77 uint64_t base, uint64_t len); 79 uint64_t base, uint64_t len);
|
/illumos-gate/usr/src/uts/sun4u/ngdr/sys/ |
H A D | dr_util.h | 78 uint64_t base, uint64_t len); 80 uint64_t base, uint64_t len); 82 uint64_t base, uint64_t len);
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | kernel.c | 46 static void itoa (char *buf, int base, int d); 174 itoa (char *buf, int base, int d) in itoa() argument 182 if (base == 'd' && d < 0) in itoa() 188 else if (base == 'x') in itoa()
|
/illumos-gate/usr/src/cmd/vgrind/ |
H A D | vgrindefs.c | 206 int i, base; in tgetnum() local 220 base = 10; in tgetnum() 222 base = 8; in tgetnum() 225 i *= base, i += *bp++ - '0'; in tgetnum()
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | wstol.c | 37 wstol(const wchar_t *str, wchar_t **ptr, int base) in wstol() argument 39 return (wcstol(str, ptr, base)); in wstol()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | desctbls.c | 181 set_usegd(user_desc_t *dp, uint_t lmode, void *base, uint32_t size, in set_usegd() argument 214 dp->usd_lobase = (uintptr_t)base; in set_usegd() 215 dp->usd_midbase = (uintptr_t)base >> 16; in set_usegd() 216 dp->usd_hibase = (uintptr_t)base >> (16 + 8); in set_usegd() 232 dp->ssd_lobase = (uintptr_t)base; in set_syssegd() 233 dp->ssd_midbase = (uintptr_t)base >> 16; in set_syssegd() 234 dp->ssd_hibase = (uintptr_t)base >> (16 + 8); in set_syssegd() 235 dp->ssd_hi64base = (uintptr_t)base >> (16 + 8 + 8); in set_syssegd() 248 uintptr_t base; in get_ssd_base() local 250 base = (uintptr_t)dp->ssd_lobase | in get_ssd_base() [all …]
|
/illumos-gate/usr/src/uts/sun4u/lw8/os/ |
H A D | lw8_platmod.c | 298 update_mem_bounds(int brd, uint64_t base, uint64_t sz) in update_mem_bounds() argument 303 end = base + sz - 1; in update_mem_bounds() 313 if ((mnode = slice_to_memnode[PA_2_SLICE(base)]) == -1) in update_mem_bounds() 321 base = ALIGN(base, (1ul << PA_SLICE_SHIFT)); in update_mem_bounds() 323 while (base < end) { in update_mem_bounds() 324 slice_to_memnode[PA_2_SLICE(base)] = mnode; in update_mem_bounds() 325 base += (1ul << PA_SLICE_SHIFT); in update_mem_bounds() 338 uint64_t base, size; in plat_fill_mc() local 399 base = MC_BASE(mc_decode[i]) << PHYS2UM_SHIFT; in plat_fill_mc() 401 update_mem_bounds(boardid, base, size); in plat_fill_mc()
|
/illumos-gate/usr/src/uts/sun4u/serengeti/os/ |
H A D | serengeti.c | 291 update_mem_bounds(int brd, uint64_t base, uint64_t sz) in update_mem_bounds() argument 296 end = base + sz - 1; in update_mem_bounds() 306 if ((mnode = slice_to_memnode[PA_2_SLICE(base)]) == -1) in update_mem_bounds() 314 base = ALIGN(base, (1ul << PA_SLICE_SHIFT)); in update_mem_bounds() 316 while (base < end) { in update_mem_bounds() 317 slice_to_memnode[PA_2_SLICE(base)] = mnode; in update_mem_bounds() 318 base += (1ul << PA_SLICE_SHIFT); in update_mem_bounds() 331 uint64_t base, size; in plat_fill_mc() local 392 base = MC_BASE(mc_decode[i]) << PHYS2UM_SHIFT; in plat_fill_mc() 394 update_mem_bounds(boardid, base, size); in plat_fill_mc()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mem_config_arch.c | 38 arch_kphysm_del_span_ok(pfn_t base, pgcnt_t npgs) in arch_kphysm_del_span_ok() argument 46 arch_kphysm_relocate(pfn_t base, pgcnt_t npgs) in arch_kphysm_relocate() argument
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mem_config_arch.c | 37 arch_kphysm_del_span_ok(pfn_t base, pgcnt_t npgs) in arch_kphysm_del_span_ok() argument 45 arch_kphysm_relocate(pfn_t base, pgcnt_t npgs) in arch_kphysm_relocate() argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | utils.c | 180 int base, len, neg, quoted; local 253 base = 0; 268 base = 10; 285 base = 10; 297 base = 8; 310 base = 16; 314 base = 16; 424 if (base != 0) { 428 *--mstr = hexchars[val % base]; 429 val = val / base;
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac_del.c | 216 pfn_t base; in ac_del_bank_add_span() local 240 base = base_pa >> PAGESHIFT; in ac_del_bank_add_span() 246 ret = kcage_range_delete(base, npgs); in ac_del_bank_add_span() 257 if ((errs = kphysm_del_span(handle, base, npgs)) != KPHYSM_OK) { in ac_del_bank_add_span() 264 errs = kcage_range_add(base, npgs, KCAGE_DOWN); in ac_del_bank_add_span() 286 pfn_t base; in ac_del_bank_add_cage() local 298 base = base_pa >> PAGESHIFT; in ac_del_bank_add_cage() 306 errs = kcage_range_add(base, npgs, KCAGE_DOWN); in ac_del_bank_add_cage()
|
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nbdrv.c | 65 uint64_t base = 0; in rank_to_base() local 76 base = nb_ranks[branch][i].base; in rank_to_base() 92 base >= nb_banks[i].base && in rank_to_base() 93 base < nb_banks[i].base + nb_banks[i].limit) { in rank_to_base() 105 return (base); in rank_to_base()
|
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | bitmap.c | 271 caddr_t newvirt, src, dst, base; in cb_set_bitmap() local 295 base = src + bmda_size; in cb_set_bitmap() 304 dp->cbd_reg_bitmap = (cpr_ptr)base; in cb_set_bitmap() 305 base += dp->cbd_size; in cb_set_bitmap() 327 base = src + bmda_size; in cb_set_bitmap() 329 bcopy(base, dst, all_bitmap_size); in cb_set_bitmap() 488 arp->low = ADDR_TO_PN(pap->base); in cb_get_physavail()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_expressions.c | 178 static struct expression *get_expression_from_base_and_str(struct expression *base, const char *add… in get_expression_from_base_and_str() argument 185 return base; in get_expression_from_base_and_str() 196 ret = base; in get_expression_from_base_and_str() 228 struct expression *base; in gen_expression_from_name_sym() local 235 base = symbol_expression(sym); in gen_expression_from_name_sym() 239 ret = get_expression_from_base_and_str(base, name + skip); in gen_expression_from_name_sym()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | mem.c | 315 mrp->mr_base = memp->base; in register_mem_int() 316 mrp->mr_end = memp->base + memp->size - 1; in register_mem_int() 318 if (mmio_rb_lookup(rbt, memp->base, &entry) != 0) in register_mem_int() 355 err = mmio_rb_lookup(&mmio_rb_root, memp->base, &entry); in unregister_mem() 359 assert(mr->base == memp->base && mr->size == memp->size); in unregister_mem()
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lbaselib.c | 46 int base = luaL_checkint(L, 2); in luaB_tonumber() local 48 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); in luaB_tonumber() 57 if (digit >= base) break; /* invalid numeral; force a fail */ in luaB_tonumber() 58 n = n * (lua_Number)base + (lua_Number)digit; in luaB_tonumber()
|
/illumos-gate/usr/src/test/util-tests/tests/ctf/ |
H A D | ctftest.ksh | 211 typeset t base check 214 base=$(basename "$t" .c) 215 check=$(echo "$base" | sed s/test-/check-/) 230 base=$(basename "$d") 231 check=$(echo "$base" | sed s/test-/check-/)
|
/illumos-gate/usr/src/lib/libsasl/ |
H A D | README | 16 conventions are used. The version of the Cyrus libsasl code base that 20 For changes that are particular to the Solaris code base, the 22 change from the Project Cyrus code base common to both SunONE and 24 in include/config.h. Additionally, the Cyrus code base is not cstyle or 31 Any changes in this code base are additive. This will ease merging changes
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | alloc.c | 104 void *base; in initial_allocation() local 120 base = (void *)rval.sys_rval1; in initial_allocation() 125 ptr = (void *)((caddr_t)base + bucketnum * SUBCHUNKSIZE); in initial_allocation() 137 ptr = (void *)((caddr_t)base + bucketnum * SUBCHUNKSIZE); in initial_allocation() 146 ASSERT(((caddr_t)ptr - (caddr_t)base + 4 * SUBCHUNKSIZE) == BASE_SIZE); in initial_allocation()
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | machclock.h | 140 #define GET_HRTIME(base, now, nslt, scale, scr, hrlock, gnt1, gnt2) \ argument 146 ldx [scr + %lo(hrtime_base)], base; /* load hrtime_base */ \ 156 add base, nslt, base;
|