/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfeature.c | 247 uint64_t refcount; in feature_get_refcount_from_disk() local 259 feature->fi_guid, sizeof (uint64_t), 1, &refcount); in feature_get_refcount_from_disk() 266 *res = refcount; in feature_get_refcount_from_disk() 296 feature_sync(spa_t *spa, zfeature_info_t *feature, uint64_t refcount, in feature_sync() argument 304 sizeof (uint64_t), 1, &refcount, tx)); in feature_sync() 317 atomic_swap_64(refcount_cache, refcount)); in feature_sync() 320 if (refcount == 0) in feature_sync() 391 uint64_t refcount; in feature_do_action() local 403 VERIFY3U(feature_get_refcount(spa, feature, &refcount), !=, ENOTSUP); in feature_do_action() 407 VERIFY3U(refcount, !=, UINT64_MAX); in feature_do_action() [all …]
|
/illumos-gate/usr/src/cmd/zhack/ |
H A D | zhack.c | 337 uint64_t refcount; in feature_incr_sync() local 339 VERIFY0(feature_get_refcount_from_disk(spa, feature, &refcount)); in feature_incr_sync() 340 feature_sync(spa, feature, refcount + 1, tx); in feature_incr_sync() 350 uint64_t refcount; in feature_decr_sync() local 352 VERIFY0(feature_get_refcount_from_disk(spa, feature, &refcount)); in feature_decr_sync() 353 feature_sync(spa, feature, refcount - 1, tx); in feature_decr_sync()
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_rec.c | 128 if (dbe->dbp != NULL && --dbe->refcount == 0) { 196 dbe->refcount++; 301 logp->dbentry[ndx].refcount = 1; 304 logp->dbentry[ndx].refcount++; 416 if (--logp->dbentry[ndx].refcount == 0) {
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_quiesce.c | 240 int *refcount; member 255 ASSERT(sbrp->refcount != NULL); in sbdp_check_dip() 266 (*sbrp->refcount)++; in sbdp_check_dip() 278 (*sbrp->refcount)++; in sbdp_check_dip() 295 sbdp_check_devices(dev_info_t *dip, int *refcount, sbd_error_t *sep, in sbdp_check_devices() argument 300 sbr.refcount = refcount; in sbdp_check_devices()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | mkservice.c | 119 int refcount; member 177 if(--sp->refcount==0) in fdnotify() 193 sp->refcount++; in process_stream() 389 if(--sp->refcount<=0) in putval() 440 sp->refcount = 1; in b_mkservice()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | kiconv.c | 997 count = module_list[mid].refcount; in kiconv_module_ref_count() 1086 if (module_list[mid].refcount > 0) { in kiconv_register_module() 1156 if (module_list[mid].refcount > 0) { in kiconv_unregister_module() 1250 if (module_list[mid].refcount < UINT_MAX) in check_and_load_conversions() 1251 module_list[mid].refcount++; in check_and_load_conversions() 1286 if (module_list[mid].refcount > 0) in kiconv_open() 1287 module_list[mid].refcount--; in kiconv_open() 1335 if (module_list[mid].refcount > 0) in kiconv_close() 1336 module_list[mid].refcount--; in kiconv_close() 1366 if (module_list[mid].refcount > 0) in kiconvstr() [all …]
|
H A D | flock.c | 3112 ASSERT(pep->refcount); in flk_check_deadlock() 3113 pep->refcount++; in flk_check_deadlock() 3120 pep->refcount = 1; in flk_check_deadlock() 3137 ASSERT(pep->refcount); in flk_check_deadlock() 3138 pep->refcount++; in flk_check_deadlock() 3145 pep->refcount = 1; in flk_check_deadlock() 3201 pep->refcount--; in flk_check_deadlock() 3202 if (pep->refcount == 0) { in flk_check_deadlock() 3229 pep->refcount--; in flk_check_deadlock() 3230 if (pep->refcount == 0) { in flk_check_deadlock() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock.c | 198 lt->region->nreleases += lp->refcount; 208 lt->region->nreleases += lp->refcount; 377 if (lockp->refcount == 0 || (lockp->status != DB_LSTAT_HELD && 385 lt->region->nreleases += lockp->refcount; 388 if (do_all == 0 && lockp->refcount > 1) { 389 lockp->refcount--; 475 newl->refcount = 1; 522 lp->refcount++; 765 (u_long)lp->holder, mode, (u_long)lp->refcount, status);
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | refcount.h | 59 typedef struct refcount { struct 112 typedef struct refcount {
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_quiesce.c | 270 int *refcount; member 297 if (ref && rp->refcount) { in dr_check_dip() 298 *rp->refcount += ref; in dr_check_dip() 326 dr_check_devices(dev_info_t *dip, int *refcount, dr_handle_t *handle, in dr_check_devices() argument 334 bref.refcount = refcount; in dr_check_devices()
|
H A D | dr_io.c | 365 int refcount = 0, idx = 0; in dr_io_status() local 373 dr_check_devices(dip, &refcount, hp, unsafe_devs, in dr_io_status() 380 isp->is_referenced = (refcount == 0) ? 0 : 1; in dr_io_status()
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_quiesce.c | 271 int *refcount; member 298 if (ref && rp->refcount) { in dr_check_dip() 299 *rp->refcount += ref; in dr_check_dip() 327 dr_check_devices(dev_info_t *dip, int *refcount, dr_handle_t *handle, in dr_check_devices() argument 335 bref.refcount = refcount; in dr_check_devices()
|
H A D | dr_io.c | 387 int refcount = 0, idx = 0; in dr_io_status() local 395 dr_check_devices(dip, &refcount, hp, unsafe_devs, in dr_io_status() 402 isp->is_referenced = (refcount == 0) ? 0 : 1; in dr_io_status()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_io.c | 215 int refcount = 0; in sbd_io_status() local 269 sbdp_check_devices(dip, &refcount, sep, NULL); in sbd_io_status() 271 isp->is_referenced = (refcount == 0) ? 0 : 1; in sbd_io_status()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 185 d->refcount = 1; in profile_make_prf_data() 258 data->refcount++; in profile_open_file() 553 data->refcount--; in profile_dereference_data_locked() 554 if (data->refcount == 0) in profile_dereference_data_locked()
|
H A D | prof_int.h | 62 int refcount; /* prf_file_t references */ member
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_tkt_policy.c | 296 int refcount = 0; local 321 "krbTicketPolicyReference", &refcount, ld)) != 0) 324 if (refcount == 0) {
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kiconv.h | 70 uint_t refcount; member
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | path.h | 56 int refcount; member
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | offload.h | 120 int refcount; member
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | sbd.h | 112 void sbdp_check_devices(dev_info_t *, int *refcount, sbd_error_t *, int *);
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | log.h | 55 u_int32_t refcount; /* Reference counted. */ member
|
H A D | lock.h | 141 u_int32_t refcount; /* Reference count the lock. */ member
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | path.c | 301 if(--pp->refcount<=0) in path_delete() 1482 pp->refcount = 1; in path_addcomp() 1648 pp->refcount++; in path_dup() 1670 if(--next->refcount<=0) in path_newdir() 1740 if(--ppsave->refcount<=0) in path_unsetfpath() 1788 if(--pp->refcount<=0) in talias_put() 1809 pp->refcount++; in path_alias()
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 673 int refcount = 0; in get_dtl_refcount() local 685 refcount += get_dtl_refcount(vd->vdev_child[c]); in get_dtl_refcount() 686 return (refcount); in get_dtl_refcount() 692 int refcount = 0; in get_metaslab_refcount() local 700 refcount++; in get_metaslab_refcount() 704 refcount += get_metaslab_refcount(vd->vdev_child[c]); in get_metaslab_refcount() 706 return (refcount); in get_metaslab_refcount() 712 int refcount = 0; in get_obsolete_refcount() local 720 refcount++; in get_obsolete_refcount() 727 refcount += get_obsolete_refcount(vd->vdev_child[c]); in get_obsolete_refcount() [all …]
|