Searched refs:nmaps (Results 1 - 25 of 28) sorted by relevance

12

/linux-master/fs/xfs/scrub/
H A Drtbitmap_repair.c65 int nmaps = 1; local
71 error = xfs_bmapi_read(sc->ip, off, len - off, &map, &nmaps,
75 if (nmaps == 0) {
76 ASSERT(nmaps != 0);
104 nmaps = 1;
108 0, &map, &nmaps);
111 if (nmaps != 1)
H A Ddqiterate.c51 int nmaps = 1; local
67 XFS_MAX_FILEOFF - fileoff, &cursor->bmap, &nmaps, 0);
70 if (!nmaps) {
71 ASSERT(nmaps > 0);
95 int nmaps = 1; local
109 &nmaps, 0);
112 if (!nmaps) {
H A Dquota_repair.c64 int nmaps = 1; local
77 irec, &nmaps);
80 if (nmaps != 1)
118 int nmaps = 1; local
128 error = xfs_bmapi_read(sc->ip, offset, 1, &irec, &nmaps, 0);
132 if (nmaps < 1 || !xfs_bmap_is_real_extent(&irec)) {
H A Dquota.c89 int nmaps = 1; local
102 error = xfs_bmapi_read(sc->ip, offset, 1, &irec, &nmaps, 0);
106 if (nmaps != 1) {
/linux-master/drivers/vhost/
H A Diotlb.c34 iotlb->nmaps--;
76 iotlb->nmaps == iotlb->limit &&
93 iotlb->nmaps++;
139 iotlb->nmaps = 0;
/linux-master/drivers/mtd/maps/
H A Dphysmap-core.c51 unsigned int nmaps; member in struct:physmap_flash_info
81 for (i = 0; i < info->nmaps; i++) {
362 for (i = 0; i < info->nmaps; i++) {
437 for (i = 0; i < info->nmaps; i++) {
459 while (platform_get_resource(dev, IORESOURCE_MEM, info->nmaps))
460 info->nmaps++;
462 if (!info->nmaps)
466 sizeof(*info->maps) * info->nmaps,
472 sizeof(*info->mtds) * info->nmaps,
484 if (info->gpios && info->nmaps >
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_symlink_remote.c246 int nmaps = XFS_SYMLINK_MAPS; local
256 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0);
261 for (n = 0; n < nmaps; n++) {
324 int nmaps; local
341 nmaps = XFS_SYMLINK_MAPS;
343 resblks, mval, &nmaps);
352 for (n = 0; n < nmaps; n++) {
/linux-master/fs/xfs/
H A Dxfs_symlink.c261 int nmaps; local
297 nmaps = ARRAY_SIZE(mval);
299 mval, &nmaps, 0);
305 for (i = 0; i < nmaps; i++) {
317 error = xfs_bunmapi(tp, ip, 0, size, 0, nmaps, &done);
H A Dxfs_trans_buf.c27 int nmaps)
34 for (i = 0; i < nmaps; i++)
43 ASSERT(blip->bli_buf->b_map_count == nmaps);
120 int nmaps,
130 return xfs_buf_get_map(target, map, nmaps, flags, bpp);
138 bp = xfs_trans_buf_item_match(tp, target, map, nmaps);
156 error = xfs_buf_get_map(target, map, nmaps, flags, &bp);
216 int nmaps,
235 bp = xfs_trans_buf_item_match(tp, target, map, nmaps);
289 error = xfs_buf_read_map(target, map, nmaps, flag
23 xfs_trans_buf_item_match( struct xfs_trans *tp, struct xfs_buftarg *target, struct xfs_buf_map *map, int nmaps) argument
116 xfs_trans_get_buf_map( struct xfs_trans *tp, struct xfs_buftarg *target, struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp) argument
211 xfs_trans_read_buf_map( struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_buftarg *target, struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp, const struct xfs_buf_ops *ops) argument
[all...]
H A Dxfs_buf.h232 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp);
234 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
237 struct xfs_buf_map *map, int nmaps,
H A Dxfs_trans.h174 struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags,
193 struct xfs_buf_map *map, int nmaps,
H A Dxfs_buf.c222 int nmaps,
257 error = xfs_buf_get_maps(bp, nmaps);
265 for (i = 0; i < nmaps; i++) {
628 int nmaps,
636 error = _xfs_buf_alloc(btp, map, nmaps, flags, &new_bp);
720 int nmaps,
733 for (i = 0; i < nmaps; i++)
755 error = xfs_buf_find_insert(btp, bch, pag, &cmap, map, nmaps,
848 int nmaps,
860 error = xfs_buf_get_map(target, map, nmaps, flag
219 _xfs_buf_alloc( struct xfs_buftarg *target, struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp) argument
622 xfs_buf_find_insert( struct xfs_buftarg *btp, struct xfs_buf_cache *bch, struct xfs_perag *pag, struct xfs_buf_map *cmap, struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp) argument
717 xfs_buf_get_map( struct xfs_buftarg *btp, struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp) argument
845 xfs_buf_read_map( struct xfs_buftarg *target, struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp, const struct xfs_buf_ops *ops, xfs_failaddr_t fa) argument
930 xfs_buf_readahead_map( struct xfs_buftarg *target, struct xfs_buf_map *map, int nmaps, const struct xfs_buf_ops *ops) argument
[all...]
H A Dxfs_dquot.c322 int nmaps = 1; local
355 &nmaps);
360 ASSERT(nmaps == 1);
439 int nmaps = 1; local
456 XFS_DQUOT_CLUSTER_SIZE_FSB, &map, &nmaps, 0);
461 ASSERT(nmaps == 1);
H A Dxfs_qm.c991 int i, nmaps; /* number of map entries */ local
1016 nmaps = XFS_DQITER_MAP_SIZE;
1024 map, &nmaps, 0);
1029 ASSERT(nmaps <= XFS_DQITER_MAP_SIZE);
1030 for (i = 0; i < nmaps; i++) {
1045 if ((i+1 < nmaps) &&
1068 } while (nmaps > 0);
H A Dxfs_reflink.c731 int nmaps; local
791 nmaps = 1;
793 &nmaps, 0);
/linux-master/include/linux/
H A Dvhost_iotlb.h29 unsigned int nmaps; member in struct:vhost_iotlb
/linux-master/drivers/pinctrl/starfive/
H A Dpinctrl-starfive-jh7110.c134 int nmaps; local
140 nmaps = 2 * ngroups;
146 map = kcalloc(nmaps, sizeof(*map), GFP_KERNEL);
150 nmaps = 0;
194 map[nmaps].type = PIN_MAP_TYPE_MUX_GROUP;
195 map[nmaps].data.mux.function = np->name;
196 map[nmaps].data.mux.group = grpname;
197 nmaps += 1;
207 &map[nmaps].data.configs.configs,
208 &map[nmaps]
[all...]
H A Dpinctrl-starfive-jh7100.c490 int nmaps; local
493 nmaps = 0;
513 nmaps += 2;
515 nmaps += 1;
523 map = kcalloc(nmaps, sizeof(*map), GFP_KERNEL);
527 nmaps = 0;
565 map[nmaps].type = PIN_MAP_TYPE_MUX_GROUP;
566 map[nmaps].data.mux.function = np->name;
567 map[nmaps].data.mux.group = grpname;
568 nmaps
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_qp.c159 max_scan = qpt->nmaps - !offset;
190 if (qpt->nmaps == RVT_QPNMAP_ENTRIES)
192 map = &qpt->map[qpt->nmaps++];
194 } else if (map < &qpt->map[qpt->nmaps]) {
/linux-master/drivers/pinctrl/renesas/
H A Dpinctrl.c107 unsigned int nmaps = *num_maps; local
167 nmaps += num_groups;
169 nmaps += num_pins + num_groups;
171 maps = krealloc(maps, sizeof(*maps) * nmaps, GFP_KERNEL);
178 *num_maps = nmaps;
H A Dpinctrl-rzv2m.c221 unsigned int nmaps = *num_maps; local
269 nmaps += 1;
272 nmaps += num_pins;
274 maps = krealloc_array(maps, nmaps, sizeof(*maps), GFP_KERNEL);
281 *num_maps = nmaps;
H A Dpinctrl-rzg2l.c565 unsigned int nmaps = *num_maps; local
613 nmaps += 1;
615 nmaps += 1;
619 nmaps += num_pins;
621 maps = krealloc_array(maps, nmaps, sizeof(*maps), GFP_KERNEL);
628 *num_maps = nmaps;
/linux-master/drivers/pinctrl/mvebu/
H A Dpinctrl-mvebu.c414 int ret, nmaps, n; local
426 nmaps = of_property_count_strings(np, "marvell,pins");
427 if (nmaps < 0) {
433 *map = kmalloc_array(nmaps, sizeof(**map), GFP_KERNEL);
459 *num_maps = nmaps;
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dqp.c309 qpt->nmaps = rdi->dparms.qpn_res_start / RVT_BITS_PER_PAGE;
315 map = &qpt->map[qpt->nmaps];
331 qpt->nmaps++;
522 max_scan = qpt->nmaps - !offset;
548 if (qpt->nmaps == RVT_QPNMAP_ENTRIES)
550 map = &qpt->map[qpt->nmaps++];
553 } else if (map < &qpt->map[qpt->nmaps]) {
/linux-master/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.c397 int ret, npins, nmaps, configlen = 0, i = 0; local
423 nmaps = npins * 2;
424 *map = kmalloc_array(nmaps, sizeof(struct pinctrl_map), GFP_KERNEL);

Completed in 311 milliseconds

12