Searched refs:psize (Results 1 – 11 of 11) sorted by relevance
/tools/testing/selftests/mm/ |
D | mrelease_test.c | 27 buf = (char *)mmap(NULL, nr_pages * psize(), PROT_READ | PROT_WRITE, in alloc_noexit() 35 *((unsigned long *)(buf + (i * psize()))) = i; in alloc_noexit() 49 munmap(buf, nr_pages * psize()); in alloc_noexit() 82 res = alloc_noexit(MB(size) / psize(), pipefd[1]); in child_main()
|
D | transhuge-stress.c | 38 if (ram > SIZE_MAX / psize() / 4) in main() 41 ram *= psize(); in main() 116 if (madvise(p, HPAGE_SIZE - psize(), MADV_DONTNEED)) in main()
|
D | vm_util.h | 20 static inline unsigned int psize(void) in psize() function 30 __page_shift = (ffsl(psize()) - 1); in pshift()
|
D | hugepage-vmemmap.c | 109 pagesize = psize(); in main()
|
D | gup_test.c | 254 for (; (unsigned long)p < gup.addr + size; p += psize()) in main()
|
D | uffd-unit-tests.c | 197 page_size = psize(); in uffd_setup_environment()
|
/tools/lib/api/fd/ |
D | array.c | 25 size_t psize = sizeof(fda->priv[0]) * nr_alloc; in fdarray__grow() local 32 priv = realloc(fda->priv, psize); in fdarray__grow()
|
/tools/tracing/latency/ |
D | latency-collector.c | 574 int psize; in read_file() local 578 r = tracefs_instance_file_read(NULL, file, &psize); in read_file() 588 if (r && r[psize - 1] == '\n') in read_file() 589 r[psize - 1] = '\0'; in read_file() 1326 int psize; in save_trace_opts() local 1329 allopt = tracefs_instance_file_read(NULL, TR_OPTIONS, &psize); in save_trace_opts()
|
/tools/lib/bpf/ |
D | libbpf.h | 983 LIBBPF_API void *bpf_map__initial_value(struct bpf_map *map, size_t *psize);
|
D | libbpf.c | 9685 void *bpf_map__initial_value(struct bpf_map *map, size_t *psize) in bpf_map__initial_value() argument 9689 *psize = map->def.value_size; in bpf_map__initial_value()
|
/tools/perf/util/ |
D | header.c | 278 static int do_read_bitmap(struct feat_fd *ff, unsigned long **pset, u64 *psize) in do_read_bitmap() argument 303 *psize = size; in do_read_bitmap()
|