Searched refs:max_batch_size (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/dma/idxd/ |
H A D | idxd.h | 225 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 D | sysfs.c | 1041 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 D | init.c | 477 dev_dbg(dev, "max batch size: %u\n", idxd->max_batch_size); in idxd_read_caps()
|
H A D | device.c | 971 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 D | dm-clone-target.c | 982 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 D | sysfs-driver-dma-idxd | 20 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 D | tree-log.c | 6006 const int max_batch_size = 195; in log_delayed_insertion_items() local 6045 ins_data = kmalloc(max_batch_size * sizeof(u32) + in log_delayed_insertion_items() 6046 max_batch_size * sizeof(struct btrfs_key), GFP_NOFS); in log_delayed_insertion_items() 6051 ins_keys = (struct btrfs_key *)(ins_data + max_batch_size * sizeof(u32)); in log_delayed_insertion_items() 6059 batch.nr == max_batch_size) { in log_delayed_insertion_items()
|