Home
last modified time | relevance | path

Searched refs:resource_name (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh66 local resource_name=.[][\"$DEVLINK_DEV\"]
68 resource_name="$resource_name | .[] | select (.name == \"$name\")"
72 resource_name="${resource_name} | .[\"resources\"][] | \
76 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c14 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,
294 sub_pool->resource_name, in mlxsw_sp_counter_resources_register()
/kernel/linux/linux-5.10/mm/
Dmemory_hotplug.c103 const char *resource_name) in register_memory_resource() argument
108 if (strcmp(resource_name, "System RAM")) in register_memory_resource()
126 resource_name, flags); in register_memory_resource()
1160 const char *resource_name, mhp_t mhp_flags) in add_memory_driver_managed() argument
1165 if (!resource_name || in add_memory_driver_managed()
1166 strstr(resource_name, "System RAM (") != resource_name || in add_memory_driver_managed()
1167 resource_name[strlen(resource_name) - 1] != ')') in add_memory_driver_managed()
1172 res = register_memory_resource(start, size, resource_name); in add_memory_driver_managed()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Ddlm_netlink.h42 char resource_name[DLM_RESNAME_MAXLEN]; member
/kernel/linux/linux-5.10/include/uapi/linux/
Ddlm_netlink.h37 char resource_name[DLM_RESNAME_MAXLEN]; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Ddlm_netlink.h29 char resource_name[DLM_RESNAME_MAXLEN]; member
/kernel/linux/linux-5.10/fs/dlm/
Dnetlink.c110 memcpy(data->resource_name, r->res_name, r->res_length); in fill_data()
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_mem.c100 const char *resource_name; member
418 if (!vm->resource_name) { in virtio_mem_mb_add()
419 vm->resource_name = kstrdup_const("System RAM (virtio_mem)", in virtio_mem_mb_add()
421 if (!vm->resource_name) in virtio_mem_mb_add()
427 vm->resource_name, in virtio_mem_mb_add()
1884 kfree_const(vm->resource_name); in virtio_mem_remove()
/kernel/linux/linux-5.10/net/dsa/
Ddsa.c380 const char *resource_name, in dsa_devlink_resource_register() argument
386 return devlink_resource_register(ds->devlink, resource_name, in dsa_devlink_resource_register()
/kernel/linux/linux-5.10/drivers/regulator/
Dqcom-rpmh-regulator.c147 const char *resource_name; member
436 rpmh_data->resource_name, pmic_id); in rpmh_regulator_init_vreg()
756 .resource_name = _resource_name, \
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_nl.c212 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()
4045 const char *resource_name; in drbd_adm_get_status_all() local
[all …]
Ddrbd_int.h996 char *resource_name; member
/kernel/linux/linux-5.10/include/linux/
Dmemory_hotplug.h346 const char *resource_name,
/kernel/linux/linux-5.10/include/net/
Ddsa.h667 const char *resource_name,
Ddevlink.h1434 const char *resource_name,
/kernel/linux/linux-5.10/net/core/
Ddevlink.c8621 const char *resource_name, in devlink_resource_register() argument
8664 resource->name = resource_name; in devlink_resource_register()