| /tools/testing/selftests/drivers/dma-buf/ |
| A D | udmabuf.c | 135 struct udmabuf_create create; in main() local 170 memset(&create, 0, sizeof(create)); in main() 173 create.memfd = memfd; in main() 175 create.size = getpagesize(); in main() 183 create.memfd = memfd; in main() 184 create.offset = 0; in main() 194 create.offset = 0; in main() 195 create.size = size; in main() 206 create.memfd = memfd; in main() 207 create.offset = 0; in main() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | dmabuf_iter.c | 31 struct udmabuf_create create; in create_udmabuf() local 53 memset(&create, 0, sizeof(create)); in create_udmabuf() 54 create.memfd = memfd; in create_udmabuf() 55 create.flags = UDMABUF_FLAGS_CLOEXEC; in create_udmabuf() 56 create.offset = 0; in create_udmabuf() 57 create.size = udmabuf_test_buffer_size; in create_udmabuf() 59 local_udmabuf = ioctl(dev_udmabuf, UDMABUF_CREATE, &create); in create_udmabuf()
|
| /tools/lib/perf/Documentation/ |
| A D | libperf-counting.txt | 75 We create software events for cpu and task: 97 In this case we will monitor current process, so we create threads map with single pid (0): 103 39 fprintf(stderr, "failed to create threads\n"); 110 Now we create libperf's event list, which will serve as holder for the events we want: 116 47 fprintf(stderr, "failed to create evlist\n"); 121 We create libperf's events for the attributes we defined earlier and add them to the list: 127 53 fprintf(stderr, "failed to create evsel1\n"); 135 61 fprintf(stderr, "failed to create evsel2\n");
|
| A D | libperf-sampling.txt | 102 44 fprintf(stderr, "failed to create cpus\n"); 107 Now we create libperf's event list, which will serve as holder for the cycles event: 113 50 fprintf(stderr, "failed to create evlist\n"); 118 We create libperf's event for the cycles attribute we defined earlier and add it to the list: 124 56 fprintf(stderr, "failed to create cycles\n"); 144 Once the events list is open, we can create memory maps AKA perf ring buffers:
|
| /tools/testing/selftests/hid/ |
| A D | hid_common.h | 146 strcpy((char *)ev.u.create.name, buf); in uhid_create() 147 ev.u.create.rd_data = rdesc; in uhid_create() 148 ev.u.create.rd_size = rdesc_size; in uhid_create() 149 ev.u.create.bus = bus; in uhid_create() 150 ev.u.create.vendor = vid; in uhid_create() 151 ev.u.create.product = pid; in uhid_create() 152 ev.u.create.version = 0; in uhid_create() 153 ev.u.create.country = 0; in uhid_create() 156 strcpy((char *)ev.u.create.phys, buf); in uhid_create()
|
| /tools/testing/selftests/efivarfs/ |
| A D | .gitignore | 2 create-read
|
| A D | Makefile | 4 TEST_GEN_FILES := open-unlink create-read
|
| /tools/perf/util/ |
| A D | rblist.c | 55 bool create) in __rblist__findnew() argument 77 if (create) { in __rblist__findnew()
|
| A D | intlist.c | 66 unsigned long i, bool create) in __intlist__findnew() argument 74 if (create) in __intlist__findnew()
|
| A D | metricgroup.h | 71 bool create);
|
| /tools/testing/selftests/rcutorture/doc/ |
| A D | initrd.txt | 1 The rcutorture scripting tools automatically create an initrd containing
|
| /tools/testing/selftests/drivers/net/hw/ |
| A D | ncdevmem.c | 120 struct udmabuf_create create; in udmabuf_alloc() local 148 memset(&create, 0, sizeof(create)); in udmabuf_alloc() 150 create.memfd = ctx->memfd; in udmabuf_alloc() 151 create.offset = 0; in udmabuf_alloc() 152 create.size = size; in udmabuf_alloc() 153 ctx->fd = ioctl(ctx->devfd, UDMABUF_CREATE, &create); in udmabuf_alloc()
|
| /tools/perf/scripts/perl/Perf-Trace-Util/ |
| A D | README | 22 perl Makefile.PL # to create a Makefile for the next step 23 make # to create Context.c
|
| /tools/testing/selftests/cachestat/ |
| A D | test_cachestat.c | 123 static int test_cachestat(const char *filename, bool write_random, bool create, in test_cachestat() argument 204 if (create) in test_cachestat()
|
| /tools/testing/selftests/bpf/ |
| A D | test_bpftool_map.sh | 321 "$bpftool_path" map create "$bpf_dir/$inner_map_name" type array key 4 \ 328 "$bpftool_path" map create "$bpf_dir/$outer_map_name" type hash_of_maps \
|
| /tools/testing/selftests/zram/ |
| A D | README | 22 zram_lib.sh: create library with initialization/cleanup functions
|
| /tools/testing/selftests/net/forwarding/ |
| A D | README | 5 to easily create and test complex environments. 85 A way to customize variables in a persistent fashion is to create a file
|
| /tools/bpf/bpftool/Documentation/ |
| A D | bpftool.rst | 29 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext** |
|
| A D | bpftool-map.rst | 22 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext** | 29 | **bpftool** **map create** *FILE* **type** *TYPE* **key** *KEY_SIZE* **value** *VALUE_SIZE* \ 75 bpftool map create *FILE* type *TYPE* key *KEY_SIZE* value *VALUE_SIZE* entries *MAX_ENTRIES* name… 82 To create maps of type array-of-maps or hash-of-maps, the **inner_map**
|
| A D | bpftool-iter.rst | 7 tool to create BPF iterators
|
| /tools/testing/selftests/net/rds/ |
| A D | README.txt | 31 # Alternatly create a gcov disabled .config
|
| /tools/testing/selftests/powerpc/nx-gzip/ |
| A D | README | 8 However, chmod may not survive across boots. You may create a udev file such
|
| /tools/testing/selftests/kho/ |
| A D | vmtest.sh | 95 find . | cpio -H newc --create > "$initrd" 2>/dev/null
|
| /tools/perf/pmu-events/ |
| A D | Build | 24 # directory and create tables in pmu-events.c.
|
| /tools/usb/usbip/ |
| A D | INSTALL | 20 those values to create a `Makefile' in each directory of the package. 21 It may also create one or more `.h' files containing system-dependent 40 The file `configure.ac' (or `configure.in') is used to create 175 can create a site shell script called `config.site' that gives default
|