nres 22 arch/arm/mach-mmp/devices.c int i, ret = 0, nres = 0; nres 33 arch/arm/mach-mmp/devices.c res[nres].start = desc->start; nres 34 arch/arm/mach-mmp/devices.c res[nres].end = desc->start + desc->size - 1; nres 35 arch/arm/mach-mmp/devices.c res[nres].flags = IORESOURCE_MEM; nres 36 arch/arm/mach-mmp/devices.c nres++; nres 40 arch/arm/mach-mmp/devices.c res[nres].start = desc->irq; nres 41 arch/arm/mach-mmp/devices.c res[nres].end = desc->irq; nres 42 arch/arm/mach-mmp/devices.c res[nres].flags = IORESOURCE_IRQ; nres 43 arch/arm/mach-mmp/devices.c nres++; nres 46 arch/arm/mach-mmp/devices.c for (i = 0; i < MAX_RESOURCE_DMA; i++, nres++) { nres 50 arch/arm/mach-mmp/devices.c res[nres].start = desc->dma[i]; nres 51 arch/arm/mach-mmp/devices.c res[nres].end = desc->dma[i]; nres 52 arch/arm/mach-mmp/devices.c res[nres].flags = IORESOURCE_DMA; nres 55 arch/arm/mach-mmp/devices.c ret = platform_device_add_resources(pdev, res, nres); nres 350 arch/powerpc/boot/devtree.c int dt_get_virtual_reg(void *node, void **addr, int nres) nres 355 arch/powerpc/boot/devtree.c n = getprop(node, "virtual-reg", addr, nres * 4); nres 359 arch/powerpc/boot/devtree.c for (n = 0; n < nres; n++) { nres 100 arch/powerpc/boot/ops.h int dt_get_virtual_reg(void *node, void **addr, int nres); nres 390 drivers/hwtracing/intel_th/core.c struct resource *res, int nres) nres 394 drivers/hwtracing/intel_th/core.c r = kmemdup(res, sizeof(*res) * nres, GFP_KERNEL); nres 399 drivers/hwtracing/intel_th/core.c thdev->num_resources = nres; nres 422 drivers/hwtracing/intel_th/core.c unsigned nres; nres 430 drivers/hwtracing/intel_th/core.c .nres = 1, nres 444 drivers/hwtracing/intel_th/core.c .nres = 2, nres 465 drivers/hwtracing/intel_th/core.c .nres = 2, nres 486 drivers/hwtracing/intel_th/core.c .nres = 2, nres 504 drivers/hwtracing/intel_th/core.c .nres = 2, nres 522 drivers/hwtracing/intel_th/core.c .nres = 1, nres 537 drivers/hwtracing/intel_th/core.c .nres = 1, nres 552 drivers/hwtracing/intel_th/core.c .nres = 1, nres 615 drivers/hwtracing/intel_th/core.c sizeof(struct resource) * subdev->nres); nres 617 drivers/hwtracing/intel_th/core.c for (r = 0; r < subdev->nres; r++) { nres 651 drivers/hwtracing/intel_th/core.c err = intel_th_device_add_resources(thdev, res, subdev->nres); nres 1160 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c iov->nres = 0; nres 1170 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c iov->first_vf_in_pf, iov->nres, iov->cap, iov->ctrl, iov->total, nres 48 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h int nres; /* number of resources */ nres 402 drivers/net/ethernet/qlogic/qed/qed_sriov.c iov->nres, nres 115 drivers/net/ethernet/qlogic/qed/qed_sriov.h int nres; /* number of resources */ nres 444 drivers/pci/iov.c int nres; nres 467 drivers/pci/iov.c nres = 0; nres 472 drivers/pci/iov.c nres++; nres 474 drivers/pci/iov.c if (nres != iov->nres) { nres 589 drivers/pci/iov.c int nres; nres 631 drivers/pci/iov.c nres = 0; nres 654 drivers/pci/iov.c nres++; nres 658 drivers/pci/iov.c iov->nres = nres; nres 320 drivers/pci/pci.h int nres; /* Number of resources */ nres 114 drivers/staging/board/board.c unsigned int nres) nres 118 drivers/staging/board/board.c for (i = 0; i < nres; i++) nres 29 drivers/staging/board/board.h void board_staging_gic_fixup_resources(struct resource *res, unsigned int nres); nres 60 drivers/usb/chipidea/ci_hdrc_pci.c int retval = 0, nres = 2; nres 95 drivers/usb/chipidea/ci_hdrc_pci.c ci->ci = ci_hdrc_add_device(&pdev->dev, res, nres, platdata); nres 850 drivers/usb/chipidea/core.c struct resource *res, int nres, nres 872 drivers/usb/chipidea/core.c ret = platform_device_add_resources(pdev, res, nres); nres 1456 fs/fuse/file.c ssize_t nres; nres 1469 fs/fuse/file.c nres = fuse_send_write(ia, pos, nbytes, owner); nres 1471 fs/fuse/file.c nres = fuse_send_read(ia, pos, nbytes, owner); nres 1474 fs/fuse/file.c if (!io->async || nres < 0) { nres 1479 fs/fuse/file.c if (nres < 0) { nres 1481 fs/fuse/file.c err = nres; nres 1484 fs/fuse/file.c WARN_ON(nres > nbytes); nres 1486 fs/fuse/file.c count -= nres; nres 1487 fs/fuse/file.c res += nres; nres 1488 fs/fuse/file.c pos += nres; nres 1489 fs/fuse/file.c if (nres != nbytes) { nres 1490 fs/fuse/file.c iov_iter_revert(iter, nbytes - nres); nres 4661 fs/xfs/libxfs/xfs_bmap.c xfs_filblks_t nres = len1 + len2; /* new total res. */ nres 4669 fs/xfs/libxfs/xfs_bmap.c if (ores < nres && avail) nres 4670 fs/xfs/libxfs/xfs_bmap.c stolen = XFS_FILBLKS_MIN(nres - ores, avail); nres 4674 fs/xfs/libxfs/xfs_bmap.c if (ores >= nres) nres 4686 fs/xfs/libxfs/xfs_bmap.c do_div(resfactor, nres); nres 97 include/linux/usb/chipidea.h struct resource *res, int nres,