Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 78) sorted by relevance

1234

/tools/virtio/
A Dvirtio_test.c72 unsigned long long features = dev->vdev.features; in vhost_vq_setup() local
80 r = ioctl(dev->control, VHOST_SET_FEATURES, &features); in vhost_vq_setup()
127 static void vdev_info_init(struct vdev_info* dev, unsigned long long features) in vdev_info_init() argument
131 dev->vdev.features = features; in vdev_info_init()
347 unsigned long long features = (1ULL << VIRTIO_RING_F_INDIRECT_DESC) | in main() local
361 features &= ~(1ULL << VIRTIO_RING_F_EVENT_IDX); in main()
366 features &= ~(1ULL << VIRTIO_RING_F_INDIRECT_DESC); in main()
369 features &= ~(1ULL << VIRTIO_F_VERSION_1); in main()
399 vdev_info_init(&dev, features); in main()
A Dvhost_net_test.c208 static void vdev_info_init(struct vdev_info *dev, unsigned long long features) in vdev_info_init() argument
213 dev->vdev.features = features; in vdev_info_init()
251 r = ioctl(dev->control, VHOST_SET_FEATURES, &features); in vdev_info_init()
477 unsigned long long features = (1ULL << VIRTIO_RING_F_INDIRECT_DESC) | in main() local
493 features &= ~(1ULL << VIRTIO_RING_F_EVENT_IDX); in main()
498 features &= ~(1ULL << VIRTIO_RING_F_INDIRECT_DESC); in main()
501 features &= ~(1ULL << VIRTIO_F_VERSION_1); in main()
523 vdev_info_init(&dev, features); in main()
A Dvringh_test.c136 static int parallel_test(u64 features, in parallel_test() argument
192 vringh_init_user(&vrh, features, RINGSIZE, true, in parallel_test()
312 gvdev.vdev.features = features; in parallel_test()
460 vdev.features = 0; in main()
483 return parallel_test(vdev.features, getrange, fast_vringh); in main()
498 vringh_init_user(&vrh, vdev.features, RINGSIZE, true, in main()
/tools/virtio/linux/
A Dvirtio_config.h23 return vdev->features & (1ULL << fbit); in __virtio_test_bit()
34 vdev->features |= (1ULL << fbit); in __virtio_set_bit()
45 vdev->features &= ~(1ULL << fbit); in __virtio_clear_bit()
A Dvirtio.h14 u64 features; member
/tools/testing/selftests/kvm/arm64/
A Dvcpu_width_config.c102 init0.features[0] = (1 << KVM_ARM_VCPU_EL1_32BIT); in main()
111 init0.features[0] = 0; in main()
112 init1.features[0] = (1 << KVM_ARM_VCPU_EL1_32BIT); in main()
/tools/bpf/bpftool/Documentation/
A Dcommon_options.rst8 of the libbpf version in use, and optional features that were included when
9 bpftool was compiled. Optional features include linking against LLVM or
11 dump jited**) and usage of BPF skeletons (some features like **bpftool prog
A Dbpftool-feature.rst55 features available to a user who does not have the **CAP_SYS_ADMIN**
56 capability set. The features available in that case usually represent a
63 Probe network device for supported eBPF features and dump results to the
/tools/testing/selftests/mm/
A Duffd-common.h117 int uffd_test_ctx_init(uint64_t features, const char **errmsg);
119 int userfaultfd_open(uint64_t *features);
131 int uffd_get_features(uint64_t *features);
A Duffd-common.c237 int userfaultfd_open(uint64_t *features) in userfaultfd_open() argument
247 uffdio_api.features = *features; in userfaultfd_open()
254 *features = uffdio_api.features; in userfaultfd_open()
298 int uffd_test_ctx_init(uint64_t features, const char **errmsg) in uffd_test_ctx_init() argument
323 ret = userfaultfd_open(&features); in uffd_test_ctx_init()
693 int uffd_get_features(uint64_t *features) in uffd_get_features() argument
695 struct uffdio_api uffdio_api = { .api = UFFD_API, .features = 0 }; in uffd_get_features()
714 *features = uffdio_api.features; in uffd_get_features()
A Duffd-stress.c39 uint64_t features; variable
255 if (features & UFFD_FEATURE_WP_UNPOPULATED && test_type == TEST_ANON) in userfaultfd_stress()
415 if (uffd_get_features(&features) && errno == ENOENT) in parse_test_type_arg()
419 (features & UFFD_FEATURE_PAGEFAULT_FLAG_WP); in parse_test_type_arg()
421 if (test_type != TEST_ANON && !(features & UFFD_FEATURE_WP_HUGETLBFS_SHMEM)) in parse_test_type_arg()
/tools/testing/selftests/x86/
A Damx.c73 uint64_t features; in handle_noperm() local
103 features = get_fpx_sw_bytes_features(xbuf); in handle_noperm()
108 if ((features & XFEATURE_MASK_XTILEDATA) == 0) { in handle_noperm()
483 unsigned long features; in main() local
486 rc = syscall(SYS_arch_prctl, ARCH_GET_XCOMP_SUPP, &features); in main()
487 if (rc || (features & XFEATURE_MASK_XTILE) != XFEATURE_MASK_XTILE) { in main()
A Dxstate.c454 unsigned long features; in test_xstate() local
463 rc = syscall(SYS_arch_prctl, ARCH_GET_XCOMP_SUPP, &features); in test_xstate()
464 if (rc || !(features & (1 << feature_num))) { in test_xstate()
/tools/testing/selftests/drivers/net/hw/
A Dtso.py179 features = cfg.ethnl.features_get({"header": {"dev-index": cfg.ifindex}})
182 for f in features["wanted"]["bits"]["bit"]:
187 for f in features["hw"]["bits"]["bit"]:
204 features = cfg.ethnl.features_get({"header": {"dev-index": cfg.ifindex}})
205 for f in features["active"]["bits"]["bit"]:
A Dcsum.py75 features = ethnl.features_get({"header": {"dev-index": cfg.ifindex}})
76 for f in features["active"]["bits"]["bit"]:
/tools/perf/Documentation/
A Dperf-check.txt6 perf-check - check if features are present in perf
34 name/macro, or multiple features can also be passed as a comma-separated
36 features are compiled-in.
A Dperf.txt76 covers hardware level (CPU/PMU, Performance Monitoring Unit) features
77 and software features (software counters, tracepoints) as well.
/tools/testing/kunit/test_data/
A Dtest_read_from_file.kconfig13 # Host processor type and features
/tools/testing/selftests/tc-testing/
A DTODO.txt3 - Determine what tc features are supported in the kernel. If features are not
/tools/testing/selftests/drivers/net/netdevsim/
A DMakefile7 ethtool-features.sh \
/tools/lib/bpf/
A DBuild4 usdt.o zip.o elf.o features.o btf_iter.o btf_relocate.o
/tools/perf/tests/config-fragments/
A DREADME3 an optimistic set as some features require hardware support in order to
/tools/memory-model/litmus-tests/
A DWRC+pooncerelease+fencermbonceonce+Once.litmus7 * the first write is moved to a separate process. Because it features
/tools/testing/selftests/ublk/
A Dkublk.c207 __u64 *features) in ublk_ctrl_get_features() argument
212 .addr = (__u64) (uintptr_t) features, in ublk_ctrl_get_features()
213 .len = sizeof(*features), in ublk_ctrl_get_features()
1108 __u64 features; in __cmd_dev_add() local
1158 ret = ublk_ctrl_get_features(dev, &features); in __cmd_dev_add()
1164 if (!(features & UBLK_F_CMD_IOCTL_ENCODE)) { in __cmd_dev_add()
1174 if ((features & UBLK_F_QUIESCE) && in __cmd_dev_add()
1383 __u64 features = 0; in cmd_dev_get_features() local
1392 ret = ublk_ctrl_get_features(dev, &features); in cmd_dev_get_features()
1398 for (i = 0; i < sizeof(features) * 8; i++) { in cmd_dev_get_features()
[all …]
/tools/sched_ext/
A DREADME.md8 that can be built using sched_ext, and illustrate how various features of
33 missing some features such as BTF type tags which are necessary for using
42 Rust schedulers uses features present in the rust toolchain >= 1.70.0. You
139 One of the cooler features of BPF is that it supports
178 useful BPF features, such as sleepable per-task storage allocation in the
263 Auto-detecting system features:

Completed in 30 milliseconds

1234