Searched refs:refcount (Results 1 - 25 of 67) sorted by relevance

123

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfeature.c247 uint64_t refcount; local
259 feature->fi_guid, sizeof (uint64_t), 1, &refcount);
266 *res = refcount;
296 feature_sync(spa_t *spa, zfeature_info_t *feature, uint64_t refcount, argument
304 sizeof (uint64_t), 1, &refcount, tx));
317 atomic_swap_64(refcount_cache, refcount));
320 if (refcount == 0)
391 uint64_t refcount; local
403 VERIFY3U(feature_get_refcount(spa, feature, &refcount), !=, ENOTSUP);
407 VERIFY3U(refcount, !
470 uint64_t refcount; local
485 uint64_t refcount; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Drefcount.h52 typedef struct refcount { struct
89 typedef struct refcount { struct
H A Ddmu_tx.h35 #include <sys/refcount.h>
H A Drrwlock.h38 #include <sys/refcount.h>
H A Dabd.h23 #include <sys/refcount.h>
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dpath.h55 int refcount; member in struct:pathcomp
/illumos-gate/usr/src/uts/common/sys/
H A Dkiconv.h70 uint_t refcount; member in struct:__anon63
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dmkservice.c119 int refcount; member in struct:Service_s
177 if(--sp->refcount==0)
193 sp->refcount++;
389 if(--sp->refcount<=0)
440 sp->refcount = 1;
/illumos-gate/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) {
/illumos-gate/usr/src/cmd/zhack/
H A Dzhack.c77 " change the refcount on the given feature\n"
78 " -d decrease instead of increase the refcount\n"
79 " -m add the feature to the label if increasing refcount\n"
341 uint64_t refcount; local
343 VERIFY0(feature_get_refcount_from_disk(spa, feature, &refcount));
344 feature_sync(spa, feature, refcount + 1, tx);
354 uint64_t refcount; local
356 VERIFY0(feature_get_refcount_from_disk(spa, feature, &refcount));
357 feature_sync(spa, feature, refcount - 1, tx);
417 "'%s' is a real feature, will not change refcount");
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dkiconv.c999 count = module_list[mid].refcount;
1088 if (module_list[mid].refcount > 0) {
1158 if (module_list[mid].refcount > 0) {
1249 * specific, the "refcount" is thus the reference counter of
1252 if (module_list[mid].refcount < UINT_MAX)
1253 module_list[mid].refcount++;
1288 if (module_list[mid].refcount > 0)
1289 module_list[mid].refcount--;
1337 if (module_list[mid].refcount > 0)
1338 module_list[mid].refcount
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c236 int *refcount; member in struct:sbdp_ref
251 ASSERT(sbrp->refcount != NULL);
262 (*sbrp->refcount)++;
274 (*sbrp->refcount)++;
291 sbdp_check_devices(dev_info_t *dip, int *refcount, sbd_error_t *sep, argument
296 sbr.refcount = refcount;
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c266 int *refcount; member in struct:dr_ref
293 if (ref && rp->refcount) {
294 *rp->refcount += ref;
322 dr_check_devices(dev_info_t *dip, int *refcount, dr_handle_t *handle, argument
330 bref.refcount = refcount;
H A Ddr_io.c365 int refcount = 0, idx = 0; local
373 dr_check_devices(dip, &refcount, hp, unsafe_devs,
380 isp->is_referenced = (refcount == 0) ? 0 : 1;
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd_io.c215 int refcount = 0; local
269 sbdp_check_devices(dip, &refcount, sep, NULL);
271 isp->is_referenced = (refcount == 0) ? 0 : 1;
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_io.c387 int refcount = 0, idx = 0; local
395 dr_check_devices(dip, &refcount, hp, unsafe_devs,
402 isp->is_referenced = (refcount == 0) ? 0 : 1;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c185 d->refcount = 1;
258 data->refcount++;
553 data->refcount--;
554 if (data->refcount == 0)
H A Dprof_int.h34 * - refcount and next should only be tweaked with the global lock held
62 int refcount; /* prf_file_t references */ member in struct:_prf_data_t
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dlog.h55 u_int32_t refcount; /* Reference counted. */ member in struct:__db_entry
H A Dlock.h141 u_int32_t refcount; /* Reference count the lock. */ member in struct:__db_lock
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dsbd.h112 void sbdp_check_devices(dev_info_t *, int *refcount, sbd_error_t *, int *);
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h120 int refcount; member in struct:uld_info
/illumos-gate/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);
/illumos-gate/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) {
/illumos-gate/usr/src/lib/libzpool/common/
H A Dutil.c36 #include <sys/refcount.h>

Completed in 279 milliseconds

123