Home
last modified time | relevance | path

Searched refs:atomic_dec_if_positive (Results 1 – 17 of 17) sorted by relevance

/linux-4.1.27/arch/microblaze/include/asm/
Datomic.h12 static inline int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
25 #define atomic_dec_if_positive atomic_dec_if_positive macro
Dmmu_context_mm.h87 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
/linux-4.1.27/include/linux/
Datomic.h96 #ifndef atomic_dec_if_positive
97 static inline int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
/linux-4.1.27/arch/powerpc/include/asm/
Datomic.h228 static __inline__ int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
249 #define atomic_dec_if_positive atomic_dec_if_positive macro
/linux-4.1.27/arch/metag/include/asm/
Datomic.h45 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
/linux-4.1.27/arch/avr32/include/asm/
Datomic.h185 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
/linux-4.1.27/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c59 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
/linux-4.1.27/arch/mips/include/asm/
Datomic.h276 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
/linux-4.1.27/sound/hda/
Dhdac_device.c557 if (atomic_dec_if_positive(&codec->in_pm) < 0) in snd_hdac_power_down_pm()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
Dsched.c453 atomic_dec_if_positive(&ctx->gang->aff_sched_count); in spu_unbind_context()
/linux-4.1.27/drivers/scsi/ibmvscsi/
Dibmvscsi.c575 if (!atomic_dec_if_positive(&pool->events[offset].free)) { in get_event_struct()
880 atomic_dec_if_positive(&hostdata->request_limit); in ibmvscsi_send_srp_event()
/linux-4.1.27/drivers/video/fbdev/
Dps3fb.c868 atomic_dec_if_positive(&ps3fb.ext_flip); in ps3fb_ioctl()
/linux-4.1.27/drivers/net/team/
Dteam.c632 val = atomic_dec_if_positive(&team->notify_peers.count_pending); in team_notify_peers_work()
678 val = atomic_dec_if_positive(&team->mcast_rejoin.count_pending); in team_mcast_rejoin_work()
/linux-4.1.27/drivers/vfio/
Dvfio.c1128 if (0 == atomic_dec_if_positive(&group->container_users)) in vfio_group_try_dissolve_container()
/linux-4.1.27/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c259 if (atomic_dec_if_positive(&card->users) == 0) { in gelic_card_down()
/linux-4.1.27/kernel/
Dmodule.c969 ret = atomic_dec_if_positive(&module->refcnt); in module_put()
/linux-4.1.27/drivers/scsi/
Dhpsa.c5150 if (atomic_dec_if_positive(&h->passthru_cmds_avail) < 0) in hpsa_ioctl()
5156 if (atomic_dec_if_positive(&h->passthru_cmds_avail) < 0) in hpsa_ioctl()