Searched refs:nslots (Results 1 - 14 of 14) sorted by relevance

/linux-master/tools/testing/selftests/kvm/
H A Dmemslot_perf_test.c87 uint32_t nslots; member in struct:vm_data
199 slot = min(gpage / data->pages_per_slot, (uint64_t)data->nslots - 1);
205 if (slot == data->nslots - 1)
223 TEST_ASSERT(slot < data->nslots, "Too high slot number");
265 slots = data->nslots;
280 static bool prepare_vm(struct vm_data *data, int nslots, uint64_t *maxslots, argument
299 data->nslots = nslots;
300 data->pages_per_slot = data->npages / data->nslots;
301 rempages = data->npages % data->nslots;
791 test_execute(int nslots, uint64_t *maxslots, unsigned int maxtime, const struct test_data *tdata, uint64_t *nloops, struct timespec *slot_runtime, struct timespec *guest_runtime) argument
885 int nslots; member in struct:test_args
[all...]
/linux-master/kernel/dma/
H A Dswiotlb.c170 * @nslots: Total number of slots in the memory pool.
177 static unsigned int limit_nareas(unsigned int nareas, unsigned long nslots) argument
179 if (nslots < nareas * IO_TLB_SEGSIZE)
180 return nslots / IO_TLB_SEGSIZE;
950 static void inc_used_and_hiwater(struct io_tlb_mem *mem, unsigned int nslots) argument
954 new_used = atomic_long_add_return(nslots, &mem->total_used);
963 static void dec_used(struct io_tlb_mem *mem, unsigned int nslots) argument
965 atomic_long_sub(nslots, &mem->total_used);
969 static void inc_used_and_hiwater(struct io_tlb_mem *mem, unsigned int nslots) argument
972 static void dec_used(struct io_tlb_mem *mem, unsigned int nslots) argument
979 inc_transient_used(struct io_tlb_mem *mem, unsigned int nslots) argument
984 dec_transient_used(struct io_tlb_mem *mem, unsigned int nslots) argument
990 inc_transient_used(struct io_tlb_mem *mem, unsigned int nslots) argument
993 dec_transient_used(struct io_tlb_mem *mem, unsigned int nslots) argument
1025 unsigned int nslots = nr_slots(alloc_size), stride; local
1447 int index, nslots, aindex; local
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32.c361 u8 nslots; local
405 nslots = 0;
407 nslots++;
410 nslots += 2;
413 filter_id += nslots;
H A Dcxgb4_filter.c445 static bool cxgb4_filter_prio_in_range(struct tid_info *t, u32 idx, u8 nslots, argument
535 prev_fe = &prev_tab[prev_ftid & ~(nslots - 1)];
/linux-master/drivers/dma/ti/
H A Dedma.c724 int i, j, left, nslots; local
739 nslots = min(MAX_NR_SG, left);
743 for (i = 0; i < nslots; i++) {
769 if (i != (nslots - 1))
773 edesc->processed += nslots;
782 edma_link(ecc, echan->slot[nslots - 1], echan->slot[1]);
784 edma_link(ecc, echan->slot[nslots - 1],
1021 int i, nslots, ret; local
1054 nslots = min_t(unsigned, MAX_NR_SG, sg_len);
1056 for (i = 0; i < nslots;
1109 int ret, nslots; local
1308 int i, ret, nslots; local
[all...]
/linux-master/drivers/virtio/
H A Dvirtio_input.c223 int abs, err, nslots; local
310 nslots = input_abs_get_max(vi->idev, ABS_MT_SLOT) + 1;
311 err = input_mt_init_slots(vi->idev, nslots, 0);
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02.h64 unsigned int nslots; member in struct:mt76x02_beacon_ops
H A Dmt76x02_beacon.c16 for (i = 0; i < dev->beacon_ops->nslots; i++) {
H A Dmt76x02_usb_core.c263 .nslots = N_BCN_SLOTS,
H A Dmt76x02_mmio.c95 .nslots = 8,
/linux-master/include/linux/
H A Dcdrom.h155 __u8 nslots; member in struct:cdrom_mechstat_header
/linux-master/drivers/cdrom/
H A Dcdrom.c1297 buf->hdr.nslots = 3;
1347 int nslots = 1; local
1359 nslots = info->hdr.nslots;
1362 return nslots;
/linux-master/drivers/i3c/
H A Dmaster.c2553 unsigned int nslots = 0; local
2559 nslots++;
2566 WARN_ON(nslots != pool->num_slots);
/linux-master/sound/soc/codecs/
H A Dcs42l43.c554 int *slots, unsigned int nslots)
560 if (i == nslots) {
553 cs42l43_mask_to_slots(struct cs42l43_codec *priv, unsigned long mask, int *slots, unsigned int nslots) argument

Completed in 227 milliseconds