Home
last modified time | relevance | path

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

/openbmc/linux/drivers/dma/idxd/
H A Didxd.h225 u32 max_batch_size; member
338 u32 max_batch_size; member
625 u32 max_batch_size) in idxd_set_max_batch_size() argument
628 idxd->max_batch_size = 0; in idxd_set_max_batch_size()
630 idxd->max_batch_size = max_batch_size; in idxd_set_max_batch_size()
634 u32 max_batch_size) in idxd_wq_set_max_batch_size() argument
637 wq->max_batch_size = 0; in idxd_wq_set_max_batch_size()
639 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);
1428 return sysfs_emit(buf, "%u\n", idxd->max_batch_size); in max_batch_size_show()
1430 static DEVICE_ATTR_RO(max_batch_size);
H A Dinit.c477 dev_dbg(dev, "max batch size: %u\n", idxd->max_batch_size); in idxd_read_caps()
H A Ddevice.c971 idxd_wqcfg_set_max_batch_shift(idxd->data->type, wq->wqcfg, ilog2(wq->max_batch_size)); in idxd_wq_config_write()
/openbmc/linux/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()
/openbmc/linux/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
/openbmc/linux/fs/btrfs/
H A Dtree-log.c5989 const int max_batch_size = 195; in log_delayed_insertion_items() local
6028 ins_data = kmalloc(max_batch_size * sizeof(u32) + in log_delayed_insertion_items()
6029 max_batch_size * sizeof(struct btrfs_key), GFP_NOFS); in log_delayed_insertion_items()
6034 ins_keys = (struct btrfs_key *)(ins_data + max_batch_size * sizeof(u32)); in log_delayed_insertion_items()
6042 batch.nr == max_batch_size) { in log_delayed_insertion_items()