Home
last modified time | relevance | path

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

123

/tools/testing/selftests/drivers/dma-buf/
A Dudmabuf.c135 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 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/lib/perf/Documentation/
A 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");
A 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/hid/
A Dhid_common.h146 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.gitignore2 create-read
A DMakefile4 TEST_GEN_FILES := open-unlink create-read
/tools/perf/util/
A Drblist.c55 bool create) in __rblist__findnew() argument
77 if (create) { in __rblist__findnew()
A Dintlist.c66 unsigned long i, bool create) in __intlist__findnew() argument
74 if (create) in __intlist__findnew()
A Dmetricgroup.h71 bool create);
/tools/testing/selftests/rcutorture/doc/
A Dinitrd.txt1 The rcutorture scripting tools automatically create an initrd containing
/tools/testing/selftests/drivers/net/hw/
A Dncdevmem.c120 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 DREADME22 perl Makefile.PL # to create a Makefile for the next step
23 make # to create Context.c
/tools/testing/selftests/cachestat/
A Dtest_cachestat.c123 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 Dtest_bpftool_map.sh321 "$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 DREADME22 zram_lib.sh: create library with initialization/cleanup functions
/tools/testing/selftests/net/forwarding/
A 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/
A Dbpftool.rst29 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext** |
A 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**
A Dbpftool-iter.rst7 tool to create BPF iterators
/tools/testing/selftests/net/rds/
A DREADME.txt31 # Alternatly create a gcov disabled .config
/tools/testing/selftests/powerpc/nx-gzip/
A DREADME8 However, chmod may not survive across boots. You may create a udev file such
/tools/testing/selftests/kho/
A Dvmtest.sh95 find . | cpio -H newc --create > "$initrd" 2>/dev/null
/tools/perf/pmu-events/
A DBuild24 # directory and create tables in pmu-events.c.
/tools/usb/usbip/
A 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

Completed in 28 milliseconds

123