free_slots
atomic_t *free_slots =
if (atomic_add_negative(num_of_entries * -1, free_slots)) {
atomic_add(num_of_entries, free_slots);
atomic_t *free_slots =
atomic_add(cs->jobs_in_queue_cnt[i], free_slots);
cmd_q->free_slots = CMD_Q_DEPTH(cmd_q->q_status);
cmd_q->free_slots = ccp_get_free_slots(cmd_q);
cmd_q->free_slots--;
if (op->ioc || !cmd_q->free_slots)
unsigned int free_slots;
cmd_q->free_slots = cmd_q->ccp->vdata->perform->get_free_slots(cmd_q);
INIT_LIST_HEAD(&mv_chan->free_slots);
list_move_tail(&iter->node, &mv_chan->free_slots);
&mv_chan->free_slots);
list_move_tail(&desc->node, &mv_chan->free_slots);
&mv_chan->free_slots);
if (!list_empty(&mv_chan->free_slots)) {
iter = list_first_entry(&mv_chan->free_slots,
list_add_tail(&slot->node, &mv_chan->free_slots);
list_move_tail(&iter->node, &mv_chan->free_slots);
list_move_tail(&iter->node, &mv_chan->free_slots);
list_move_tail(&iter->node, &mv_chan->free_slots);
iter, _iter, &mv_chan->free_slots, node) {
struct list_head free_slots;
free_slots(pos, w, h, tcm->bitmap, tcm->width);
struct list_head free_slots;
while (!list_empty(&pool->free_slots)) {
slot = list_first_entry(&pool->free_slots,
INIT_LIST_HEAD(&pool->free_slots);
list_add_tail(&slot->node, &pool->free_slots);
slot = list_first_entry_or_null(&pool->free_slots,
list_add_tail(&slot->node, &pool->free_slots);
master->free_slots = GENMASK(SVC_I3C_MAX_DEVS - 1, 0);
u32 free_slots;
if (!(master->free_slots & GENMASK(SVC_I3C_MAX_DEVS - 1, 0)))
slot = ffs(master->free_slots) - 1;
master->free_slots &= ~BIT(slot);
master->free_slots |= BIT(slot);
cookie, crsqe->free_slots);
u32 bsize, free_slots, required_slots;
free_slots = HWQ_FREE_SLOTS(hwq);
if (required_slots >= free_slots) {
required_slots, free_slots);
crsqe->free_slots = free_slots;
u32 free_slots;
u32 bsize, free_slots, required_slots;
free_slots = HWQ_FREE_SLOTS(hwq);
if (required_slots >= free_slots) {
required_slots, free_slots);
crsqe->free_slots = free_slots;
cookie, crsqe->free_slots);
u32 free_slots;
goto free_slots;
free_slots:
unsigned int free_slots; /* remember number of available slots */
dev->free_slots = dev->intr_in_buffer[1];
if (dev->free_slots > CPC_TX_QUEUE_TRIGGER_HIGH &&
dev->free_slots = 50; /* initial size */
dev->free_slots < CPC_TX_QUEUE_TRIGGER_LOW) {
unsigned int free_slots =
return netdev_xmit_more() && free_slots > 0 &&
if (WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME)) {
if ((free_slots(ring) < TX_SLOTS_PER_FRAME) ||
B43_WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME);
B43_WARN_ON(free_slots(ring) == 0);
if (WARN_ON(free_slots(ring) < SLOTS_PER_PACKET)) {
if ((free_slots(ring) < SLOTS_PER_PACKET) ||
B43legacy_WARN_ON(free_slots(ring) < SLOTS_PER_PACKET);
B43legacy_WARN_ON(free_slots(ring) == 0);
free_slots();
int err, free_slots, i, nr_bhs;
free_slots = nr_bhs = 0;
free_slots++;
if (free_slots == nr_slots)
free_slots = nr_bhs = 0;
pos -= free_slots * sizeof(*de);
nr_slots -= free_slots;
if (free_slots) {
int size = free_slots * sizeof(*de);
if (free_slots)
__fat_remove_entries(dir, pos, free_slots);