Home
last modified time | relevance | path

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

/linux-6.15/drivers/dma/idxd/
H A Didxd.h231 u32 max_batch_size; member
349 u32 max_batch_size; member
677 u32 max_batch_size) in idxd_set_max_batch_size() argument
680 idxd->max_batch_size = 0; in idxd_set_max_batch_size()
682 idxd->max_batch_size = max_batch_size; in idxd_set_max_batch_size()
686 u32 max_batch_size) in idxd_wq_set_max_batch_size() argument
689 wq->max_batch_size = 0; in idxd_wq_set_max_batch_size()
691 wq->max_batch_size = max_batch_size; in idxd_wq_set_max_batch_size()
H A Dsysfs.c1041 return sysfs_emit(buf, "%u\n", wq->max_batch_size); in wq_max_batch_size_show()
1062 if (batch_size > idxd->max_batch_size) in wq_max_batch_size_store()
1071 __ATTR(max_batch_size, 0644, wq_max_batch_size_show, wq_max_batch_size_store);
1462 return sysfs_emit(buf, "%u\n", idxd->max_batch_size); in max_batch_size_show()
1464 static DEVICE_ATTR_RO(max_batch_size);
H A Dinit.c546 dev_dbg(dev, "max batch size: %u\n", idxd->max_batch_size); in idxd_read_caps()
1046 wq->max_batch_size = saved_wq->max_batch_size; in idxd_device_config_restore()
H A Ddevice.c976 idxd_wqcfg_set_max_batch_shift(idxd->data->type, wq->wqcfg, ilog2(wq->max_batch_size)); in idxd_wq_config_write()
/linux-6.15/drivers/md/
H A 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()
/linux-6.15/Documentation/ABI/stable/
H A Dsysfs-driver-dma-idxd20 What: /sys/bus/dsa/devices/dsa<m>/max_batch_size
223 What: /sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
/linux-6.15/fs/btrfs/
H A Dtree-log.c6046 const int max_batch_size = 195; in log_delayed_insertion_items() local
6085 ins_data = kmalloc(max_batch_size * sizeof(u32) + in log_delayed_insertion_items()
6086 max_batch_size * sizeof(struct btrfs_key), GFP_NOFS); in log_delayed_insertion_items()
6091 ins_keys = (struct btrfs_key *)(ins_data + max_batch_size * sizeof(u32)); in log_delayed_insertion_items()
6099 batch.nr == max_batch_size) { in log_delayed_insertion_items()