/freebsd-10.2-release/sys/ofed/drivers/infiniband/hw/mthca/ |
H A D | mthca_memfree.c | 59 int refcount; member in struct:mthca_user_db_table::__anon11328 151 icm->refcount = 0; 230 ++table->icm[i]->refcount; 250 ++table->icm[i]->refcount; 269 if (--table->icm[i]->refcount == 0) { 409 ++table->icm[i]->refcount; 478 if ((db_tab->page[i].refcount >= MTHCA_DB_REC_PER_PAGE) || 485 if (db_tab->page[i].refcount) { 486 ++db_tab->page[i].refcount; 515 db_tab->page[i].refcount [all...] |
/freebsd-10.2-release/sys/ofed/include/rdma/ |
H A D | ib_umem.h | 75 struct kref refcount; member in struct:ib_cmem
|
/freebsd-10.2-release/lib/libc/nls/ |
H A D | msgcat.c | 86 np->refcount = 0; \ 107 int refcount; member in struct:catentry 155 np->refcount++; 343 np->refcount--; 344 if (np->refcount == 0) { 382 np->refcount++; 443 np->refcount = 1;
|
/freebsd-10.2-release/sys/dev/firewire/ |
H A D | fwmem.c | 94 int refcount; member in struct:fwmem_softc 295 fms->refcount ++; 307 fms->refcount = 1; 310 printf("%s: refcount=%d\n", __func__, fms->refcount); 323 fms->refcount --; 326 printf("%s: refcount=%d\n", __func__, fms->refcount); 327 if (fms->refcount < 1) {
|
/freebsd-10.2-release/sys/ofed/drivers/infiniband/core/ |
H A D | multicast.c | 62 atomic_t refcount; member in struct:mcast_port 104 atomic_t refcount; member in struct:mcast_group 119 atomic_t refcount; member in struct:mcast_member 180 if (atomic_dec_and_test(&port->refcount)) 190 if (atomic_dec_and_test(&group->refcount)) { 201 if (atomic_dec_and_test(&member->refcount)) 214 atomic_inc(&group->refcount); 382 atomic_inc(&member->refcount); 426 atomic_inc(&member->refcount); 478 atomic_inc(&member->refcount); [all...] |
H A D | mad.c | 332 atomic_set(&mad_agent_priv->refcount, 1); 501 atomic_set(&mad_snoop_priv->refcount, 1); 513 if (atomic_dec_and_test(&mad_agent_priv->refcount)) 519 if (atomic_dec_and_test(&mad_snoop_priv->refcount)) 625 atomic_inc(&mad_snoop_priv->refcount); 650 atomic_inc(&mad_snoop_priv->refcount); 760 atomic_inc(&mad_agent_priv->refcount); 796 atomic_inc(&mad_agent_priv->refcount); 928 atomic_inc(&mad_agent_priv->refcount); 1125 mad_send_wr->refcount [all...] |
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/zhack/ |
H A D | zhack.c | 78 " change the refcount on the given feature\n" 79 " -d decrease instead of increase the refcount\n" 80 " -m add the feature to the label if increasing refcount\n" 377 uint64_t refcount; local 379 VERIFY0(feature_get_refcount_from_disk(spa, feature, &refcount)); 380 feature_sync(spa, feature, refcount + 1, tx); 390 uint64_t refcount; local 392 VERIFY0(feature_get_refcount_from_disk(spa, feature, &refcount)); 393 feature_sync(spa, feature, refcount - 1, tx); 453 "'%s' is a real feature, will not change refcount"); [all...] |
/freebsd-10.2-release/sys/dev/drm/ |
H A D | drm_irq.c | 92 if (dev->vblank[i].refcount == 0 && 142 dev->vblank[i].refcount = 0; 316 if (++dev->vblank[crtc].refcount == 1 && 321 --dev->vblank[crtc].refcount; 340 KASSERT(dev->vblank[crtc].refcount > 0, 341 ("invalid refcount")); 344 if (--dev->vblank[crtc].refcount == 0)
|
/freebsd-10.2-release/sys/ofed/drivers/net/mlx4/ |
H A D | cq.c | 64 atomic_inc(&cq->refcount); 77 if (atomic_dec_and_test(&cq->refcount)) 90 atomic_inc(&cq->refcount); 101 if (atomic_dec_and_test(&cq->refcount)) 331 atomic_set(&cq->refcount, 1); 367 if (atomic_dec_and_test(&cq->refcount))
|
H A D | srq.c | 51 atomic_inc(&srq->refcount); 62 if (atomic_dec_and_test(&srq->refcount)) 210 atomic_set(&srq->refcount, 1); 239 if (atomic_dec_and_test(&srq->refcount))
|
H A D | icm.c | 146 icm->refcount = 0; 254 ++table->icm[i]->refcount; 274 ++table->icm[i]->refcount; 290 if (--table->icm[i]->refcount == 0) { 431 ++table->icm[i]->refcount;
|
/freebsd-10.2-release/sys/ofed/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 113 /* refcount is the reference count for the following: 118 atomic_t refcount; member in struct:mcast_group 436 if (atomic_dec_and_test(&group->refcount)) { 440 atomic_inc(&group->refcount); 569 atomic_inc(&group->refcount); 571 safe_atomic_dec(&group->refcount); 773 atomic_inc(&group->refcount); 861 atomic_inc(&group->refcount); 869 atomic_inc(&group->refcount); /* for the request */ 870 atomic_inc(&group->refcount); /* fo [all...] |
/freebsd-10.2-release/sys/dev/sound/ |
H A D | clone.c | 83 int refcount; member in struct:snd_clone 182 c->refcount = 0; 555 SND_CLONE_ASSERT(c->refcount >= 0, ("refcount < 0")); 557 return (++c->refcount); 574 SND_CLONE_ASSERT(c->refcount > 0, ("refcount <= 0")); 576 c->refcount--; 583 (c->refcount == 0 && (c->flags & SND_CLONE_GC_LASTREF)))) 586 return (c->refcount); [all...] |
/freebsd-10.2-release/sys/cam/ |
H A D | cam_sim.h | 109 int refcount; /* References to the SIM. */ member in struct:cam_sim
|
H A D | cam_periph.h | 130 u_int32_t refcount; member in struct:cam_periph 225 periph->refcount++; 241 periph->refcount++;
|
/freebsd-10.2-release/sys/sys/ |
H A D | sglist.h | 42 #include <sys/refcount.h>
|
/freebsd-10.2-release/sys/dev/cxgb/ |
H A D | cxgb_offload.h | 44 int refcount; member in struct:uld_info
|
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | rrwlock.h | 37 #include <sys/refcount.h>
|
/freebsd-10.2-release/contrib/binutils/bfd/ |
H A D | bfdwin.c | 46 /* The idea behind the next and refcount fields is that one mapped 58 . int refcount : 31; {* should be enough... *} 79 i->refcount--; 83 if (i->refcount != 0) 229 i->refcount = 1;
|
H A D | elfxx-sparc.h | 57 bfd_signed_vma refcount; member in union:_bfd_sparc_elf_link_hash_table::__anon248
|
/freebsd-10.2-release/sys/netsmb/ |
H A D | smb_dev.c | 112 sdp->refcount = 1; 152 MPASS(sdp->refcount > 0); 153 sdp->refcount--; 154 if (sdp->refcount) 408 sdp->refcount++;
|
/freebsd-10.2-release/crypto/openssh/ |
H A D | ssh-pkcs11.c | 60 int refcount; member in struct:pkcs11_provider 97 debug("pkcs11_provider_finalize: %p refcount %d valid %d", 98 p, p->refcount, p->valid); 121 debug("pkcs11_provider_unref: %p refcount %d", p, p->refcount); 122 if (--p->refcount <= 0) { 312 provider->refcount++; /* provider referenced by RSA key */ 638 p->refcount++; /* add to provider list */
|
/freebsd-10.2-release/crypto/heimdal/lib/krb5/ |
H A D | init_creds.c | 76 o->opt_private->refcount = 1; 93 if (opt->opt_private->refcount < 1) /* abort ? */ 95 if (--opt->opt_private->refcount == 0) {
|
/freebsd-10.2-release/sys/dev/netmap/ |
H A D | netmap_mem2.c | 129 int refcount; /* existing priv structures */ member in struct:netmap_mem_d 1091 if (nmd->refcount > 0) 1092 D("bug: deleting mem allocator with refcount=%d!", nmd->refcount); 1113 nmd->refcount++; 1122 if (--nmd->refcount <= 0) 1226 if (nmd->refcount) 1264 nmd->refcount++; 1279 nmd->refcount--; 1531 nmd->refcount [all...] |
/freebsd-10.2-release/contrib/subversion/subversion/libsvn_diff/ |
H A D | diff.h | 77 int refcount; member in struct:svn_diff__lcs_t
|