Home
last modified time | relevance | path

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

/linux-4.4.14/tools/lib/bpf/
Dlibbpf.c609 size_t nr_maps, GElf_Shdr *shdr, in bpf_program__collect_reloc() argument
655 if (map_idx >= nr_maps) { in bpf_program__collect_reloc()
657 (int)map_idx, (int)nr_maps - 1); in bpf_program__collect_reloc()
671 size_t nr_maps; in bpf_object__create_maps() local
674 nr_maps = obj->maps_buf_sz / sizeof(struct bpf_map_def); in bpf_object__create_maps()
675 if (!obj->maps_buf || !nr_maps) { in bpf_object__create_maps()
681 obj->map_fds = malloc(sizeof(int) * nr_maps); in bpf_object__create_maps()
686 obj->nr_map_fds = nr_maps; in bpf_object__create_maps()
689 memset(obj->map_fds, -1, sizeof(int) * nr_maps); in bpf_object__create_maps()
692 for (i = 0; i < nr_maps; i++) { in bpf_object__create_maps()
[all …]
/linux-4.4.14/fs/xfs/
Dxfs_pnfs.h8 int xfs_fs_commit_blocks(struct inode *inode, struct iomap *maps, int nr_maps,
Dxfs_pnfs.c257 int nr_maps, in xfs_fs_commit_blocks() argument
277 for (i = 0; i < nr_maps; i++) { in xfs_fs_commit_blocks()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c284 int nr_maps = tx_info->nr_maps; in mlx4_en_free_tx_desc() local
312 for (i = 1; i < nr_maps; i++) { in mlx4_en_free_tx_desc()
336 for (i = 1; i < nr_maps; i++) { in mlx4_en_free_tx_desc()
798 tx_info->nr_maps = shinfo->nr_frags + tx_info->linear; in mlx4_en_xmit()
799 data += tx_info->nr_maps - 1; in mlx4_en_xmit()
Dmlx4_en.h227 u8 nr_maps; member
/linux-4.4.14/net/ceph/
Dosd_client.c2076 u32 nr_maps, maplen; in ceph_osdc_handle_map() local
2098 ceph_decode_32_safe(&p, end, nr_maps, bad); in ceph_osdc_handle_map()
2099 dout(" %d inc maps\n", nr_maps); in ceph_osdc_handle_map()
2100 while (nr_maps > 0) { in ceph_osdc_handle_map()
2130 nr_maps--; in ceph_osdc_handle_map()
2136 ceph_decode_32_safe(&p, end, nr_maps, bad); in ceph_osdc_handle_map()
2137 dout(" %d full maps\n", nr_maps); in ceph_osdc_handle_map()
2138 while (nr_maps) { in ceph_osdc_handle_map()
2143 if (nr_maps > 1) { in ceph_osdc_handle_map()
2173 nr_maps--; in ceph_osdc_handle_map()
/linux-4.4.14/arch/s390/include/asm/
Dkvm_host.h545 atomic_t nr_maps; member
/linux-4.4.14/arch/s390/kvm/
Dinterrupt.c1800 atomic_set(&adapter->nr_maps, 0); in register_io_adapter()
1849 if (atomic_inc_return(&adapter->nr_maps) < MAX_S390_ADAPTER_MAPS) { in kvm_s390_adapter_map()
1876 atomic_dec(&adapter->nr_maps); in kvm_s390_adapter_unmap()