Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 55) sorted by relevance

123

/tools/testing/selftests/drivers/dma-buf/
Dudmabuf.c135 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/
Ddmabuf_iter.c31 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/
Dhid_common.h134 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/
Dlibperf-counting.txt75 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");
Dlibperf-sampling.txt102 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.gitignore2 create-read
DMakefile4 TEST_GEN_FILES := open-unlink create-read
Defivarfs.sh89 ./create-read $file
/tools/testing/selftests/net/
Dncdevmem.c92 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/
Drblist.c55 bool create) in __rblist__findnew() argument
77 if (create) { in __rblist__findnew()
Dintlist.c66 unsigned long i, bool create) in __intlist__findnew() argument
74 if (create) in __intlist__findnew()
Dmetricgroup.h71 bool create);
/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt1 The rcutorture scripting tools automatically create an initrd containing
/tools/testing/selftests/cachestat/
Dtest_cachestat.c118 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/
DREADME22 perl Makefile.PL # to create a Makefile for the next step
23 make # to create Context.c
/tools/testing/selftests/zram/
DREADME22 zram_lib.sh: create library with initialization/cleanup functions
/tools/testing/selftests/net/forwarding/
DREADME5 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/
Dbpftool.rst29 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext** |
Dbpftool-map.rst22 { **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**
Dbpftool-iter.rst7 tool to create BPF iterators
/tools/testing/selftests/net/rds/
DREADME.txt31 # Alternatly create a gcov disabled .config
/tools/perf/pmu-events/
DBuild24 # directory and create tables in pmu-events.c.
/tools/testing/selftests/powerpc/nx-gzip/
DREADME8 However, chmod may not survive across boots. You may create a udev file such
/tools/usb/usbip/
DINSTALL20 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/
DBuild.txt63 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:

123