/linux-4.4.14/fs/xfs/ |
D | xfs_symlink.c | 56 int nmaps = XFS_SYMLINK_MAPS; in xfs_readlink_bmap() local 64 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0); in xfs_readlink_bmap() 69 for (n = 0; n < nmaps; n++) { in xfs_readlink_bmap() 184 int nmaps; in xfs_symlink() local 323 nmaps = XFS_SYMLINK_MAPS; in xfs_symlink() 327 mval, &nmaps, &free_list); in xfs_symlink() 338 for (n = 0; n < nmaps; n++) { in xfs_symlink() 445 int nmaps; in xfs_inactive_symlink_rmt() local 484 nmaps = ARRAY_SIZE(mval); in xfs_inactive_symlink_rmt() 486 mval, &nmaps, 0); in xfs_inactive_symlink_rmt() [all …]
|
D | xfs_trans_buf.c | 41 int nmaps) in xfs_trans_buf_item_match() argument 48 for (i = 0; i < nmaps; i++) in xfs_trans_buf_item_match() 57 ASSERT(blip->bli_buf->b_map_count == nmaps); in xfs_trans_buf_item_match() 138 int nmaps, in xfs_trans_get_buf_map() argument 145 return xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map() 153 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map() 170 bp = xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map() 246 int nmaps, in xfs_trans_read_buf_map() argument 265 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_read_buf_map() 291 bp = xfs_buf_read_map(target, map, nmaps, flags, ops); in xfs_trans_read_buf_map()
|
D | xfs_buf.h | 195 struct xfs_buf_map *map, int nmaps, 210 struct xfs_buf_map *map, int nmaps, 225 struct xfs_buf_map *map, int nmaps, 228 struct xfs_buf_map *map, int nmaps, 232 struct xfs_buf_map *map, int nmaps,
|
D | xfs_buf.c | 152 int nmaps, in _xfs_buf_alloc() argument 186 error = xfs_buf_get_maps(bp, nmaps); in _xfs_buf_alloc() 194 for (i = 0; i < nmaps; i++) { in _xfs_buf_alloc() 438 int nmaps, in _xfs_buf_find() argument 451 for (i = 0; i < nmaps; i++) in _xfs_buf_find() 566 int nmaps, in xfs_buf_get_map() argument 573 bp = _xfs_buf_find(target, map, nmaps, flags, NULL); in xfs_buf_get_map() 577 new_bp = _xfs_buf_alloc(target, map, nmaps, flags); in xfs_buf_get_map() 587 bp = _xfs_buf_find(target, map, nmaps, flags, new_bp); in xfs_buf_get_map() 641 int nmaps, in xfs_buf_read_map() argument [all …]
|
D | xfs_dquot.c | 309 int nmaps, error, committed; in xfs_qm_dqalloc() local 332 nmaps = 1; in xfs_qm_dqalloc() 336 &map, &nmaps, &flist); in xfs_qm_dqalloc() 340 ASSERT(nmaps == 1); in xfs_qm_dqalloc() 464 int nmaps = 1, error; in xfs_qm_dqtobp() local 488 XFS_DQUOT_CLUSTER_SIZE_FSB, &map, &nmaps, 0); in xfs_qm_dqtobp() 494 ASSERT(nmaps == 1); in xfs_qm_dqtobp()
|
D | xfs_trans.h | 160 struct xfs_buf_map *map, int nmaps, 178 struct xfs_buf_map *map, int nmaps,
|
D | xfs_qm.c | 946 int i, nmaps; /* number of map entries */ in xfs_qm_dqiterate() local 970 nmaps = XFS_DQITER_MAP_SIZE; in xfs_qm_dqiterate() 978 map, &nmaps, 0); in xfs_qm_dqiterate() 983 ASSERT(nmaps <= XFS_DQITER_MAP_SIZE); in xfs_qm_dqiterate() 984 for (i = 0; i < nmaps; i++) { in xfs_qm_dqiterate() 999 if ((i+1 < nmaps) && in xfs_qm_dqiterate() 1022 } while (nmaps > 0); in xfs_qm_dqiterate()
|
D | xfs_iomap.c | 118 int nmaps) in xfs_iomap_write_direct() argument 159 if (nmaps && (imap->br_startblock == HOLESTARTBLOCK)) in xfs_iomap_write_direct()
|
/linux-4.4.14/drivers/pinctrl/samsung/ |
D | pinctrl-exynos5440.c | 179 unsigned *nmaps) in exynos5440_dt_node_to_map() argument 210 *nmaps = 0; in exynos5440_dt_node_to_map() 241 map[*nmaps].data.configs.group_or_pin = gname; in exynos5440_dt_node_to_map() 242 map[*nmaps].data.configs.configs = cfg; in exynos5440_dt_node_to_map() 243 map[*nmaps].data.configs.num_configs = cfg_cnt; in exynos5440_dt_node_to_map() 244 map[*nmaps].type = PIN_MAP_TYPE_CONFIGS_GROUP; in exynos5440_dt_node_to_map() 245 *nmaps += 1; in exynos5440_dt_node_to_map() 255 map[*nmaps].data.mux.group = gname; in exynos5440_dt_node_to_map() 256 map[*nmaps].data.mux.function = fname; in exynos5440_dt_node_to_map() 257 map[*nmaps].type = PIN_MAP_TYPE_MUX_GROUP; in exynos5440_dt_node_to_map() [all …]
|
/linux-4.4.14/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-4.4.14/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 382 int ret, nmaps, n; in mvebu_pinctrl_dt_node_to_map() local 394 nmaps = of_property_count_strings(np, "marvell,pins"); in mvebu_pinctrl_dt_node_to_map() 395 if (nmaps < 0) { in mvebu_pinctrl_dt_node_to_map() 401 *map = kmalloc(nmaps * sizeof(struct pinctrl_map), GFP_KERNEL); in mvebu_pinctrl_dt_node_to_map() 431 *num_maps = nmaps; in mvebu_pinctrl_dt_node_to_map()
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
D | lib-ptl.c | 265 unsigned int nmaps; in lnet_mt_of_match() local 299 nmaps = ptl->ptl_mt_nmaps; in lnet_mt_of_match() 301 if (nmaps != 0) { in lnet_mt_of_match() 305 cpt = ptl->ptl_mt_maps[rotor % nmaps]; in lnet_mt_of_match()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | qp.h | 73 u32 nmaps; /* size of the map table */ member
|
D | qp.c | 168 max_scan = qpt->nmaps - !offset; in alloc_qpn() 194 if (qpt->nmaps == QPNMAP_ENTRIES) in alloc_qpn() 196 map = &qpt->map[qpt->nmaps++]; in alloc_qpn() 199 } else if (map < &qpt->map[qpt->nmaps]) { in alloc_qpn() 1309 qpt->nmaps = qpn / BITS_PER_PAGE; in init_qpn_table() 1312 map = &qpt->map[qpt->nmaps]; in init_qpn_table() 1327 qpt->nmaps++; in init_qpn_table()
|
/linux-4.4.14/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 159 int ret, nmaps, i = 0; in sunxi_pctrl_dt_node_to_map() local 173 nmaps = of_property_count_strings(node, "allwinner,pins") * 2; in sunxi_pctrl_dt_node_to_map() 174 if (nmaps < 0) { in sunxi_pctrl_dt_node_to_map() 181 *map = kmalloc(nmaps * sizeof(struct pinctrl_map), GFP_KERNEL); in sunxi_pctrl_dt_node_to_map() 245 *num_maps = nmaps; in sunxi_pctrl_dt_node_to_map()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_qp.c | 136 max_scan = qpt->nmaps - !offset; in alloc_qpn() 169 if (qpt->nmaps == QPNMAP_ENTRIES) in alloc_qpn() 171 map = &qpt->map[qpt->nmaps++]; in alloc_qpn() 173 } else if (map < &qpt->map[qpt->nmaps]) { in alloc_qpn() 1028 idev->qp_table.nmaps = 1; in ipath_init_qp_table()
|
D | ipath_verbs.h | 522 u32 nmaps; /* size of the map table */ member
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_qp.c | 152 max_scan = qpt->nmaps - !offset; in alloc_qpn() 183 if (qpt->nmaps == QPNMAP_ENTRIES) in alloc_qpn() 185 map = &qpt->map[qpt->nmaps++]; in alloc_qpn() 187 } else if (map < &qpt->map[qpt->nmaps]) { in alloc_qpn() 1259 qpt->nmaps = 1; in qib_init_qpn_table()
|
D | qib_verbs.h | 651 u32 nmaps; /* size of the map table */ member
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_da_btree.c | 2421 int *nmaps, in xfs_buf_map_from_irec() argument 2428 ASSERT(*nmaps == 1); in xfs_buf_map_from_irec() 2439 *nmaps = nirecs; in xfs_buf_map_from_irec() 2441 for (i = 0; i < *nmaps; i++) { in xfs_buf_map_from_irec() 2465 int *nmaps) in xfs_dabuf_map() argument 2475 ASSERT(*nmaps == 1); in xfs_dabuf_map() 2515 for (i = 0; i < *nmaps; i++) { in xfs_dabuf_map() 2530 error = xfs_buf_map_from_irec(mp, map, nmaps, irecs, nirecs); in xfs_dabuf_map()
|