/linux-master/include/trace/events/ |
H A D | xdp.h | 96 u32 map_id, u32 index), 98 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index), 106 __field(u32, map_id) 119 } else if (map_type == BPF_MAP_TYPE_UNSPEC && map_id == INT_MAX) { 129 __entry->map_id = map_id; 134 " map_id=%d map_index=%d", 138 __entry->err, __entry->map_id, __entry->map_index) 146 u32 map_id, u32 index), 147 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, inde [all...] |
/linux-master/tools/perf/arch/arm64/util/ |
H A D | header.c | 100 u64 map_id = strtoull(mapcpuid, NULL, 16); local 101 char map_id_variant = FIELD_GET(MIDR_VARIANT_MASK, map_id); 102 char map_id_revision = FIELD_GET(MIDR_REVISION_MASK, map_id); 109 if ((map_id & id_fields) != (id & id_fields))
|
/linux-master/samples/bpf/ |
H A D | syscall_tp_user.c | 25 static void verify_map(int map_id) argument 30 if (bpf_map_lookup_elem(map_id, &key, &val) != 0) { 35 fprintf(stderr, "failed: map #%d returns value 0\n", map_id); 39 printf("verify map:%d val: %d\n", map_id, val); 42 if (bpf_map_update_elem(map_id, &key, &val, BPF_ANY) != 0) {
|
H A D | xdp_sample.bpf.c | 128 int BPF_PROG(tp_xdp_cpumap_enqueue, int map_id, unsigned int processed, argument 135 if (cpumap_map_id && cpumap_map_id != map_id) 156 int BPF_PROG(tp_xdp_cpumap_kthread, int map_id, unsigned int processed, argument 162 if (cpumap_map_id && cpumap_map_id != map_id)
|
/linux-master/include/linux/ |
H A D | mmiotrace.h | 92 int map_id; member in struct:mmiotrace_rw 101 int map_id; member in struct:mmiotrace_map
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | pinning.c | 36 __u32 map_id, map_id2, duration = 0; local 82 map_id = get_map_id(obj, "pinmap"); 83 if (!map_id) 100 if (CHECK(map_id != map_id2, "check reuse", 101 "err %d errno %d id %d id2 %d\n", err, errno, map_id, map_id2))
|
/linux-master/kernel/bpf/ |
H A D | map_iter.c | 10 u32 map_id; member in struct:bpf_iter_seq_map_info 18 map = bpf_map_get_curr_or_next(&info->map_id); 32 ++info->map_id; 34 return bpf_map_get_curr_or_next(&info->map_id); 154 seq_printf(seq, "map_id:\t%u\n", aux->map->id); 160 info->iter.map.map_id = aux->map->id;
|
H A D | cpumap.c | 60 int map_id; /* Back reference to map */ member in struct:bpf_cpu_map_entry 359 trace_xdp_cpumap_kthread(rcpu->map_id, n, kmem_alloc_drops, 428 rcpu->map_id = map->id; 701 trace_xdp_cpumap_enqueue(rcpu->map_id, processed, drops, to_cpu); 755 trace_xdp_cpumap_enqueue(rcpu->map_id, !ret, !!ret, rcpu->cpu);
|
/linux-master/kernel/trace/ |
H A D | trace_mmiotrace.c | 182 rw->width, secs, usec_rem, rw->map_id, 189 rw->width, secs, usec_rem, rw->map_id, 197 secs, usec_rem, rw->map_id, 227 secs, usec_rem, m->map_id, 234 secs, usec_rem, m->map_id, 0UL, 0);
|
H A D | trace_entries.h | 290 __field_desc( int, rw, map_id ) 297 __entry->map_id, __entry->opcode, __entry->width) 309 __field_desc( int, map, map_id ) 315 __entry->map_id, __entry->opcode)
|
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | map_in_map_batch_ops.c | 35 __u32 map_key = 0, map_id; local 57 map_id = get_map_id_from_fd(map_fd); 58 ret = bpf_map_update_elem(map_fd, &map_key, &map_id, 0);
|
H A D | map_percpu_stats.c | 232 static __u32 get_cur_elements(int map_id) argument 243 skel->bss->target_id = map_id;
|
/linux-master/arch/x86/mm/ |
H A D | mmio-mod.c | 148 my_trace->map_id = trace->id; 248 map.map_id = trace->id; 305 map.map_id = (found_trace) ? found_trace->id : -1;
|
/linux-master/drivers/scsi/megaraid/ |
H A D | megaraid_sas_debugfs.c | 72 debug->buf = (void *)fusion->ld_drv_map[(instance->map_id & 1)];
|
H A D | megaraid_sas_fp.c | 157 static int MR_PopulateDrvRaidMap(struct megasas_instance *instance, u64 map_id) argument 170 fusion->ld_drv_map[(map_id & 1)]; 179 fw_map_dyn = fusion->ld_map[(map_id & 1)]; 244 (struct MR_FW_RAID_MAP_EXT *)fusion->ld_map[(map_id & 1)]; 271 fusion->ld_map[(map_id & 1)]; 302 u8 MR_ValidateMapInfo(struct megasas_instance *instance, u64 map_id) argument 314 if (MR_PopulateDrvRaidMap(instance, map_id)) 318 drv_map = fusion->ld_drv_map[(map_id & 1)];
|
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | offload.c | 58 record->map_id = map->id; 450 u32 pkt_size, data_size, map_id; local 459 map_id = map_id_full; 467 record = rhashtable_lookup(&bpf->maps_neutral, &map_id,
|
/linux-master/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.h | 349 u8 map_id; member in struct:ibmvnic_rx_buff_add_desc 564 u8 map_id; member in struct:ibmvnic_request_map 574 u8 map_id; member in struct:ibmvnic_request_map_rsp 583 u8 map_id; member in struct:ibmvnic_request_unmap 591 u8 map_id; member in struct:ibmvnic_request_unmap_rsp 835 u8 map_id; member in struct:ibmvnic_long_term_buff
|
/linux-master/drivers/mtd/spi-nor/ |
H A D | sfdp.c | 732 u8 read_data_mask, map_id; local 743 map_id = 0; 765 map_id = map_id << 1 | !!(*buf & read_data_mask); 777 if (SMPT_MAP_ID(smpt[i]) == map_id) {
|
/linux-master/tools/bpf/bpftool/ |
H A D | link.c | 208 jsonw_uint_field(wtr, "map_id", info->iter.map.map_id); 530 jsonw_uint_field(json_wtr, "map_id", info->sockmap.map_id); 537 jsonw_uint_field(json_wtr, "map_id", 538 info->struct_ops.map_id); 599 printf("map %u ", info->struct_ops.map_id); 638 printf("map_id %u ", info->iter.map.map_id); 924 printf("map_id [all...] |
/linux-master/net/core/ |
H A D | sock_map.c | 1796 u32 map_id = 0; local 1800 map_id = sockmap_link->map->id; 1802 return map_id; 1809 u32 map_id = sock_map_link_get_map_id(sockmap_link); local 1811 info->sockmap.map_id = map_id; 1820 u32 map_id = sock_map_link_get_map_id(sockmap_link); local 1822 seq_printf(seq, "map_id:\t%u\n", map_id);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdp_features.c | 239 int BPF_PROG(tp_xdp_cpumap_kthread, int map_id, unsigned int processed, argument
|
H A D | syscall.c | 172 attr->map_id = ((struct bpf_map *)&outer_array_map)->id;
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_impl.c | 60 int map_id; /* id in the super vcap block mapping (if applicable) */ member in struct:sparx5_vcap_inst 68 .map_id = 1, 80 .map_id = 2, 92 .map_id = 3, 104 .map_id = 4, 116 .map_id = 5, 2004 spx5_wr(VCAP_SUPER_MAP_CORE_MAP_SET(cfg->map_id),
|
/linux-master/tools/lib/bpf/ |
H A D | skel_internal.h | 272 attr.map_id = id;
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 431 * *map_id*. 1629 __u32 map_id; member in union:bpf_attr::__anon2895::__anon2896 6642 __u32 map_id; member in struct:bpf_link_info::__anon2958::__anon2962::__anon2963::__anon2964 6664 __u32 map_id; member in struct:bpf_link_info::__anon2958::__anon2970 6730 __u32 map_id; member in struct:bpf_link_info::__anon2958::__anon2982
|