Home
last modified time | relevance | path

Searched refs:map_id (Results 1 – 25 of 29) sorted by relevance

12

/linux/include/trace/events/
A Dxdp.h95 u32 map_id, u32 index),
105 __field(u32, map_id)
128 __entry->map_id = map_id;
145 u32 map_id, u32 index),
154 u32 map_id, u32 index),
176 u32 map_id, u32 index),
185 u32 map_id, u32 index),
197 __field(int, map_id)
209 __entry->map_id = map_id;
240 __field(int, map_id)
[all …]
/linux/kernel/bpf/
A Dmap_iter.c10 u32 map_id; member
18 map = bpf_map_get_curr_or_next(&info->map_id); in bpf_map_seq_start()
32 ++info->map_id; in bpf_map_seq_next()
34 return bpf_map_get_curr_or_next(&info->map_id); in bpf_map_seq_next()
161 info->iter.map.map_id = aux->map->id; in bpf_iter_map_fill_link_info()
A Dcpumap.c55 int map_id; /* Back reference to map */ member
389 trace_xdp_cpumap_kthread(rcpu->map_id, n, kmem_alloc_drops, in cpu_map_kthread_run()
457 rcpu->map_id = map->id; in __cpu_map_entry_alloc()
720 trace_xdp_cpumap_enqueue(rcpu->map_id, processed, drops, to_cpu); in bq_flush_to_queue()
780 trace_xdp_cpumap_enqueue(rcpu->map_id, !ret, !!ret, rcpu->cpu); in cpu_map_generic_redirect()
/linux/samples/bpf/
A Dsyscall_tp_user.c26 static void verify_map(int map_id) in verify_map() argument
31 if (bpf_map_lookup_elem(map_id, &key, &val) != 0) { in verify_map()
36 fprintf(stderr, "failed: map #%d returns value 0\n", map_id); in verify_map()
40 if (bpf_map_update_elem(map_id, &key, &val, BPF_ANY) != 0) { in verify_map()
A Dxdp_sample.bpf.c128 int BPF_PROG(tp_xdp_cpumap_enqueue, int map_id, unsigned int processed, in BPF_PROG() argument
135 if (cpumap_map_id && cpumap_map_id != map_id) in BPF_PROG()
156 int BPF_PROG(tp_xdp_cpumap_kthread, int map_id, unsigned int processed, in BPF_PROG() argument
162 if (cpumap_map_id && cpumap_map_id != map_id) in BPF_PROG()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dpinning.c36 __u32 map_id, map_id2, duration = 0; in test_pinning() local
82 map_id = get_map_id(obj, "pinmap"); in test_pinning()
83 if (!map_id) in test_pinning()
100 if (CHECK(map_id != map_id2, "check reuse", in test_pinning()
101 "err %d errno %d id %d id2 %d\n", err, errno, map_id, map_id2)) in test_pinning()
/linux/kernel/trace/
A Dtrace_mmiotrace.c182 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw()
189 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw()
197 secs, usec_rem, rw->map_id, in mmio_print_rw()
227 secs, usec_rem, m->map_id, in mmio_print_map()
234 secs, usec_rem, m->map_id, 0UL, 0); in mmio_print_map()
A Dtrace_entries.h264 __field_desc( int, rw, map_id )
271 __entry->map_id, __entry->opcode, __entry->width)
283 __field_desc( int, map, map_id )
289 __entry->map_id, __entry->opcode)
/linux/include/linux/
A Dmmiotrace.h92 int map_id; member
101 int map_id; member
A Dfilter.h676 u32 map_id; member
1525 ri->map_id = INT_MAX; /* Valid map id idr range: [1,INT_MAX[ */ in __bpf_xdp_redirect_map()
1531 ri->map_id = map->id; in __bpf_xdp_redirect_map()
/linux/drivers/net/ethernet/ibm/
A Dibmvnic.h315 u8 map_id; member
530 u8 map_id; member
540 u8 map_id; member
549 u8 map_id; member
557 u8 map_id; member
800 u8 map_id; member
A Dibmvnic.c269 ltb->map_id, ltb->size); in alloc_long_term_buff()
279 ltb->map_id = find_first_zero_bit(adapter->map_ids, in alloc_long_term_buff()
281 bitmap_set(adapter->map_ids, ltb->map_id, 1); in alloc_long_term_buff()
285 ltb->map_id, ltb->size); in alloc_long_term_buff()
336 send_request_unmap(adapter, ltb->map_id); in free_long_term_buff()
342 bitmap_clear(adapter->map_ids, ltb->map_id, 1); in free_long_term_buff()
343 ltb->map_id = 0; in free_long_term_buff()
427 sub_crq->rx_add.map_id = pool->long_term_buff.map_id; in replenish_rx_pool()
4314 u32 len, u8 map_id) in send_request_map() argument
4321 crq.request_map.map_id = map_id; in send_request_map()
[all …]
/linux/arch/x86/mm/
A Dmmio-mod.c148 my_trace->map_id = trace->id; in pre()
248 map.map_id = trace->id; in ioremap_trace_core()
305 map.map_id = (found_trace) ? found_trace->id : -1; in iounmap_trace_core()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Doffload.c58 record->map_id = map->id; in nfp_map_ptr_record()
450 u32 pkt_size, data_size, map_id; in nfp_bpf_event_output() local
459 map_id = map_id_full; in nfp_bpf_event_output()
467 record = rhashtable_lookup(&bpf->maps_neutral, &map_id, in nfp_bpf_event_output()
A Dmain.h227 u32 map_id; member
A Dmain.c19 .key_offset = offsetof(struct nfp_bpf_neutral_map, map_id),
/linux/drivers/scsi/megaraid/
A Dmegaraid_sas_fp.c157 static int MR_PopulateDrvRaidMap(struct megasas_instance *instance, u64 map_id) in MR_PopulateDrvRaidMap() argument
170 fusion->ld_drv_map[(map_id & 1)]; in MR_PopulateDrvRaidMap()
179 fw_map_dyn = fusion->ld_map[(map_id & 1)]; in MR_PopulateDrvRaidMap()
244 (struct MR_FW_RAID_MAP_EXT *)fusion->ld_map[(map_id & 1)]; in MR_PopulateDrvRaidMap()
271 fusion->ld_map[(map_id & 1)]; in MR_PopulateDrvRaidMap()
302 u8 MR_ValidateMapInfo(struct megasas_instance *instance, u64 map_id) in MR_ValidateMapInfo() argument
314 if (MR_PopulateDrvRaidMap(instance, map_id)) in MR_ValidateMapInfo()
318 drv_map = fusion->ld_drv_map[(map_id & 1)]; in MR_ValidateMapInfo()
A Dmegaraid_sas_debugfs.c72 debug->buf = (void *)fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_debugfs_raidmap_open()
A Dmegaraid_sas_fusion.c1421 ci = (void *) fusion->ld_map[(instance->map_id & 1)]; in megasas_get_ld_map_info()
1422 ci_h = fusion->ld_map_phys[(instance->map_id & 1)]; in megasas_get_ld_map_info()
1466 if (MR_ValidateMapInfo(instance, instance->map_id)) { in megasas_get_map_info()
1511 map = fusion->ld_drv_map[instance->map_id & 1]; in megasas_sync_map_info()
1520 fusion->ld_map[(instance->map_id - 1) & 1]; in megasas_sync_map_info()
1523 ci_h = fusion->ld_map_phys[(instance->map_id - 1) & 1]; in megasas_sync_map_info()
2822 local_map_ptr = fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_build_ldio_fusion()
2998 local_map_ptr = fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_build_ld_nonrw_fusion()
3148 fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_build_syspd_fusion()
/linux/drivers/mtd/spi-nor/
A Dsfdp.c694 u8 read_data_mask, map_id; in spi_nor_get_map_in_use() local
705 map_id = 0; in spi_nor_get_map_in_use()
727 map_id = map_id << 1 | !!(*buf & read_data_mask); in spi_nor_get_map_in_use()
739 if (SMPT_MAP_ID(smpt[i]) == map_id) { in spi_nor_get_map_in_use()
/linux/tools/bpf/bpftool/
A Dlink.c96 jsonw_uint_field(wtr, "map_id", info->iter.map.map_id); in show_iter_json()
206 printf("map_id %u ", info->iter.map.map_id); in show_iter_plain()
/linux/net/core/
A Dfilter.c3953 ri->map_id = INT_MAX; in xdp_master_redirect()
3967 u32 map_id = ri->map_id; in xdp_do_redirect() local
3971 ri->map_id = 0; /* Valid map id idr range: [1,INT_MAX[ */ in xdp_do_redirect()
3994 if (map_id == INT_MAX) { in xdp_do_redirect()
4011 _trace_xdp_redirect_map(dev, xdp_prog, fwd, map_type, map_id, ri->tgt_index); in xdp_do_redirect()
4024 enum bpf_map_type map_type, u32 map_id) in xdp_do_generic_redirect_map() argument
4061 _trace_xdp_redirect_map(dev, xdp_prog, fwd, map_type, map_id, ri->tgt_index); in xdp_do_generic_redirect_map()
4074 u32 map_id = ri->map_id; in xdp_do_generic_redirect() local
4077 ri->map_id = 0; /* Valid map id idr range: [1,INT_MAX[ */ in xdp_do_generic_redirect()
4080 if (map_type == BPF_MAP_TYPE_UNSPEC && map_id == INT_MAX) { in xdp_do_generic_redirect()
[all …]
/linux/tools/include/uapi/linux/
A Dbpf.h1393 __u32 map_id; member
5701 __u32 map_id; member
/linux/include/uapi/linux/
A Dbpf.h1393 __u32 map_id; member
5701 __u32 map_id; member
/linux/drivers/acpi/arm64/
A Diort.c456 u32 out_ref = 0, map_id = id; in iort_node_map_id() local
490 rc = iort_id_map(map, node->type, map_id, &id, out_ref); in iort_node_map_id()

Completed in 116 milliseconds

12