Searched refs:max_batch_size (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-6.6/drivers/dma/idxd/ |
H A D | idxd.h | 225 u32 max_batch_size; member 337 u32 max_batch_size; member 622 u32 max_batch_size) in idxd_set_max_batch_size() 625 idxd->max_batch_size = 0; in idxd_set_max_batch_size() 627 idxd->max_batch_size = max_batch_size; in idxd_set_max_batch_size() 631 u32 max_batch_size) in idxd_wq_set_max_batch_size() 634 wq->max_batch_size = 0; in idxd_wq_set_max_batch_size() 636 wq->max_batch_size = max_batch_size; in idxd_wq_set_max_batch_size() 621 idxd_set_max_batch_size(int idxd_type, struct idxd_device *idxd, u32 max_batch_size) idxd_set_max_batch_size() argument 630 idxd_wq_set_max_batch_size(int idxd_type, struct idxd_wq *wq, u32 max_batch_size) idxd_wq_set_max_batch_size() argument [all...] |
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); 1405 return sysfs_emit(buf, "%u\n", idxd->max_batch_size); in max_batch_size_show() 1407 static DEVICE_ATTR_RO(max_batch_size);
|
H A D | init.c | 475 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()
|
/kernel/linux/linux-5.10/drivers/dma/idxd/ |
H A D | init.c | 180 wq->max_batch_size = idxd->max_batch_size; in idxd_setup_internals() 228 idxd->max_batch_size = 1U << idxd->hw.gen_cap.max_batch_shift; in idxd_read_caps() 229 dev_dbg(dev, "max batch size: %u\n", idxd->max_batch_size); in idxd_read_caps()
|
H A D | idxd.h | 127 u32 max_batch_size; member 192 u32 max_batch_size; member
|
H A D | sysfs.c | 1127 return sprintf(buf, "%u\n", wq->max_batch_size); in wq_max_batch_size_show() 1148 if (batch_size > idxd->max_batch_size) in wq_max_batch_size_store() 1151 wq->max_batch_size = (u32)batch_size; in wq_max_batch_size_store() 1157 __ATTR(max_batch_size, 0644, wq_max_batch_size_show, wq_max_batch_size_store); 1251 return sprintf(buf, "%u\n", idxd->max_batch_size); in max_batch_size_show() 1253 static DEVICE_ATTR_RO(max_batch_size);
|
H A D | device.c | 595 wq->wqcfg->max_batch_shift = ilog2(wq->max_batch_size); in idxd_wq_config_write()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-clone-target.c | 988 unsigned int max_batch_size = READ_ONCE(clone->hydration_batch_size); in __batch_hydration() local 992 if (batch->nr_batched_regions < max_batch_size && in __batch_hydration() 1000 if (batch->nr_batched_regions >= max_batch_size || hd) { in __batch_hydration() 1011 if (max_batch_size <= 1) { in __batch_hydration()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | tree-log.c | 5984 const int max_batch_size = 195; in log_delayed_insertion_items() local 6023 ins_data = kmalloc(max_batch_size * sizeof(u32) + in log_delayed_insertion_items() 6024 max_batch_size * sizeof(struct btrfs_key), GFP_NOFS); in log_delayed_insertion_items() 6029 ins_keys = (struct btrfs_key *)(ins_data + max_batch_size * sizeof(u32)); in log_delayed_insertion_items() 6037 batch.nr == max_batch_size) { in log_delayed_insertion_items()
|
Completed in 27 milliseconds