/linux-master/fs/xfs/scrub/ |
H A D | rtbitmap_repair.c | 65 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 D | dqiterate.c | 51 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 D | quota_repair.c | 64 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 D | quota.c | 89 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 D | iotlb.c | 34 iotlb->nmaps--; 76 iotlb->nmaps == iotlb->limit && 93 iotlb->nmaps++; 139 iotlb->nmaps = 0;
|
/linux-master/drivers/mtd/maps/ |
H A D | physmap-core.c | 51 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 D | xfs_symlink_remote.c | 246 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 D | xfs_symlink.c | 261 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 D | xfs_trans_buf.c | 27 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 D | xfs_buf.h | 232 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 D | xfs_trans.h | 174 struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, 193 struct xfs_buf_map *map, int nmaps,
|
H A D | xfs_buf.c | 222 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 D | xfs_dquot.c | 322 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 D | xfs_qm.c | 991 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 D | xfs_reflink.c | 731 int nmaps; local 791 nmaps = 1; 793 &nmaps, 0);
|
/linux-master/include/linux/ |
H A D | vhost_iotlb.h | 29 unsigned int nmaps; member in struct:vhost_iotlb
|
/linux-master/drivers/pinctrl/starfive/ |
H A D | pinctrl-starfive-jh7110.c | 134 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 D | pinctrl-starfive-jh7100.c | 490 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 D | qib_qp.c | 159 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 D | pinctrl.c | 107 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 D | pinctrl-rzv2m.c | 221 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 D | pinctrl-rzg2l.c | 565 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 D | pinctrl-mvebu.c | 414 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 D | qp.c | 309 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 D | pinctrl-sunxi.c | 397 int ret, npins, nmaps, configlen = 0, i = 0; local 423 nmaps = npins * 2; 424 *map = kmalloc_array(nmaps, sizeof(struct pinctrl_map), GFP_KERNEL);
|