/linux-master/tools/testing/selftests/mm/ |
H A D | ksm_tests.c | 202 void *map_ptr = mmap(ptr, map_size, PROT_WRITE, mapping, -1, 0); local 204 if (!map_ptr) { 208 memset(map_ptr, data, map_size); 209 if (mprotect(map_ptr, map_size, prot)) { 211 munmap(map_ptr, map_size); 215 return map_ptr; 350 void *map_ptr; local 359 map_ptr = allocate_memory(NULL, prot, mapping, '*', page_size * page_count); 360 if (!map_ptr) 363 if (ksm_merge_pages(merge_type, map_ptr, page_siz 383 void *map_ptr; local 424 void *map_ptr; local 553 void *map_ptr, *map_ptr_orig; local 620 void *map_ptr; local 661 void *map_ptr; local 708 void *map_ptr; local [all...] |
/linux-master/tools/testing/selftests/arm64/mte/ |
H A D | check_mmap_options.c | 62 char *ptr, *map_ptr; local 69 map_ptr = (char *)mte_allocate_memory(map_size, mem_type, mapping, false); 70 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) 73 ptr = map_ptr + UNDERFLOW; 79 munmap((void *)map_ptr, map_size); 84 mte_free_memory((void *)map_ptr, map_size, mem_type, false); 93 char *ptr, *map_ptr; local 105 map_ptr = (char *)mte_allocate_file_memory(map_size, mem_type, mapping, false, fd); 106 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) { 110 ptr = map_ptr 132 char *ptr, *map_ptr; local [all...] |
H A D | check_child_memory.c | 108 char *ptr, *map_ptr; local 119 map_ptr = (char *)mte_allocate_file_memory(map_size, mem_type, mapping, false, fd); 120 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) { 124 ptr = map_ptr + UNDERFLOW; 130 munmap((void *)map_ptr, map_size); 136 munmap((void *)map_ptr, map_size);
|
/linux-master/drivers/md/dm-vdo/ |
H A D | int-map.h | 26 int __must_check vdo_int_map_create(size_t initial_capacity, struct int_map **map_ptr);
|
H A D | int-map.c | 175 * @map_ptr: Output, a pointer to hold the new int_map. 179 int vdo_int_map_create(size_t initial_capacity, struct int_map **map_ptr) argument 204 *map_ptr = map;
|
H A D | block-map.h | 337 struct block_map **map_ptr);
|
H A D | block-map.c | 2861 struct block_map **map_ptr) 2913 *map_ptr = map; 2858 vdo_decode_block_map(struct block_map_state_2_0 state, block_count_t logical_blocks, struct vdo *vdo, struct recovery_journal *journal, nonce_t nonce, page_count_t cache_size, block_count_t maximum_age, struct block_map **map_ptr) argument
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | index-page-map.h | 26 struct index_page_map **map_ptr);
|
H A D | index-page-map.c | 36 struct index_page_map **map_ptr) 54 *map_ptr = map; 35 uds_make_index_page_map(const struct index_geometry *geometry, struct index_page_map **map_ptr) argument
|
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | fw.h | 120 __be64 map_ptr; member in struct:cmsg_bpf_event
|
H A D | verifier.c | 99 offmap = map_to_offmap(reg1->map_ptr); 433 offmap = map_to_offmap(reg->map_ptr);
|
H A D | offload.c | 458 map_id_full = be64_to_cpu(cbe->map_ptr);
|
/linux-master/kernel/bpf/ |
H A D | arraymap.c | 211 const int map_ptr = BPF_REG_1; local 217 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); 231 *insn++ = BPF_ALU64_REG(BPF_ADD, ret, map_ptr); 1340 const int map_ptr = BPF_REG_1; local 1343 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); 1355 *insn++ = BPF_ALU64_REG(BPF_ADD, ret, map_ptr);
|
H A D | log.c | 447 [CONST_PTR_TO_MAP] = "map_ptr", 717 if (reg->map_ptr->name[0]) 718 verbose_a("map=%s", reg->map_ptr->name); 720 reg->map_ptr->key_size, 721 reg->map_ptr->value_size);
|
H A D | verifier.c | 136 * Now verifier knows that this map has key of R1->map_ptr->key_size bytes 271 struct bpf_map *map_ptr; member in struct:bpf_call_arg_meta 415 rec = reg->map_ptr->record; 1769 /* Clear off and union(map_ptr, range) */ 1835 const struct bpf_map *map = reg->map_ptr; 1839 reg->map_ptr = map->inner_map_meta; 2292 * Clear type, off, and union(map_ptr, range) and 5051 struct bpf_map *map = regs[regno].map_ptr; 5417 struct bpf_map *map = reg->map_ptr; 6586 struct bpf_map *map = reg->map_ptr; 7597 struct bpf_map *map_ptr = reg->map_ptr; local 9704 struct bpf_map *map_ptr = caller->regs[BPF_REG_1].map_ptr; local 19115 struct bpf_map *map_ptr; local 19597 struct bpf_map *map_ptr; local [all...] |
/linux-master/include/linux/ |
H A D | bpf_verifier.h | 55 /* This can either be reg->map_ptr or reg->btf. If ptr is NULL, 86 struct bpf_map *map_ptr; member in struct:bpf_reg_state::__anon1915::__anon1916
|