/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm.c | 1074 int old, new, ret, kmflag; local 1096 old = reqp->req.ppm_set_power_req.old_level; 1104 "from %d to %d", str, (void *)dip, old, new)) 1126 if (new < old) { 1136 if (new > old) { 1146 PPMD(D_SETLVL, ("%s: \"%s\" set power level old %d, new %d \n", 1167 p->ppd_old_level = old; 1172 str, cpup->path, old, new)) 1511 int new, old, cmpt; local 1522 old 1933 int old, new, cmpt; local 2076 int old, new, cmpt; local [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 1420 krb5_boolean old; local 1425 old = mode; 1427 old = db_ctx->db_nb_locks; 1430 return old; 1507 /* special case for db2. We might actually be looking at old type config file where database is specified as part of realm */ 1605 * old type config file where database is specified as 1694 /* special case for db2. We might actually be looking at old type config file where database is specified as part of realm */
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | magic.c | 423 o = "old, "; 1638 int old; local 1650 old = 0; 1750 old = 1; 1754 * old style nesting push 1758 old = 2; 1784 switch (old) 1787 old = 0; 1791 * old style nesting pop 1803 old [all...] |
/illumos-gate/usr/src/uts/sun4u/daktari/io/ |
H A D | hpc3130_dak.c | 1070 uint8_t old; local 1073 if (hpc3130_read(handle, HPC3130_ATTEN, slot, &old) != DDI_SUCCESS) { 1076 new = (old & ~HPC3130_ATTN_MASK(led)) | 1086 ((old & HPC3130_ATTN_MASK(led)) != 1451 uint8_t old; local 1460 count = 0; limit = 0; old = 0xff; 1466 if (old != *status) { 1473 old = *status;
|
/illumos-gate/usr/src/uts/sun4u/excalibur/io/ |
H A D | xcalppm.c | 568 DPRINTF(D_SETLVL, ("%s: \"%s\" change=%d, old %d, new %d, ret %d\n", 792 DPRINTF(D_CPU, ("%s: old %d, new %d, highest %d, lowest %d\n", 913 int old, new, ret, kmflag; local 931 old = reqp->req.ppm_set_power_req.old_level; 966 if (new < old) { 976 if (new > old) { 1007 p->ppd_old_level = old; 1036 int new, old, cmpt, incr = 0; local 1047 old = reqp->req.ppm_set_power_req.old_level; 1053 old 1261 int new, old, cmpt; local [all...] |
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | p123_pcbe.c | 84 static int64_t diff3931(uint64_t sample, uint64_t old); 1038 diff3931(uint64_t sample, uint64_t old) argument 1042 if ((old & BITS_39_31) == BITS_39_31) { 1043 diff = (MASK40 & sample) - old; 1047 diff = (MASK31 & sample) - old;
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | evtchn.c | 1511 ulong_t new, old, bit; local 1522 old = si->evtchn_mask[evi]; 1523 new = old | bit; 1524 } while (atomic_cas_ulong(maskp, old, new) != old); 1525 masked = (old & bit) == 0;
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_map.c | 147 cloneObjAttr(__nis_obj_attr_t *old) { argument 151 if (old == 0) 158 new->zo_owner = sdup(myself, T, old->zo_owner); 159 if (new->zo_owner == 0 && old->zo_owner != 0) 162 new->zo_group = sdup(myself, T, old->zo_group); 163 if (new->zo_group == 0 && old->zo_group != 0) 166 new->zo_domain = sdup(myself, T, old->zo_domain); 167 if (new->zo_domain == 0 && old->zo_domain != 0) 170 new->zo_access = old->zo_access; 171 new->zo_ttl = old 601 map1qToLDAP(__nis_table_mapping_t *t, db_query *old, db_query *new, __nis_rule_value_t *rvIn, __nis_rule_value_t **rvOutP, char **oldDnP) argument 818 mapToLDAP(__nis_table_mapping_t *tm, int nq, db_query **old, db_query **new, __nis_rule_value_t *rvIn, int firstOnly, char *dbId) argument [all...] |
H A D | ldap_val.c | 153 copyIndex(__nis_index_t *old, __nis_index_t *new, int *err) { argument 157 if (old == 0 || new == 0) { 162 for (i = 0; i < old->numIndexes; i++) { 163 new->name[i] = sdup(myself, T, old->name[i]); 164 if (new->name[i] == 0 && old->name[i] != 0) { 168 new->value[i] = cloneMappingFormat(old->value[i]); 169 if (new->value[i] == 0 && old->value[i] != 0) { 175 new->numIndexes = old->numIndexes; 179 cloneIndex(__nis_index_t *old) { argument 184 if (old 199 freeIndex(__nis_index_t *old, bool_t doFree) argument 1324 copyObjSpec(__nis_obj_spec_t *old, __nis_obj_spec_t *new, int *err) argument 1355 cloneObjSpec(__nis_obj_spec_t *old) argument 1372 freeObjSpec(__nis_obj_spec_t *old, bool_t doFree) argument 1384 copySearchTriple(__nis_search_triple_t *old, __nis_search_triple_t *new, int *err) argument 1423 cloneSearchTriple(__nis_search_triple_t *old) argument 1440 freeSearchTriple(__nis_search_triple_t *old, bool_t doFree) argument 1456 copyTripleOrObj(__nis_mapping_item_type_t type, __nis_triple_or_obj_t *old, __nis_triple_or_obj_t *new, int *err) argument 1475 cloneTripleOrObj(__nis_mapping_item_type_t type, __nis_triple_or_obj_t *old) argument 1492 freeTripleOrObj(__nis_mapping_item_type_t type, __nis_triple_or_obj_t *old, bool_t doFree) argument 1508 copyItem(__nis_mapping_item_t *old, __nis_mapping_item_t *new, int *err) argument 1536 cloneItem(__nis_mapping_item_t *old) argument 1572 concatenateMappingItem(__nis_mapping_item_t *old, int numItems, __nis_mapping_item_t *cat) argument [all...] |
H A D | nis_db.cc | 1157 nis_object *old = 0; local 1166 if (old == 0) { 1167 old = x->obj; 1171 if (x->obj != old && x->obj != 0)
|
H A D | db_dictionary.cc | 431 if (oldtab != NULL) { // must transfer contents of old to new 435 delete oldtab; // delete old hashtable 932 * and InUseDictionary pointers as well. Also, delete the old dictionary 1355 /* try to close old log file */ 2337 db_table_desc *old = search_dictionary(deferred.dictionary, table); local 2340 if (old == NULL) { 2346 * Remove old incarnation from deferred dictionary. We already hold 2347 * a pointer ('old') to it, so don't delete. 2358 if (old->database != 0) 2359 old 2408 db_table_desc *old = search_dictionary(deferred.dictionary, table); local [all...] |
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | htable.c | 110 static void unlink_ptp(htable_t *higher, htable_t *old, uintptr_t vaddr); 114 static x86pte_t x86pte_cas(htable_t *ht, uint_t entry, x86pte_t old, 1090 unlink_ptp(htable_t *higher, htable_t *old, uintptr_t vaddr) argument 1093 x86pte_t expect = MAKEPTP(old->ht_pfn, old->ht_level); 1095 hat_t *hat = old->ht_hat; 1099 ASSERT(old->ht_valid_cnt == 0); 1123 DEMAP_ALL_ADDR : old->ht_vaddr); 2086 * about the old pte's REF / MOD bits. If the PFN remains the same, we leave 2096 x86pte_t old; local 2178 x86pte_cas(htable_t *ht, uint_t entry, x86pte_t old, x86pte_t new) argument [all...] |
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 799 * itl entry is removed for the old format 811 make_extended_device(int type, struct iodev_snapshot *old) argument 820 if (old == NULL) 822 if (get_lti(old->is_name, 826 tptr = safe_alloc(sizeof (*old)); 827 bzero(tptr, sizeof (*old)); 828 if (old->is_pretty != NULL) { 829 tptr->is_pretty = safe_alloc(strlen(old->is_pretty) + 1); 830 (void) strcpy(tptr->is_pretty, old->is_pretty); 832 bcopy(&old [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_values.c | 156 nwam_value_copy(nwam_value_t old, nwam_value_t *newp) argument 160 assert(old != NULL && newp != NULL); 162 switch (old->nwv_value_type) { 164 values = old->nwv_values.nwv_boolean; 167 values = old->nwv_values.nwv_int64; 170 values = old->nwv_values.nwv_uint64; 173 values = old->nwv_values.nwv_string; 178 return (nwam_value_create(old->nwv_value_type, values, 179 old->nwv_value_numvalues, newp));
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_tx.c | 2053 uintptr_t old; local 2062 old = *putp; 2063 old_pkt = (sfxge_tx_packet_t *)old; 2065 stpp->stp_dpl_put_len = old ? 2075 stpp->stp_next = (void *)old; 2076 } while (atomic_cas_ulong(putp, old, new) != old);
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 543 sigset_t old; local 548 sablocksigs(&old); 564 saunblocksigs(&old); 586 sigset_t old; local 599 sablocksigs(&old); 646 saunblocksigs(&old); 681 sigset_t old; local 708 sablocksigs(&old); 721 saunblocksigs(&old); 1753 * Only set if value is non NULL, old valu [all...] |
H A D | libshare.c | 834 sigset_t old; local 879 sablocksigs(&old); 962 saunblocksigs(&old); 992 sablocksigs(&old); 1000 saunblocksigs(&old); 1796 * now that the share isn't in its old group, add to 1804 * need to remove from old group first and then add to
|
/illumos-gate/usr/src/uts/sun4/vm/ |
H A D | vm_dep.c | 905 uint32_t old, new; local 913 old = color_start_current; 914 new = old + (color_start_stride << (vac_shift - MMU_PAGESHIFT)); 915 } while (atomic_cas_32(&color_start_current, old, new) != old);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | io.c | 2270 int sh_dup(register int old) argument 2272 register int fd = dup(old); 2275 if(sh.fdstatus[old] == IOCLOSE) 2276 sh.fdstatus[old] = 0; 2277 sh.fdstatus[fd] = (sh.fdstatus[old]&~IOCLEX); 2279 (*fdnotify)(old,fd); 2374 Notify_f old; local 2375 old = fdnotify; 2377 return(old);
|
H A D | name.c | 1418 Sfdouble_t ld, old=0; local 1433 old = *(up->ldp); 1434 *(up->ldp) = old?ld+old:ld; 2414 void sh_optclear(Shell_t *shp, void *old) argument 2428 shp->optlist = old; 3094 Shscope_t *old = (Shscope_t*)sh.st.self; local 3100 return(old); 3147 * These following are for binary compatibility with the old hash library
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_stats.c | 171 * this data structure stores statistics for a rule - both an old set 174 * which pointer points to the "old" data struct (ie, if true, _o pointer 175 * points to old) 235 boolean_t old = flags & ILBST_OLD_VALUES; local 239 assert((old && (flags & ILBST_ABS_NUMBERS)) == B_FALSE); 242 check_valid = !(old || (flags & ILBST_ABS_NUMBERS)); 247 num_servers = old ? rp->ird_num_servers_o : rp->ird_num_servers; 253 if (old) 636 * this function walks the array of rules and switches pointer to old 653 * swap server counts - we need the old on [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | table.c | 66 struct timeval age_timer; /* next check of old routes */ 365 * Suppress old routes (i.e. combine with compatible routes 531 * Promote the old, even twin, by giving its slot 613 * flush the old route in the target slot. Also flush 1523 * unneeded changes. Keep the old kernel routes for a 2209 * as well as old redirected routes. 2212 del_redirects(in_addr_t bad_gate, time_t old) argument 2224 if (k->k_gate != bad_gate && k->k_redirect_time > old && 2853 * delete old redirected routes to keep the kernel table small
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_db.c | 72 * line with an old format. This will cause the file being read to be 395 * Same as rename(2), except that old and new are relative to zoneid's zone 399 dlmgmt_zrename(const char *old, const char *new, zoneid_t zoneid) argument 404 return (dlmgmt_zfop(old, zoneid, dlmgmt_zrename_cb, &zfoparg)); 908 * Find any properties in linkp that refer to "old", and rename to "new". 912 dlmgmt_attr_rename(dlmgmt_link_t *linkp, const char *old, const char *new, argument 924 if (strcmp(old, (char *)attrp->lp_val) == 0) { 947 if (strcmp(pname, old) == 0) { 993 * the new name, and req->ls_link is the old link name. 1315 * The old forma [all...] |
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | gprof.c | 99 /* for old-style gmon.out, nameslist is only in modules.nl */ 119 * old-style gmon.out 603 * dump the normalized raw arc information. For old-style dumping, 1030 does_overlap(ProfModule *new, mod_info_t *old) argument 1032 /* case 1: new module lies completely *before* the old one */ 1033 if (new->startaddr < old->load_base && new->endaddr <= old->load_base) 1036 /* case 2: new module lies completely *after* the old one */ 1037 if (new->startaddr >= old->load_end && new->endaddr >= old [all...] |
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk3.c | 356 strsave(wchar_t *old) argument 361 new = (STRING)emalloc(len = (wcslen(old)+1) * sizeof (wchar_t)); 362 (void) memcpy(new, old, len);
|