Home
last modified time | relevance | path

Searched refs:nmaps (Results 1 – 20 of 20) sorted by relevance

/linux/fs/xfs/
A Dxfs_symlink.c38 int nmaps = XFS_SYMLINK_MAPS; in xfs_readlink_bmap_ilocked() local
48 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0); in xfs_readlink_bmap_ilocked()
53 for (n = 0; n < nmaps; n++) { in xfs_readlink_bmap_ilocked()
153 int nmaps; in xfs_symlink() local
265 nmaps = XFS_SYMLINK_MAPS; in xfs_symlink()
268 XFS_BMAPI_METADATA, resblks, mval, &nmaps); in xfs_symlink()
278 for (n = 0; n < nmaps; n++) { in xfs_symlink()
379 int nmaps; in xfs_inactive_symlink_rmt() local
415 nmaps = ARRAY_SIZE(mval); in xfs_inactive_symlink_rmt()
417 mval, &nmaps, 0); in xfs_inactive_symlink_rmt()
[all …]
A Dxfs_trans_buf.c27 int nmaps) in xfs_trans_buf_item_match() argument
34 for (i = 0; i < nmaps; i++) in xfs_trans_buf_item_match()
43 ASSERT(blip->bli_buf->b_map_count == nmaps); in xfs_trans_buf_item_match()
120 int nmaps, in xfs_trans_get_buf_map() argument
130 return xfs_buf_get_map(target, map, nmaps, flags, bpp); in xfs_trans_get_buf_map()
138 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map()
156 error = xfs_buf_get_map(target, map, nmaps, flags, &bp); in xfs_trans_get_buf_map()
216 int nmaps, in xfs_trans_read_buf_map() argument
235 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_read_buf_map()
289 error = xfs_buf_read_map(target, map, nmaps, flags, &bp, ops, in xfs_trans_read_buf_map()
A Dxfs_buf.c214 int nmaps, in _xfs_buf_alloc() argument
248 error = xfs_buf_get_maps(bp, nmaps); in _xfs_buf_alloc()
256 for (i = 0; i < nmaps; i++) { in _xfs_buf_alloc()
527 int nmaps, in xfs_buf_find() argument
540 for (i = 0; i < nmaps; i++) in xfs_buf_find()
644 int nmaps, in xfs_buf_get_map() argument
653 error = xfs_buf_find(target, map, nmaps, flags, NULL, &bp); in xfs_buf_get_map()
764 int nmaps, in xfs_buf_read_map() argument
776 error = xfs_buf_get_map(target, map, nmaps, flags, &bp); in xfs_buf_read_map()
841 int nmaps, in xfs_buf_readahead_map() argument
[all …]
A Dxfs_buf.h203 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp);
205 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
208 struct xfs_buf_map *map, int nmaps,
A Dxfs_dquot.c302 int nmaps = 1; in xfs_dquot_disk_alloc() local
327 &nmaps); in xfs_dquot_disk_alloc()
331 ASSERT(nmaps == 1); in xfs_dquot_disk_alloc()
401 int nmaps = 1; in xfs_dquot_disk_read() local
418 XFS_DQUOT_CLUSTER_SIZE_FSB, &map, &nmaps, 0); in xfs_dquot_disk_read()
423 ASSERT(nmaps == 1); in xfs_dquot_disk_read()
A Dxfs_trans.h168 struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags,
187 struct xfs_buf_map *map, int nmaps,
A Dxfs_qm.c981 int i, nmaps; /* number of map entries */ in xfs_qm_reset_dqcounts_buf() local
1005 nmaps = XFS_DQITER_MAP_SIZE; in xfs_qm_reset_dqcounts_buf()
1013 map, &nmaps, 0); in xfs_qm_reset_dqcounts_buf()
1018 ASSERT(nmaps <= XFS_DQITER_MAP_SIZE); in xfs_qm_reset_dqcounts_buf()
1019 for (i = 0; i < nmaps; i++) { in xfs_qm_reset_dqcounts_buf()
1034 if ((i+1 < nmaps) && in xfs_qm_reset_dqcounts_buf()
1057 } while (nmaps > 0); in xfs_qm_reset_dqcounts_buf()
/linux/drivers/mtd/maps/
A Dphysmap-core.c50 unsigned int nmaps; member
86 for (i = 0; i < info->nmaps; i++) { in physmap_flash_remove()
371 for (i = 0; i < info->nmaps; i++) { in physmap_flash_of_init()
446 for (i = 0; i < info->nmaps; i++) { in physmap_flash_pdata_init()
469 info->nmaps++; in physmap_flash_probe()
471 if (!info->nmaps) in physmap_flash_probe()
475 sizeof(*info->maps) * info->nmaps, in physmap_flash_probe()
481 sizeof(*info->mtds) * info->nmaps, in physmap_flash_probe()
493 if (info->gpios && info->nmaps > 1) { in physmap_flash_probe()
512 for (i = 0; i < info->nmaps; i++) { in physmap_flash_probe()
[all …]
/linux/drivers/vhost/
A Diotlb.c34 iotlb->nmaps--; in vhost_iotlb_map_free()
61 iotlb->nmaps == iotlb->limit && in vhost_iotlb_add_range_ctx()
78 iotlb->nmaps++; in vhost_iotlb_add_range_ctx()
129 iotlb->nmaps = 0; in vhost_iotlb_alloc()
/linux/drivers/infiniband/hw/qib/
A Dqib_qp.c159 max_scan = qpt->nmaps - !offset; in qib_alloc_qpn()
190 if (qpt->nmaps == RVT_QPNMAP_ENTRIES) in qib_alloc_qpn()
192 map = &qpt->map[qpt->nmaps++]; in qib_alloc_qpn()
194 } else if (map < &qpt->map[qpt->nmaps]) { in qib_alloc_qpn()
/linux/drivers/pinctrl/mvebu/
A Dpinctrl-mvebu.c404 int ret, nmaps, n; in mvebu_pinctrl_dt_node_to_map() local
416 nmaps = of_property_count_strings(np, "marvell,pins"); in mvebu_pinctrl_dt_node_to_map()
417 if (nmaps < 0) { in mvebu_pinctrl_dt_node_to_map()
423 *map = kmalloc_array(nmaps, sizeof(**map), GFP_KERNEL); in mvebu_pinctrl_dt_node_to_map()
449 *num_maps = nmaps; in mvebu_pinctrl_dt_node_to_map()
/linux/drivers/pinctrl/renesas/
A Dpinctrl.c110 unsigned int nmaps = *num_maps; in sh_pfc_dt_subnode_to_map() local
187 nmaps += num_groups; in sh_pfc_dt_subnode_to_map()
189 nmaps += num_pins + num_groups; in sh_pfc_dt_subnode_to_map()
191 maps = krealloc(maps, sizeof(*maps) * nmaps, GFP_KERNEL); in sh_pfc_dt_subnode_to_map()
198 *num_maps = nmaps; in sh_pfc_dt_subnode_to_map()
A Dpinctrl-rzg2l.c237 unsigned int nmaps = *num_maps; in rzg2l_dt_subnode_to_map() local
284 nmaps += 1; in rzg2l_dt_subnode_to_map()
287 nmaps += num_pins; in rzg2l_dt_subnode_to_map()
289 maps = krealloc_array(maps, nmaps, sizeof(*maps), GFP_KERNEL); in rzg2l_dt_subnode_to_map()
296 *num_maps = nmaps; in rzg2l_dt_subnode_to_map()
/linux/include/linux/
A Dvhost_iotlb.h29 unsigned int nmaps; member
/linux/drivers/infiniband/sw/rdmavt/
A Dqp.c309 qpt->nmaps = rdi->dparms.qpn_res_start / RVT_BITS_PER_PAGE; in init_qpn_table()
315 map = &qpt->map[qpt->nmaps]; in init_qpn_table()
331 qpt->nmaps++; in init_qpn_table()
524 max_scan = qpt->nmaps - !offset; in alloc_qpn()
550 if (qpt->nmaps == RVT_QPNMAP_ENTRIES) in alloc_qpn()
552 map = &qpt->map[qpt->nmaps++]; in alloc_qpn()
555 } else if (map < &qpt->map[qpt->nmaps]) { in alloc_qpn()
/linux/drivers/pinctrl/sunxi/
A Dpinctrl-sunxi.c330 int ret, npins, nmaps, configlen = 0, i = 0; in sunxi_pctrl_dt_node_to_map() local
356 nmaps = npins * 2; in sunxi_pctrl_dt_node_to_map()
357 *map = kmalloc_array(nmaps, sizeof(struct pinctrl_map), GFP_KERNEL); in sunxi_pctrl_dt_node_to_map()
/linux/tools/testing/selftests/bpf/
A Dtest_offload.py204 nmaps = len(bpftool_map_list())
205 if nmaps == expected:
208 …aise Exception("Time out waiting for map counts to stabilize want %d, have %d" % (expected, nmaps))
/linux/tools/bpf/bpftool/bash-completion/
A Dbpftool125 nmaps=$(objdump -j maps -t $obj 2>/dev/null | grep -c 'g . maps')
127 COMPREPLY+=( $( compgen -W "$(seq 0 $((nmaps - 1)))" -- "$cur" ) )
/linux/include/rdma/
A Drdmavt_qp.h488 u32 nmaps; /* size of the map table */ member
/linux/fs/xfs/libxfs/
A Dxfs_da_btree.c2503 int *nmaps) in xfs_dabuf_map() argument
2549 *nmaps = nirecs; in xfs_dabuf_map()
2573 *nmaps = 0; in xfs_dabuf_map()

Completed in 42 milliseconds