Home
last modified time | relevance | path

Searched refs:new_attr (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c279 const struct devlink_port_new_attrs *new_attr, in mlx5_sf_add() argument
287 sf = mlx5_sf_alloc(table, esw, new_attr->controller, new_attr->sfnum, extack); in mlx5_sf_add()
292 new_attr->controller, new_attr->sfnum); in mlx5_sf_add()
304 mlx5_sf_new_check_attr(struct mlx5_core_dev *dev, const struct devlink_port_new_attrs *new_attr, in mlx5_sf_new_check_attr() argument
307 if (new_attr->flavour != DEVLINK_PORT_FLAVOUR_PCI_SF) { in mlx5_sf_new_check_attr()
311 if (new_attr->port_index_valid) { in mlx5_sf_new_check_attr()
316 if (!new_attr->sfnum_valid) { in mlx5_sf_new_check_attr()
321 if (new_attr->controller_valid && new_attr->controller && in mlx5_sf_new_check_attr()
326 if (new_attr->pfnum != PCI_FUNC(dev->pdev->devfn)) { in mlx5_sf_new_check_attr()
334 const struct devlink_port_new_attrs *new_attr, in mlx5_devlink_sf_port_new() argument
[all …]
/Linux-v5.15/tools/perf/tests/
Dwp.c127 struct perf_event_attr new_attr; in wp_modify_test() local
137 get__perf_event_attr(&new_attr, HW_BREAKPOINT_W, (void *)&data2[0], in wp_modify_test()
139 new_attr.disabled = 1; in wp_modify_test()
140 ret = ioctl(fd, PERF_EVENT_IOC_MODIFY_ATTRIBUTES, &new_attr); in wp_modify_test()
/Linux-v5.15/tools/testing/selftests/perf_events/
Dsigtrap_threads.c178 struct perf_event_attr new_attr = make_event_attr(true, &ctx.iterate_on); in TEST_F() local
180 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_MODIFY_ATTRIBUTES, &new_attr), 0); in TEST_F()
/Linux-v5.15/fs/ntfs3/
Dfrecord.c1383 __le16 flags, struct ATTRIB **new_attr, in ni_insert_nonresident() argument
1432 if (new_attr) in ni_insert_nonresident()
1433 *new_attr = attr; in ni_insert_nonresident()
1457 struct ATTRIB **new_attr, struct mft_inode **mi, in ni_insert_resident() argument
1484 if (new_attr) in ni_insert_resident()
1485 *new_attr = attr; in ni_insert_resident()
Dntfs_fs.h531 __le16 flags, struct ATTRIB **new_attr,
535 struct ATTRIB **new_attr, struct mft_inode **mi,
/Linux-v5.15/kernel/events/
Dcore.c5697 struct perf_event_attr new_attr; in _perf_ioctl() local
5699 &new_attr); in _perf_ioctl()
5704 return perf_event_modify_attr(event, &new_attr); in _perf_ioctl()