Searched defs:refcount (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/lib/libshell/common/include/
H A Dpath.h55 int refcount; member in struct:pathcomp
/illumos-gate/usr/src/uts/i86pc/io/dr/
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;
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;
/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/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;
H A Ddr_quiesce.c267 int *refcount; member in struct:dr_ref
294 if (ref && rp->refcount) {
295 *rp->refcount += ref;
323 dr_check_devices(dev_info_t *dip, int *refcount, dr_handle_t *handle, argument
331 bref.refcount = refcount;
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Drefcount.h52 typedef struct refcount { struct
89 typedef struct refcount { struct
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
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/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/common/sys/
H A Dkiconv.h70 uint_t refcount; member in struct:__anon63
H A Dflock_impl.h459 int refcount; /* reference count of this edge */ member in struct:proc_edge
/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...]
H A Ddnode.c907 int64_t refcount; local
1006 refcount = zfs_refcount_count(&odn->dn_holds);
1007 ASSERT(refcount >= 0);
1011 ASSERT3U(dbufs, <=, refcount);
1012 DTRACE_PROBE3(dnode__move, dnode_t *, odn, int64_t, refcount,
1015 if (refcount > dbufs) {
1033 /* If the dnode was safe to move, the refcount cannot have changed. */
1034 ASSERT(refcount == zfs_refcount_count(&ndn->dn_holds));
/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/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/include/
H A Dlock.h141 u_int32_t refcount; /* Reference count the lock. */ member in struct:__db_lock
H A Dlog.h55 u_int32_t refcount; /* Reference counted. */ member in struct:__db_entry
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h120 int refcount; member in struct:uld_info
/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/cmd/nscd/
H A Dcache.h124 int refcount; /* reference count */ member in struct:nsc_entry_stat
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c312 unsigned int refcount; member in struct:fcc_set
1671 (*fccsp)->refcount--;
1672 if ((*fccsp)->refcount == 0) {
1884 assert(setptr->refcount != 0);
1885 setptr->refcount++;
1886 assert(setptr->refcount != 0);
1933 setptr->refcount = 1;
2274 setptr->refcount = 1;
/illumos-gate/usr/src/uts/common/rpc/
H A Dib.h187 int refcount; member in struct:rpcib_state
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_common.c112 * you don't hold the lock, you'd better have incremented the refcount
125 unsigned refcount; /* One for the pointer in */ member in struct:nss_db_state
171 #define NSS_STATE_REF_u(s) (++(s)->refcount)
173 #define NSS_UNREF_UNLOCK(r, s) (--(s)->refcount != 0 \
932 s->refcount = 1;
967 * Nobody else holds a pointer to *s (if they did, refcount != 0),
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c865 uint64_t refcount; local
891 if (nvlist_lookup_uint64(features, feature, &refcount) == 0)
898 if (refcount == 0)
905 if (refcount == 0) {
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c3114 refcount(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function
3799 (void) mdb_call_dcmd("refcount", addr +
3804 (void) mdb_call_dcmd("refcount", addr +
4346 { "refcount", ":[-r]\n"
4348 "print refcount_t holders", refcount },

Completed in 238 milliseconds

12