/Linux-v4.19/fs/xfs/ |
D | xfs_symlink.c | 45 int nmaps = XFS_SYMLINK_MAPS; in xfs_readlink_bmap_ilocked() local 55 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0); in xfs_readlink_bmap_ilocked() 60 for (n = 0; n < nmaps; n++) { in xfs_readlink_bmap_ilocked() 169 int nmaps; in xfs_symlink() local 281 nmaps = XFS_SYMLINK_MAPS; in xfs_symlink() 284 XFS_BMAPI_METADATA, resblks, mval, &nmaps); in xfs_symlink() 295 for (n = 0; n < nmaps; n++) { in xfs_symlink() 392 int nmaps; in xfs_inactive_symlink_rmt() local 427 nmaps = ARRAY_SIZE(mval); in xfs_inactive_symlink_rmt() 429 mval, &nmaps, 0); in xfs_inactive_symlink_rmt() [all …]
|
D | xfs_trans_buf.c | 29 int nmaps) in xfs_trans_buf_item_match() argument 36 for (i = 0; i < nmaps; i++) in xfs_trans_buf_item_match() 45 ASSERT(blip->bli_buf->b_map_count == nmaps); in xfs_trans_buf_item_match() 122 int nmaps, in xfs_trans_get_buf_map() argument 129 return xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map() 137 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map() 154 bp = xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map() 231 int nmaps, in xfs_trans_read_buf_map() argument 250 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_read_buf_map() 276 bp = xfs_buf_read_map(target, map, nmaps, flags, ops); in xfs_trans_read_buf_map()
|
D | xfs_buf.h | 209 struct xfs_buf_map *map, int nmaps, 224 struct xfs_buf_map *map, int nmaps, 227 struct xfs_buf_map *map, int nmaps, 231 struct xfs_buf_map *map, int nmaps,
|
D | xfs_buf.c | 194 int nmaps, in _xfs_buf_alloc() argument 227 error = xfs_buf_get_maps(bp, nmaps); in _xfs_buf_alloc() 235 for (i = 0; i < nmaps; i++) { in _xfs_buf_alloc() 549 int nmaps, in xfs_buf_find() argument 562 for (i = 0; i < nmaps; i++) in xfs_buf_find() 667 int nmaps, in xfs_buf_get_map() argument 674 error = xfs_buf_find(target, map, nmaps, flags, NULL, &bp); in xfs_buf_get_map() 696 new_bp = _xfs_buf_alloc(target, map, nmaps, flags); in xfs_buf_get_map() 706 error = xfs_buf_find(target, map, nmaps, flags, new_bp, &bp); in xfs_buf_get_map() 756 int nmaps, in xfs_buf_read_map() argument [all …]
|
D | xfs_dquot.c | 293 int nmaps = 1; in xfs_dquot_disk_alloc() local 312 XFS_QM_DQALLOC_SPACE_RES(mp), &map, &nmaps); in xfs_dquot_disk_alloc() 316 ASSERT(nmaps == 1); in xfs_dquot_disk_alloc() 385 int nmaps = 1; in xfs_dquot_disk_read() local 402 XFS_DQUOT_CLUSTER_SIZE_FSB, &map, &nmaps, 0); in xfs_dquot_disk_read() 407 ASSERT(nmaps == 1); in xfs_dquot_disk_read()
|
D | xfs_trans.h | 167 struct xfs_buf_map *map, int nmaps, 185 struct xfs_buf_map *map, int nmaps,
|
D | xfs_qm.c | 968 int i, nmaps; /* number of map entries */ in xfs_qm_reset_dqcounts_buf() local 992 nmaps = XFS_DQITER_MAP_SIZE; in xfs_qm_reset_dqcounts_buf() 1000 map, &nmaps, 0); in xfs_qm_reset_dqcounts_buf() 1005 ASSERT(nmaps <= XFS_DQITER_MAP_SIZE); in xfs_qm_reset_dqcounts_buf() 1006 for (i = 0; i < nmaps; i++) { in xfs_qm_reset_dqcounts_buf() 1021 if ((i+1 < nmaps) && in xfs_qm_reset_dqcounts_buf() 1044 } while (nmaps > 0); in xfs_qm_reset_dqcounts_buf()
|
D | xfs_reflink.c | 1493 int nmaps; in xfs_reflink_dirty_extents() local 1497 nmaps = 1; in xfs_reflink_dirty_extents() 1502 error = xfs_bmapi_read(ip, fbno, end - fbno, map, &nmaps, 0); in xfs_reflink_dirty_extents() 1505 if (nmaps == 0) in xfs_reflink_dirty_extents()
|
D | xfs_iomap.c | 149 int nmaps) in xfs_iomap_write_direct() argument 188 if (nmaps && (imap->br_startblock == HOLESTARTBLOCK)) in xfs_iomap_write_direct()
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_qp.c | 159 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-v4.19/drivers/pinctrl/sh-pfc/ |
D | pinctrl.c | 111 unsigned int nmaps = *num_maps; in sh_pfc_dt_subnode_to_map() local 188 nmaps += num_groups; in sh_pfc_dt_subnode_to_map() 190 nmaps += num_pins + num_groups; in sh_pfc_dt_subnode_to_map() 192 maps = krealloc(maps, sizeof(*maps) * nmaps, GFP_KERNEL); in sh_pfc_dt_subnode_to_map() 199 *num_maps = nmaps; in sh_pfc_dt_subnode_to_map()
|
/Linux-v4.19/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 408 int ret, nmaps, n; in mvebu_pinctrl_dt_node_to_map() local 420 nmaps = of_property_count_strings(np, "marvell,pins"); in mvebu_pinctrl_dt_node_to_map() 421 if (nmaps < 0) { in mvebu_pinctrl_dt_node_to_map() 427 *map = kmalloc_array(nmaps, sizeof(**map), GFP_KERNEL); in mvebu_pinctrl_dt_node_to_map() 453 *num_maps = nmaps; in mvebu_pinctrl_dt_node_to_map()
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_da_btree.c | 2453 int *nmaps, in xfs_buf_map_from_irec() argument 2460 ASSERT(*nmaps == 1); in xfs_buf_map_from_irec() 2471 *nmaps = nirecs; in xfs_buf_map_from_irec() 2473 for (i = 0; i < *nmaps; i++) { in xfs_buf_map_from_irec() 2497 int *nmaps) in xfs_dabuf_map() argument 2507 ASSERT(*nmaps == 1); in xfs_dabuf_map() 2547 for (i = 0; i < *nmaps; i++) { in xfs_dabuf_map() 2562 error = xfs_buf_map_from_irec(mp, map, nmaps, irecs, nirecs); in xfs_dabuf_map()
|
/Linux-v4.19/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 164 qpt->nmaps = rdi->dparms.qpn_res_start / RVT_BITS_PER_PAGE; in init_qpn_table() 170 map = &qpt->map[qpt->nmaps]; in init_qpn_table() 186 qpt->nmaps++; in init_qpn_table() 374 max_scan = qpt->nmaps - !offset; in alloc_qpn() 400 if (qpt->nmaps == RVT_QPNMAP_ENTRIES) in alloc_qpn() 402 map = &qpt->map[qpt->nmaps++]; in alloc_qpn() 405 } else if (map < &qpt->map[qpt->nmaps]) { in alloc_qpn()
|
/Linux-v4.19/tools/bpf/bpftool/bash-completion/ |
D | bpftool | 120 nmaps=$(objdump -j maps -t $obj 2>/dev/null | grep -c 'g . maps') 122 COMPREPLY+=( $( compgen -W "$(seq 0 $((nmaps - 1)))" -- "$cur" ) )
|
/Linux-v4.19/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 328 int ret, npins, nmaps, configlen = 0, i = 0; in sunxi_pctrl_dt_node_to_map() local 354 nmaps = npins * 2; in sunxi_pctrl_dt_node_to_map() 355 *map = kmalloc_array(nmaps, sizeof(struct pinctrl_map), GFP_KERNEL); in sunxi_pctrl_dt_node_to_map()
|
/Linux-v4.19/include/rdma/ |
D | rdmavt_qp.h | 417 u32 nmaps; /* size of the map table */ member
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_offload.py | 199 nmaps = len(bpftool_map_list()) 200 if nmaps == expected: 203 …aise Exception("Time out waiting for map counts to stabilize want %d, have %d" % (expected, nmaps))
|