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

12

/linux-master/fs/xfs/scrub/
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 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);
H A Dtempfile.c315 int nmaps = 1; local
321 error = xfs_bmapi_read(sc->tempip, off, end - off, &map, &nmaps,
325 if (nmaps == 0) {
326 ASSERT(nmaps != 0);
344 nmaps = 1;
347 &nmaps);
350 if (nmaps != 1)
391 int nmaps = 1; local
394 error = xfs_bmapi_read(sc->tempip, off, 1, &map, &nmaps, 0);
397 if (nmaps
[all...]
H A Dquota_repair.c64 int nmaps = 1; local
77 irec, &nmaps);
116 int nmaps = 1; local
126 error = xfs_bmapi_read(sc->ip, offset, 1, &irec, &nmaps, 0);
130 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) {
H A Dsymlink_repair.c109 int nmaps = XFS_SYMLINK_MAPS; local
115 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0);
119 for (n = 0; n < nmaps; n++) {
/linux-master/fs/xfs/libxfs/
H A Dxfs_symlink_remote.c247 int nmaps = XFS_SYMLINK_MAPS; local
257 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0);
262 for (n = 0; n < nmaps; n++) {
326 int nmaps; local
343 nmaps = XFS_SYMLINK_MAPS;
345 resblks, mval, &nmaps);
354 for (n = 0; n < nmaps; n++) {
394 int nmaps = XFS_SYMLINK_MAPS; local
400 error = xfs_bmapi_read(ip, 0, XFS_MAX_FILEOFF, mval, &nmaps, 0);
404 for (i = 0; i < nmaps;
[all...]
/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/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/fs/xfs/
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++) {
631 int nmaps,
639 error = _xfs_buf_alloc(btp, map, nmaps, flags, &new_bp);
723 int nmaps,
736 for (i = 0; i < nmaps; i++)
758 error = xfs_buf_find_insert(btp, bch, pag, &cmap, map, nmaps,
851 int nmaps,
863 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
625 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
720 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
848 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
933 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_qm.c993 int i, nmaps; /* number of map entries */ local
1018 nmaps = XFS_DQITER_MAP_SIZE;
1026 map, &nmaps, 0);
1031 ASSERT(nmaps <= XFS_DQITER_MAP_SIZE);
1032 for (i = 0; i < nmaps; i++) {
1047 if ((i+1 < nmaps) &&
1070 } while (nmaps > 0);
H A Dxfs_dquot.c322 int nmaps = 1; local
352 &nmaps);
435 int nmaps = 1; local
452 XFS_DQUOT_CLUSTER_SIZE_FSB, &map, &nmaps, 0);
457 ASSERT(nmaps == 1);
H A Dxfs_reflink.c712 int nmaps; local
763 nmaps = 1;
765 &nmaps, 0);
/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]) {

Completed in 298 milliseconds

12