/freebsd-10.2-release/contrib/apr-util/buckets/ |
H A D | apr_buckets_refcount.c | 28 r->refcount++; 39 r->refcount++; 47 r->refcount--; 48 return (r->refcount == 0); 61 r->refcount = 1;
|
/freebsd-10.2-release/sys/dev/drm2/ |
H A D | drm_global.c | 42 int refcount; member in struct:drm_global_item 55 item->refcount = 0; 65 MPASS(item->refcount == 0); 77 if (item->refcount == 0) { 91 ++item->refcount; 108 MPASS(item->refcount != 0); 110 if (--item->refcount == 0) {
|
/freebsd-10.2-release/sys/cam/ |
H A D | cam_sim.c | 88 sim->refcount = 1; 107 sim->refcount--; 108 if (sim->refcount > 0) { 113 KASSERT(sim->refcount == 0, ("sim->refcount == 0")); 128 KASSERT(sim->refcount >= 1, ("sim->refcount >= 1")); 129 sim->refcount--; 130 if (sim->refcount == 0) 144 KASSERT(sim->refcount > [all...] |
H A D | cam_xpt_internal.h | 115 u_int32_t refcount; member in struct:cam_ed 133 u_int32_t refcount; member in struct:cam_et 154 u_int32_t refcount; member in struct:cam_eb
|
/freebsd-10.2-release/contrib/ntp/lib/isc/ |
H A D | refcount.c | 17 /* $Id: refcount.c,v 1.5 2007/06/19 23:47:17 tbox Exp $ */ 24 #include <isc/refcount.h>
|
/freebsd-10.2-release/sys/ofed/drivers/infiniband/core/ |
H A D | iwcm.h | 55 atomic_t refcount; member in struct:iwcm_id_private
|
H A D | mad_priv.h | 112 atomic_t refcount; member in struct:ib_mad_agent_private 121 atomic_t refcount; member in struct:ib_mad_snoop_private 139 int refcount; member in struct:ib_mad_send_wr_private
|
H A D | notice.c | 65 atomic_t refcount; member in struct:inform_port 100 atomic_t refcount; member in struct:inform_group 112 atomic_t refcount; member in struct:inform_member 168 if (atomic_dec_and_test(&port->refcount)) 178 if (atomic_dec_and_test(&group->refcount)) { 189 if (atomic_dec_and_test(&member->refcount)) 202 atomic_inc(&group->refcount); 286 atomic_inc(&member->refcount); 323 atomic_inc(&member->refcount); 371 atomic_inc(&member->refcount); [all...] |
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfeature.c | 247 uint64_t refcount; local 259 feature->fi_guid, sizeof (uint64_t), 1, &refcount); 266 *res = refcount; 295 feature_sync(spa_t *spa, zfeature_info_t *feature, uint64_t refcount, argument 303 sizeof (uint64_t), 1, &refcount, tx)); 317 atomic_swap_64(refcount_cache, refcount)); 319 *refcount_cache = refcount; 323 if (refcount == 0) 380 uint64_t refcount; local 392 VERIFY3U(feature_get_refcount(spa, feature, &refcount), ! 459 uint64_t refcount; local 474 uint64_t refcount; local [all...] |
/freebsd-10.2-release/sys/ofed/include/linux/ |
H A D | kmod.h | 35 #include <sys/refcount.h>
|
H A D | kref.h | 33 #include <sys/refcount.h>
|
/freebsd-10.2-release/lib/libkse/thread/ |
H A D | thr_find_thread.c | 67 pthread->refcount++; 89 thread->refcount--; 92 if ((thread->refcount == 0) &&
|
/freebsd-10.2-release/contrib/binutils/bfd/ |
H A D | elf-strtab.c | 36 unsigned int refcount; member in struct:elf_strtab_hash_entry 84 ret->refcount = 0; 158 entry->refcount++; 186 ++tab->array[idx]->refcount; 196 BFD_ASSERT (tab->array[idx]->refcount > 0); 197 --tab->array[idx]->refcount; 206 tab->array[idx]->refcount = 0; 225 BFD_ASSERT (entry->refcount > 0); 226 entry->refcount--; 243 BFD_ASSERT (tab->array[i]->refcount [all...] |
/freebsd-10.2-release/sys/net/ |
H A D | if_epair.c | 57 #include <sys/refcount.h> 134 u_int refcount; /* # of mbufs in flight. */ member in struct:epair_softc 254 EPAIR_REFCOUNT_RELEASE(&sc->refcount); 255 EPAIR_REFCOUNT_ASSERT((int)sc->refcount >= 1, 256 ("%s: ifp=%p sc->refcount not >= 1: %d", 257 __func__, ifp, sc->refcount)); 258 DPRINTF("ifp=%p refcount=%u\n", ifp, sc->refcount); 300 EPAIR_REFCOUNT_RELEASE(&sc->refcount); 301 EPAIR_REFCOUNT_ASSERT((int)sc->refcount > [all...] |
/freebsd-10.2-release/crypto/heimdal/lib/krb5/ |
H A D | keytab_memory.c | 42 int refcount; member in struct:mkt_data 46 /* this mutex protects mkt_head, ->refcount, and ->next 64 if (d->refcount < 1) 66 "refcount < 1 %d", d->refcount); 67 d->refcount++; 90 d->refcount = 1; 105 if (d->refcount < 1) 107 "krb5 internal error, memory keytab refcount < 1 on close"); 109 if (--d->refcount > [all...] |
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | refcount.h | 31 #include_next <sys/refcount.h> 54 typedef struct refcount { struct 82 typedef struct refcount { struct
|
/freebsd-10.2-release/contrib/subversion/subversion/libsvn_fs_base/bdb/ |
H A D | env.h | 73 unsigned refcount; 72 unsigned refcount; member in struct:bdb_error_info_t
|
H A D | env.c | 138 unsigned refcount; member in struct:bdb_env_t 257 if (!bdb->refcount) 501 if (--bdb->refcount != 0) 530 SVN_ERR_ASSERT(bdb_baton->error_info->refcount > 0); 540 if (0 == --bdb_baton->error_info->refcount && bdb->pool) 655 bdb->refcount = 1; 659 ++bdb->refcount; 666 ++(*bdb_batonp)->error_info->refcount;
|
/freebsd-10.2-release/sys/dev/drm2/ttm/ |
H A D | ttm_object.c | 69 u_int refcount; member in struct:ttm_object_file 126 refcount_acquire(&tfile->refcount); 142 if (refcount_release(&tfile->refcount)) 163 refcount_init(&base->refcount, 1); 220 if (refcount_release(&base->refcount)) 238 refcount_acquire(&base->refcount); 303 refcount_acquire(&base->refcount); 401 refcount_init(&tfile->refcount, 1);
|
H A D | ttm_object.h | 49 * TTM_REF_USAGE is a simple refcount on a base object. 100 * @refcount: Number of references to this object, not 127 u_int refcount; member in struct:ttm_base_object 177 * Decrements the base object refcount and clears the pointer pointed to by 191 * already existed, and the refcount was upped on that object instead.
|
/freebsd-10.2-release/contrib/subversion/subversion/libsvn_diff/ |
H A D | lcs.c | 100 lcs->refcount--; 101 if (lcs->refcount) 128 previous_lcs->refcount++; 162 lcs->refcount = 1; 224 new_lcs->refcount = 1; 266 lcs->refcount = 1;
|
/freebsd-10.2-release/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_cm.h | 36 #include <sys/refcount.h> 53 ep, atomic_load_acq_int(&((ep)->refcount))); \ 54 if (refcount_release(&((ep)->refcount))) \ 60 ep, atomic_load_acq_int(&((ep)->refcount))); \ 61 refcount_acquire(&((ep)->refcount)); \ 153 u_int refcount; member in struct:iwch_ep_common
|
/freebsd-10.2-release/contrib/wpa/src/l2_packet/ |
H A D | l2_packet_ndis.c | 54 int refcount; member in struct:l2_packet_ndisuio_global 309 l2 = l2_ndisuio_global->l2[l2_ndisuio_global->refcount - 1]; 362 if (l2_ndisuio_global->refcount >= 2) { 367 l2_ndisuio_global->refcount++; 372 l2_ndisuio_global->l2[l2_ndisuio_global->refcount - 1] = l2; 387 if (l2_ndisuio_global->refcount > 1) { 459 l2_ndisuio_global->refcount--; 460 l2_ndisuio_global->l2[l2_ndisuio_global->refcount] = NULL; 461 if (l2_ndisuio_global->refcount) {
|
/freebsd-10.2-release/contrib/ntp/lib/isc/include/isc/ |
H A D | radix.h | 30 #include <isc/refcount.h> 53 isc_refcount_init(&(pt).refcount, 0); \ 59 isc_refcount_t refcount; member in struct:isc_prefix
|
/freebsd-10.2-release/sys/ofed/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.h | 203 int refcount; member in struct:mthca_cq 224 int refcount; member in struct:mthca_srq 262 int refcount; member in struct:mthca_qp
|