/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memnode.c | 251 pfn_t base, end; in mem_node_memlist_pages() local 270 base = mem_node_config[mnode].physbase; in mem_node_memlist_pages() 278 if (end < cur_base || base > cur_end) in mem_node_memlist_pages() 281 MAX(cur_base, base)) + 1; in mem_node_memlist_pages() 305 pfn_t base = (pfn_t)-1; in mem_node_max_range() local 312 if (base > mem_node_config[mnode].physbase) in mem_node_max_range() 313 base = mem_node_config[mnode].physbase; in mem_node_max_range() 315 ASSERT(base != (pfn_t)-1 && max != 0); in mem_node_max_range() 316 *basep = base; in mem_node_max_range()
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | ldap_ping.c | 243 cp = base + *(cp + 1); in decode_name() 261 uchar_t *base = NULL, *cp = NULL; in cldap_parse() local 276 for (base = cp; ((cp - base) < l) && (f <= LM_20_TOKEN); f++) { in cldap_parse() 302 cp += decode_name(base, cp, val); in cldap_parse() 311 cp += decode_name(base, cp, val); in cldap_parse() 314 cp += decode_name(base, cp, val); in cldap_parse() 326 cp += decode_name(base, cp, val); in cldap_parse() 330 cp += decode_name(base, cp, val); in cldap_parse() 334 cp += decode_name(base, cp, val); in cldap_parse() 363 if (base) in cldap_parse() [all …]
|
/illumos-gate/usr/src/common/ficl/ |
H A D | prefix.c | 120 int oldbase = vm->base; in ficlPrimitiveTempBase() 122 int base = ficlStackPopInteger(vm->dataStack); in ficlPrimitiveTempBase() local 124 vm->base = base; in ficlPrimitiveTempBase() 130 vm->base = oldbase; in ficlPrimitiveTempBase()
|
/illumos-gate/usr/src/lib/libnsl/key/ |
H A D | gen_dhkeys.c | 123 MINT *base = mp_itom(BASE/2); /* BASE won't fit in a short */ local 132 mp_mult(base, tmp, base); 139 mp_mult(sk, base, sk); 152 mp_mfree(base); 209 short base = (1 << 8); local 215 mp_sdiv(a, base, a, &r); 219 mp_sdiv(a, base, a, &r);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 1201 mdb_ctf_type_reference(base, &base) != -1 && in print_ptr() 1202 mdb_ctf_type_resolve(base, &base) != -1 && in print_ptr() 1292 kind = mdb_ctf_type_kind(base); in print_array() 1414 int isp2 = enum_is_p2(base); in print_enum() 1786 mdb_ctf_id_t base; in pipe_print() local 2510 mdb_ctf_id_t base; in cmd_print() local 2596 mdb_ctf_id_t base; in printf_signed() local 2751 mdb_ctf_id_t base; in printf_uint32() local 2782 mdb_ctf_id_t base; in printf_ptr() local 2808 mdb_ctf_id_t base; in printf_string() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | fts.c | 444 if (base > path) in setpdir() 446 c = base[0]; in setpdir() 447 base[0] = 0; in setpdir() 449 base[0] = c; in setpdir() 735 if (fts->base) in resize() 736 fts->base = newp + (fts->base - old); in resize() 1240 fts->base--; in fts_read() 1241 *fts->base = 0; in fts_read() 1273 if (*fts->base) in fts_read() 1276 *fts->base++ = '/'; in fts_read() [all …]
|
/illumos-gate/usr/src/compat/bhyve/amd64/machine/ |
H A D | vmparam.h | 33 const uintptr_t base = (uintptr_t)kpm_vbase; in dmap_to_phys() local 35 ASSERT3U(kva, >=, base); in dmap_to_phys() 36 ASSERT3U(kva, <, base + kpm_size); in dmap_to_phys() 38 return (kva - base); in dmap_to_phys()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | cache_a.out.h | 47 #define RELPTR(base, absptr) ((long)(absptr) - (long)(base)) argument 48 #define AP(base) ((caddr_t)base) argument
|
/illumos-gate/usr/src/cmd/lp/lib/access/ |
H A D | files.c | 50 char * base in getaccessfile() argument 53 getaccessfile (dir, name, prefix, base) in getaccessfile() 57 *base; in getaccessfile() 76 if (!(f = makestr(prefix, base, (char *)0))) {
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cp.c | 238 register char* base; in visit() local 263 base = ent->fts_name; in visit() 270 while (*base == '.' && *(base + 1) == '/') in visit() 271 for (base += 2; *base == '/'; base++); in visit() 272 if (*base == '.' && !*(base + 1)) in visit() 274 else if (*base) in visit() 277 while (base > ent->fts_name && *(base - 1) == '/') in visit() 278 base--; in visit() 279 while (base > ent->fts_name && *(base - 1) != '/') in visit() 280 base--; in visit() [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/ |
H A D | audiols.h | 233 caddr_t base; member 246 ddi_get8(dev->regsh, (void *)(dev->base + reg)) 248 ddi_put8(dev->regsh, (void *)(dev->base + reg), (val)) 251 ddi_get16(dev->regsh, (void *)(dev->base + reg)) 253 ddi_put16(dev->regsh, (void *)(dev->base + reg), (val)) 256 ddi_get32(dev->regsh, (void *)(dev->base + reg)) 258 ddi_put32(dev->regsh, (void *)(dev->base + reg), (val))
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | runetype.c | 45 const _RuneEntry *base, *re; in __runetype() local 51 base = rr->__ranges; in __runetype() 53 re = base + (lim >> 1); in __runetype() 60 base = re + 1; in __runetype()
|
/illumos-gate/usr/src/uts/sun4/vm/ |
H A D | sfmmu.c | 491 base = roundup(base, ecache_alignsize); in ndata_alloc_init() 494 ASSERT(base < end); in ndata_alloc_init() 496 ndata->ml_address = base; in ndata_alloc_init() 497 ndata->ml_size = end - base; in ndata_alloc_init() 528 uintptr_t base; in ndata_extra_base() local 573 return ((void *)base); in ndata_extra_base() 586 uintptr_t base; in ndata_select_chunk() local 662 uintptr_t base; in ndata_alloc() local 701 return ((void *)base); in ndata_alloc() 725 return ((void *)base); in ndata_alloc() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | dlamd64getunwind.c | 88 uintptr_t base; in getunwind_core() local 91 base = 0; in getunwind_core() 93 base = ADDR(lmp); in getunwind_core() 96 (void *)(PTUNWIND(lmp)->p_vaddr + base); in getunwind_core() 99 PTUNWIND(lmp)->p_memsz + base); in getunwind_core()
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | ar.c | 101 _elf_number(char *p, char *end, int base) in _elf_number() argument 107 if ((c = *p - '0') >= base) { in _elf_number() 113 n *= base; in _elf_number() 275 char *base = elf->ed_ident; in _elf_arinit() local 276 register char *end = base + elf->ed_fsz; in _elf_arinit() 278 register char *hdr = base + SARMAG; in _elf_arinit() 305 elf->ed_arsymoff = (char *)a - base; in _elf_arinit() 326 elf->ed_arstroff = (char *)a - base; in _elf_arinit() 340 elf->ed_arsymoff = (char *)a - base; in _elf_arinit()
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | mem_addr.c | 120 uint64_t base; in address_to_node() local 124 base = 0; in address_to_node() 190 uint64_t base; in address_to_channel() local 195 base = 0; in address_to_channel() 287 uint64_t base; in channel_addr_to_dimm() local 295 base = 0; in channel_addr_to_dimm() 330 uint64_t base; in socket_interleave() local 344 base = 0; in socket_interleave() 429 base = 0; in dimm_to_addr() 472 base = 0; in dimm_to_addr() [all …]
|
/illumos-gate/usr/src/cmd/loadkeys/type_4/ |
H A D | uk_5 | 30 key 42 base ` shift � caps ` ctrl ` altg � 31 key 31 base 2 shift '"' caps 2 ctrl 2 altg nop 32 key 32 base 3 shift � caps 3 ctrl 3 altg nop 33 key 87 base '\'' shift @ caps '\'' ctrl ^@ altg nop 34 key 88 base # shift ~ caps # ctrl # altg nop 35 key 124 base '\\' shift | caps '\\' ctrl ^\ altg nop numl nonl
|
/illumos-gate/usr/src/cmd/loadkeys/type_6/ |
H A D | uk | 27 key 53 base ` shift 0x00AC caps ` ctrl ` altg 0x00A6 28 key 31 base 2 shift '"' caps 2 ctrl 2 altg nop 29 key 32 base 3 shift 0x00A3 caps 3 ctrl 3 altg nop 30 key 52 base '\'' shift @ caps '\'' ctrl ^@ altg nop 31 key 50 base # shift ~ caps # ctrl # altg nop numl nonl up nop 33 key 100 base '\\' shift | caps '\\' ctrl ^\ altg nop numl nonl up nop
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnsglue.h | 132 #define INCR_OK(base, max, ptr, incr) \ argument 134 - (const unsigned char *)(base))) 145 #define SAFE_GETUINT16(base, max, ptr, incr, s, label) \ argument 147 if (!INCR_OK(base, max, ptr, incr)) goto label; \
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_wrapper.c | 314 char *base, int scope, char *filter, in _ns_ldap_search_ext() argument 321 return (ldap_search_ext(ld, base, scope, filter, in _ns_ldap_search_ext() 328 char *base, int scope, char *filter, in _ns_ldap_search_ext_s() argument 335 return (ldap_search_ext_s(ld, base, scope, filter, in _ns_ldap_search_ext_s() 342 char *base, int scope, char *filter, in _ns_ldap_search() argument 347 return (ldap_search(ld, base, scope, filter, attrs, attrsonly)); in _ns_ldap_search() 352 char *base, int scope, char *filter, in _ns_ldap_search_s() argument 357 return (ldap_search_s(ld, base, scope, filter, in _ns_ldap_search_s() 363 char *base, int scope, char *filter, in _ns_ldap_search_st() argument 369 return (ldap_search_st(ld, base, scope, filter, in _ns_ldap_search_st()
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | rules.c | 59 static errmask_t rw_base(FILE *file, struct base *bp); 61 static errmask_t add_rule(struct base *, int, const char *); 103 struct base *bp; in read_rules() 288 struct base *bp; in write_rules() 385 static errmask_t rw_base(FILE *file, struct base *bp) in rw_base() 429 static errmask_t add_rule(struct base *bp, int flags, const char *args) in add_rule() 488 add_ignore(struct base *bp, char *name) in add_ignore() 501 add_include(struct base *bp, char *name) in add_include() 544 struct base *bp; in add_restr() 603 check_restr(struct base *bp, const char *name) in check_restr()
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4y.y | 117 int base; in yylex() local 123 base = 16; in yylex() 126 base = 8; in yylex() 128 base = 10; in yylex() 144 evalval = evalval*base + dig; in yylex()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_indirect_births.c | 186 vdev_indirect_birth_entry_phys_t *base; in vdev_indirect_births_physbirth() local 192 base = vib->vib_entries; in vdev_indirect_births_physbirth() 193 last = base + vib->vib_phys->vib_count - 1; in vdev_indirect_births_physbirth() 197 while (last >= base) { in vdev_indirect_births_physbirth() 199 base + ((last - base) / 2); in vdev_indirect_births_physbirth() 201 base = p + 1; in vdev_indirect_births_physbirth()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | machthread.h | 58 #define CPU_INDEXTOSET(base, index, scr) \ argument 62 add base, scr, base 64 #define CPU_INDEXTOSET(base, index, scr)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kgrep.c | 75 kgrep_range_basic(uintptr_t base, uintptr_t lim, void *kg_arg) in kgrep_range_basic() argument 90 base = P2ALIGN(base, pagesize); in kgrep_range_basic() 93 for (addr = base; addr < lim; addr += pagesize) { in kgrep_range_basic() 122 kgrep_range_fancybits(uintptr_t base, uintptr_t lim, void *kg_arg) \ 141 base = P2ROUNDUP(MAX(base, minaddr), sizeof (uintbits_t)); \ 146 for (addr = base; addr < lim; addr += size) { \
|