/linux-6.1.9/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.1.9/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.1.9/mm/ |
D | memory_hotplug.c | 188 const char *resource_name) in register_memory_resource() argument 193 if (strcmp(resource_name, "System RAM")) in register_memory_resource() 214 resource_name, flags); in register_memory_resource() 1481 const char *resource_name, mhp_t mhp_flags) in add_memory_driver_managed() argument 1486 if (!resource_name || in add_memory_driver_managed() 1487 strstr(resource_name, "System RAM (") != resource_name || in add_memory_driver_managed() 1488 resource_name[strlen(resource_name) - 1] != ')') in add_memory_driver_managed() 1493 res = register_memory_resource(start, size, resource_name); in add_memory_driver_managed()
|
/linux-6.1.9/include/uapi/linux/ |
D | dlm_netlink.h | 37 char resource_name[DLM_RESNAME_MAXLEN]; member
|
/linux-6.1.9/fs/dlm/ |
D | netlink.c | 111 memcpy(data->resource_name, r->res_name, r->res_length); in fill_data()
|
/linux-6.1.9/drivers/net/dsa/ocelot/ |
D | felix.c | 1316 const char *resource_name) in felix_request_regmap_by_name() argument 1323 if (strcmp(resource_name, felix->info->resources[i].name)) in felix_request_regmap_by_name() 1339 const char *resource_name = felix->info->resource_names[target]; in felix_request_regmap() local 1344 if (!resource_name) in felix_request_regmap() 1347 return felix_request_regmap_by_name(felix, resource_name); in felix_request_regmap() 1352 char resource_name[32]; in felix_request_port_regmap() local 1354 sprintf(resource_name, "port%d", port); in felix_request_port_regmap() 1356 return felix_request_regmap_by_name(felix, resource_name); in felix_request_port_regmap()
|
/linux-6.1.9/net/dsa/ |
D | dsa.c | 386 const char *resource_name, in dsa_devlink_resource_register() argument 392 return devlink_resource_register(ds->devlink, resource_name, in dsa_devlink_resource_register()
|
/linux-6.1.9/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() 3966 const char *resource_name; in drbd_adm_get_status_all() local [all …]
|
D | drbd_int.h | 992 char *resource_name; member
|
/linux-6.1.9/include/linux/ |
D | memory_hotplug.h | 339 const char *resource_name,
|
/linux-6.1.9/drivers/regulator/ |
D | qcom-rpmh-regulator.c | 147 const char *resource_name; member 435 rpmh_data->resource_name, pmic_id); in rpmh_regulator_init_vreg() 764 .resource_name = _resource_name, \
|
/linux-6.1.9/drivers/virtio/ |
D | virtio_mem.c | 146 const char *resource_name; member 636 if (!vm->resource_name) { in virtio_mem_add_memory() 637 vm->resource_name = kstrdup_const("System RAM (virtio_mem)", in virtio_mem_add_memory() 639 if (!vm->resource_name) in virtio_mem_add_memory() 647 rc = add_memory_driver_managed(vm->mgid, addr, size, vm->resource_name, in virtio_mem_add_memory() 2856 kfree_const(vm->resource_name); in virtio_mem_deinit_hotplug()
|
/linux-6.1.9/include/net/ |
D | devlink.h | 1644 const char *resource_name, 1650 const char *resource_name,
|
D | dsa.h | 1238 const char *resource_name,
|
/linux-6.1.9/net/core/ |
D | devlink.c | 10819 const char *resource_name, in devl_resource_register() argument 10857 resource->name = resource_name; in devl_resource_register() 10888 const char *resource_name, in devlink_resource_register() argument 10897 err = devl_resource_register(devlink, resource_name, resource_size, in devlink_resource_register()
|