/freebsd-10.0-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.0-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) { 87 ++item->refcount; 103 MPASS(item->refcount != 0); 105 if (--item->refcount == 0) {
|
/freebsd-10.0-release/sys/cam/ |
H A D | cam_sim.c | 88 sim->refcount = 1; 113 sim->refcount--; 114 if (sim->refcount > 0) { 119 KASSERT(sim->refcount == 0, ("sim->refcount == 0")); 133 KASSERT(sim->refcount >= 1, ("sim->refcount >= 1")); 136 sim->refcount--; 137 if (sim->refcount == 0) 144 KASSERT(sim->refcount > [all...] |
H A D | cam_xpt_internal.h | 125 u_int32_t refcount; member in struct:cam_ed 141 u_int32_t refcount; member in struct:cam_et 161 u_int32_t refcount; member in struct:cam_eb
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfeature.c | 221 uint64_t refcount; local 232 &refcount); 239 *res = refcount; 249 uint64_t refcount; local 256 sizeof (uint64_t), 1, &refcount); 272 refcount = 0; 277 if (refcount == UINT64_MAX) 279 refcount++; 284 if (refcount == 0) 286 refcount 398 uint64_t refcount; local 414 uint64_t refcount; local [all...] |
/freebsd-10.0-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.0-release/sys/ofed/include/linux/ |
H A D | kref.h | 31 #include <sys/refcount.h>
|
/freebsd-10.0-release/lib/libkse/thread/ |
H A D | thr_find_thread.c | 67 pthread->refcount++; 89 thread->refcount--; 92 if ((thread->refcount == 0) &&
|
/freebsd-10.0-release/bin/sh/ |
H A D | nodes.c.pat | 65 unsigned int refcount; 84 fn->refcount = 1; 167 fn->refcount++; 180 fn->refcount--; 181 if (fn->refcount > 0)
|
/freebsd-10.0-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.0-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.0-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.0-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
|
H A D | rrwlock.h | 37 #include <sys/refcount.h>
|
/freebsd-10.0-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.0-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.0-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.0-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.0-release/lib/libc/db/mpool/ |
H A D | mpool.libtp | 133 bhp->refcount = 0; 149 buf_fids[i].refcount = 0; 333 bhp->refcount++; 336 buf_table + (bhp-bufhdr_table), bhp->refcount); 393 int close; /* should we dec refcount and possibly 407 invalidate = (buf_fids[fid].refcount == 1 && close); 418 buf_fids[fid].refcount--; 465 bhp->refcount++; 472 bhp->refcount--; 473 if ( bhp->refcount ) { [all...] |
/freebsd-10.0-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.0-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
|