Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dmap.c485 char *memlock, *frozen_str; in show_map_close_json() local
488 memlock = get_fdinfo(fd, "memlock"); in show_map_close_json()
501 if (memlock) in show_map_close_json()
502 jsonw_int_field(json_wtr, "bytes_memlock", atoi(memlock)); in show_map_close_json()
503 free(memlock); in show_map_close_json()
574 char *memlock, *frozen_str; in show_map_close_plain() local
577 memlock = get_fdinfo(fd, "memlock"); in show_map_close_plain()
584 if (memlock) in show_map_close_plain()
[all...]
H A Dprog.c377 char *memlock; in print_prog_json() local
403 memlock = get_fdinfo(fd, "memlock"); in print_prog_json()
404 if (memlock) in print_prog_json()
405 jsonw_int_field(json_wtr, "bytes_memlock", atoi(memlock)); in print_prog_json()
406 free(memlock); in print_prog_json()
456 char *memlock; in print_prog_plain() local
476 memlock = get_fdinfo(fd, "memlock"); in print_prog_plain()
477 if (memlock) in print_prog_plain()
[all...]
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A 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()
[all...]
H A Dprog.c447 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()
[all...]
/kernel/linux/linux-6.6/mm/
H A Dmlock.c754 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()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dgdth.h707 u8 memlock; /* write protection DPRAM */ member

Completed in 10 milliseconds