Home
last modified time | relevance | path

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

/linux/drivers/dma/idxd/
H A Didxd.h229 u32 max_batch_size; member
347 u32 max_batch_size; member
675 u32 max_batch_size) in idxd_set_max_batch_size() argument
678 idxd->max_batch_size = 0; in idxd_set_max_batch_size()
680 idxd->max_batch_size = max_batch_size; in idxd_set_max_batch_size()
684 u32 max_batch_size) in idxd_wq_set_max_batch_size() argument
687 wq->max_batch_size = 0; in idxd_wq_set_max_batch_size()
689 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);
1464 return sysfs_emit(buf, "%u\n", idxd->max_batch_size); in max_batch_size_show()
1466 static DEVICE_ATTR_RO(max_batch_size);
H A Dinit.c549 dev_dbg(dev, "max batch size: %u\n", idxd->max_batch_size); in idxd_read_caps()
1020 wq->max_batch_size = saved_wq->max_batch_size; in idxd_device_config_restore()
H A Ddevice.c991 idxd_wqcfg_set_max_batch_shift(idxd->data->type, wq->wqcfg, ilog2(wq->max_batch_size)); in idxd_wq_config_write()
/linux/fs/btrfs/
H A Dtree-log.c6492 const int max_batch_size = 195; in log_delayed_insertion_items() local
6531 ins_data = kmalloc_array(max_batch_size, sizeof(u32) + sizeof(struct btrfs_key), GFP_NOFS); in log_delayed_insertion_items()
6536 ins_keys = (struct btrfs_key *)(ins_data + max_batch_size * sizeof(u32)); in log_delayed_insertion_items()
6544 batch.nr == max_batch_size) { in log_delayed_insertion_items()