/linux-master/drivers/video/fbdev/ |
H A D | vga16fb.c | 58 unsigned int ref_count; member in struct:vga16fb_par 302 if (!par->ref_count) { 308 par->ref_count++; 317 if (!par->ref_count) 320 if (par->ref_count == 1) 322 par->ref_count--;
|
H A D | s3fb.c | 37 unsigned int ref_count; member in struct:s3fb_info 506 if (par->ref_count == 0) { 517 par->ref_count++; 530 if (par->ref_count == 0) { 535 if (par->ref_count == 1) 538 par->ref_count--; 1441 if (par->ref_count == 0) { 1468 if (par->ref_count == 0) {
|
/linux-master/drivers/accel/qaic/ |
H A D | qaic_control.c | 76 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);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.c | 162 refcount_t ref_count; member in struct:mlxsw_sp_acl_tcam_vregion 183 refcount_t ref_count; member in struct:mlxsw_sp_acl_tcam_vchunk 789 refcount_set(&vregion->ref_count, 1); 880 refcount_inc(&vregion->ref_count); 895 if (!refcount_dec_and_test(&vregion->ref_count)) 948 refcount_set(&vchunk->ref_count, 1); 1032 refcount_inc(&vchunk->ref_count); 1043 if (!refcount_dec_and_test(&vchunk->ref_count))
|
/linux-master/net/openvswitch/ |
H A D | flow.h | 184 int ref_count; member in struct:sw_flow_mask
|
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss.c | 865 if (iss->ref_count > 0) 877 iss->ref_count++; 895 WARN_ON(iss->ref_count == 0); 896 if (--iss->ref_count == 0) {
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_compression.c | 66 ctr = atomic_read(&tmp_dev->ref_count);
|
H A D | qat_crypto.c | 64 ctr = atomic_read(&tmp_dev->ref_count);
|
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | isp.h | 154 * @ref_count: Reference count for handling multiple ISP requests. 192 struct mutex isp_mutex; /* For handling ref_count field */ 196 int ref_count; member in struct:isp_device
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_fw.h | 30 /** @ref_count: FW object reference counter. */ 31 struct kref ref_count; member in struct:pvr_fw_object
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfad_drv.h | 230 int ref_count; member in struct:bfad_s
|
/linux-master/drivers/s390/char/ |
H A D | vmur.c | 119 refcount_set(&urd->ref_count, 1); 135 refcount_inc(&urd->ref_count); 168 if (refcount_dec_and_test(&urd->ref_count)) 953 if (!force && (refcount_read(&urd->ref_count) > 2)) {
|
H A D | tape.h | 206 atomic_t ref_count; member in struct:tape_device
|
/linux-master/include/sound/ |
H A D | hdaudio_ext.h | 103 int ref_count; member in struct:hdac_ext_link
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_flex_type.h | 146 u16 *ref_count; member in struct:ice_es
|
/linux-master/sound/soc/sof/intel/ |
H A D | hda-mlink.c | 410 hlink->ref_count = 1; 673 if (++hlink->ref_count > 1) 721 if (--hlink->ref_count > 0) 872 if (!h2link->alt && hlink->ref_count) {
|
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 926 if (atomic_dec_and_test(&video->camss->ref_count)) 1062 atomic_inc(&video->camss->ref_count); 1077 atomic_inc(&video->camss->ref_count); 1079 atomic_dec(&video->camss->ref_count);
|
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_core.c | 240 kref_get_unless_zero(&service->ref_count)) { 259 kref_get_unless_zero(&service->ref_count)) { 280 kref_get_unless_zero(&service->ref_count)) { 302 kref_get_unless_zero(&service->ref_count)) { 348 if (kref_get_unless_zero(&service->ref_count)) { 364 kref_get(&service->ref_count); 370 container_of(kref, struct vchiq_service, ref_count); 387 kref_put(&service->ref_count, service_release); 592 kref_get_unless_zero(&service->ref_count)) { 615 kref_get_unless_zero(&service->ref_count)) { 3399 unsigned int ref_count; local [all...] |
/linux-master/sound/pci/cs46xx/ |
H A D | dsp_spos_scb_lib.c | 93 snd_iprintf(buffer,"index [%d] ref_count [%d]\n",scb->index,scb->ref_count); 1280 ins->pcm_channels[i].src_scb->ref_count ++; 1470 pcm_channel->src_scb->ref_count <= 0)) 1477 pcm_channel->src_scb->ref_count --; 1483 if (!pcm_channel->src_scb->ref_count) {
|
/linux-master/drivers/usb/serial/ |
H A D | mos7720.c | 90 struct kref ref_count; /* to instance of this struct */ member in struct:mos7715_parport 254 container_of(kref, struct mos7715_parport, ref_count); 563 kref_init(&mos_parport->ref_count); 588 kref_put(&mos_parport->ref_count, destroy_mos_parport); 1697 kref_put(&mos_parport->ref_count, destroy_mos_parport);
|
/linux-master/drivers/media/platform/renesas/ |
H A D | rcar_jpu.c | 189 * @ref_count: reference counter 204 int ref_count; member in struct:jpu 1257 if (jpu->ref_count == 0) { 1267 jpu->ref_count++; 1295 if (--jpu->ref_count == 0) 1712 if (jpu->ref_count == 0) 1724 if (jpu->ref_count == 0)
|
/linux-master/fs/ext4/ |
H A D | xattr.c | 363 static void ext4_xattr_inode_set_ref(struct inode *ea_inode, u64 ref_count) argument 365 inode_set_ctime(ea_inode, (u32)(ref_count >> 32), 0); 366 inode_set_iversion_raw(ea_inode, ref_count & 0xffffffff); 1039 s64 ref_count; local 1048 ref_count = ext4_xattr_inode_get_ref(ea_inode); 1049 ref_count += ref_change; 1050 ext4_xattr_inode_set_ref(ea_inode, ref_count); 1053 WARN_ONCE(ref_count <= 0, "EA inode %lu ref_count=%lld", 1054 ea_inode->i_ino, ref_count); [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | main.h | 386 * @ref_count: Number of references held for this priv data 393 int ref_count; member in struct:nfp_flower_non_repr_priv 424 * @ref_count: number of rules currently using this IP 429 int ref_count; member in struct:nfp_ipv6_addr_entry
|
/linux-master/drivers/mtd/ubi/ |
H A D | ubi.h | 280 * @ref_count: volume reference count 335 int ref_count; member in struct:ubi_volume 448 * @vol->metaonly, @vol->ref_count, @vol->mapping and 450 * @ref_count: count of references on the UBI device 563 int ref_count; member in struct:ubi_device
|
H A D | kapi.c | 186 vol->ref_count += 1; 369 vol->ref_count -= 1;
|