Searched refs:new_attr (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
D | devlink.c | 283 const struct devlink_port_new_attrs *new_attr, in mlx5_sf_add() argument 291 sf = mlx5_sf_alloc(table, esw, new_attr->controller, new_attr->sfnum, extack); in mlx5_sf_add() 296 &sf->dl_port, new_attr->controller, new_attr->sfnum); in mlx5_sf_add() 300 trace_mlx5_sf_add(dev, sf->port_index, sf->controller, sf->hw_fn_id, new_attr->sfnum); in mlx5_sf_add() 309 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 312 if (new_attr->flavour != DEVLINK_PORT_FLAVOUR_PCI_SF) { in mlx5_sf_new_check_attr() 316 if (new_attr->port_index_valid) { in mlx5_sf_new_check_attr() 321 if (!new_attr->sfnum_valid) { in mlx5_sf_new_check_attr() 326 if (new_attr->controller_valid && new_attr->controller && in mlx5_sf_new_check_attr() 331 if (new_attr->pfnum != mlx5_get_dev_index(dev)) { in mlx5_sf_new_check_attr() [all …]
|
/linux-6.6.21/tools/perf/tests/ |
D | wp.c | 151 struct perf_event_attr new_attr; in test__wp_modify() 161 get__perf_event_attr(&new_attr, HW_BREAKPOINT_W, (void *)&data2[0], in test__wp_modify() 163 new_attr.disabled = 1; in test__wp_modify() 164 ret = ioctl(fd, PERF_EVENT_IOC_MODIFY_ATTRIBUTES, &new_attr); in test__wp_modify()
|
/linux-6.6.21/tools/testing/selftests/perf_events/ |
D | sigtrap_threads.c | 185 struct perf_event_attr new_attr = make_event_attr(true, &ctx.iterate_on, 42); in TEST_F() local 187 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_MODIFY_ATTRIBUTES, &new_attr), 0); in TEST_F()
|
/linux-6.6.21/tools/net/ynl/lib/ |
D | nlspec.py | 201 attr = self.new_attr(elem, val) 212 def new_attr(self, elem, value): member in SpecAttrSet
|
/linux-6.6.21/fs/ntfs3/ |
D | frecord.c | 1442 __le16 flags, struct ATTRIB **new_attr, in ni_insert_nonresident() argument 1492 if (new_attr) in ni_insert_nonresident() 1493 *new_attr = attr; in ni_insert_nonresident() 1517 struct ATTRIB **new_attr, struct mft_inode **mi, in ni_insert_resident() argument 1544 if (new_attr) in ni_insert_resident() 1545 *new_attr = attr; in ni_insert_resident()
|
D | ntfs_fs.h | 538 __le16 flags, struct ATTRIB **new_attr, 542 struct ATTRIB **new_attr, struct mft_inode **mi,
|
/linux-6.6.21/tools/net/ynl/ |
D | ynl-gen-c.py | 725 def new_attr(self, elem, value): member in AttrSet
|
/linux-6.6.21/kernel/events/ |
D | core.c | 5956 struct perf_event_attr new_attr; in _perf_ioctl() local 5958 &new_attr); in _perf_ioctl() 5963 return perf_event_modify_attr(event, &new_attr); in _perf_ioctl()
|