Home
last modified time | relevance | path

Searched refs:map_records (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/bpf/
Doffload.c41 nfp_prog->map_records[nfp_prog->map_records_cnt++] = record; in nfp_map_ptr_record()
66 nfp_prog->map_records[nfp_prog->map_records_cnt++] = record; in nfp_map_ptr_record()
84 if (--nfp_prog->map_records[i]->count) { in nfp_map_ptrs_forget()
85 nfp_prog->map_records[i] = NULL; in nfp_map_ptrs_forget()
90 &nfp_prog->map_records[i]->l, in nfp_map_ptrs_forget()
99 if (nfp_prog->map_records[i]) { in nfp_map_ptrs_forget()
100 bpf_map_put(nfp_prog->map_records[i]->ptr); in nfp_map_ptrs_forget()
101 kfree(nfp_prog->map_records[i]); in nfp_map_ptrs_forget()
105 kfree(nfp_prog->map_records); in nfp_map_ptrs_forget()
106 nfp_prog->map_records = NULL; in nfp_map_ptrs_forget()
[all …]
Dmain.h540 struct nfp_bpf_neutral_map **map_records; member