/freebsd-11-stable/sys/kern/ |
H A D | subr_sfbuf.c | 133 sf->ref_count++; 134 if (sf->ref_count == 1) { 164 sf->ref_count = 1; 190 sf->ref_count--; 191 if (sf->ref_count == 0) { 214 KASSERT(sf->ref_count > 0, ("%s: sf %p not allocated", __func__, sf)); 215 sf->ref_count++;
|
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_fmr_pool.h | 74 int ref_count; member in struct:ib_pool_fmr
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | object_pool.c | 61 volatile svn_atomic_t ref_count; 127 if (svn_atomic_read(&object_ref->ref_count) == 0) 158 if (svn_atomic_dec(&object->ref_count) == 0) 175 if (svn_atomic_inc(&object_ref->ref_count) == 0) 59 volatile svn_atomic_t ref_count; member in struct:object_ref_t
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_fmr_pool.c | 65 * these cases it is a bug if the ref_count is not 0. In other words, 66 * if ref_count is > 0, then the list member must not be linked into 71 * count of the FMR. When a valid FMR is released, its ref_count is 72 * decremented, and if ref_count reaches 0, the FMR is placed in 76 * this case we just increment the ref_count and remove the FMR from 84 * All manipulation of ref_count, list and cache_node is protected by 157 if (fmr->ref_count !=0) { 159 fmr, fmr->ref_count); 303 fmr->ref_count = 0; 436 ++fmr->ref_count; [all...] |
/freebsd-11-stable/sys/vm/ |
H A D | vm_object.c | 171 KASSERT(object->ref_count == 0, 172 ("object %p ref_count = %d", object, object->ref_count)); 207 object->ref_count = 0; 263 object->ref_count = 1; 459 object->ref_count++; 479 if (object->ref_count == 0) { 485 if (!umtx_shm_vnobj_persistent && object->ref_count == 1) 493 if (object->ref_count > 1 || (vp->v_vflag & VV_TEXT) == 0) { 494 object->ref_count [all...] |
H A D | vm_meter.c | 104 return (obj->ref_count > obj->shadow_count); 174 if (object->ref_count == 0) { 181 if (object->ref_count == 1 &&
|
H A D | vm_pageout.c | 767 if (object->ref_count != 0) 774 if (object->ref_count != 0) { 809 if (object->ref_count != 0) { 1227 if (object->ref_count != 0) { 1234 if (object->ref_count != 0) { 1264 if (object->ref_count != 0) { 1412 if (m->object->ref_count != 0) 1576 obj->ref_count != 1)
|
H A D | vnode_pager.c | 148 object->ref_count--; 168 if (obj->ref_count == 0) { 251 KASSERT(object->ref_count == 1, 252 ("leaked ref %p %d", object, object->ref_count)); 254 object->ref_count = 0; 262 object->ref_count++; 287 refs = object->ref_count;
|
/freebsd-11-stable/sys/fs/procfs/ |
H A D | procfs_map.c | 88 int error, privateresident, ref_count, resident, shadow_count, flags; local 189 ref_count = obj->ref_count; 199 ref_count = 0; 220 ref_count, shadow_count, flags,
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | dn_aqm.h | 112 int ref_count; /*Number of queues instances in the system */ member in struct:dn_aqm
|
H A D | dn_sched.h | 141 int ref_count; /* XXX number of instances in the system */ member in struct:dn_alg
|
H A D | dn_aqm_codel.c | 312 codel_desc.ref_count++; 329 codel_desc.ref_count--;
|
/freebsd-11-stable/sys/sys/ |
H A D | sf_buf.h | 97 int ref_count; /* usage of this mapping */ member in struct:sf_buf
|
/freebsd-11-stable/contrib/subversion/subversion/svnserve/ |
H A D | server.h | 194 svn_atomic_t ref_count; 193 svn_atomic_t ref_count; member in struct:connection_t
|
/freebsd-11-stable/contrib/gcc/ |
H A D | tree-ssa-live.h | 49 int *ref_count; member in struct:_var_map 98 gcc_assert (map->ref_count); 99 return map->ref_count[version]; 188 if (is_use && map->ref_count) 189 map->ref_count[version]++;
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_resource_tracker.c | 57 int ref_count; member in struct:mac_res 65 int ref_count; member in struct:vlan_res 115 atomic_t ref_count; member in struct:res_qp 144 atomic_t ref_count; member in struct:res_mtt 180 atomic_t ref_count; member in struct:res_cq 193 atomic_t ref_count; member in struct:res_srq 1010 atomic_set(&ret->ref_count, 0); 1026 atomic_set(&ret->ref_count, 0); 1070 atomic_set(&ret->ref_count, 0); 1085 atomic_set(&ret->ref_count, [all...] |
/freebsd-11-stable/sys/arm64/include/ |
H A D | bus_dma_impl.h | 50 int ref_count; member in struct:bus_dma_tag_common
|
/freebsd-11-stable/sys/x86/include/ |
H A D | busdma_impl.h | 50 int ref_count; member in struct:bus_dma_tag_common
|
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_indata.h | 52 atomic_add_int(&((net)->ref_count), 1); \
|
H A D | sctp_timer.c | 688 atomic_add_int(&alt->ref_count, 1); 750 atomic_add_int(&alt->ref_count, 1); 956 atomic_add_int(&stcb->asoc.alternate->ref_count, 1); 1092 atomic_add_int(&alt->ref_count, 1); 1137 atomic_add_int(&alt->ref_count, 1); 1150 atomic_add_int(&alt->ref_count, 1); 1219 atomic_add_int(&alt->ref_count, 1); 1233 atomic_add_int(&alt->ref_count, 1); 1240 atomic_add_int(&alt->ref_count, 1);
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_fs/ |
H A D | stats.c | 88 apr_uint32_t ref_count; member in struct:rep_stats_t 632 if (++text->ref_count == 1) 643 if (++props->ref_count == 1) 649 if (text && text->ref_count == 1) 652 if (props && props->ref_count == 1) 659 if ( noderev->kind == svn_node_dir && text && text->ref_count == 1 1250 if (rep->ref_count == 1) 1255 stats->references += rep->ref_count; 1256 stats->expanded_size += rep->ref_count * rep->expanded_size;
|
/freebsd-11-stable/sys/contrib/vchiq/interface/vchi/message_drivers/ |
H A D | message.h | 92 uint8_t ref_count[VCHI_MAX_SERVICES_PER_CONNECTION]; // reference count for slots held by services member in struct:rx_msg_slot_info
|
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | busdma_machdep.c | 156 common->ref_count = 1; /* Count ourself */ 185 atomic_add_int(&parent->ref_count, 1);
|
/freebsd-11-stable/sys/x86/x86/ |
H A D | busdma_machdep.c | 152 common->ref_count = 1; /* Count ourself */ 181 atomic_add_int(&parent->ref_count, 1);
|
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | busdma_machdep.c | 77 int ref_count; member in struct:bus_dma_tag 265 newtag->ref_count = 1; /* Count ourself */ 294 atomic_add_int(&parent->ref_count, 1); 360 atomic_subtract_int(&dmat->ref_count, 1); 361 if (dmat->ref_count == 0) {
|