Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dxsk_fwd.c104 struct bpool { struct
127 static struct bpool * argument
136 struct bpool *bp; in bpool_init()
156 total_size = sizeof(struct bpool) + in bpool_init()
166 bp = (struct bpool *)p; in bpool_init()
170 bp->slabs = (u64 **)&p[sizeof(struct bpool)]; in bpool_init()
171 bp->slabs_reserved = (u64 **)&p[sizeof(struct bpool) + in bpool_init()
173 bp->buffers = (u64 *)&p[sizeof(struct bpool) + in bpool_init()
175 bp->buffers_reserved = (u64 *)&p[sizeof(struct bpool) + in bpool_init()
233 bpool_free(struct bpool *bp) in bpool_free()
[all …]
/Linux-v5.10/drivers/net/ethernet/freescale/fman/
Dfman_port.c397 } bpool[FMAN_PORT_MAX_EXT_POOLS_NUM]; member
793 if (bp->bpool[i].size > bp->bpool[i + 1].size) in set_bpools()
801 tmp |= ((u32)bp->bpool[i].bpid << in set_bpools()
808 if (bp->bpool[i].is_backup) in set_bpools()
811 tmp |= (u32)bp->bpool[i].size; in set_bpools()
824 if (bp->bpool[i].grp_bp_depleted) { in set_bpools()
829 if (bp->bpool[i].single_bp_depleted) in set_bpools()
940 bpools.bpool[i].bpid = ordered_array[i]; in set_ext_buffer_pools()
941 bpools.bpool[i].size = sizes_array[ordered_array[i]]; in set_ext_buffer_pools()
957 bpools.bpool[j]. in set_ext_buffer_pools()
[all …]