Searched refs:free_slots (Results 1 - 19 of 19) sorted by relevance

/linux-master/mm/
H A Dswap_slots.c169 bool free_slots)
180 if (free_slots && cache->slots) {
190 if (free_slots && cache->slots_ret) {
168 drain_slots_cache_cpu(unsigned int cpu, unsigned int type, bool free_slots) argument
/linux-master/drivers/dma/
H A Dmv_xor.c224 list_move_tail(&iter->node, &mv_chan->free_slots);
227 &mv_chan->free_slots);
252 list_move_tail(&desc->node, &mv_chan->free_slots);
255 &mv_chan->free_slots);
355 if (!list_empty(&mv_chan->free_slots)) {
356 iter = list_first_entry(&mv_chan->free_slots,
466 list_add_tail(&slot->node, &mv_chan->free_slots);
640 list_move_tail(&iter->node, &mv_chan->free_slots);
645 list_move_tail(&iter->node, &mv_chan->free_slots);
650 list_move_tail(&iter->node, &mv_chan->free_slots);
[all...]
H A Dmv_xor.h95 * @free_slots: free slots usable by the channel
112 struct list_head free_slots; member in struct:mv_xor_chan
/linux-master/fs/fat/
H A Ddir.c1288 int err, free_slots, i, nr_bhs; local
1294 free_slots = nr_bhs = 0;
1309 free_slots++;
1310 if (free_slots == nr_slots)
1316 free_slots = nr_bhs = 0;
1331 pos -= free_slots * sizeof(*de);
1332 nr_slots -= free_slots;
1333 if (free_slots) {
1339 int size = free_slots * sizeof(*de);
1410 if (free_slots)
[all...]
/linux-master/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c28 static void free_slots(unsigned long pos, u16 w, u16 h, function
215 free_slots(pos, w, h, tcm->bitmap, tcm->width);
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dqplib_rcfw.c286 u32 bsize, free_slots, required_slots; local
306 free_slots = HWQ_FREE_SLOTS(hwq);
310 if (required_slots >= free_slots) {
313 required_slots, free_slots);
322 crsqe->free_slots = free_slots;
673 "rcfw timedout: cookie = %#x, free_slots = %d",
674 cookie, crsqe->free_slots);
H A Dqplib_rcfw.h156 u32 free_slots; member in struct:bnxt_qplib_crsqe
/linux-master/drivers/crypto/ccp/
H A Dccp-dev-v3.c87 cmd_q->free_slots--;
97 if (op->ioc || !cmd_q->free_slots)
140 cmd_q->free_slots = CMD_Q_DEPTH(cmd_q->q_status);
419 cmd_q->free_slots = ccp_get_free_slots(cmd_q);
H A Dccp-dev.h299 unsigned int free_slots; member in struct:ccp_cmd_queue
H A Dccp-ops.c2473 cmd_q->free_slots = cmd_q->ccp->vdata->perform->get_free_slots(cmd_q);
/linux-master/drivers/net/can/usb/
H A Dems_usb.c255 unsigned int free_slots; /* remember number of available slots */ member in struct:ems_usb
273 dev->free_slots = dev->intr_in_buffer[1];
274 if (dev->free_slots > CPC_TX_QUEUE_TRIGGER_HIGH &&
585 dev->free_slots = 50; /* initial size */
838 dev->free_slots < CPC_TX_QUEUE_TRIGGER_LOW) {
/linux-master/drivers/accel/habanalabs/common/
H A Dhw_queue.c131 atomic_t *free_slots = local
152 if (atomic_add_negative(num_of_entries * -1, free_slots)) {
155 atomic_add(num_of_entries, free_slots);
798 atomic_t *free_slots = local
800 atomic_add(cs->jobs_in_queue_cnt[i], free_slots);
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Ddma.c117 static inline int free_slots(struct b43legacy_dmaring *ring) function
159 B43legacy_WARN_ON(free_slots(ring) == 0);
1067 if (WARN_ON(free_slots(ring) < SLOTS_PER_PACKET)) {
1087 if ((free_slots(ring) < SLOTS_PER_PACKET) ||
1202 B43legacy_WARN_ON(free_slots(ring) < SLOTS_PER_PACKET);
/linux-master/drivers/i3c/master/
H A Dsvc-i3c-master.c165 * @free_slots: Bit array of available slots
191 u32 free_slots; member in struct:svc_i3c_master
649 if (!(master->free_slots & GENMASK(SVC_I3C_MAX_DEVS - 1, 0)))
652 slot = ffs(master->free_slots) - 1;
654 master->free_slots &= ~BIT(slot);
662 master->free_slots |= BIT(slot);
1661 master->free_slots = GENMASK(SVC_I3C_MAX_DEVS - 1, 0);
/linux-master/drivers/net/wireless/broadcom/b43/
H A Ddma.c257 static inline int free_slots(struct b43_dmaring *ring) function
306 B43_WARN_ON(free_slots(ring) == 0);
1373 if (WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME)) {
1398 if ((free_slots(ring) < TX_SLOTS_PER_FRAME) ||
1564 B43_WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME);
/linux-master/drivers/i3c/
H A Dmaster.c2539 struct list_head free_slots; member in struct:i3c_generic_ibi_pool
2554 while (!list_empty(&pool->free_slots)) {
2555 slot = list_first_entry(&pool->free_slots,
2596 INIT_LIST_HEAD(&pool->free_slots);
2622 list_add_tail(&slot->node, &pool->free_slots);
2651 slot = list_first_entry_or_null(&pool->free_slots,
2680 list_add_tail(&slot->node, &pool->free_slots);
/linux-master/drivers/pci/hotplug/
H A Dibmphp_core.c563 static void free_slots(void) function
1167 free_slots();
/linux-master/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c1885 unsigned int free_slots = local
1888 return netdev_xmit_more() && free_slots > 0 &&
/linux-master/drivers/misc/cardreader/
H A Drtsx_pcr.c1619 goto free_slots;
1626 free_slots:

Completed in 361 milliseconds