Home
last modified time | relevance | path

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

/net/core/
A Dbpf_sk_storage.c426 u32 nr_maps; member
457 for (i = 0; i < diag->nr_maps; i++) in bpf_sk_storage_diag_free()
469 for (i = 0; i < diag->nr_maps; i++) { in diag_check_dup()
482 u32 nr_maps = 0; in bpf_sk_storage_diag_alloc() local
495 nr_maps++; in bpf_sk_storage_diag_alloc()
498 diag = kzalloc(struct_size(diag, maps, nr_maps), GFP_KERNEL); in bpf_sk_storage_diag_alloc()
521 diag->maps[diag->nr_maps++] = map; in bpf_sk_storage_diag_alloc()
639 if (!diag->nr_maps) in bpf_sk_storage_diag_put()
656 for (i = 0; i < diag->nr_maps; i++) { in bpf_sk_storage_diag_put()
/net/ceph/
A Dosd_client.c4134 u32 nr_maps, maplen; in ceph_osdc_handle_map() local
4159 ceph_decode_32_safe(&p, end, nr_maps, bad); in ceph_osdc_handle_map()
4160 dout(" %d inc maps\n", nr_maps); in ceph_osdc_handle_map()
4161 while (nr_maps > 0) { in ceph_osdc_handle_map()
4180 nr_maps--; in ceph_osdc_handle_map()
4186 ceph_decode_32_safe(&p, end, nr_maps, bad); in ceph_osdc_handle_map()
4187 dout(" %d full maps\n", nr_maps); in ceph_osdc_handle_map()
4188 while (nr_maps) { in ceph_osdc_handle_map()
4193 if (nr_maps > 1) { in ceph_osdc_handle_map()
4208 nr_maps--; in ceph_osdc_handle_map()

Completed in 15 milliseconds