Searched refs:refcount (Results 26 - 50 of 227) sorted by relevance

12345678910

/freebsd-10.2-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c59 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 Dib_umem.h75 struct kref refcount; member in struct:ib_cmem
/freebsd-10.2-release/lib/libc/nls/
H A Dmsgcat.c86 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 Dfwmem.c94 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 Dmulticast.c62 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 Dmad.c332 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 Dzhack.c78 " 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 Ddrm_irq.c92 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 Dcq.c64 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 Dsrq.c51 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 Dicm.c146 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 Dmcg.c113 /* 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 Dclone.c83 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 Dcam_sim.h109 int refcount; /* References to the SIM. */ member in struct:cam_sim
H A Dcam_periph.h130 u_int32_t refcount; member in struct:cam_periph
225 periph->refcount++;
241 periph->refcount++;
/freebsd-10.2-release/sys/sys/
H A Dsglist.h42 #include <sys/refcount.h>
/freebsd-10.2-release/sys/dev/cxgb/
H A Dcxgb_offload.h44 int refcount; member in struct:uld_info
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Drrwlock.h37 #include <sys/refcount.h>
/freebsd-10.2-release/contrib/binutils/bfd/
H A Dbfdwin.c46 /* 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 Delfxx-sparc.h57 bfd_signed_vma refcount; member in union:_bfd_sparc_elf_link_hash_table::__anon248
/freebsd-10.2-release/sys/netsmb/
H A Dsmb_dev.c112 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 Dssh-pkcs11.c60 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 Dinit_creds.c76 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 Dnetmap_mem2.c129 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 Ddiff.h77 int refcount; member in struct:svn_diff__lcs_t

Completed in 324 milliseconds

12345678910