Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 23 of 23) sorted by relevance

/tools/testing/nvdimm/test/
Diomap.c43 static struct nfit_test_resource *__get_nfit_res(resource_size_t resource) in __get_nfit_res() argument
49 return ops->nfit_test_lookup(resource); in __get_nfit_res()
53 struct nfit_test_resource *get_nfit_res(resource_size_t resource) in get_nfit_res() argument
58 res = __get_nfit_res(resource); in get_nfit_res()
201 struct resource *parent, resource_size_t start,
206 struct resource *res = *((struct resource **) data); in nfit_devres_release()
214 struct resource *res = *((struct resource **) __res); in match()
221 struct resource *parent, resource_size_t start, in nfit_test_release_region()
229 struct resource *res = NULL; in nfit_test_release_region()
257 static struct resource *nfit_test_request_region(struct device *dev, in nfit_test_request_region()
[all …]
Dnfit_test.h15 struct resource res;
21 struct resource res;
223 struct resource *__wrap___request_region(struct resource *parent,
226 int __wrap_insert_resource(struct resource *parent, struct resource *res);
227 int __wrap_remove_resource(struct resource *res);
228 struct resource *__wrap___devm_request_region(struct device *dev,
229 struct resource *parent, resource_size_t start,
231 void __wrap___release_region(struct resource *parent, resource_size_t start,
233 void __wrap___devm_release_region(struct device *dev, struct resource *parent,
243 struct nfit_test_resource *get_nfit_res(resource_size_t resource);
Dndtest.c411 struct resource res; in ndtest_create_region()
/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh35 devlink help 2>&1 | grep resource &> /dev/null
58 local resource
61 for resource in "${@}"; do
63 path="$resource"
65 path="${path}/$resource"
80 for resource in "${@}"; do
82 select (.name == \"$resource\")"
85 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"
106 devlink resource set "$DEVLINK_DEV" path "$path" size "$new_size"
122 still_pending=$(devlink resource show "$DEVLINK_DEV" | \
/tools/testing/selftests/drivers/net/netdevsim/
Dfib.sh114 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
136 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
143 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
151 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
253 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
278 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
303 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 100
310 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
318 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 100
Dnexthop.sh95 occ=$($DEVLINK -jp resource show $DEVLINK_DEV \
109 $DEVLINK resource set $DEVLINK_DEV path nexthops size $size
1008 $DEVLINK resource set $DEVLINK_DEV path nexthops size 3
1012 $DEVLINK resource set $DEVLINK_DEV path nexthops size 9999
Ddevlink.sh317 devlink -N testns1 resource set $DL_HANDLE path IPv4/fib size $limit
357 devlink -N testns2 resource set $DL_HANDLE path IPv4/fib size ' -1'
/tools/testing/selftests/hid/tests/
Dconftest.py11 import resource
27 resource.setrlimit(resource.RLIMIT_CORE, (0, 0))
/tools/testing/kunit/test_data/
Dtest_kernel_panic_interrupt.log5 [ 0.060000] # Subtest: kunit-resource-test
12 [ 0.060000] ok 1 - kunit-resource-test
Dtest_config_printk_time.log5 [ 0.060000] # Subtest: kunit-resource-test
12 [ 0.060000] ok 1 - kunit-resource-test
Dtest_pound_no_prefix.log5 # Subtest: kunit-resource-test
13 ok 1 - kunit-resource-test
Dtest_output_with_prefix_isolated_correctly.log4 [ 0.060000] # Subtest: kunit-resource-test
12 [ 0.060000] ok 1 - kunit-resource-test
Dtest_pound_sign.log5 [ 0.060000] # Subtest: kunit-resource-test
13 [ 0.060000] ok 1 - kunit-resource-test
Dtest_multiple_prefixes.log5 [ 0.060000][ T1] # Subtest: kunit-resource-test
12 [ 0.060000][ T1] ok 1 - kunit-resource-test
Dtest_interrupted_tap_output.log5 [ 0.060000] # Subtest: kunit-resource-test
18 [ 0.060000] ok 1 - kunit-resource-test
/tools/testing/selftests/drivers/net/mlxsw/
Dport_scale.sh56 occ=$(devlink -j resource show $DEVLINK_DEV \
Drif_mac_profile_scale.sh42 occ=$(devlink -j resource show $DEVLINK_DEV \
Drif_mac_profiles_occ.sh93 occ=$(devlink -j resource show $DEVLINK_DEV \
/tools/testing/selftests/resctrl/
Dresctrlfs.c564 bool validate_resctrl_feature_request(const char *resource, const char *feature) in validate_resctrl_feature_request() argument
572 if (!resource) in validate_resctrl_feature_request()
579 snprintf(res_path, sizeof(res_path), "%s/%s", INFO_PATH, resource); in validate_resctrl_feature_request()
587 snprintf(res_path, sizeof(res_path), "%s/%s/mon_features", INFO_PATH, resource); in validate_resctrl_feature_request()
Dresctrl.h85 bool validate_resctrl_feature_request(const char *resource, const char *feature);
/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Ddevlink_resources.sh97 devlink resource set "$DEVLINK_DEV" \
/tools/kvm/kvm_stat/
Dkvm_stat31 import resource
700 softlim_, hardlim = resource.getrlimit(resource.RLIMIT_NOFILE)
704 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, newlim))
707 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, hardlim))
/tools/perf/
Dbuiltin-trace.c985 .arg = { [0] = STRARRAY(resource, rlimit_resources), }, },
1087 .arg = { [1] = STRARRAY(resource, rlimit_resources), }, },
1130 .arg = { [0] = STRARRAY(resource, rlimit_resources), }, },