Searched refs:new_attrs (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/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.1.9/kernel/ |
D | workqueue.c | 3958 struct workqueue_attrs *new_attrs, *tmp_attrs; in apply_wqattrs_prepare() local 3965 new_attrs = alloc_workqueue_attrs(); in apply_wqattrs_prepare() 3967 if (!ctx || !new_attrs || !tmp_attrs) in apply_wqattrs_prepare() 3975 copy_workqueue_attrs(new_attrs, attrs); in apply_wqattrs_prepare() 3976 cpumask_and(new_attrs->cpumask, new_attrs->cpumask, wq_unbound_cpumask); in apply_wqattrs_prepare() 3977 if (unlikely(cpumask_empty(new_attrs->cpumask))) in apply_wqattrs_prepare() 3978 cpumask_copy(new_attrs->cpumask, wq_unbound_cpumask); in apply_wqattrs_prepare() 3985 copy_workqueue_attrs(tmp_attrs, new_attrs); in apply_wqattrs_prepare() 3992 ctx->dfl_pwq = alloc_unbound_pwq(wq, new_attrs); in apply_wqattrs_prepare() 3997 if (wq_calc_node_cpumask(new_attrs, node, -1, tmp_attrs->cpumask)) { in apply_wqattrs_prepare() [all …]
|
D | params.c | 630 struct attribute **new_attrs; in add_sysfs_param() local 660 new_attrs = krealloc(mk->mp->grp.attrs, in add_sysfs_param() 663 if (!new_attrs) in add_sysfs_param() 665 mk->mp->grp.attrs = new_attrs; in add_sysfs_param()
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.c | 1267 struct erdma_qp_attrs new_attrs; in erdma_modify_qp() local 1275 memset(&new_attrs, 0, sizeof(new_attrs)); in erdma_modify_qp() 1278 new_attrs.state = ib_qp_state_to_erdma_qp_state[attr->qp_state]; in erdma_modify_qp() 1285 ret = erdma_modify_qp_internal(qp, &new_attrs, erdma_attr_mask); in erdma_modify_qp()
|
/linux-6.1.9/net/core/ |
D | devlink.c | 1794 struct devlink_port_new_attrs new_attrs = {}; in devlink_nl_cmd_port_new_doit() local 1807 new_attrs.flavour = nla_get_u16(info->attrs[DEVLINK_ATTR_PORT_FLAVOUR]); in devlink_nl_cmd_port_new_doit() 1808 new_attrs.pfnum = in devlink_nl_cmd_port_new_doit() 1813 new_attrs.port_index = in devlink_nl_cmd_port_new_doit() 1815 new_attrs.port_index_valid = true; in devlink_nl_cmd_port_new_doit() 1818 new_attrs.controller = in devlink_nl_cmd_port_new_doit() 1820 new_attrs.controller_valid = true; in devlink_nl_cmd_port_new_doit() 1822 if (new_attrs.flavour == DEVLINK_PORT_FLAVOUR_PCI_SF && in devlink_nl_cmd_port_new_doit() 1824 new_attrs.sfnum = nla_get_u32(info->attrs[DEVLINK_ATTR_PORT_PCI_SF_NUMBER]); in devlink_nl_cmd_port_new_doit() 1825 new_attrs.sfnum_valid = true; in devlink_nl_cmd_port_new_doit() [all …]
|
/linux-6.1.9/drivers/hwmon/pmbus/ |
D | pmbus_core.c | 1193 void *new_attrs = devm_krealloc(data->dev, data->group.attrs, in pmbus_add_attribute() local 1196 if (!new_attrs) in pmbus_add_attribute() 1198 data->group.attrs = new_attrs; in pmbus_add_attribute()
|