Searched refs:ref_count (Results 1 - 25 of 182) sorted by path

12345678

/linux-master/drivers/video/fbdev/riva/
H A Drivafb.h57 unsigned int ref_count; member in struct:riva_par
/linux-master/include/video/
H A Dneomagic.h126 unsigned int ref_count; member in struct:neofb_par
/linux-master/sound/pci/cs46xx/
H A Dcs46xx_dsp_spos.h105 int ref_count; member in struct:dsp_scb_descriptor
/linux-master/arch/powerpc/xmon/
H A Dxmon.c104 atomic_t ref_count; member in struct:bpt
516 atomic_dec(&bp->ref_count);
707 atomic_inc(&bp->ref_count);
717 atomic_inc(&bp->ref_count);
771 atomic_dec(&bp->ref_count);
841 atomic_dec(&bp->ref_count);
893 if (!bp->enabled && atomic_read(&bp->ref_count) == 0) {
/linux-master/arch/s390/include/asm/
H A Ddebug.h47 refcount_t ref_count; member in struct:debug_info
433 .ref_count = REFCOUNT_INIT(1), \
H A Dgmap.h31 * @ref_count: reference counter for the gmap structure
53 refcount_t ref_count; member in struct:gmap
H A Dkvm_host.h938 u32 ref_count[MAX_ISC + 1]; member in struct:kvm_s390_gisa_iam
/linux-master/arch/s390/kernel/
H A Ddebug.c256 refcount_set(&(rc->ref_count), 0);
317 refcount_set(&rc->ref_count, 1);
367 refcount_inc(&db_info->ref_count);
378 if (refcount_dec_and_test(&db_info->ref_count))
/linux-master/arch/s390/kvm/
H A Dinterrupt.c3270 gi->alert.ref_count[gisc]++;
3271 if (gi->alert.ref_count[gisc] == 1) {
3310 if (gi->alert.ref_count[gisc] == 0) {
3314 gi->alert.ref_count[gisc]--;
3315 if (gi->alert.ref_count[gisc] == 0) {
/linux-master/arch/s390/mm/
H A Dextmem.c68 refcount_t ref_count; member in struct:dcss_segment
368 refcount_set(&seg->ref_count, 1);
428 refcount_inc(&seg->ref_count);
474 if (refcount_read(&seg->ref_count) != 1) {
550 if (!refcount_dec_and_test(&seg->ref_count))
H A Dgmap.c81 refcount_set(&gmap->ref_count, 1);
230 refcount_inc(&gmap->ref_count);
243 if (refcount_dec_and_test(&gmap->ref_count))
1632 refcount_inc(&sg->ref_count);
1721 refcount_set(&new->ref_count, 2);
/linux-master/drivers/accel/qaic/
H A Dqaic.h49 struct kref ref_count; member in struct:qaic_user
252 struct kref ref_count; member in struct:bo_slice
H A Dqaic_control.c76 struct kref ref_count; member in struct:wrapper_msg
291 struct wrapper_msg *wrapper = container_of(ref, struct wrapper_msg, ref_count);
348 kref_init(&w->ref_count);
1081 kref_get(&w->ref_count);
1087 kref_put(&w->ref_count, free_wrapper);
1140 kref_put(&wrapper->ref_count, free_wrapper);
1232 kref_put(&wrapper->ref_count, free_wrapper);
1430 kref_put(&wrapper->ref_count, free_wrapper);
H A Dqaic_data.c161 struct bo_slice *slice = container_of(kref, struct bo_slice, ref_count);
423 kref_init(&slice->ref_count);
907 kref_put(&slice->ref_count, free_slice);
H A Dqaic_drv.c96 struct qaic_user *usr = container_of(kref, struct qaic_user, ref_count);
131 kref_init(&usr->ref_count);
184 kref_put(&usr->ref_count, free_usr);
264 kref_get(&usr->ref_count);
268 kref_put(&usr->ref_count, free_usr);
/linux-master/drivers/acpi/
H A Dpower.c54 unsigned int ref_count; member in struct:acpi_power_resource
400 if (resource->ref_count++) {
406 resource->ref_count--;
443 if (!resource->ref_count) {
449 if (--resource->ref_count) {
455 resource->ref_count++;
626 if (!resource->ref_count &&
902 return sprintf(buf, "%u\n", !!resource->ref_count);
1014 && resource->ref_count) {
1056 if (!resource->ref_count
[all...]
/linux-master/drivers/block/
H A Dswim.c187 int ref_count; member in struct:floppy_state
617 if (fs->ref_count == -1 || (fs->ref_count && mode & BLK_OPEN_EXCL))
620 fs->ref_count = -1;
622 fs->ref_count++;
650 if (fs->ref_count < 0)
651 fs->ref_count = 0;
652 else if (fs->ref_count > 0)
653 --fs->ref_count;
655 if (fs->ref_count
[all...]
H A Dswim3.c195 int ref_count; member in struct:floppy_state
900 if (fs->ref_count != 1)
931 if (fs->ref_count == 0) {
960 } else if (fs->ref_count == -1 || mode & BLK_OPEN_EXCL)
979 if (fs->ref_count == 0) {
988 fs->ref_count = -1;
990 ++fs->ref_count;
1012 if (fs->ref_count > 0)
1013 --fs->ref_count;
1014 else if (fs->ref_count
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_accel_devices.h375 atomic_t ref_count; member in struct:adf_accel_dev
H A Dadf_dev_mgr.c152 atomic_set(&accel_dev->ref_count, 0);
384 return atomic_read(&accel_dev->ref_count) != 0;
401 if (atomic_add_return(1, &accel_dev->ref_count) == 1)
421 if (atomic_sub_return(1, &accel_dev->ref_count) == 0)
H A Dicp_qat_uclo.h385 unsigned short ref_count; member in struct:icp_qat_uof_ae_reg
H A Dqat_compression.c66 ctr = atomic_read(&tmp_dev->ref_count);
H A Dqat_crypto.c64 ctr = atomic_read(&tmp_dev->ref_count);
/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf_ucode.c981 src_grp->mirror.ref_count++;
986 dst_grp->mirror.ref_count = 0;
998 src_grp->mirror.ref_count--;
1001 dst_grp->mirror.ref_count = 0;
1151 if (eng_grp->mirror.ref_count) {
H A Dotx_cptpf_ucode.h128 int ref_count; /* member in struct:otx_cpt_mirror_info

Completed in 449 milliseconds

12345678