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

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

Completed in 363 milliseconds