| /tools/testing/selftests/drivers/dma-buf/ |
| 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() 174 create.offset = getpagesize()/2; in main() 175 create.size = getpagesize(); in main() 176 buf = ioctl(devfd, UDMABUF_CREATE, &create); in main() 183 create.memfd = memfd; in main() 184 create.offset = 0; in main() 185 create.size = getpagesize()/2; in main() 186 buf = ioctl(devfd, UDMABUF_CREATE, &create); in main() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| 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/testing/selftests/hid/ |
| D | hid_common.h | 134 strcpy((char *)ev.u.create.name, buf); in uhid_create() 135 ev.u.create.rd_data = rdesc; in uhid_create() 136 ev.u.create.rd_size = sizeof(rdesc); in uhid_create() 137 ev.u.create.bus = BUS_USB; in uhid_create() 138 ev.u.create.vendor = 0x0001; in uhid_create() 139 ev.u.create.product = 0x0a37; in uhid_create() 140 ev.u.create.version = 0; in uhid_create() 141 ev.u.create.country = 0; in uhid_create() 144 strcpy((char *)ev.u.create.phys, buf); in uhid_create()
|
| /tools/lib/perf/Documentation/ |
| 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");
|
| 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/efivarfs/ |
| D | .gitignore | 2 create-read
|
| D | Makefile | 4 TEST_GEN_FILES := open-unlink create-read
|
| D | efivarfs.sh | 89 ./create-read $file
|
| /tools/testing/selftests/net/ |
| D | ncdevmem.c | 92 struct udmabuf_create create; in udmabuf_alloc() local 120 memset(&create, 0, sizeof(create)); in udmabuf_alloc() 122 create.memfd = ctx->memfd; in udmabuf_alloc() 123 create.offset = 0; in udmabuf_alloc() 124 create.size = size; in udmabuf_alloc() 125 ctx->fd = ioctl(ctx->devfd, UDMABUF_CREATE, &create); in udmabuf_alloc()
|
| /tools/perf/util/ |
| D | rblist.c | 55 bool create) in __rblist__findnew() argument 77 if (create) { in __rblist__findnew()
|
| D | intlist.c | 66 unsigned long i, bool create) in __intlist__findnew() argument 74 if (create) in __intlist__findnew()
|
| D | metricgroup.h | 71 bool create);
|
| /tools/testing/selftests/rcutorture/doc/ |
| D | initrd.txt | 1 The rcutorture scripting tools automatically create an initrd containing
|
| /tools/testing/selftests/cachestat/ |
| D | test_cachestat.c | 118 static int test_cachestat(const char *filename, bool write_random, bool create, in test_cachestat() argument 199 if (create) in test_cachestat()
|
| /tools/perf/scripts/perl/Perf-Trace-Util/ |
| D | README | 22 perl Makefile.PL # to create a Makefile for the next step 23 make # to create Context.c
|
| /tools/testing/selftests/zram/ |
| D | README | 22 zram_lib.sh: create library with initialization/cleanup functions
|
| /tools/testing/selftests/net/forwarding/ |
| 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/ |
| D | bpftool.rst | 29 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext** |
|
| 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**
|
| D | bpftool-iter.rst | 7 tool to create BPF iterators
|
| /tools/testing/selftests/net/rds/ |
| D | README.txt | 31 # Alternatly create a gcov disabled .config
|
| /tools/perf/pmu-events/ |
| D | Build | 24 # directory and create tables in pmu-events.c.
|
| /tools/testing/selftests/powerpc/nx-gzip/ |
| D | README | 8 However, chmod may not survive across boots. You may create a udev file such
|
| /tools/usb/usbip/ |
| 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
|
| /tools/build/Documentation/ |
| D | Build.txt | 63 The build framework does not create the 'ex' and 'libex.a' binaries for you, it 93 It's only a matter of 2 single commands to create the final binaries:
|