Home
last modified time | relevance | path

Searched refs:used_slots (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dnfs4session.c88 __clear_bit(slotid, tbl->used_slots); in nfs4_free_slot()
92 u32 new_max = find_last_bit(tbl->used_slots, slotid); in nfs4_free_slot()
147 __set_bit(slotid, tbl->used_slots); in nfs4_lock_slot()
209 cur_seq == seq_nr && test_bit(slotid, tbl->used_slots)) in nfs4_slot_seqid_in_use()
248 __func__, tbl->used_slots[0], tbl->highest_used_slotid, in nfs4_alloc_slot()
250 slotid = find_first_zero_bit(tbl->used_slots, tbl->max_slotid + 1); in nfs4_alloc_slot()
257 __func__, tbl->used_slots[0], tbl->highest_used_slotid, in nfs4_alloc_slot()
H A Dnfs4session.h42 unsigned long used_slots[SLOT_TABLE_SZ]; /* used/unused bitmap */ member
106 return !!test_bit(slotid, tbl->used_slots); in nfs4_test_locked_slot()
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Ddma.c119 return (ring->nr_slots - ring->used_slots); in free_slots()
163 ring->used_slots++; in request_slot()
487 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()
566 if (!ring->used_slots) in free_all_descbuffers()
942 old_used_slots = ring->used_slots; in dma_tx_fragment()
956 ring->used_slots = old_used_slots; in dma_tx_fragment()
965 ring->used_slots = old_used_slots; in dma_tx_fragment()
985 ring->used_slots = old_used_slots; in dma_tx_fragment()
1003 ring->used_slots = old_used_slots; in dma_tx_fragment()
1194 ring->used_slots--; in b43legacy_dma_handle_txstatus()
[all …]
H A Ddma.h137 int used_slots; member
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Ddma.c259 return (ring->nr_slots - ring->used_slots); in free_slots()
310 ring->used_slots++; in request_slot()
653 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()
779 if (!ring->used_slots) in free_all_descbuffers()
1210 old_used_slots = ring->used_slots; in dma_tx_fragment()
1223 ring->used_slots = old_used_slots; in dma_tx_fragment()
1231 ring->used_slots = old_used_slots; in dma_tx_fragment()
1253 ring->used_slots = old_used_slots; in dma_tx_fragment()
1263 ring->used_slots = old_used_slots; in dma_tx_fragment()
1552 ring->used_slots--; in b43_dma_handle_txstatus()
[all …]
H A Ddma.h243 int used_slots; member
/openbmc/linux/sound/pci/ac97/
H A Dac97_pcm.c580 if (bus->used_slots[pcm->stream][cidx] & (1 << i)) { in snd_ac97_pcm_open()
586 bus->used_slots[pcm->stream][cidx] |= (1 << i); in snd_ac97_pcm_open()
673 bus->used_slots[pcm->stream][cidx] &= ~(1 << i); in snd_ac97_pcm_close()
/openbmc/qemu/target/hexagon/
H A Ddecode.c541 int used_slots = 0; in has_valid_slot_assignment() local
550 if (used_slots & slot_mask) { in has_valid_slot_assignment()
553 used_slots |= slot_mask; in has_valid_slot_assignment()
/openbmc/linux/drivers/net/ethernet/adaptec/
H A Dstarfire.c519 unsigned int used_slots; member
1250 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()
1251 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1254 np->tx_info[entry].used_slots = 1; in start_tx()
1255 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1285 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in start_tx()
1369 np->dirty_tx += np->tx_info[entry].used_slots; in intr_handler()
1370 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in intr_handler()
/openbmc/linux/include/sound/
H A Dac97_codec.h211 unsigned short used_slots[2][4]; /* actually used PCM slots */ member
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c231 unsigned int used_slots = 0; in kvm_get_free_memslots() local
240 used_slots = MAX(used_slots, s->as[i].ml->nr_used_slots); in kvm_get_free_memslots()
244 return s->nr_slots - used_slots; in kvm_get_free_memslots()