/linux-master/tools/testing/selftests/kvm/ |
H A D | memslot_perf_test.c | 87 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 D | swiotlb.c | 167 * @nslots: Total number of slots in the memory pool. 174 static unsigned int limit_nareas(unsigned int nareas, unsigned long nslots) argument 176 if (nslots < nareas * IO_TLB_SEGSIZE) 177 return nslots / IO_TLB_SEGSIZE; 932 static void inc_used_and_hiwater(struct io_tlb_mem *mem, unsigned int nslots) argument 936 new_used = atomic_long_add_return(nslots, &mem->total_used); 945 static void dec_used(struct io_tlb_mem *mem, unsigned int nslots) argument 947 atomic_long_sub(nslots, &mem->total_used); 951 static void inc_used_and_hiwater(struct io_tlb_mem *mem, unsigned int nslots) argument 954 static void dec_used(struct io_tlb_mem *mem, unsigned int nslots) argument 961 inc_transient_used(struct io_tlb_mem *mem, unsigned int nslots) argument 966 dec_transient_used(struct io_tlb_mem *mem, unsigned int nslots) argument 972 inc_transient_used(struct io_tlb_mem *mem, unsigned int nslots) argument 975 dec_transient_used(struct io_tlb_mem *mem, unsigned int nslots) argument 1007 unsigned int nslots = nr_slots(alloc_size), stride; local 1389 int nslots = nr_slots(mem->slots[index].alloc_size + offset); local [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_u32.c | 361 u8 nslots; local 405 nslots = 0; 407 nslots++; 410 nslots += 2; 413 filter_id += nslots;
|
H A D | cxgb4_filter.c | 445 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 D | edma.c | 724 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 D | virtio_input.c | 223 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 D | mt76x02.h | 64 unsigned int nslots; member in struct:mt76x02_beacon_ops
|
H A D | mt76x02_beacon.c | 16 for (i = 0; i < dev->beacon_ops->nslots; i++) {
|
H A D | mt76x02_usb_core.c | 263 .nslots = N_BCN_SLOTS,
|
H A D | mt76x02_mmio.c | 95 .nslots = 8,
|
/linux-master/include/linux/ |
H A D | cdrom.h | 155 __u8 nslots; member in struct:cdrom_mechstat_header
|
/linux-master/drivers/cdrom/ |
H A D | cdrom.c | 1297 buf->hdr.nslots = 3; 1347 int nslots = 1; local 1359 nslots = info->hdr.nslots; 1362 return nslots;
|
/linux-master/drivers/i3c/ |
H A D | master.c | 2552 unsigned int nslots = 0; local 2558 nslots++; 2565 WARN_ON(nslots != pool->num_slots);
|
/linux-master/sound/soc/codecs/ |
H A D | cs42l43.c | 553 int *slots, unsigned int nslots) 559 if (i == nslots) { 552 cs42l43_mask_to_slots(struct cs42l43_codec *priv, unsigned long mask, int *slots, unsigned int nslots) argument
|