Home
last modified time | relevance | path

Searched refs:mmaped (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c524 void *mmaped; member
1524 void *mmaped; in bpf_map_mmap_resize() local
1526 if (!map->mmaped) in bpf_map_mmap_resize()
1532 mmaped = mmap(NULL, new_sz, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0); in bpf_map_mmap_resize()
1533 if (mmaped == MAP_FAILED) in bpf_map_mmap_resize()
1536 memcpy(mmaped, map->mmaped, min(old_sz, new_sz)); in bpf_map_mmap_resize()
1537 munmap(map->mmaped, old_sz); in bpf_map_mmap_resize()
1538 map->mmaped = mmaped; in bpf_map_mmap_resize()
1676 map->mmaped = mmap(NULL, mmap_sz, PROT_READ | PROT_WRITE, in bpf_object__init_internal_map()
1678 if (map->mmaped == MAP_FAILED) { in bpf_object__init_internal_map()
[all …]
Dlibbpf.h1537 void **mmaped; member
/linux-6.6.21/drivers/video/fbdev/aty/
Dmach64_cursor.c75 if (par->mmaped) in atyfb_cursor()
Datyfb.h160 u8 mmaped; member
Datyfb_base.c1594 par->mmaped = 0; in atyfb_open()
1698 was_mmaped = par->mmaped; in atyfb_release()
1700 par->mmaped = 0; in atyfb_release()
1994 if (!par->mmaped) in atyfb_mmap()
1995 par->mmaped = 1; in atyfb_mmap()
/linux-6.6.21/tools/bpf/bpftool/
Dgen.c818 codegen_maps_skeleton(struct bpf_object *obj, size_t map_cnt, bool mmaped) in codegen_maps_skeleton() argument
854 if (mmaped && is_internal_mmapable_map(map, ident, sizeof(ident))) { in codegen_maps_skeleton()
/linux-6.6.21/tools/perf/Documentation/
Dperf-record.txt563 The maximal allowed value is a quarter of the size of mmaped data pages.
566 writing thread finds some new data in the mmaped buffer the data is extracted,