/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
H A D | devlink.c | 239 const struct devlink_port_new_attrs *new_attr, in mlx5_sf_add() argument 247 sf = mlx5_sf_alloc(table, esw, new_attr->controller, new_attr->sfnum, extack); in mlx5_sf_add() 252 &sf->dl_port, new_attr->controller, new_attr->sfnum); in mlx5_sf_add() 268 if (new_attr->flavour != DEVLINK_PORT_FLAVOUR_PCI_SF) { in mlx5_sf_new_check_attr() 272 if (new_attr->port_index_valid) { in mlx5_sf_new_check_attr() 277 if (!new_attr->sfnum_valid) { in mlx5_sf_new_check_attr() 282 if (new_attr->controller_valid && new_attr->controller && in mlx5_sf_new_check_attr() 287 if (new_attr->pfnum != mlx5_get_dev_index(dev)) { in mlx5_sf_new_check_attr() 301 const struct devlink_port_new_attrs *new_attr, in mlx5_devlink_sf_port_new() argument 309 err = mlx5_sf_new_check_attr(dev, new_attr, extack); in mlx5_devlink_sf_port_new() [all …]
|
/linux/drivers/net/ethernet/intel/ice/devlink/ |
H A D | devlink_port.c | 622 const struct devlink_port_new_attrs *new_attr, in ice_devlink_port_new_check_attr() argument 625 if (new_attr->flavour != DEVLINK_PORT_FLAVOUR_PCI_SF) { in ice_devlink_port_new_check_attr() 630 if (new_attr->controller_valid) { in ice_devlink_port_new_check_attr() 635 if (new_attr->port_index_valid) { in ice_devlink_port_new_check_attr() 640 if (new_attr->pfnum != pf->hw.pf_id) { in ice_devlink_port_new_check_attr() 826 const struct devlink_port_new_attrs *new_attr, in ice_reserve_sf_num() argument 832 if (!new_attr->sfnum_valid) in ice_reserve_sf_num() 844 *sfnum = new_attr->sfnum; in ice_reserve_sf_num() 908 const struct devlink_port_new_attrs *new_attr, in ice_alloc_dynamic_port() argument 917 err = ice_reserve_sf_num(pf, new_attr, extack, &sfnum); in ice_alloc_dynamic_port() [all …]
|
H A D | devlink_port.h | 55 const struct devlink_port_new_attrs *new_attr,
|
/linux/tools/perf/tests/ |
H A D | wp.c | 156 struct perf_event_attr new_attr; in test__wp_modify() 166 get__perf_event_attr(&new_attr, HW_BREAKPOINT_W, (void *)&data2[0], in test__wp_modify() 168 new_attr.disabled = 1; in test__wp_modify() 169 ret = ioctl(fd, PERF_EVENT_IOC_MODIFY_ATTRIBUTES, &new_attr); in test__wp_modify()
|
/linux/tools/testing/selftests/perf_events/ |
H A 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/tools/net/ynl/lib/ |
H A D | nlspec.py | 212 attr = self.new_attr(elem, val) 223 def new_attr(self, elem, value): member in SpecAttrSet
|
/linux/fs/ntfs3/ |
H A D | frecord.c | 1444 __le16 flags, struct ATTRIB **new_attr, in ni_insert_nonresident() argument 1494 if (new_attr) in ni_insert_nonresident() 1495 *new_attr = attr; in ni_insert_nonresident() 1519 struct ATTRIB **new_attr, struct mft_inode **mi, in ni_insert_resident() argument 1546 if (new_attr) in ni_insert_resident() 1547 *new_attr = attr; in ni_insert_resident()
|
H A D | ntfs_fs.h | 545 __le16 flags, struct ATTRIB **new_attr, 549 struct ATTRIB **new_attr, struct mft_inode **mi,
|
/linux/kernel/events/ |
H A D | core.c | 6115 struct perf_event_attr new_attr; in _perf_ioctl() local 6117 &new_attr); in _perf_ioctl() 6122 return perf_event_modify_attr(event, &new_attr); in _perf_ioctl()
|
/linux/tools/net/ynl/ |
H A D | ynl-gen-c.py | 827 def new_attr(self, elem, value): member in AttrSet
|