Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/dma/idxd/
Didxd.h216 u32 max_batch_size; member
298 u32 max_batch_size; member
557 u32 max_batch_size) in idxd_set_max_batch_size() argument
560 idxd->max_batch_size = 0; in idxd_set_max_batch_size()
562 idxd->max_batch_size = max_batch_size; in idxd_set_max_batch_size()
566 u32 max_batch_size) in idxd_wq_set_max_batch_size() argument
569 wq->max_batch_size = 0; in idxd_wq_set_max_batch_size()
571 wq->max_batch_size = max_batch_size; in idxd_wq_set_max_batch_size()
Dsysfs.c1044 return sysfs_emit(buf, "%u\n", wq->max_batch_size); in wq_max_batch_size_show()
1065 if (batch_size > idxd->max_batch_size) in wq_max_batch_size_store()
1074 __ATTR(max_batch_size, 0644, wq_max_batch_size_show, wq_max_batch_size_store);
1365 return sysfs_emit(buf, "%u\n", idxd->max_batch_size); in max_batch_size_show()
1367 static DEVICE_ATTR_RO(max_batch_size);
Dinit.c422 dev_dbg(dev, "max batch size: %u\n", idxd->max_batch_size); in idxd_read_caps()
Ddevice.c880 idxd_wqcfg_set_max_batch_shift(idxd->data->type, wq->wqcfg, ilog2(wq->max_batch_size)); in idxd_wq_config_write()
/linux-6.1.9/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()
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-driver-dma-idxd20 What: /sys/bus/dsa/devices/dsa<m>/max_batch_size
207 What: /sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
/linux-6.1.9/fs/btrfs/
Dtree-log.c6022 const int max_batch_size = 195; in log_delayed_insertion_items() local
6061 ins_data = kmalloc(max_batch_size * sizeof(u32) + in log_delayed_insertion_items()
6062 max_batch_size * sizeof(struct btrfs_key), GFP_NOFS); in log_delayed_insertion_items()
6067 ins_keys = (struct btrfs_key *)(ins_data + max_batch_size * sizeof(u32)); in log_delayed_insertion_items()
6075 batch.nr == max_batch_size) { in log_delayed_insertion_items()