/linux-6.12.1/tools/testing/selftests/net/forwarding/ |
D | devlink_lib.sh | 75 local resource_name=.[][\"$DEVLINK_DEV\"] 77 resource_name="$resource_name | .[] | select (.name == \"$name\")" 81 resource_name="${resource_name} | .[\"resources\"][] | \ 85 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_cnt.c | 14 const char *resource_name; /* devlink resource name */ member 33 .resource_name = MLXSW_SP_RESOURCE_NAME_COUNTERS_FLOW, 39 .resource_name = MLXSW_SP_RESOURCE_NAME_COUNTERS_RIF, 291 sub_pool->resource_name, in mlxsw_sp_counter_resources_register()
|
/linux-6.12.1/net/devlink/ |
D | resource.c | 335 const char *resource_name, in devl_resource_register() argument 373 resource->name = resource_name; in devl_resource_register() 404 const char *resource_name, in devlink_resource_register() argument 413 err = devl_resource_register(devlink, resource_name, resource_size, in devlink_resource_register()
|
/linux-6.12.1/mm/ |
D | memory_hotplug.c | 255 const char *resource_name) in register_memory_resource() argument 260 if (strcmp(resource_name, "System RAM")) in register_memory_resource() 281 resource_name, flags); in register_memory_resource() 1632 const char *resource_name, mhp_t mhp_flags) in add_memory_driver_managed() argument 1637 if (!resource_name || in add_memory_driver_managed() 1638 strstr(resource_name, "System RAM (") != resource_name || in add_memory_driver_managed() 1639 resource_name[strlen(resource_name) - 1] != ')') in add_memory_driver_managed() 1644 res = register_memory_resource(start, size, resource_name); in add_memory_driver_managed()
|
/linux-6.12.1/net/dsa/ |
D | devlink.c | 226 const char *resource_name, in dsa_devlink_resource_register() argument 232 return devlink_resource_register(ds->devlink, resource_name, in dsa_devlink_resource_register()
|
/linux-6.12.1/drivers/net/dsa/ocelot/ |
D | felix.c | 1437 const char *resource_name) in felix_request_regmap_by_name() argument 1448 return dev_get_regmap(ocelot->dev->parent, resource_name); in felix_request_regmap_by_name() 1451 if (strcmp(resource_name, felix->info->resources[i].name)) in felix_request_regmap_by_name() 1467 const char *resource_name = felix->info->resource_names[target]; in felix_request_regmap() local 1472 if (!resource_name) in felix_request_regmap() 1475 return felix_request_regmap_by_name(felix, resource_name); in felix_request_regmap() 1480 char resource_name[32]; in felix_request_port_regmap() local 1482 sprintf(resource_name, "port%d", port); in felix_request_port_regmap() 1484 return felix_request_regmap_by_name(felix, resource_name); in felix_request_port_regmap()
|
/linux-6.12.1/drivers/block/drbd/ |
D | drbd_nl.c | 212 adm_ctx->resource_name = nla_data(nla); in drbd_adm_prepare() 233 if (adm_ctx->resource_name) { in drbd_adm_prepare() 234 adm_ctx->resource = drbd_find_resource(adm_ctx->resource_name); in drbd_adm_prepare() 243 if (adm_ctx->resource_name) in drbd_adm_prepare() 414 char *resource_name = connection->resource->name; in conn_khelper() local 415 char *argv[] = {drbd_usermode_helper, cmd, resource_name, NULL }; in conn_khelper() 421 drbd_info(connection, "helper command: %s %s %s\n", drbd_usermode_helper, cmd, resource_name); in conn_khelper() 428 drbd_usermode_helper, cmd, resource_name, in conn_khelper() 432 drbd_usermode_helper, cmd, resource_name, in conn_khelper() 3980 const char *resource_name; in drbd_adm_get_status_all() local [all …]
|
D | drbd_int.h | 923 char *resource_name; member
|
/linux-6.12.1/include/linux/ |
D | memory_hotplug.h | 312 const char *resource_name,
|
/linux-6.12.1/drivers/virtio/ |
D | virtio_mem.c | 143 const char *resource_name; member 643 if (!vm->resource_name) { in virtio_mem_add_memory() 644 vm->resource_name = kstrdup_const("System RAM (virtio_mem)", in virtio_mem_add_memory() 646 if (!vm->resource_name) in virtio_mem_add_memory() 654 rc = add_memory_driver_managed(vm->mgid, addr, size, vm->resource_name, in virtio_mem_add_memory() 2944 kfree_const(vm->resource_name); in virtio_mem_deinit_hotplug()
|
/linux-6.12.1/drivers/regulator/ |
D | qcom-rpmh-regulator.c | 149 const char *resource_name; member 437 rpmh_data->resource_name, pmic_id); in rpmh_regulator_init_vreg() 921 .resource_name = _resource_name, \
|
/linux-6.12.1/drivers/net/ethernet/renesas/ |
D | rswitch.c | 974 char *resource_name, *irq_name; in rswitch_gwca_request_irqs() local 978 resource_name = kasprintf(GFP_KERNEL, GWCA_IRQ_RESOURCE_NAME, i); in rswitch_gwca_request_irqs() 979 if (!resource_name) in rswitch_gwca_request_irqs() 982 irq = platform_get_irq_byname(priv->pdev, resource_name); in rswitch_gwca_request_irqs() 983 kfree(resource_name); in rswitch_gwca_request_irqs()
|
/linux-6.12.1/include/net/ |
D | devlink.h | 1777 const char *resource_name, 1783 const char *resource_name,
|
D | dsa.h | 1272 const char *resource_name,
|