Searched refs:new_attrs (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/mm/damon/ |
D | core-test.h | 296 struct damon_attrs new_attrs; in damon_test_update_monitoring_result() local 302 new_attrs = (struct damon_attrs){ in damon_test_update_monitoring_result() 304 damon_update_monitoring_result(r, &old_attrs, &new_attrs); in damon_test_update_monitoring_result() 308 new_attrs = (struct damon_attrs){ in damon_test_update_monitoring_result() 310 damon_update_monitoring_result(r, &old_attrs, &new_attrs); in damon_test_update_monitoring_result() 314 new_attrs = (struct damon_attrs){ in damon_test_update_monitoring_result() 316 damon_update_monitoring_result(r, &old_attrs, &new_attrs); in damon_test_update_monitoring_result()
|
D | core.c | 474 struct damon_attrs *old_attrs, struct damon_attrs *new_attrs) in damon_age_for_new_attrs() argument 476 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_age_for_new_attrs() 494 struct damon_attrs *old_attrs, struct damon_attrs *new_attrs) in damon_nr_accesses_for_new_attrs() argument 499 new_attrs); in damon_nr_accesses_for_new_attrs() 503 struct damon_attrs *old_attrs, struct damon_attrs *new_attrs) in damon_update_monitoring_result() argument 506 old_attrs, new_attrs); in damon_update_monitoring_result() 507 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); in damon_update_monitoring_result() 519 struct damon_attrs *new_attrs) in damon_update_monitoring_results() argument 527 !new_attrs->sample_interval || in damon_update_monitoring_results() 528 !new_attrs->aggr_interval) in damon_update_monitoring_results() [all …]
|
/linux-6.6.21/net/devlink/ |
D | port.c | 839 struct devlink_port_new_attrs new_attrs = {}; in devlink_nl_cmd_port_new_doit() local 853 new_attrs.flavour = nla_get_u16(info->attrs[DEVLINK_ATTR_PORT_FLAVOUR]); in devlink_nl_cmd_port_new_doit() 854 new_attrs.pfnum = in devlink_nl_cmd_port_new_doit() 859 new_attrs.port_index = in devlink_nl_cmd_port_new_doit() 861 new_attrs.port_index_valid = true; in devlink_nl_cmd_port_new_doit() 864 new_attrs.controller = in devlink_nl_cmd_port_new_doit() 866 new_attrs.controller_valid = true; in devlink_nl_cmd_port_new_doit() 868 if (new_attrs.flavour == DEVLINK_PORT_FLAVOUR_PCI_SF && in devlink_nl_cmd_port_new_doit() 870 new_attrs.sfnum = nla_get_u32(info->attrs[DEVLINK_ATTR_PORT_PCI_SF_NUMBER]); in devlink_nl_cmd_port_new_doit() 871 new_attrs.sfnum_valid = true; in devlink_nl_cmd_port_new_doit() [all …]
|
/linux-6.6.21/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 544 struct siw_qp_attrs new_attrs; in siw_verbs_modify_qp() local 555 memset(&new_attrs, 0, sizeof(new_attrs)); in siw_verbs_modify_qp() 561 new_attrs.flags |= SIW_RDMA_READ_ENABLED; in siw_verbs_modify_qp() 563 new_attrs.flags |= SIW_RDMA_WRITE_ENABLED; in siw_verbs_modify_qp() 565 new_attrs.flags |= SIW_RDMA_BIND_ENABLED; in siw_verbs_modify_qp() 571 new_attrs.state = ib_qp_state_to_siw_qp_state[attr->qp_state]; in siw_verbs_modify_qp() 573 if (new_attrs.state > SIW_QP_STATE_RTS) in siw_verbs_modify_qp() 583 rv = siw_qp_modify(qp, &new_attrs, siw_attr_mask); in siw_verbs_modify_qp()
|
/linux-6.6.21/kernel/ |
D | workqueue.c | 4335 struct workqueue_attrs *new_attrs; in apply_wqattrs_prepare() local 4346 new_attrs = alloc_workqueue_attrs(); in apply_wqattrs_prepare() 4347 if (!ctx || !new_attrs) in apply_wqattrs_prepare() 4355 copy_workqueue_attrs(new_attrs, attrs); in apply_wqattrs_prepare() 4356 wqattrs_actualize_cpumask(new_attrs, unbound_cpumask); in apply_wqattrs_prepare() 4357 cpumask_copy(new_attrs->__pod_cpumask, new_attrs->cpumask); in apply_wqattrs_prepare() 4358 ctx->dfl_pwq = alloc_unbound_pwq(wq, new_attrs); in apply_wqattrs_prepare() 4363 if (new_attrs->ordered) { in apply_wqattrs_prepare() 4367 wq_calc_pod_cpumask(new_attrs, cpu, -1); in apply_wqattrs_prepare() 4368 ctx->pwq_tbl[cpu] = alloc_unbound_pwq(wq, new_attrs); in apply_wqattrs_prepare() [all …]
|
D | params.c | 631 struct attribute **new_attrs; in add_sysfs_param() local 661 new_attrs = krealloc(mk->mp->grp.attrs, in add_sysfs_param() 664 if (!new_attrs) in add_sysfs_param() 666 mk->mp->grp.attrs = new_attrs; in add_sysfs_param()
|
/linux-6.6.21/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.c | 1518 struct erdma_qp_attrs new_attrs; in erdma_modify_qp() local 1526 memset(&new_attrs, 0, sizeof(new_attrs)); in erdma_modify_qp() 1529 new_attrs.state = ib_qp_state_to_erdma_qp_state[attr->qp_state]; in erdma_modify_qp() 1536 ret = erdma_modify_qp_internal(qp, &new_attrs, erdma_attr_mask); in erdma_modify_qp()
|
/linux-6.6.21/drivers/hwmon/pmbus/ |
D | pmbus_core.c | 1195 void *new_attrs = devm_krealloc_array(data->dev, data->group.attrs, in pmbus_add_attribute() local 1198 if (!new_attrs) in pmbus_add_attribute() 1200 data->group.attrs = new_attrs; in pmbus_add_attribute()
|