Home
last modified time | relevance | path

Searched refs:memlock (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/bpf/bpftool/
Dmap.c470 char *memlock, *frozen_str; in show_map_close_json() local
473 memlock = get_fdinfo(fd, "memlock"); in show_map_close_json()
486 if (memlock) in show_map_close_json()
487 jsonw_int_field(json_wtr, "bytes_memlock", atoll(memlock)); in show_map_close_json()
488 free(memlock); in show_map_close_json()
563 char *memlock, *frozen_str; in show_map_close_plain() local
566 memlock = get_fdinfo(fd, "memlock"); in show_map_close_plain()
573 if (memlock) in show_map_close_plain()
574 printf(" memlock %sB", memlock); in show_map_close_plain()
575 free(memlock); in show_map_close_plain()
Dprog.c447 char *memlock; in print_prog_json() local
474 memlock = get_fdinfo(fd, "memlock"); in print_prog_json()
475 if (memlock) in print_prog_json()
476 jsonw_int_field(json_wtr, "bytes_memlock", atoll(memlock)); in print_prog_json()
477 free(memlock); in print_prog_json()
533 char *memlock; in print_prog_plain() local
553 memlock = get_fdinfo(fd, "memlock"); in print_prog_plain()
554 if (memlock) in print_prog_plain()
555 printf(" memlock %sB", memlock); in print_prog_plain()
556 free(memlock); in print_prog_plain()
/linux-6.12.1/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst179 key 4B value 8B max_entries 2048 memlock 167936B
237 xlated 240B jited 257B memlock 4096B map_ids 294
241 xlated 200B jited 164B memlock 4096B
245 xlated 200B jited 164B memlock 4096B
253 key 4B value 4B max_entries 1 memlock 4096B
Dbpftool-prog.rst246 xlated 528B jited 370B memlock 4096B map_ids 10
328 xlated 488B jited 336B memlock 4096B map_ids 7
/linux-6.12.1/mm/
Dmlock.c794 long memlock; in user_shm_lock() local
802 memlock = inc_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock()
804 if ((memlock == LONG_MAX || memlock > lock_limit) && !capable(CAP_IPC_LOCK)) { in user_shm_lock()
/linux-6.12.1/drivers/hid/bpf/progs/
DREADME100 xlated 120B jited 77B memlock 4096B