/linux-6.6.21/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.6.21/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.6.21/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.6.21/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() 1561 const char *resource_name, mhp_t mhp_flags) in add_memory_driver_managed() argument 1566 if (!resource_name || in add_memory_driver_managed() 1567 strstr(resource_name, "System RAM (") != resource_name || in add_memory_driver_managed() 1568 resource_name[strlen(resource_name) - 1] != ')') in add_memory_driver_managed() 1573 res = register_memory_resource(start, size, resource_name); in add_memory_driver_managed()
|
/linux-6.6.21/drivers/net/dsa/ocelot/ |
D | felix.c | 1321 const char *resource_name) in felix_request_regmap_by_name() argument 1332 return dev_get_regmap(ocelot->dev->parent, resource_name); in felix_request_regmap_by_name() 1335 if (strcmp(resource_name, felix->info->resources[i].name)) in felix_request_regmap_by_name() 1351 const char *resource_name = felix->info->resource_names[target]; in felix_request_regmap() local 1356 if (!resource_name) in felix_request_regmap() 1359 return felix_request_regmap_by_name(felix, resource_name); in felix_request_regmap() 1364 char resource_name[32]; in felix_request_port_regmap() local 1366 sprintf(resource_name, "port%d", port); in felix_request_port_regmap() 1368 return felix_request_regmap_by_name(felix, resource_name); in felix_request_port_regmap()
|
/linux-6.6.21/net/dsa/ |
D | devlink.c | 225 const char *resource_name, in dsa_devlink_resource_register() argument 231 return devlink_resource_register(ds->devlink, resource_name, in dsa_devlink_resource_register()
|
/linux-6.6.21/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() 3989 const char *resource_name; in drbd_adm_get_status_all() local [all …]
|
D | drbd_int.h | 926 char *resource_name; member
|
/linux-6.6.21/include/linux/ |
D | memory_hotplug.h | 338 const char *resource_name,
|
/linux-6.6.21/drivers/virtio/ |
D | virtio_mem.c | 141 const char *resource_name; member 638 if (!vm->resource_name) { in virtio_mem_add_memory() 639 vm->resource_name = kstrdup_const("System RAM (virtio_mem)", in virtio_mem_add_memory() 641 if (!vm->resource_name) in virtio_mem_add_memory() 649 rc = add_memory_driver_managed(vm->mgid, addr, size, vm->resource_name, in virtio_mem_add_memory() 2912 kfree_const(vm->resource_name); in virtio_mem_deinit_hotplug()
|
/linux-6.6.21/drivers/regulator/ |
D | qcom-rpmh-regulator.c | 146 const char *resource_name; member 434 rpmh_data->resource_name, pmic_id); in rpmh_regulator_init_vreg() 810 .resource_name = _resource_name, \
|
/linux-6.6.21/drivers/net/ethernet/renesas/ |
D | rswitch.c | 886 char *resource_name, *irq_name; in rswitch_gwca_request_irqs() local 890 resource_name = kasprintf(GFP_KERNEL, GWCA_IRQ_RESOURCE_NAME, i); in rswitch_gwca_request_irqs() 891 if (!resource_name) in rswitch_gwca_request_irqs() 894 irq = platform_get_irq_byname(priv->pdev, resource_name); in rswitch_gwca_request_irqs() 895 kfree(resource_name); in rswitch_gwca_request_irqs()
|
/linux-6.6.21/include/net/ |
D | devlink.h | 1757 const char *resource_name, 1763 const char *resource_name,
|
D | dsa.h | 1247 const char *resource_name,
|