Home
last modified time | relevance | path

Searched refs:refcount (Results 1 – 25 of 42) sorted by relevance

12

/titanic_51/usr/src/uts/common/fs/zfs/
H A Dzfeature.c247 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()
378 uint64_t refcount; in feature_do_action() local
390 VERIFY3U(feature_get_refcount(spa, feature, &refcount), !=, ENOTSUP); in feature_do_action()
394 VERIFY3U(refcount, ! in feature_do_action()
457 uint64_t refcount; spa_feature_is_enabled() local
472 uint64_t refcount; spa_feature_is_active() local
[all...]
/titanic_51/usr/src/cmd/sendmail/db/log/
H A Dlog_rec.c128 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) {
/titanic_51/usr/src/cmd/zhack/
H A Dzhack.c77 " change the refcount on the given feature\n" in usage()
78 " -d decrease instead of increase the refcount\n" in usage()
79 " -m add the feature to the label if increasing refcount\n" in usage()
374 uint64_t refcount; in feature_incr_sync() local
376 VERIFY0(feature_get_refcount_from_disk(spa, feature, &refcount)); in feature_incr_sync()
377 feature_sync(spa, feature, refcount + 1, tx); in feature_incr_sync()
387 uint64_t refcount; in feature_decr_sync() local
389 VERIFY0(feature_get_refcount_from_disk(spa, feature, &refcount)); in feature_decr_sync()
390 feature_sync(spa, feature, refcount - 1, tx); in feature_decr_sync()
450 "'%s' is a real feature, will not change refcount"); in zhack_do_feature_ref()
[all...]
/titanic_51/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c236 int *refcount; member
251 ASSERT(sbrp->refcount != NULL); in sbdp_check_dip()
262 (*sbrp->refcount)++; in sbdp_check_dip()
274 (*sbrp->refcount)++; in sbdp_check_dip()
291 sbdp_check_devices(dev_info_t *dip, int *refcount, sbd_error_t *sep, in sbdp_check_devices() argument
296 sbr.refcount = refcount; in sbdp_check_devices()
/titanic_51/usr/src/lib/libshell/common/bltins/
H A Dmkservice.c119 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()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmkservice.c119 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()
/titanic_51/usr/src/uts/common/os/
H A Dkiconv.c999 count = module_list[mid].refcount; in kiconv_module_ref_count()
1088 if (module_list[mid].refcount > 0) { in kiconv_register_module()
1158 if (module_list[mid].refcount > 0) { in kiconv_unregister_module()
1249 * specific, the "refcount" is thus the reference counter of in check_and_load_conversions()
1252 if (module_list[mid].refcount < UINT_MAX) in check_and_load_conversions()
1253 module_list[mid].refcount++; in check_and_load_conversions()
1288 if (module_list[mid].refcount > 0) in kiconv_open()
1289 module_list[mid].refcount--; in kiconv_open()
1337 if (module_list[mid].refcount > 0) in kiconv_close()
1338 module_list[mid].refcount in kiconv_close()
[all...]
H A Dflock.c3110 ASSERT(pep->refcount); in flk_check_deadlock()
3111 pep->refcount++; in flk_check_deadlock()
3118 pep->refcount = 1; in flk_check_deadlock()
3135 ASSERT(pep->refcount); in flk_check_deadlock()
3136 pep->refcount++; in flk_check_deadlock()
3143 pep->refcount = 1; in flk_check_deadlock()
3199 pep->refcount--; in flk_check_deadlock()
3200 if (pep->refcount == 0) { in flk_check_deadlock()
3227 pep->refcount--; in flk_check_deadlock()
3228 if (pep->refcount in flk_check_deadlock()
[all...]
/titanic_51/usr/src/uts/common/fs/zfs/sys/
H A Drefcount.h52 typedef struct refcount { struct
80 typedef struct refcount { argument
59 rc_removedrefcount global() argument
/titanic_51/usr/src/cmd/sendmail/db/lock/
H A Dlock.c198 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);
/titanic_51/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c266 int *refcount; member
293 if (ref && rp->refcount) { in dr_check_dip()
294 *rp->refcount += ref; in dr_check_dip()
322 dr_check_devices(dev_info_t *dip, int *refcount, dr_handle_t *handle, in dr_check_devices() argument
330 bref.refcount = refcount; in dr_check_devices()
H A Ddr_io.c365 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()
/titanic_51/usr/src/uts/sun4u/ngdr/io/
H A Ddr_quiesce.c267 int *refcount; member
294 if (ref && rp->refcount) { in dr_check_dip()
295 *rp->refcount += ref; in dr_check_dip()
323 dr_check_devices(dev_info_t *dip, int *refcount, dr_handle_t *handle, in dr_check_devices() argument
331 bref.refcount = refcount; in dr_check_devices()
H A Ddr_io.c387 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()
/titanic_51/usr/src/uts/sun4u/io/
H A Dsbd_io.c215 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()
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c185 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()
/titanic_51/usr/src/uts/common/sys/
H A Dkiconv.h72 uint_t refcount; member
/titanic_51/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_tkt_policy.c296 int refcount = 0; local
321 "krbTicketPolicyReference", &refcount, ld)) != 0)
324 if (refcount == 0) {
/titanic_51/usr/src/lib/libshell/common/include/
H A Dpath.h55 int refcount; member
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dpath.h56 int refcount; member
/titanic_51/usr/src/uts/sun4u/sys/
H A Dsbd.h112 void sbdp_check_devices(dev_info_t *, int *refcount, sbd_error_t *, int *);
/titanic_51/usr/src/cmd/sendmail/db/include/
H A Dlog.h55 u_int32_t refcount; /* Reference counted. */ member
H A Dlock.h141 u_int32_t refcount; /* Reference count the lock. */ member
/titanic_51/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h119 int refcount; member
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dpath.c311 if(--pp->refcount<=0) in path_delete()
1440 pp->refcount = 1; in path_addcomp()
1628 pp->refcount++; in path_dup()
1650 if(--next->refcount<=0) in path_newdir()
1720 if(--ppsave->refcount<=0) in path_unsetfpath()
1767 if(--pp->refcount<=0) in talias_put()
1788 pp->refcount++; in path_alias()

12