/linux-4.4.14/arch/microblaze/include/asm/ |
D | atomic.h | 12 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
|
D | mmu_context_mm.h | 87 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | atomic.h | 232 static __inline__ int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function 253 #define atomic_dec_if_positive atomic_dec_if_positive macro
|
/linux-4.4.14/arch/metag/include/asm/ |
D | atomic.h | 45 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
|
/linux-4.4.14/include/linux/ |
D | atomic.h | 533 #ifndef atomic_dec_if_positive 534 static inline int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | atomic.h | 197 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
|
/linux-4.4.14/drivers/iio/common/hid-sensors/ |
D | hid-sensor-trigger.c | 59 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | atomic.h | 280 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
|
/linux-4.4.14/sound/hda/ |
D | hdac_device.c | 625 if (atomic_dec_if_positive(&codec->in_pm) < 0) in snd_hdac_power_down_pm()
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
D | sched.c | 453 atomic_dec_if_positive(&ctx->gang->aff_sched_count); in spu_unbind_context()
|
/linux-4.4.14/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 575 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.4.14/arch/powerpc/kernel/ |
D | eeh.c | 1415 WARN_ON(atomic_dec_if_positive(&edev->pe->pass_dev_cnt) < 0); in eeh_dev_release()
|
/linux-4.4.14/drivers/scsi/cxlflash/ |
D | main.c | 59 if (!atomic_dec_if_positive(&cmd->free)) { in cmd_checkout() 2340 if (atomic_dec_if_positive(&cfg->scan_host_needed) >= 0) in cxlflash_worker_thread()
|
D | superpipe.c | 1691 atomic_dec_if_positive(&cfg->recovery_threads); in cxlflash_afu_recover()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/ |
D | rx.c | 536 if (atomic_dec_if_positive(&rba->req_ready) < 0) in iwl_pcie_rx_allocator_get()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | ps3fb.c | 868 atomic_dec_if_positive(&ps3fb.ext_flip); in ps3fb_ioctl()
|
/linux-4.4.14/drivers/net/team/ |
D | team.c | 632 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.4.14/drivers/vfio/ |
D | vfio.c | 1176 if (0 == atomic_dec_if_positive(&group->container_users)) in vfio_group_try_dissolve_container()
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.c | 271 if (atomic_dec_if_positive(&card->users) == 0) { in gelic_card_down()
|
/linux-4.4.14/net/sunrpc/ |
D | clnt.c | 2518 if (atomic_dec_if_positive(&clnt->cl_swapper) == 0) { in rpc_clnt_swap_deactivate()
|
/linux-4.4.14/drivers/scsi/ |
D | hpsa.c | 5791 atomic_dec_if_positive(&h->abort_cmds_available) >= 0, in wait_for_available_abort_cmd() 6470 if (atomic_dec_if_positive(&h->passthru_cmds_avail) < 0) in hpsa_ioctl() 6476 if (atomic_dec_if_positive(&h->passthru_cmds_avail) < 0) in hpsa_ioctl()
|
/linux-4.4.14/kernel/ |
D | module.c | 1126 ret = atomic_dec_if_positive(&module->refcnt); in module_put()
|