Home
last modified time | relevance | path

Searched refs:use_map (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c112 if (nfp_map->use_map[i / 4].type == NFP_MAP_USE_ATOMIC_CNT) { in nfp_bpf_map_update_value_ok()
117 nfp_map->use_map[i / 4].non_zero_update = 1; in nfp_bpf_map_update_value_ok()
396 if (nfp_map->use_map[off / 4].type != NFP_MAP_UNUSED && in nfp_bpf_map_mark_used_one()
397 nfp_map->use_map[off / 4].type != use) { in nfp_bpf_map_mark_used_one()
399 nfp_bpf_map_use_name(nfp_map->use_map[off / 4].type), in nfp_bpf_map_mark_used_one()
404 if (nfp_map->use_map[off / 4].non_zero_update && in nfp_bpf_map_mark_used_one()
411 nfp_map->use_map[off / 4].type = use; in nfp_bpf_map_mark_used_one()
Doffload.c265 if (nfp_map->use_map[i].type == NFP_MAP_USE_ATOMIC_CNT) in nfp_map_bpf_byte_swap()
279 if (nfp_map->use_map[i].type == NFP_MAP_UNUSED && in nfp_map_bpf_byte_swap_record()
281 nfp_map->use_map[i].non_zero_update = 1; in nfp_map_bpf_byte_swap_record()
383 sizeof_field(struct nfp_bpf_map, use_map[0]); in nfp_bpf_map_alloc()
Dmain.h221 struct nfp_bpf_map_word use_map[]; member
/drivers/scsi/elx/libefc_sli/
Dsli4.c4207 sli4->ext[i].use_map = kzalloc(total_size, GFP_KERNEL); in sli_get_read_config()
4208 if (!sli4->ext[i].use_map) { in sli_get_read_config()
4746 kfree(sli4->ext[i].use_map); in sli_reset()
4747 sli4->ext[i].use_map = NULL; in sli_reset()
4787 kfree(sli4->ext[i].use_map); in sli_teardown()
4788 sli4->ext[i].use_map = NULL; in sli_teardown()
4864 find_first_zero_bit(sli4->ext[rtype].use_map, in sli_resource_alloc()
4872 set_bit(position, sli4->ext[rtype].use_map); in sli_resource_alloc()
4924 clear_bit((x * size) + rid, sli4->ext[rtype].use_map); in sli_resource_free()
4948 clear_bit(i, sli4->ext[rtype].use_map); in sli_resource_reset()
Dsli4.h3632 unsigned long *use_map; member