Searched refs:memlock (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/tools/bpf/bpftool/ |
H A D | map.c | 470 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()
|
H A D | prog.c | 447 char *memlock; in print_prog_json() local 473 memlock = get_fdinfo(fd, "memlock"); in print_prog_json() 474 if (memlock) in print_prog_json() 475 jsonw_int_field(json_wtr, "bytes_memlock", atoll(memlock)); in print_prog_json() 476 free(memlock); in print_prog_json() 532 char *memlock; in print_prog_plain() local 552 memlock = get_fdinfo(fd, "memlock"); in print_prog_plain() 553 if (memlock) in print_prog_plain() 554 printf(" memlock %sB", memlock); in print_prog_plain() 555 free(memlock); in print_prog_plain()
|
/openbmc/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-map.rst | 185 key 4B value 8B max_entries 2048 memlock 167936B 243 xlated 240B jited 257B memlock 4096B map_ids 294 247 xlated 200B jited 164B memlock 4096B 251 xlated 200B jited 164B memlock 4096B 259 key 4B value 4B max_entries 1 memlock 4096B
|
H A D | bpftool-prog.rst | 268 xlated 528B jited 370B memlock 4096B map_ids 10 350 xlated 488B jited 336B memlock 4096B map_ids 7
|
/openbmc/linux/mm/ |
H A D | mlock.c | 754 long memlock; in user_shm_lock() local 762 memlock = inc_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock() 764 if ((memlock == LONG_MAX || memlock > lock_limit) && !capable(CAP_IPC_LOCK)) { in user_shm_lock()
|