/titanic_41/usr/src/uts/common/io/bge/ |
H A D | bge_atomic.c | 42 uint64_t newval; in bge_atomic_reserve() local 47 newval = oldval - n; in bge_atomic_reserve() 50 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in bge_atomic_reserve() 52 return (newval); in bge_atomic_reserve() 62 uint64_t newval; in bge_atomic_renounce() local 67 newval = oldval + n; in bge_atomic_renounce() 68 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in bge_atomic_renounce() 78 uint64_t newval; in bge_atomic_claim() local 83 newval = NEXT(oldval, limit); in bge_atomic_claim() 84 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in bge_atomic_claim() [all …]
|
/titanic_41/usr/src/cmd/avs/sdbc/ |
H A D | sdbc_dynmem.c | 65 int newval; member 188 if ((p_dynmem_knp+DIRECTIVE)->newval == NO_VALUE) in sd_dynmem_lintmain() 189 (p_dynmem_knp+DIRECTIVE)->newval = 0; in sd_dynmem_lintmain() 190 (p_dynmem_knp+DIRECTIVE)->newval |= 0x01; in sd_dynmem_lintmain() 195 if ((p_dynmem_knp+DIRECTIVE)->newval == NO_VALUE) in sd_dynmem_lintmain() 196 (p_dynmem_knp+DIRECTIVE)->newval = 0; in sd_dynmem_lintmain() 197 (p_dynmem_knp+DIRECTIVE)->newval |= 0x02; in sd_dynmem_lintmain() 206 (p_dynmem_knp+MONITOR)->newval = val; in sd_dynmem_lintmain() 214 (p_dynmem_knp+AGECT1)->newval = val; in sd_dynmem_lintmain() 222 (p_dynmem_knp+AGECT2)->newval = val; in sd_dynmem_lintmain() [all …]
|
/titanic_41/usr/src/uts/common/io/nge/ |
H A D | nge_atomic.c | 37 uint64_t newval; in nge_atomic_decrease() local 42 newval = oldval - n; in nge_atomic_decrease() 45 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in nge_atomic_decrease() 57 uint64_t newval; in nge_atomic_increase() local 62 newval = oldval + n; in nge_atomic_increase() 63 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in nge_atomic_increase() 75 uint32_t newval; in nge_atomic_shl32() local 80 newval = oldval << count; in nge_atomic_shl32() 81 } while (atomic_cas_32(sp, oldval, newval) != oldval); in nge_atomic_shl32()
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | dmu_objset.c | 145 checksum_changed_cb(void *arg, uint64_t newval) in checksum_changed_cb() argument 152 ASSERT(newval != ZIO_CHECKSUM_INHERIT); in checksum_changed_cb() 154 os->os_checksum = zio_checksum_select(newval, ZIO_CHECKSUM_ON_VALUE); in checksum_changed_cb() 158 compression_changed_cb(void *arg, uint64_t newval) in compression_changed_cb() argument 165 ASSERT(newval != ZIO_COMPRESS_INHERIT); in compression_changed_cb() 167 os->os_compress = zio_compress_select(os->os_spa, newval, in compression_changed_cb() 172 copies_changed_cb(void *arg, uint64_t newval) in copies_changed_cb() argument 179 ASSERT(newval > 0); in copies_changed_cb() 180 ASSERT(newval <= spa_max_replication(os->os_spa)); in copies_changed_cb() 182 os->os_copies = newval; in copies_changed_cb() [all …]
|
H A D | zfs_vfsops.c | 239 atime_changed_cb(void *arg, uint64_t newval) in atime_changed_cb() argument 243 if (newval == TRUE) { in atime_changed_cb() 255 xattr_changed_cb(void *arg, uint64_t newval) in xattr_changed_cb() argument 259 if (newval == TRUE) { in xattr_changed_cb() 273 blksz_changed_cb(void *arg, uint64_t newval) in blksz_changed_cb() argument 276 ASSERT3U(newval, <=, spa_maxblocksize(dmu_objset_spa(zfsvfs->z_os))); in blksz_changed_cb() 277 ASSERT3U(newval, >=, SPA_MINBLOCKSIZE); in blksz_changed_cb() 278 ASSERT(ISP2(newval)); in blksz_changed_cb() 280 zfsvfs->z_max_blksz = newval; in blksz_changed_cb() 281 zfsvfs->z_vfs->vfs_bsize = newval; in blksz_changed_cb() [all …]
|
H A D | dsl_dir.c | 1458 uint64_t towrite, newval; in dsl_dir_set_quota_check() local 1465 ddsqra->ddsqra_source, ddsqra->ddsqra_value, &newval); in dsl_dir_set_quota_check() 1471 if (newval == 0) { in dsl_dir_set_quota_check() 1485 (newval < dsl_dir_phys(ds->ds_dir)->dd_reserved || in dsl_dir_set_quota_check() 1486 newval < dsl_dir_phys(ds->ds_dir)->dd_used_bytes + towrite)) { in dsl_dir_set_quota_check() 1500 uint64_t newval; in dsl_dir_set_quota_sync() local 1510 zfs_prop_to_name(ZFS_PROP_QUOTA), &newval)); in dsl_dir_set_quota_sync() 1512 newval = ddsqra->ddsqra_value; in dsl_dir_set_quota_sync() 1514 zfs_prop_to_name(ZFS_PROP_QUOTA), (longlong_t)newval); in dsl_dir_set_quota_sync() 1519 dsl_dir_phys(ds->ds_dir)->dd_quota = newval; in dsl_dir_set_quota_sync() [all …]
|
H A D | dsl_dataset.c | 3131 uint64_t newval; in dsl_dataset_set_refquota_check() local 3147 ddsqra->ddsqra_source, ddsqra->ddsqra_value, &newval); in dsl_dataset_set_refquota_check() 3153 if (newval == 0) { in dsl_dataset_set_refquota_check() 3158 if (newval < dsl_dataset_phys(ds)->ds_referenced_bytes || in dsl_dataset_set_refquota_check() 3159 newval < ds->ds_reserved) { in dsl_dataset_set_refquota_check() 3174 uint64_t newval; in dsl_dataset_set_refquota_sync() local 3184 zfs_prop_to_name(ZFS_PROP_REFQUOTA), &newval)); in dsl_dataset_set_refquota_sync() 3186 if (ds->ds_quota != newval) { in dsl_dataset_set_refquota_sync() 3188 ds->ds_quota = newval; in dsl_dataset_set_refquota_sync() 3214 uint64_t newval, unique; in dsl_dataset_set_refreservation_check() local [all …]
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_utils.c | 230 uint32_t newval; in oce_atomic_reserve() local 239 newval = oldval - n; in oce_atomic_reserve() 241 } while (atomic_cas_32(count_p, oldval, newval) != oldval); in oce_atomic_reserve() 243 return (newval); in oce_atomic_reserve()
|
/titanic_41/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 44 uint32_t newval; in rge_atomic_reserve() local 49 newval = oldval - n; in rge_atomic_reserve() 52 } while (atomic_cas_32(count_p, oldval, newval) != oldval); in rge_atomic_reserve() 54 return (newval); in rge_atomic_reserve() 67 uint32_t newval; in rge_atomic_renounce() local 72 newval = oldval + n; in rge_atomic_renounce() 73 } while (atomic_cas_32(count_p, oldval, newval) != oldval); in rge_atomic_renounce()
|
/titanic_41/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_db.c | 916 char *newval = NULL, *pname; in dlmgmt_attr_rename() local 926 if ((newval = malloc(newsize)) == NULL) in dlmgmt_attr_rename() 928 (void) strcpy(newval, new); in dlmgmt_attr_rename() 930 attrp->lp_val = newval; in dlmgmt_attr_rename() 941 if ((newval = calloc(MAXLINKATTRVALLEN, sizeof (char))) == NULL) in dlmgmt_attr_rename() 948 (void) strcat(newval, new); in dlmgmt_attr_rename() 951 (void) strcat(newval, pname); in dlmgmt_attr_rename() 953 (void) strcat(newval, ":"); in dlmgmt_attr_rename() 958 attrp->lp_val = newval; in dlmgmt_attr_rename() 959 attrp->lp_sz = strlen(newval) + 1; in dlmgmt_attr_rename() [all …]
|
H A D | dlmgmt_util.c | 232 void *newval; in linkattr_set() local 254 if ((newval = calloc(1, attrsz)) == NULL) { in linkattr_set() 262 attrp->lp_val = newval; in linkattr_set()
|
/titanic_41/usr/src/cmd/ldap/common/ |
H A D | ldapmodify.c | 42 static int newval, contoper, force, valsfromfiles, display_binary_values; variable 177 if ( !newval && strcmp( ldaptool_progname, "ldapadd" ) == 0 ) { in main() 178 newval = 1; in main() 398 newval = 1; in options_callback() 454 new_entry = newval; 611 } else if ( newval ) { /* missing changetype => add */ 849 if ( value == NULL && newval ) { 886 } else if (( rc = domodify( ld, dn, pmods, newval )) == LDAP_SUCCESS ){ 888 } else if (( rc = domodify( dn, pmods, newval )) == LDAP_SUCCESS ){
|
/titanic_41/usr/src/cmd/projadd/ |
H A D | projmod.pl | 158 my ($oldval, $newval); 179 foreach $newval (@$new) { 184 projent_values_equal($newval, $oldval)) { 194 projent_values2string($newval)]);
|
/titanic_41/usr/src/lib/libnisdb/ |
H A D | ldap_util.c | 720 char *newval, *s; in escapeSpecialChars() local 739 if ((newval = am(myself, val->val[i].length + count + 1)) == 0) in escapeSpecialChars() 747 newval[k++] = '\\'; in escapeSpecialChars() 748 newval[k] = *s; in escapeSpecialChars() 752 val->val[i].value = newval; in escapeSpecialChars()
|
/titanic_41/usr/src/cmd/fm/eversholt/common/ |
H A D | eftread.h | 38 void eftread_showheader(int newval);
|
H A D | eftread.c | 65 eftread_showheader(int newval) in eftread_showheader() argument 67 Showheader = newval; in eftread_showheader()
|
/titanic_41/usr/src/cmd/prtfru/ |
H A D | prtfru.c | 437 unsigned int newval = (unsigned int)*val, tmpval = 0; in convertbcdtobinary() local 438 while (newval > 0) { in convertbcdtobinary() 439 tmpval = (tmpval << 4) | (newval & 0xF); in convertbcdtobinary() 440 newval >>= 4; in convertbcdtobinary() 443 newval = (newval * 10) + (tmpval & 0xF); in convertbcdtobinary() 446 *val = newval; in convertbcdtobinary()
|
/titanic_41/usr/src/uts/sun4u/cpu/ |
H A D | us3_common_mmu.c | 478 uint16_t oldval, newval; in mmu_check_page_sizes() local 515 newval = tmp_pgsz[0] << 8 | tmp_pgsz[1]; in mmu_check_page_sizes() 516 if (newval != oldval) { in mmu_check_page_sizes()
|
/titanic_41/usr/src/uts/common/io/xge/drv/ |
H A D | xge_osdep.h | 189 #define xge_os_cmpxchg(targetp, cmp, newval) \ argument 191 atomic_cas_32((uint32_t *)targetp, cmp, newval) : \ 192 atomic_cas_64((uint64_t *)targetp, cmp, newval)
|
/titanic_41/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | adm1026.c | 572 uint8_t newval = 0, x; in adm1026_get_config() local 582 newval |= (1 << j); in adm1026_get_config() 585 *val |= (newval << (i * GPIOS_PER_CFG_BYTE)); in adm1026_get_config()
|
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_send.c | 363 long oldval, newval; in rdsv3_ib_send_grab_credits() local 374 oldval = newval = atomic_get(&ic->i_credits); in rdsv3_ib_send_grab_credits() 395 newval -= IB_SET_SEND_CREDITS(got); in rdsv3_ib_send_grab_credits() 404 newval -= IB_SET_POST_CREDITS(advertise); in rdsv3_ib_send_grab_credits() 408 if (atomic_cmpxchg(&ic->i_credits, oldval, newval) != oldval) in rdsv3_ib_send_grab_credits()
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | dsl_prop.h | 42 typedef void (dsl_prop_changed_cb_t)(void *arg, uint64_t newval);
|
/titanic_41/usr/src/uts/common/io/pcn/ |
H A D | pcn.c | 592 uint16_t newval, oldval; in pcn_m_multicast() local 605 newval = oldval = pcnp->pcn_mctab[index]; in pcn_m_multicast() 610 newval |= bit; in pcn_m_multicast() 614 newval &= ~bit; in pcn_m_multicast() 616 if (newval != oldval) { in pcn_m_multicast() 617 pcnp->pcn_mctab[index] = newval; in pcn_m_multicast() 619 pcn_csr_write(pcnp, PCN_CSR_MAR0 + index, newval); in pcn_m_multicast()
|
/titanic_41/usr/src/cmd/dladm/ |
H A D | dladm.c | 8191 brsum_t newval; in print_bridge_stats() local 8208 bzero(&newval, sizeof (newval)); in print_bridge_stats() 8224 &newval.drops) == DLADM_STATUS_OK) { in print_bridge_stats() 8227 newval.drops - brsum->drops); in print_bridge_stats() 8230 &newval.forward_dir) == DLADM_STATUS_OK) { in print_bridge_stats() 8233 newval.forward_dir - brsum->forward_dir); in print_bridge_stats() 8236 &newval.forward_mb) == DLADM_STATUS_OK) { in print_bridge_stats() 8239 newval.forward_mb - brsum->forward_mb); in print_bridge_stats() 8242 &newval.forward_unk) == DLADM_STATUS_OK) { in print_bridge_stats() 8245 newval.forward_unk - brsum->forward_unk); in print_bridge_stats() [all …]
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/delegate/ |
H A D | delegate_common.kshlib | 1198 typeset newval=$(get_prop aclinherit $fs) 1199 if [[ ${modes[$n]} == "secure" && $newval == "restricted" ]]; then 1683 (( newval = oldval * 2 )) 1689 user_run $user $ZFS set volsize=$newval $vol 1698 user_run $user $ZFS set volsize=$newval $vol 1699 if [[ $newval == $(get_prop volsize $vol) ]]; 1706 user_run $user $ZFS set volsize=$newval $vol
|