Home
last modified time | relevance | path

Searched refs:max_batch_size (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/dma/idxd/
Dsysfs.c940 return sysfs_emit(buf, "%u\n", wq->max_batch_size); in wq_max_batch_size_show()
961 if (batch_size > idxd->max_batch_size) in wq_max_batch_size_store()
964 wq->max_batch_size = (u32)batch_size; in wq_max_batch_size_store()
970 __ATTR(max_batch_size, 0644, wq_max_batch_size_show, wq_max_batch_size_store);
1162 return sysfs_emit(buf, "%u\n", idxd->max_batch_size); in max_batch_size_show()
1164 static DEVICE_ATTR_RO(max_batch_size);
Dinit.c180 wq->max_batch_size = WQ_DEFAULT_MAX_BATCH; in idxd_setup_wqs()
392 idxd->max_batch_size = 1U << idxd->hw.gen_cap.max_batch_shift; in idxd_read_caps()
393 dev_dbg(dev, "max batch size: %u\n", idxd->max_batch_size); in idxd_read_caps()
Didxd.h210 u32 max_batch_size; member
293 u32 max_batch_size; member
Ddevice.c391 wq->max_batch_size = WQ_DEFAULT_MAX_BATCH; in idxd_wq_disable_cleanup()
866 wq->wqcfg->max_batch_shift = ilog2(wq->max_batch_size); in idxd_wq_config_write()
1034 wq->max_batch_size = 1ULL << wq->wqcfg->max_batch_shift; in idxd_wq_load_config()
/linux-5.19.10/Documentation/ABI/stable/
Dsysfs-driver-dma-idxd20 What: /sys/bus/dsa/devices/dsa<m>/max_batch_size
202 What: /sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
/linux-5.19.10/drivers/md/
Ddm-clone-target.c982 unsigned int max_batch_size = READ_ONCE(clone->hydration_batch_size); in __batch_hydration() local
986 if (batch->nr_batched_regions < max_batch_size && in __batch_hydration()
994 if (batch->nr_batched_regions >= max_batch_size || hd) { in __batch_hydration()
1005 if (max_batch_size <= 1) { in __batch_hydration()