| /Linux-v5.4/include/trace/events/ |
| D | xdp.h | 97 __field(u32, map_id) 107 __entry->map_id = map ? map->id : 0; 152 __entry->map_id, __entry->map_index) 167 __entry->map_id, __entry->map_index) 192 TP_PROTO(int map_id, unsigned int processed, unsigned int drops, 195 TP_ARGS(map_id, processed, drops, sched), 198 __field(int, map_id) 207 __entry->map_id = map_id; 219 __entry->cpu, __entry->map_id, 227 TP_PROTO(int map_id, unsigned int processed, unsigned int drops, [all …]
|
| /Linux-v5.4/samples/bpf/ |
| D | syscall_tp_user.c | 30 static void verify_map(int map_id) in verify_map() argument 35 if (bpf_map_lookup_elem(map_id, &key, &val) != 0) { in verify_map() 40 fprintf(stderr, "failed: map #%d returns value 0\n", map_id); in verify_map() 44 if (bpf_map_update_elem(map_id, &key, &val, BPF_ANY) != 0) { in verify_map()
|
| D | xdp_monitor_kern.c | 35 u32 map_id; // offset:28 size:4; signed:0; member 151 int map_id; // offset:8; size:4; signed:1; member 186 int map_id; // offset:8; size:4; signed:1; member 225 int map_id; // offset:8; size:4; signed:1; member
|
| D | xdp_redirect_cpu_kern.c | 582 u32 map_id; // offset:28 size:4; signed:0; member 656 int map_id; // offset:8; size:4; signed:1; member 696 int map_id; // offset:8; size:4; signed:1; member
|
| /Linux-v5.4/kernel/trace/ |
| D | trace_entries.h | 286 __field_desc( int, rw, map_id ) 293 __entry->map_id, __entry->opcode, __entry->width), 307 __field_desc( int, map, map_id ) 313 __entry->map_id, __entry->opcode),
|
| D | trace_mmiotrace.c | 184 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw() 191 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw() 199 secs, usec_rem, rw->map_id, in mmio_print_rw() 229 secs, usec_rem, m->map_id, in mmio_print_map() 236 secs, usec_rem, m->map_id, 0UL, 0); in mmio_print_map()
|
| /Linux-v5.4/kernel/bpf/ |
| D | cpumap.c | 54 int map_id; /* Back reference to map */ member 324 trace_xdp_cpumap_kthread(rcpu->map_id, n, drops, sched); in cpu_map_kthread_run() 335 int map_id) in __cpu_map_entry_alloc() argument 370 rcpu->map_id = map_id; in __cpu_map_entry_alloc() 375 "cpumap/%d/map:%d", cpu, map_id); in __cpu_map_entry_alloc() 636 trace_xdp_cpumap_enqueue(rcpu->map_id, processed, drops, to_cpu); in bq_flush_to_queue()
|
| D | syscall.c | 2191 u32 id = attr->map_id; in bpf_map_get_fd_by_id()
|
| /Linux-v5.4/include/linux/ |
| D | mmiotrace.h | 92 int map_id; member 101 int map_id; member
|
| /Linux-v5.4/drivers/net/ethernet/ibm/ |
| D | ibmvnic.h | 315 u8 map_id; member 610 u8 map_id; member 620 u8 map_id; member 629 u8 map_id; member 637 u8 map_id; member 884 u8 map_id; member 1069 u8 map_id; member
|
| D | ibmvnic.c | 176 ltb->map_id = adapter->map_id; in alloc_long_term_buff() 177 adapter->map_id++; in alloc_long_term_buff() 181 ltb->size, ltb->map_id); in alloc_long_term_buff() 207 send_request_unmap(adapter, ltb->map_id); in free_long_term_buff() 219 rc = send_request_map(adapter, ltb->addr, ltb->size, ltb->map_id); in reset_long_term_buff() 297 sub_crq.rx_add.map_id = pool->long_term_buff.map_id; in replenish_rx_pool() 1015 adapter->map_id = 1; in init_resources() 1518 tx_crq.v1.dma_reg = cpu_to_be16(tx_pool->long_term_buff.map_id); in ibmvnic_xmit() 3647 u32 len, u8 map_id) in send_request_map() argument 3654 crq.request_map.map_id = map_id; in send_request_map() [all …]
|
| /Linux-v5.4/arch/x86/mm/ |
| D | mmio-mod.c | 150 my_trace->map_id = trace->id; in pre() 250 map.map_id = trace->id; in ioremap_trace_core() 307 map.map_id = (found_trace) ? found_trace->id : -1; in iounmap_trace_core()
|
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/ |
| D | offload.c | 60 record->map_id = map->id; in nfp_map_ptr_record() 446 u32 pkt_size, data_size, map_id; in nfp_bpf_event_output() local 455 map_id = map_id_full; in nfp_bpf_event_output() 463 record = rhashtable_lookup_fast(&bpf->maps_neutral, &map_id, in nfp_bpf_event_output()
|
| D | main.h | 227 u32 map_id; member
|
| D | main.c | 19 .key_offset = offsetof(struct nfp_bpf_neutral_map, map_id),
|
| /Linux-v5.4/drivers/scsi/megaraid/ |
| D | megaraid_sas_fp.c | 158 static int MR_PopulateDrvRaidMap(struct megasas_instance *instance, u64 map_id) in MR_PopulateDrvRaidMap() argument 171 fusion->ld_drv_map[(map_id & 1)]; in MR_PopulateDrvRaidMap() 180 fw_map_dyn = fusion->ld_map[(map_id & 1)]; in MR_PopulateDrvRaidMap() 245 (struct MR_FW_RAID_MAP_EXT *)fusion->ld_map[(map_id & 1)]; in MR_PopulateDrvRaidMap() 272 fusion->ld_map[(map_id & 1)]; in MR_PopulateDrvRaidMap() 303 u8 MR_ValidateMapInfo(struct megasas_instance *instance, u64 map_id) in MR_ValidateMapInfo() argument 315 if (MR_PopulateDrvRaidMap(instance, map_id)) in MR_ValidateMapInfo() 319 drv_map = fusion->ld_drv_map[(map_id & 1)]; in MR_ValidateMapInfo()
|
| D | megaraid_sas_debugfs.c | 72 debug->buf = (void *)fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_debugfs_raidmap_open()
|
| D | megaraid_sas_fusion.c | 1368 ci = (void *) fusion->ld_map[(instance->map_id & 1)]; in megasas_get_ld_map_info() 1369 ci_h = fusion->ld_map_phys[(instance->map_id & 1)]; in megasas_get_ld_map_info() 1411 if (MR_ValidateMapInfo(instance, instance->map_id)) { in megasas_get_map_info() 1456 map = fusion->ld_drv_map[instance->map_id & 1]; in megasas_sync_map_info() 1465 fusion->ld_map[(instance->map_id - 1) & 1]; in megasas_sync_map_info() 1468 ci_h = fusion->ld_map_phys[(instance->map_id - 1) & 1]; in megasas_sync_map_info() 2813 local_map_ptr = fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_build_ldio_fusion() 3001 local_map_ptr = fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_build_ld_nonrw_fusion() 3151 fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_build_syspd_fusion()
|
| D | megaraid_sas.h | 233 extern u8 MR_ValidateMapInfo(struct megasas_instance *instance, u64 map_id); 2402 u64 map_id; member
|
| D | megaraid_sas_base.c | 1879 local_map_ptr = fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_set_dynamic_target_properties() 3373 (unsigned long)instance->map_id); in raid_map_id_show() 3614 (MR_ValidateMapInfo(instance, (instance->map_id + 1)))) { in megasas_complete_cmd() 3615 instance->map_id++; in megasas_complete_cmd() 6253 if (MR_ValidateMapInfo(instance, instance->map_id)) in megasas_init_fw()
|
| /Linux-v5.4/drivers/mtd/spi-nor/ |
| D | spi-nor.c | 3617 u8 read_data_mask, map_id; in spi_nor_get_map_in_use() local 3628 map_id = 0; in spi_nor_get_map_in_use() 3650 map_id = map_id << 1 | !!(*buf & read_data_mask); in spi_nor_get_map_in_use() 3662 if (SMPT_MAP_ID(smpt[i]) == map_id) { in spi_nor_get_map_in_use()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | bpf.h | 463 __u32 map_id; member
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | bpf.h | 463 __u32 map_id; member
|
| /Linux-v5.4/tools/lib/bpf/ |
| D | bpf.c | 616 attr.map_id = id; in bpf_map_get_fd_by_id()
|