Home
last modified time | relevance | path

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

12

/titanic_41/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()
295 feature_sync(spa_t *spa, zfeature_info_t *feature, uint64_t refcount, in feature_sync() argument
303 sizeof (uint64_t), 1, &refcount, tx)); in feature_sync()
316 atomic_swap_64(refcount_cache, refcount)); in feature_sync()
319 if (refcount == 0) in feature_sync()
377 uint64_t refcount; in feature_do_action() local
389 VERIFY3U(feature_get_refcount(spa, feature, &refcount), !=, ENOTSUP); in feature_do_action()
393 VERIFY3U(refcount, !=, UINT64_MAX); in feature_do_action()
[all …]
/titanic_41/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_41/usr/src/cmd/zhack/
H A Dzhack.c374 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()
/titanic_41/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_41/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_41/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()
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()
1368 if (module_list[mid].refcount > 0) in kiconvstr()
[all …]
H A Dflock.c2807 ASSERT(pep->refcount); in flk_check_deadlock()
2808 pep->refcount++; in flk_check_deadlock()
2815 pep->refcount = 1; in flk_check_deadlock()
2832 ASSERT(pep->refcount); in flk_check_deadlock()
2833 pep->refcount++; in flk_check_deadlock()
2840 pep->refcount = 1; in flk_check_deadlock()
2896 pep->refcount--; in flk_check_deadlock()
2897 if (pep->refcount == 0) { in flk_check_deadlock()
2924 pep->refcount--; in flk_check_deadlock()
2925 if (pep->refcount == 0) { in flk_check_deadlock()
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Drefcount.h52 typedef struct refcount { struct
80 typedef struct refcount { argument
/titanic_41/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_41/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_41/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_41/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_41/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()
H A Dprof_int.h62 int refcount; /* prf_file_t references */ member
/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_gem.c178 atomic_inc(&obj->refcount); in drm_gem_object_reference()
187 atomic_sub(1, &obj->refcount); in drm_gem_object_unreference()
188 if (obj->refcount == 0) in drm_gem_object_unreference()
349 atomic_set(&obj->refcount, 1); in drm_gem_object_alloc()
/titanic_41/usr/src/uts/common/sys/
H A Dkiconv.h72 uint_t refcount; member
/titanic_41/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_41/usr/src/lib/libshell/common/include/
H A Dpath.h55 int refcount; member
/titanic_41/usr/src/uts/sun4u/sys/
H A Dsbd.h112 void sbdp_check_devices(dev_info_t *, int *refcount, sbd_error_t *, int *);
/titanic_41/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_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h119 int refcount; member
/titanic_41/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