parts 32 arch/arm/include/asm/mach/flash.h struct mtd_partition *parts; parts 66 arch/arm/mach-cns3xxx/cns3420vb.c .parts = cns3420_nor_partitions, parts 307 arch/arm/mach-davinci/board-da830-evm.c .parts = da830_evm_nand_partitions, parts 569 arch/arm/mach-davinci/board-da830-evm.c .parts = da830evm_spiflash_part, parts 132 arch/arm/mach-davinci/board-da850-evm.c .parts = da850evm_spiflash_part, parts 178 arch/arm/mach-davinci/board-da850-evm.c .parts = da850_evm_norflash_partition, parts 240 arch/arm/mach-davinci/board-da850-evm.c .parts = da850_evm_nandflash_partition, parts 83 arch/arm/mach-davinci/board-dm355-evm.c .parts = davinci_nand_partitions, parts 77 arch/arm/mach-davinci/board-dm355-leopard.c .parts = davinci_nand_partitions, parts 145 arch/arm/mach-davinci/board-dm365-evm.c .parts = davinci_nand_partitions, parts 89 arch/arm/mach-davinci/board-dm644x-evm.c .parts = davinci_evm_norflash_partitions, parts 161 arch/arm/mach-davinci/board-dm644x-evm.c .parts = davinci_evm_nandflash_partition, parts 92 arch/arm/mach-davinci/board-dm646x-evm.c .parts = davinci_nand_partitions, parts 389 arch/arm/mach-davinci/board-mityomapl138.c .parts = spi_flash_partitions, parts 433 arch/arm/mach-davinci/board-mityomapl138.c .parts = mityomapl138_nandflash_partition, parts 91 arch/arm/mach-davinci/board-neuros-osd2.c .parts = davinci_ntosd2_nandflash_partition, parts 207 arch/arm/mach-davinci/board-omapl138-hawk.c .parts = omapl138_hawk_nandflash_partition, parts 56 arch/arm/mach-davinci/board-sffsdr.c .parts = davinci_sffsdr_nandflash_partition, parts 154 arch/arm/mach-ep93xx/ts72xx.c void __init ts72xx_register_flash(struct mtd_partition *parts, int n, parts 166 arch/arm/mach-ep93xx/ts72xx.c ts72xx_nand_data.chip.partitions = parts; parts 191 arch/arm/mach-ep93xx/vision_ep9307.c .parts = vision_spi_flash_partitions, parts 308 arch/arm/mach-imx/mach-armadillo5x0.c .parts = armadillo5x0_nor_flash_partitions, parts 76 arch/arm/mach-ixp4xx/omixp-setup.c .parts = omixp_partitions, parts 80 arch/arm/mach-ixp4xx/omixp-setup.c .parts = NULL, parts 173 arch/arm/mach-mmp/aspenite.c .parts = aspenite_nand_partitions, parts 110 arch/arm/mach-mmp/ttc_dkb.c .parts = ttc_dkb_onenand_partitions, parts 163 arch/arm/mach-omap1/board-fsample.c .parts = nor_partitions, parts 124 arch/arm/mach-omap1/board-h2.c .parts = h2_nor_partitions, parts 131 arch/arm/mach-omap1/board-h3.c .parts = nor_partitions, parts 99 arch/arm/mach-omap1/board-innovator.c .parts = innovator_partitions, parts 102 arch/arm/mach-omap1/board-osk.c .parts = osk_partitions, parts 129 arch/arm/mach-omap1/board-palmte.c .parts = palmte_rom_partitions, parts 108 arch/arm/mach-omap1/board-palmtt.c .parts = palmtt_partitions, parts 126 arch/arm/mach-omap1/board-palmz71.c .parts = palmz71_rom_partitions, parts 121 arch/arm/mach-omap1/board-perseus2.c .parts = nor_partitions, parts 262 arch/arm/mach-omap1/board-sx1.c .parts = sx1_partitions, parts 150 arch/arm/mach-orion5x/db88f5281-setup.c .parts = db88f5281_nand_parts, parts 148 arch/arm/mach-orion5x/dns323-setup.c .parts = dns323_partitions, parts 76 arch/arm/mach-orion5x/kurobox_pro-setup.c .parts = kurobox_pro_nand_parts, parts 58 arch/arm/mach-orion5x/mv2120-setup.c .parts = mv2120_partitions, parts 62 arch/arm/mach-orion5x/net2big-setup.c .parts = net2big_partitions, parts 62 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c .parts = rd88f6183ap_ge_partitions, parts 77 arch/arm/mach-orion5x/ts209-setup.c .parts = qnap_ts209_partitions, parts 97 arch/arm/mach-orion5x/ts409-setup.c .parts = qnap_ts409_partitions, parts 74 arch/arm/mach-orion5x/wnr854t-setup.c .parts = wnr854t_nor_flash_partitions, parts 159 arch/arm/mach-orion5x/wrt350n-v2-setup.c .parts = wrt350n_v2_nor_flash_partitions, parts 137 arch/arm/mach-pxa/balloon3.c .parts = balloon3_nor_partitions, parts 146 arch/arm/mach-pxa/cm-x255.c .parts = cmx255_nor_partitions, parts 209 arch/arm/mach-pxa/cm-x255.c .parts = cmx255_nand_parts, parts 443 arch/arm/mach-pxa/cm-x300.c .parts = cm_x300_nand_partitions, parts 174 arch/arm/mach-pxa/colibri-pxa270.c .parts = colibri_partitions, parts 139 arch/arm/mach-pxa/colibri-pxa3xx.c .parts = colibri_nand_partitions, parts 666 arch/arm/mach-pxa/corgi.c .parts = sharpsl_rom_parts, parts 164 arch/arm/mach-pxa/csb726.c .parts = csb726_flash_partitions, parts 422 arch/arm/mach-pxa/em-x270.c .parts = em_x270_nor_parts, parts 68 arch/arm/mach-pxa/gumstix.c .parts = gumstix_partitions, parts 70 arch/arm/mach-pxa/h5000.c .parts = h5000_flash0_partitions, parts 76 arch/arm/mach-pxa/h5000.c .parts = h5000_flash1_partitions, parts 335 arch/arm/mach-pxa/littleton.c .parts = littleton_nand_partitions, parts 242 arch/arm/mach-pxa/lpd270.c .parts = lpd270_flash0_partitions, parts 247 arch/arm/mach-pxa/lpd270.c .parts = NULL, parts 305 arch/arm/mach-pxa/lubbock.c .parts = lubbock_partitions, parts 309 arch/arm/mach-pxa/lubbock.c .parts = NULL, parts 881 arch/arm/mach-pxa/magician.c .parts = magician_flash_parts, parts 220 arch/arm/mach-pxa/mainstone.c .parts = mainstoneflash0_partitions, parts 224 arch/arm/mach-pxa/mainstone.c .parts = NULL, parts 401 arch/arm/mach-pxa/mxm8x10.c .parts = mxm_8x10_nand_partitions, parts 139 arch/arm/mach-pxa/palmld.c .parts = palmld_partitions, parts 438 arch/arm/mach-pxa/palmtc.c .parts = palmtc_flash_parts, parts 141 arch/arm/mach-pxa/palmtx.c .parts = palmtx_partitions, parts 389 arch/arm/mach-pxa/poodle.c .parts = sharpsl_rom_parts, parts 546 arch/arm/mach-pxa/saar.c .parts = saar_onenand_partitions, parts 860 arch/arm/mach-pxa/spitz.c .parts = spitz_rom_parts, parts 321 arch/arm/mach-pxa/stargate2.c .parts = stargate2flash_partitions, parts 838 arch/arm/mach-pxa/tosa.c .parts = sharpsl_rom_parts, parts 176 arch/arm/mach-pxa/trizeps4.c .parts = trizeps4_partitions, parts 679 arch/arm/mach-pxa/viper.c .parts = NULL, parts 684 arch/arm/mach-pxa/viper.c .parts = &viper_boot_flash_partition, parts 163 arch/arm/mach-pxa/vpac270.c .parts = vpac270_nor_partitions, parts 204 arch/arm/mach-pxa/vpac270.c .parts = vpac270_onenand_partitions, parts 75 arch/arm/mach-pxa/xcep.c .parts = xcep_partitions, parts 175 arch/arm/mach-pxa/z2.c .parts = z2_flash_parts, parts 184 arch/arm/mach-pxa/zeus.c .parts = NULL, parts 401 arch/arm/mach-pxa/zylonite.c .parts = zylonite_nand_partitions, parts 82 arch/arm/mach-s3c24xx/mach-amlm5900.c .parts = amlm5900_mtd_partitions, parts 61 arch/arm/mach-s3c24xx/mach-tct_hammer.c .parts = tct_hammer_mtd_partitions, parts 293 arch/arm/mach-sa1100/assabet.c .parts = assabet_partitions, parts 153 arch/arm/mach-sa1100/badge4.c .parts = badge4_partitions, parts 125 arch/arm/mach-sa1100/cerf.c .parts = cerf_partitions, parts 330 arch/arm/mach-sa1100/collie.c .parts = collie_partitions, parts 75 arch/arm/mach-sa1100/h3xxx.c .parts = h3xxx_partitions, parts 131 arch/arm/mach-sa1100/hackkit.c .parts = hackkit_partitions, parts 355 arch/arm/mach-sa1100/jornada720.c .parts = jornada720_partitions, parts 54 arch/arm/mach-sa1100/nanoengine.c .parts = nanoengine_partitions, parts 97 arch/arm/mach-sa1100/pleb.c .parts = pleb_partitions, parts 52 arch/arm/mach-sa1100/shannon.c .parts = shannon_partitions, parts 177 arch/arm/mach-sa1100/simpad.c .parts = simpad_partitions, parts 101 arch/m68k/coldfire/amcore.c .parts = amcore_partitions, parts 58 arch/m68k/coldfire/firebee.c .parts = firebee_flash_parts, parts 39 arch/m68k/coldfire/stmark2.c .parts = stmark2_partitions, parts 160 arch/mips/alchemy/board-gpr.c .parts = gpr_mtd_partitions, parts 185 arch/mips/alchemy/board-mtx1.c .parts = mtx1_mtd_partitions, parts 155 arch/mips/alchemy/devboards/db1200.c .parts = db1200_spiflash_parts, parts 97 arch/mips/alchemy/devboards/db1550.c .parts = db1550_spiflash_parts, parts 203 arch/mips/alchemy/devboards/db1550.c .parts = db1550_nand_parts, parts 174 arch/mips/alchemy/devboards/platform.c struct mtd_partition *parts; parts 182 arch/mips/alchemy/devboards/platform.c parts = kcalloc(5, sizeof(struct mtd_partition), GFP_KERNEL); parts 183 arch/mips/alchemy/devboards/platform.c if (!parts) parts 209 arch/mips/alchemy/devboards/platform.c parts[i].offset = 0; parts 210 arch/mips/alchemy/devboards/platform.c parts[i].name = "User FS"; parts 211 arch/mips/alchemy/devboards/platform.c parts[i].size = size / 2; parts 215 arch/mips/alchemy/devboards/platform.c parts[i].offset = MTDPART_OFS_APPEND; parts 216 arch/mips/alchemy/devboards/platform.c parts[i].name = "User FS 2"; parts 217 arch/mips/alchemy/devboards/platform.c parts[i].size = (size / 2) - (0x20000000 - 0x1fc00000); parts 220 arch/mips/alchemy/devboards/platform.c parts[i].offset = MTDPART_OFS_APPEND; parts 221 arch/mips/alchemy/devboards/platform.c parts[i].name = "YAMON"; parts 222 arch/mips/alchemy/devboards/platform.c parts[i].size = YAMON_SIZE; parts 223 arch/mips/alchemy/devboards/platform.c parts[i].mask_flags = MTD_WRITEABLE; parts 226 arch/mips/alchemy/devboards/platform.c parts[i].offset = MTDPART_OFS_APPEND; parts 227 arch/mips/alchemy/devboards/platform.c parts[i].name = "raw kernel"; parts 228 arch/mips/alchemy/devboards/platform.c parts[i].size = 0x00400000 - YAMON_SIZE - YAMON_ENV_SIZE; parts 231 arch/mips/alchemy/devboards/platform.c parts[i].offset = MTDPART_OFS_APPEND; parts 232 arch/mips/alchemy/devboards/platform.c parts[i].name = "YAMON Env"; parts 233 arch/mips/alchemy/devboards/platform.c parts[i].size = YAMON_ENV_SIZE; parts 234 arch/mips/alchemy/devboards/platform.c parts[i].mask_flags = MTD_WRITEABLE; parts 238 arch/mips/alchemy/devboards/platform.c parts[i].offset = MTDPART_OFS_APPEND; parts 239 arch/mips/alchemy/devboards/platform.c parts[i].name = "User FS"; parts 240 arch/mips/alchemy/devboards/platform.c parts[i].size = size / 2; parts 245 arch/mips/alchemy/devboards/platform.c pfd->parts = parts; parts 262 arch/mips/alchemy/devboards/platform.c kfree(parts); parts 37 arch/mips/bcm63xx/dev-flash.c .parts = mtd_partitions, parts 23 arch/mips/cobalt/mtd.c .parts = cobalt_mtd_partitions, parts 167 arch/mips/emma/markeins/platform.c .parts = markeins_parts parts 12 arch/mips/include/asm/mach-au1x00/au1550nd.h struct mtd_partition *parts; parts 15 arch/mips/include/asm/mach-loongson32/nand.h struct mtd_partition *parts; parts 138 arch/mips/include/asm/txx9/rbtx4939.h struct mtd_partition *parts; parts 61 arch/mips/netlogic/xlr/platform-flash.c .parts = xlr_nor_parts, parts 623 arch/mips/txx9/generic/setup.c static struct mtd_partition parts[2]; parts 627 arch/mips/txx9/generic/setup.c if (pdata->nr_parts == 0 && !pdata->parts && parts 629 arch/mips/txx9/generic/setup.c !parts[0].name) { parts 630 arch/mips/txx9/generic/setup.c parts[0].name = "boot"; parts 631 arch/mips/txx9/generic/setup.c parts[0].offset = 0x1fc00000 - addr; parts 632 arch/mips/txx9/generic/setup.c parts[0].size = addr + size - 0x1fc00000; parts 633 arch/mips/txx9/generic/setup.c parts[1].name = "user"; parts 634 arch/mips/txx9/generic/setup.c parts[1].offset = 0; parts 635 arch/mips/txx9/generic/setup.c parts[1].size = 0x1fc00000 - addr; parts 637 arch/mips/txx9/generic/setup.c pdata_part.nr_parts = ARRAY_SIZE(parts); parts 638 arch/mips/txx9/generic/setup.c pdata_part.parts = parts; parts 383 arch/mips/txx9/rbtx4939/setup.c static struct mtd_partition parts[4]; parts 392 arch/mips/txx9/rbtx4939/setup.c parts[i].name = names[i]; parts 393 arch/mips/txx9/rbtx4939/setup.c parts[i].size = 0x400000; parts 394 arch/mips/txx9/rbtx4939/setup.c parts[i].offset = MTDPART_OFS_NXTBLK; parts 402 arch/mips/txx9/rbtx4939/setup.c parts[i].name = names[i]; parts 403 arch/mips/txx9/rbtx4939/setup.c parts[i].size = 0x400000; parts 404 arch/mips/txx9/rbtx4939/setup.c parts[i].offset = MTDPART_OFS_NXTBLK; parts 409 arch/mips/txx9/rbtx4939/setup.c parts[0].name = "boot"; parts 410 arch/mips/txx9/rbtx4939/setup.c parts[0].offset = 0xc00000; parts 411 arch/mips/txx9/rbtx4939/setup.c parts[0].size = 0x400000; parts 412 arch/mips/txx9/rbtx4939/setup.c parts[1].name = "user"; parts 413 arch/mips/txx9/rbtx4939/setup.c parts[1].offset = 0; parts 414 arch/mips/txx9/rbtx4939/setup.c parts[1].size = 0xc00000; parts 416 arch/mips/txx9/rbtx4939/setup.c boot_pdata->parts = parts; parts 47 arch/sh/boards/board-apsh4a3a.c .parts = nor_flash_partitions, parts 55 arch/sh/boards/board-edosk7760.c .parts = edosk7760_nor_flash_partitions, parts 38 arch/sh/boards/board-espt.c .parts = espt_nor_flash_partitions, parts 322 arch/sh/boards/board-magicpanelr2.c .parts = mpr2_partitions, parts 74 arch/sh/boards/board-sh7785lcr.c .parts = nor_flash_partitions, parts 121 arch/sh/boards/board-urquell.c .parts = nor_flash_partitions, parts 112 arch/sh/boards/mach-ap325rxa/setup.c .parts = ap325rxa_nor_flash_partitions, parts 151 arch/sh/boards/mach-ap325rxa/setup.c .parts = nand_partition_info, parts 128 arch/sh/boards/mach-ecovec24/setup.c .parts = nor_flash_partitions, parts 219 arch/sh/boards/mach-highlander/setup.c .parts = nor_flash_partitions, parts 68 arch/sh/boards/mach-kfr2r09/setup.c .parts = kfr2r09_nor_flash_partitions, parts 134 arch/sh/boards/mach-migor/setup.c .parts = migor_nor_flash_partitions, parts 209 arch/sh/boards/mach-r2d/setup.c .parts = r2d_partitions, parts 45 arch/sh/boards/mach-rsk/setup.c .parts = rsk_partitions, parts 49 arch/sh/boards/mach-se/7343/setup.c .parts = nor_flash_partitions, parts 136 arch/sh/boards/mach-se/7724/setup.c .parts = nor_flash_partitions, parts 42 arch/sh/boards/mach-sh7763rdp/setup.c .parts = sh7763rdp_nor_flash_partitions, parts 79 block/cmdline-parser.c static void free_subpart(struct cmdline_parts *parts) parts 83 block/cmdline-parser.c while (parts->subpart) { parts 84 block/cmdline-parser.c subpart = parts->subpart; parts 85 block/cmdline-parser.c parts->subpart = subpart->next_subpart; parts 90 block/cmdline-parser.c static int parse_parts(struct cmdline_parts **parts, const char *bdevdef) parts 99 block/cmdline-parser.c *parts = NULL; parts 142 block/cmdline-parser.c *parts = newparts; parts 151 block/cmdline-parser.c void cmdline_parts_free(struct cmdline_parts **parts) parts 155 block/cmdline-parser.c while (*parts) { parts 156 block/cmdline-parser.c next_parts = (*parts)->next_parts; parts 157 block/cmdline-parser.c free_subpart(*parts); parts 158 block/cmdline-parser.c kfree(*parts); parts 159 block/cmdline-parser.c *parts = next_parts; parts 164 block/cmdline-parser.c int cmdline_parts_parse(struct cmdline_parts **parts, const char *cmdline) parts 172 block/cmdline-parser.c *parts = NULL; parts 178 block/cmdline-parser.c next_parts = parts; parts 195 block/cmdline-parser.c if (!*parts) { parts 207 block/cmdline-parser.c cmdline_parts_free(parts); parts 212 block/cmdline-parser.c struct cmdline_parts *cmdline_parts_find(struct cmdline_parts *parts, parts 215 block/cmdline-parser.c while (parts && strncmp(bdev, parts->name, sizeof(parts->name))) parts 216 block/cmdline-parser.c parts = parts->next_parts; parts 217 block/cmdline-parser.c return parts; parts 226 block/cmdline-parser.c int cmdline_parts_set(struct cmdline_parts *parts, sector_t disk_size, parts 234 block/cmdline-parser.c for (subpart = parts->subpart; subpart; parts 568 block/partition-generic.c if (state->parts[p].size) parts 577 block/partition-generic.c size = state->parts[p].size; parts 581 block/partition-generic.c from = state->parts[p].from; parts 626 block/partition-generic.c state->parts[p].flags, parts 627 block/partition-generic.c &state->parts[p].info); parts 634 block/partition-generic.c if (state->parts[p].flags & ADDPART_FLAG_RAID) parts 125 block/partitions/check.c state->parts = vzalloc(array_size(nr, sizeof(state->parts[0]))); parts 126 block/partitions/check.c if (!state->parts) { parts 138 block/partitions/check.c vfree(state->parts); parts 166 block/partitions/check.c memset(state->parts, 0, state->limit * sizeof(state->parts[0])); parts 19 block/partitions/check.h } *parts; parts 47 block/partitions/check.h p->parts[n].from = from; parts 48 block/partitions/check.h p->parts[n].size = size; parts 39 block/partitions/cmdline.c info = &state->parts[slot].info; parts 49 block/partitions/cmdline.c state->parts[slot].has_info = true; parts 93 block/partitions/cmdline.c for (; slot < state->limit && state->parts[slot].has_info; slot++) { parts 94 block/partitions/cmdline.c for (i = slot+1; i < state->limit && state->parts[i].has_info; parts 96 block/partitions/cmdline.c if (has_overlaps(state->parts[slot].from, parts 97 block/partitions/cmdline.c state->parts[slot].size, parts 98 block/partitions/cmdline.c state->parts[i].from, parts 99 block/partitions/cmdline.c state->parts[i].size)) { parts 106 block/partitions/cmdline.c state->parts[slot].info.volname, parts 107 block/partitions/cmdline.c (u64)state->parts[slot].from << 9, parts 108 block/partitions/cmdline.c (u64)state->parts[slot].size << 9, parts 109 block/partitions/cmdline.c state->parts[i].info.volname, parts 110 block/partitions/cmdline.c (u64)state->parts[i].from << 9, parts 111 block/partitions/cmdline.c (u64)state->parts[i].size << 9); parts 128 block/partitions/cmdline.c struct cmdline_parts *parts; parts 145 block/partitions/cmdline.c parts = cmdline_parts_find(bdev_parts, bdev); parts 146 block/partitions/cmdline.c if (!parts) parts 151 block/partitions/cmdline.c cmdline_parts_set(parts, disk_size, 1, add_part, (void *)state); parts 708 block/partitions/efi.c state->parts[i + 1].flags = ADDPART_FLAG_RAID; parts 710 block/partitions/efi.c info = &state->parts[i + 1].info; parts 724 block/partitions/efi.c state->parts[i + 1].has_info = true; parts 90 block/partitions/mac.c state->parts[slot].flags = ADDPART_FLAG_RAID; parts 102 block/partitions/msdos.c struct partition_meta_info *info = &state->parts[slot].info; parts 107 block/partitions/msdos.c state->parts[slot].has_info = true; parts 186 block/partitions/msdos.c state->parts[state->next].flags = ADDPART_FLAG_RAID; parts 559 block/partitions/msdos.c state->parts[slot].flags = ADDPART_FLAG_RAID; parts 76 block/partitions/sgi.c state->parts[slot].flags = ADDPART_FLAG_RAID; parts 110 block/partitions/sun.c state->parts[slot].flags = 0; parts 113 block/partitions/sun.c state->parts[slot].flags |= ADDPART_FLAG_RAID; parts 115 block/partitions/sun.c state->parts[slot].flags |= ADDPART_FLAG_WHOLEDISK; parts 129 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h int parts; parts 47 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c u32 tags = round_up(tiles / fb->ram->parts, 0x40); parts 34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv25.c u32 tags = round_up(tiles / fb->ram->parts, 0x40); parts 53 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c u32 tags = round_up(tiles / fb->ram->parts, 0x40); parts 34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv35.c u32 tags = round_up(tiles / fb->ram->parts, 0x40); parts 34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv36.c u32 tags = round_up(tiles / fb->ram->parts, 0x40); parts 34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.c u32 tags = round_up(tiles / fb->ram->parts, 0x100); parts 126 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 parts; parts 149 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c for (i = 0; (data & 0x80000000) && i < ram->parts; addr += 0x1000, i++) { parts 1548 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c ram->parts = nvkm_rd32(device, 0x022438); parts 1551 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c for (i = 0, tmp = 0; i < ram->parts; i++) { parts 46 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv20.c (*pram)->parts = (nvkm_rd32(device, 0x100200) & 0x00000003) + 1; parts 221 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c (*pram)->parts = (nvkm_rd32(device, 0x100200) & 0x00000003) + 1; parts 46 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv41.c (*pram)->parts = (nvkm_rd32(device, 0x100200) & 0x00000003) + 1; parts 46 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv49.c (*pram)->parts = (nvkm_rd32(device, 0x100200) & 0x00000003) + 1; parts 523 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c rowsize = ram->parts * banks * (1 << colbits) * 8; parts 575 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c ram->parts = hweight8(ram->part_mask); parts 211 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c const u32 parts = nvkm_rd32(device, 0x022438); parts 216 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c for (i = 0; i < parts; i++) { parts 108 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c const u32 parts = nvkm_rd32(device, 0x022438); parts 113 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c for (i = 0; i < parts; i++) { parts 1611 drivers/irqchip/irq-gic-v3.c struct partition_affinity *parts; parts 1626 drivers/irqchip/irq-gic-v3.c parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); parts 1627 drivers/irqchip/irq-gic-v3.c if (WARN_ON(!parts)) parts 1634 drivers/irqchip/irq-gic-v3.c part = &parts[part_idx]; parts 1688 drivers/irqchip/irq-gic-v3.c desc = partition_create_desc(gic_data.fwnode, parts, nr_parts, parts 18 drivers/irqchip/irq-partition-percpu.c struct partition_affinity *parts; parts 28 drivers/irqchip/irq-partition-percpu.c return cpumask_test_cpu(cpu, &part->parts[hwirq].mask); parts 157 drivers/irqchip/irq-partition-percpu.c irq_set_percpu_devid_partition(virq, &part->parts[hwirq].mask); parts 183 drivers/irqchip/irq-partition-percpu.c if (desc->parts[i].partition_id == partition_id) { parts 184 drivers/irqchip/irq-partition-percpu.c part = &desc->parts[i]; parts 198 drivers/irqchip/irq-partition-percpu.c struct partition_affinity *parts, parts 228 drivers/irqchip/irq-partition-percpu.c desc->parts = parts; parts 57 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c .parts = &netup_spi_flash_partitions, parts 204 drivers/mtd/devices/mchp23k256.c err = mtd_device_register(&flash->mtd, data ? data->parts : NULL, parts 662 drivers/mtd/devices/mtd_dataflash.c pdata ? pdata->parts : NULL, parts 201 drivers/mtd/devices/spear_smi.c struct mtd_partition *parts; parts 851 drivers/mtd/devices/spear_smi.c struct mtd_partition *parts = NULL; parts 915 drivers/mtd/devices/spear_smi.c parts = flash_info->partitions; parts 920 drivers/mtd/devices/spear_smi.c ret = mtd_device_register(&flash->mtd, parts, count); parts 393 drivers/mtd/devices/sst25l.c ret = mtd_device_register(&flash->mtd, data ? data->parts : NULL, parts 236 drivers/mtd/maps/ixp4xx.c plat->parts, plat->nr_parts); parts 56 drivers/mtd/maps/physmap-core.c const struct mtd_partition *parts; parts 421 drivers/mtd/maps/physmap-core.c info->parts = physmap_data->parts; parts 573 drivers/mtd/maps/physmap-core.c info->parts, info->nparts); parts 94 drivers/mtd/maps/pxa2xx-flash.c mtd_device_parse_register(info->mtd, probes, NULL, flash->parts, parts 97 drivers/mtd/maps/rbtx4939-flash.c err = mtd_device_register(info->mtd, pdata->parts, pdata->nr_parts); parts 279 drivers/mtd/maps/sa1100-flash.c mtd_device_parse_register(info->mtd, part_probes, NULL, plat->parts, parts 47 drivers/mtd/maps/vmu-flash.c struct vmupart *parts; parts 69 drivers/mtd/maps/vmu-flash.c if (src_ofs >= card->parts[partition].numblocks * card->blocklen) parts 73 drivers/mtd/maps/vmu-flash.c if (num > card->parts[partition].numblocks) parts 124 drivers/mtd/maps/vmu-flash.c pcache = card->parts[partition].pcache; parts 366 drivers/mtd/maps/vmu-flash.c numblocks = card->parts[partition].numblocks; parts 372 drivers/mtd/maps/vmu-flash.c pcache = card->parts[partition].pcache; parts 432 drivers/mtd/maps/vmu-flash.c numblocks = card->parts[partition].numblocks; parts 469 drivers/mtd/maps/vmu-flash.c pcache = card->parts[partition].pcache; parts 521 drivers/mtd/maps/vmu-flash.c part_cur = &card->parts[card->partition]; parts 580 drivers/mtd/maps/vmu-flash.c kfree(((card->parts)[error]).pcache); parts 581 drivers/mtd/maps/vmu-flash.c ((card->parts)[error]).pcache = NULL; parts 630 drivers/mtd/maps/vmu-flash.c card->parts = kmalloc_array(card->partitions, sizeof(struct vmupart), parts 632 drivers/mtd/maps/vmu-flash.c if (!card->parts) { parts 684 drivers/mtd/maps/vmu-flash.c kfree(card->parts); parts 703 drivers/mtd/maps/vmu-flash.c kfree(((card->parts)[x]).name); parts 705 drivers/mtd/maps/vmu-flash.c kfree(card->parts); parts 813 drivers/mtd/mtdcore.c const struct mtd_partition *parts, parts 831 drivers/mtd/mtdcore.c ret = add_mtd_partitions(mtd, parts, nr_parts); parts 21 drivers/mtd/mtdcore.h void mtd_part_parser_cleanup(struct mtd_partitions *parts); parts 711 drivers/mtd/mtdpart.c const struct mtd_partition *parts, parts 721 drivers/mtd/mtdpart.c slave = allocate_partition(master, parts + i, i, cur_offset); parts 743 drivers/mtd/mtdpart.c parse_mtd_partitions(&slave->mtd, parts[i].types, NULL); parts 837 drivers/mtd/mtdpart.c ret = (*parser->parse_fn)(master, &pparts->parts, data); parts 995 drivers/mtd/mtdpart.c err = add_mtd_partitions(master, pparts.parts, parts 1010 drivers/mtd/mtdpart.c void mtd_part_parser_cleanup(struct mtd_partitions *parts) parts 1014 drivers/mtd/mtdpart.c if (!parts) parts 1017 drivers/mtd/mtdpart.c parser = parts->parser; parts 1020 drivers/mtd/mtdpart.c parser->cleanup(parts->parts, parts->nr_parts); parts 1344 drivers/mtd/mtdswap.c char *parts; parts 1351 drivers/mtd/mtdswap.c parts = &partitions[0]; parts 1352 drivers/mtd/mtdswap.c if (!*parts) parts 1355 drivers/mtd/mtdswap.c while ((this_opt = strsep(&parts, ",")) != NULL) { parts 66 drivers/mtd/nand/onenand/generic.c err = mtd_device_register(&info->mtd, pdata ? pdata->parts : NULL, parts 933 drivers/mtd/nand/onenand/samsung.c err = mtd_device_register(mtd, pdata ? pdata->parts : NULL, parts 450 drivers/mtd/nand/raw/au1550nd.c mtd_device_register(mtd, pd->parts, pd->num_parts); parts 798 drivers/mtd/nand/raw/davinci_nand.c if (pdata->parts) parts 799 drivers/mtd/nand/raw/davinci_nand.c ret = mtd_device_register(mtd, pdata->parts, pdata->nr_parts); parts 1028 drivers/mtd/nand/raw/diskonchip.c static inline int __init nftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) parts 1107 drivers/mtd/nand/raw/diskonchip.c parts[0].name = " DiskOnChip Firmware / Media Header partition"; parts 1108 drivers/mtd/nand/raw/diskonchip.c parts[0].offset = 0; parts 1109 drivers/mtd/nand/raw/diskonchip.c parts[0].size = offs; parts 1113 drivers/mtd/nand/raw/diskonchip.c parts[numparts].name = " DiskOnChip BDTL partition"; parts 1114 drivers/mtd/nand/raw/diskonchip.c parts[numparts].offset = offs; parts 1115 drivers/mtd/nand/raw/diskonchip.c parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift; parts 1117 drivers/mtd/nand/raw/diskonchip.c offs += parts[numparts].size; parts 1121 drivers/mtd/nand/raw/diskonchip.c parts[numparts].name = " DiskOnChip Remainder partition"; parts 1122 drivers/mtd/nand/raw/diskonchip.c parts[numparts].offset = offs; parts 1123 drivers/mtd/nand/raw/diskonchip.c parts[numparts].size = mtd->size - offs; parts 1134 drivers/mtd/nand/raw/diskonchip.c static inline int __init inftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) parts 1222 drivers/mtd/nand/raw/diskonchip.c parts[0].name = " DiskOnChip IPL / Media Header partition"; parts 1223 drivers/mtd/nand/raw/diskonchip.c parts[0].offset = 0; parts 1224 drivers/mtd/nand/raw/diskonchip.c parts[0].size = mtd->erasesize * ip->firstUnit; parts 1229 drivers/mtd/nand/raw/diskonchip.c parts[numparts].name = " DiskOnChip BDK partition"; parts 1231 drivers/mtd/nand/raw/diskonchip.c parts[numparts].name = " DiskOnChip BDTL partition"; parts 1232 drivers/mtd/nand/raw/diskonchip.c parts[numparts].offset = ip->firstUnit << vshift; parts 1233 drivers/mtd/nand/raw/diskonchip.c parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift; parts 1242 drivers/mtd/nand/raw/diskonchip.c parts[numparts].name = " DiskOnChip Remainder partition"; parts 1243 drivers/mtd/nand/raw/diskonchip.c parts[numparts].offset = lastvunit << vshift; parts 1244 drivers/mtd/nand/raw/diskonchip.c parts[numparts].size = end - parts[numparts].offset; parts 1258 drivers/mtd/nand/raw/diskonchip.c struct mtd_partition parts[2]; parts 1260 drivers/mtd/nand/raw/diskonchip.c memset((char *)parts, 0, sizeof(parts)); parts 1263 drivers/mtd/nand/raw/diskonchip.c numparts = nftl_partscan(mtd, parts); parts 1285 drivers/mtd/nand/raw/diskonchip.c return mtd_device_register(mtd, parts, no_autopart ? 0 : numparts); parts 1293 drivers/mtd/nand/raw/diskonchip.c struct mtd_partition parts[5]; parts 1332 drivers/mtd/nand/raw/diskonchip.c memset((char *)parts, 0, sizeof(parts)); parts 1333 drivers/mtd/nand/raw/diskonchip.c numparts = inftl_partscan(mtd, parts); parts 1339 drivers/mtd/nand/raw/diskonchip.c return mtd_device_register(mtd, parts, no_autopart ? 0 : numparts); parts 32 drivers/mtd/nand/raw/fsl_upm.c struct mtd_partition *parts; parts 296 drivers/mtd/nand/raw/gpio.c ret = mtd_device_register(mtd, gpiomtd->plat.parts, parts 127 drivers/mtd/nand/raw/lpc32xx_mlc.c struct mtd_partition *parts; parts 799 drivers/mtd/nand/raw/lpc32xx_mlc.c res = mtd_device_register(mtd, host->ncfg->parts, parts 213 drivers/mtd/nand/raw/lpc32xx_slc.c struct mtd_partition *parts; parts 924 drivers/mtd/nand/raw/lpc32xx_slc.c res = mtd_device_register(mtd, host->ncfg->parts, parts 2662 drivers/mtd/nand/raw/marvell_nand.c ret = mtd_device_register(mtd, pdata->parts, pdata->nr_parts); parts 1901 drivers/mtd/nand/raw/mxc_nand.c host->pdata.parts, parts 89 drivers/mtd/nand/raw/nandsim.c static unsigned long parts[CONFIG_NANDSIM_MAX_PARTS]; parts 122 drivers/mtd/nand/raw/nandsim.c module_param_array(parts, ulong, &parts_num, 0400); parts 147 drivers/mtd/nand/raw/nandsim.c MODULE_PARM_DESC(parts, "Partition sizes (in erase blocks) separated by commas"); parts 690 drivers/mtd/nand/raw/nandsim.c uint64_t part_sz = (uint64_t)parts[i] * ns->geom.secsz; parts 181 drivers/mtd/nand/raw/orion_nand.c ret = mtd_device_register(mtd, board->parts, board->nr_parts); parts 1192 drivers/mtd/nand/raw/sh_flctl.c ret = mtd_device_register(flctl_mtd, pdata->parts, pdata->nr_parts); parts 327 drivers/mtd/parsers/afs.c struct mtd_partition *parts; parts 347 drivers/mtd/parsers/afs.c parts = kzalloc(sz, GFP_KERNEL); parts 348 drivers/mtd/parsers/afs.c if (!parts) parts 356 drivers/mtd/parsers/afs.c ret = afs_parse_v1_partition(mtd, off, &parts[i]); parts 362 drivers/mtd/parsers/afs.c ret = afs_parse_v2_partition(mtd, off, &parts[i]); parts 369 drivers/mtd/parsers/afs.c *pparts = parts; parts 374 drivers/mtd/parsers/afs.c kfree(parts[i].name); parts 377 drivers/mtd/parsers/afs.c kfree(parts); parts 90 drivers/mtd/parsers/bcm47xxpart.c struct mtd_partition *parts; parts 109 drivers/mtd/parsers/bcm47xxpart.c parts = kcalloc(BCM47XXPART_MAX_PARTS, sizeof(struct mtd_partition), parts 111 drivers/mtd/parsers/bcm47xxpart.c if (!parts) parts 116 drivers/mtd/parsers/bcm47xxpart.c kfree(parts); parts 144 drivers/mtd/parsers/bcm47xxpart.c bcm47xxpart_add_part(&parts[curr_part++], "boot", parts 154 drivers/mtd/parsers/bcm47xxpart.c bcm47xxpart_add_part(&parts[curr_part++], "board_data", parts 161 drivers/mtd/parsers/bcm47xxpart.c bcm47xxpart_add_part(&parts[curr_part++], "factory", parts 169 drivers/mtd/parsers/bcm47xxpart.c bcm47xxpart_add_part(&parts[curr_part++], "POT", offset, parts 177 drivers/mtd/parsers/bcm47xxpart.c bcm47xxpart_add_part(&parts[curr_part++], "ML", offset, parts 193 drivers/mtd/parsers/bcm47xxpart.c bcm47xxpart_add_part(&parts[curr_part++], "firmware", parts 219 drivers/mtd/parsers/bcm47xxpart.c bcm47xxpart_add_part(&parts[curr_part++], "rootfs", parts 230 drivers/mtd/parsers/bcm47xxpart.c bcm47xxpart_add_part(&parts[curr_part++], "nvram", parts 246 drivers/mtd/parsers/bcm47xxpart.c bcm47xxpart_add_part(&parts[curr_part++], "board_data", parts 270 drivers/mtd/parsers/bcm47xxpart.c bcm47xxpart_add_part(&parts[curr_part++], "nvram", parts 284 drivers/mtd/parsers/bcm47xxpart.c parts[i + 1].offset : master->size; parts 286 drivers/mtd/parsers/bcm47xxpart.c parts[i].size = next_part_offset - parts[i].offset; parts 291 drivers/mtd/parsers/bcm47xxpart.c struct mtd_partition *trx = &parts[trx_parts[i]]; parts 299 drivers/mtd/parsers/bcm47xxpart.c *pparts = parts; parts 91 drivers/mtd/parsers/bcm63xxpart.c struct mtd_partition *parts; parts 104 drivers/mtd/parsers/bcm63xxpart.c parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); parts 105 drivers/mtd/parsers/bcm63xxpart.c if (!parts) parts 109 drivers/mtd/parsers/bcm63xxpart.c parts[curpart].name = "CFE"; parts 110 drivers/mtd/parsers/bcm63xxpart.c parts[curpart].offset = 0; parts 111 drivers/mtd/parsers/bcm63xxpart.c parts[curpart].size = cfelen; parts 114 drivers/mtd/parsers/bcm63xxpart.c parts[curpart].name = "nvram"; parts 115 drivers/mtd/parsers/bcm63xxpart.c parts[curpart].offset = master->size - nvramlen; parts 116 drivers/mtd/parsers/bcm63xxpart.c parts[curpart].size = nvramlen; parts 120 drivers/mtd/parsers/bcm63xxpart.c parts[curpart].name = "linux"; parts 121 drivers/mtd/parsers/bcm63xxpart.c parts[curpart].offset = cfelen; parts 122 drivers/mtd/parsers/bcm63xxpart.c parts[curpart].size = master->size - cfelen - nvramlen; parts 123 drivers/mtd/parsers/bcm63xxpart.c parts[curpart].types = bcm63xx_cfe_part_types; parts 127 drivers/mtd/parsers/bcm63xxpart.c parts[i].name, parts[i].offset, parts[i].size); parts 129 drivers/mtd/parsers/bcm63xxpart.c *pparts = parts; parts 63 drivers/mtd/parsers/cmdlinepart.c struct mtd_partition *parts; parts 89 drivers/mtd/parsers/cmdlinepart.c struct mtd_partition *parts; parts 162 drivers/mtd/parsers/cmdlinepart.c parts = newpart(s + 1, &s, num_parts, this_part + 1, parts 164 drivers/mtd/parsers/cmdlinepart.c if (IS_ERR(parts)) parts 165 drivers/mtd/parsers/cmdlinepart.c return parts; parts 174 drivers/mtd/parsers/cmdlinepart.c parts = kzalloc(alloc_size, GFP_KERNEL); parts 175 drivers/mtd/parsers/cmdlinepart.c if (!parts) parts 177 drivers/mtd/parsers/cmdlinepart.c extra_mem = (unsigned char *)(parts + *num_parts); parts 184 drivers/mtd/parsers/cmdlinepart.c parts[this_part].size = size; parts 185 drivers/mtd/parsers/cmdlinepart.c parts[this_part].offset = offset; parts 186 drivers/mtd/parsers/cmdlinepart.c parts[this_part].mask_flags = mask_flags; parts 191 drivers/mtd/parsers/cmdlinepart.c parts[this_part].name = extra_mem; parts 195 drivers/mtd/parsers/cmdlinepart.c this_part, parts[this_part].name, parts[this_part].offset, parts 196 drivers/mtd/parsers/cmdlinepart.c parts[this_part].size, parts[this_part].mask_flags)); parts 206 drivers/mtd/parsers/cmdlinepart.c return parts; parts 219 drivers/mtd/parsers/cmdlinepart.c struct mtd_partition *parts; parts 239 drivers/mtd/parsers/cmdlinepart.c parts = newpart(p + 1, /* cmdline */ parts 246 drivers/mtd/parsers/cmdlinepart.c if (IS_ERR(parts)) { parts 254 drivers/mtd/parsers/cmdlinepart.c return PTR_ERR(parts); parts 261 drivers/mtd/parsers/cmdlinepart.c this_mtd->parts = parts; parts 325 drivers/mtd/parsers/cmdlinepart.c if (part->parts[i].offset == OFFSET_CONTINUOUS) parts 326 drivers/mtd/parsers/cmdlinepart.c part->parts[i].offset = offset; parts 328 drivers/mtd/parsers/cmdlinepart.c offset = part->parts[i].offset; parts 330 drivers/mtd/parsers/cmdlinepart.c if (part->parts[i].size == SIZE_REMAINING) parts 331 drivers/mtd/parsers/cmdlinepart.c part->parts[i].size = master->size - offset; parts 333 drivers/mtd/parsers/cmdlinepart.c if (offset + part->parts[i].size > master->size) { parts 336 drivers/mtd/parsers/cmdlinepart.c part->parts[i].size = master->size - offset; parts 338 drivers/mtd/parsers/cmdlinepart.c offset += part->parts[i].size; parts 340 drivers/mtd/parsers/cmdlinepart.c if (part->parts[i].size == 0) { parts 344 drivers/mtd/parsers/cmdlinepart.c memmove(&part->parts[i], &part->parts[i + 1], parts 345 drivers/mtd/parsers/cmdlinepart.c sizeof(*part->parts) * (part->num_parts - i)); parts 350 drivers/mtd/parsers/cmdlinepart.c *pparts = kmemdup(part->parts, sizeof(*part->parts) * part->num_parts, parts 28 drivers/mtd/parsers/ofpart.c struct mtd_partition *parts; parts 70 drivers/mtd/parsers/ofpart.c parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); parts 71 drivers/mtd/parsers/ofpart.c if (!parts) parts 105 drivers/mtd/parsers/ofpart.c parts[i].offset = of_read_number(reg, a_cells); parts 106 drivers/mtd/parsers/ofpart.c parts[i].size = of_read_number(reg + a_cells, s_cells); parts 107 drivers/mtd/parsers/ofpart.c parts[i].of_node = pp; parts 112 drivers/mtd/parsers/ofpart.c parts[i].name = partname; parts 115 drivers/mtd/parsers/ofpart.c parts[i].mask_flags |= MTD_WRITEABLE; parts 118 drivers/mtd/parsers/ofpart.c parts[i].mask_flags |= MTD_POWERUP_LOCK; parts 126 drivers/mtd/parsers/ofpart.c *pparts = parts; parts 135 drivers/mtd/parsers/ofpart.c kfree(parts); parts 155 drivers/mtd/parsers/ofpart.c struct mtd_partition *parts; parts 176 drivers/mtd/parsers/ofpart.c parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); parts 177 drivers/mtd/parsers/ofpart.c if (!parts) parts 183 drivers/mtd/parsers/ofpart.c parts[i].offset = be32_to_cpu(part->offset); parts 184 drivers/mtd/parsers/ofpart.c parts[i].size = be32_to_cpu(part->len) & ~1; parts 187 drivers/mtd/parsers/ofpart.c parts[i].mask_flags = MTD_WRITEABLE; parts 192 drivers/mtd/parsers/ofpart.c parts[i].name = names; parts 196 drivers/mtd/parsers/ofpart.c parts[i].name = "unnamed"; parts 202 drivers/mtd/parsers/ofpart.c *pparts = parts; parts 66 drivers/mtd/parsers/parser_imagetag.c struct mtd_partition *parts; parts 149 drivers/mtd/parsers/parser_imagetag.c parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); parts 150 drivers/mtd/parsers/parser_imagetag.c if (!parts) { parts 161 drivers/mtd/parsers/parser_imagetag.c parts[kernelpart].name = "kernel"; parts 162 drivers/mtd/parsers/parser_imagetag.c parts[kernelpart].offset = kerneladdr; parts 163 drivers/mtd/parsers/parser_imagetag.c parts[kernelpart].size = kernellen; parts 172 drivers/mtd/parsers/parser_imagetag.c parts[rootfspart].name = "rootfs"; parts 173 drivers/mtd/parsers/parser_imagetag.c parts[rootfspart].offset = rootfsaddr; parts 174 drivers/mtd/parsers/parser_imagetag.c parts[rootfspart].size = rootfslen; parts 176 drivers/mtd/parsers/parser_imagetag.c parts[rootfspart].size += sparelen; parts 182 drivers/mtd/parsers/parser_imagetag.c parts[i].name, parts[i].offset, parts[i].size); parts 187 drivers/mtd/parsers/parser_imagetag.c *pparts = parts; parts 54 drivers/mtd/parsers/parser_trx.c struct mtd_partition *parts; parts 61 drivers/mtd/parsers/parser_trx.c parts = kcalloc(TRX_PARSER_MAX_PARTS, sizeof(struct mtd_partition), parts 63 drivers/mtd/parsers/parser_trx.c if (!parts) parts 69 drivers/mtd/parsers/parser_trx.c kfree(parts); parts 74 drivers/mtd/parsers/parser_trx.c kfree(parts); parts 80 drivers/mtd/parsers/parser_trx.c part = &parts[curr_part++]; parts 87 drivers/mtd/parsers/parser_trx.c part = &parts[curr_part++]; parts 94 drivers/mtd/parsers/parser_trx.c part = &parts[curr_part++]; parts 106 drivers/mtd/parsers/parser_trx.c parts[i + 1].offset : mtd->size; parts 108 drivers/mtd/parsers/parser_trx.c parts[i].size = next_part_offset - parts[i].offset; parts 111 drivers/mtd/parsers/parser_trx.c *pparts = parts; parts 72 drivers/mtd/parsers/redboot.c struct mtd_partition *parts; parts 237 drivers/mtd/parsers/redboot.c parts = kzalloc(sizeof(*parts)*nrparts + nulllen + namelen, GFP_KERNEL); parts 239 drivers/mtd/parsers/redboot.c if (!parts) { parts 244 drivers/mtd/parsers/redboot.c nullname = (char *)&parts[nrparts]; parts 256 drivers/mtd/parsers/redboot.c parts[0].name = nullname; parts 257 drivers/mtd/parsers/redboot.c parts[0].size = fl->img->flash_base; parts 258 drivers/mtd/parsers/redboot.c parts[0].offset = 0; parts 263 drivers/mtd/parsers/redboot.c parts[i].size = fl->img->size; parts 264 drivers/mtd/parsers/redboot.c parts[i].offset = fl->img->flash_base; parts 265 drivers/mtd/parsers/redboot.c parts[i].name = names; parts 272 drivers/mtd/parsers/redboot.c parts[i].mask_flags = MTD_WRITEABLE; parts 280 drivers/mtd/parsers/redboot.c parts[i].offset = parts[i-1].size + parts[i-1].offset; parts 281 drivers/mtd/parsers/redboot.c parts[i].size = fl->next->img->flash_base - parts[i].offset; parts 282 drivers/mtd/parsers/redboot.c parts[i].name = nullname; parts 290 drivers/mtd/parsers/redboot.c *pparts = parts; parts 5042 drivers/mtd/spi-nor/spi-nor.c return mtd_device_register(&nor->mtd, data ? data->parts : NULL, parts 67 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c struct mlxsw_sp1_kvdl_part *parts[MLXSW_SP1_KVDL_PARTS_INFO_LEN]; parts 78 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c part = kvdl->parts[i]; parts 95 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c part = kvdl->parts[i]; parts 254 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c kvdl->parts[i] = mlxsw_sp1_kvdl_part_init(mlxsw_sp, info, parts 256 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c if (IS_ERR(kvdl->parts[i])) { parts 257 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c err = PTR_ERR(kvdl->parts[i]); parts 260 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c part_prev = kvdl->parts[i]; parts 266 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c mlxsw_sp1_kvdl_part_fini(kvdl->parts[i]); parts 275 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c mlxsw_sp1_kvdl_part_fini(kvdl->parts[i]); parts 301 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c occ += mlxsw_sp1_kvdl_part_occ(kvdl->parts[i]); parts 311 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c part = kvdl->parts[MLXSW_SP1_KVDL_PART_ID_SINGLE]; parts 320 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c part = kvdl->parts[MLXSW_SP1_KVDL_PART_ID_CHUNKS]; parts 329 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c part = kvdl->parts[MLXSW_SP1_KVDL_PART_ID_LARGE_CHUNKS]; parts 52 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c struct mlxsw_sp2_kvdl_part *parts[MLXSW_SP2_KVDL_PARTS_INFO_LEN]; parts 151 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c struct mlxsw_sp2_kvdl_part *part = kvdl->parts[type]; parts 163 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c struct mlxsw_sp2_kvdl_part *part = kvdl->parts[type]; parts 229 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c kvdl->parts[i] = mlxsw_sp2_kvdl_part_init(mlxsw_sp, info); parts 230 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c if (IS_ERR(kvdl->parts[i])) { parts 231 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c err = PTR_ERR(kvdl->parts[i]); parts 239 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c mlxsw_sp2_kvdl_part_fini(kvdl->parts[i]); parts 248 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c mlxsw_sp2_kvdl_part_fini(kvdl->parts[i]); parts 6126 drivers/net/ethernet/sfc/ef10.c struct efx_mcdi_mtd_partition *parts; parts 6146 drivers/net/ethernet/sfc/ef10.c parts = kcalloc(n_parts_total, sizeof(*parts), GFP_KERNEL); parts 6147 drivers/net/ethernet/sfc/ef10.c if (!parts) parts 6154 drivers/net/ethernet/sfc/ef10.c rc = efx_ef10_mtd_probe_partition(efx, &parts[n_parts], type, parts 6163 drivers/net/ethernet/sfc/ef10.c rc = efx_mtd_add(efx, &parts[0].common, n_parts, sizeof(*parts)); parts 6166 drivers/net/ethernet/sfc/ef10.c kfree(parts); parts 255 drivers/net/ethernet/sfc/efx.h int efx_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts, parts 219 drivers/net/ethernet/sfc/falcon/efx.h int ef4_mtd_add(struct ef4_nic *efx, struct ef4_mtd_partition *parts, parts 924 drivers/net/ethernet/sfc/falcon/falcon.c struct falcon_mtd_partition *parts; parts 932 drivers/net/ethernet/sfc/falcon/falcon.c parts = kcalloc(2, sizeof(*parts), GFP_KERNEL); parts 933 drivers/net/ethernet/sfc/falcon/falcon.c if (!parts) parts 939 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].spi = spi; parts 940 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].offset = FALCON_FLASH_BOOTCODE_START; parts 941 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.dev_type_name = "flash"; parts 942 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.type_name = "sfc_flash_bootrom"; parts 943 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.mtd.type = MTD_NORFLASH; parts 944 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.mtd.flags = MTD_CAP_NORFLASH; parts 945 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.mtd.size = spi->size - FALCON_FLASH_BOOTCODE_START; parts 946 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.mtd.erasesize = spi->erase_size; parts 952 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].spi = spi; parts 953 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].offset = FALCON_EEPROM_BOOTCONFIG_START; parts 954 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.dev_type_name = "EEPROM"; parts 955 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.type_name = "sfc_bootconfig"; parts 956 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.mtd.type = MTD_RAM; parts 957 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.mtd.flags = MTD_CAP_RAM; parts 958 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.mtd.size = parts 961 drivers/net/ethernet/sfc/falcon/falcon.c parts[n_parts].common.mtd.erasesize = spi->erase_size; parts 965 drivers/net/ethernet/sfc/falcon/falcon.c rc = ef4_mtd_add(efx, &parts[0].common, n_parts, sizeof(*parts)); parts 967 drivers/net/ethernet/sfc/falcon/falcon.c kfree(parts); parts 54 drivers/net/ethernet/sfc/falcon/mtd.c int ef4_mtd_add(struct ef4_nic *efx, struct ef4_mtd_partition *parts, parts 61 drivers/net/ethernet/sfc/falcon/mtd.c part = (struct ef4_mtd_partition *)((char *)parts + parts 87 drivers/net/ethernet/sfc/falcon/mtd.c part = (struct ef4_mtd_partition *)((char *)parts + parts 97 drivers/net/ethernet/sfc/falcon/mtd.c struct ef4_mtd_partition *parts, *part, *next; parts 104 drivers/net/ethernet/sfc/falcon/mtd.c parts = list_first_entry(&efx->mtd_list, struct ef4_mtd_partition, parts 110 drivers/net/ethernet/sfc/falcon/mtd.c kfree(parts); parts 54 drivers/net/ethernet/sfc/mtd.c int efx_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts, parts 61 drivers/net/ethernet/sfc/mtd.c part = (struct efx_mtd_partition *)((char *)parts + parts 90 drivers/net/ethernet/sfc/mtd.c part = (struct efx_mtd_partition *)((char *)parts + parts 100 drivers/net/ethernet/sfc/mtd.c struct efx_mtd_partition *parts, *part, *next; parts 107 drivers/net/ethernet/sfc/mtd.c parts = list_first_entry(&efx->mtd_list, struct efx_mtd_partition, parts 113 drivers/net/ethernet/sfc/mtd.c kfree(parts); parts 884 drivers/net/ethernet/sfc/siena.c struct efx_mcdi_mtd_partition *parts, parts 897 drivers/net/ethernet/sfc/siena.c parts[i].fw_subtype = fw_subtype_list[parts[i].nvram_type]; parts 904 drivers/net/ethernet/sfc/siena.c struct efx_mcdi_mtd_partition *parts; parts 916 drivers/net/ethernet/sfc/siena.c parts = kcalloc(hweight32(nvram_types), sizeof(*parts), GFP_KERNEL); parts 917 drivers/net/ethernet/sfc/siena.c if (!parts) parts 925 drivers/net/ethernet/sfc/siena.c rc = siena_mtd_probe_partition(efx, &parts[n_parts], parts 936 drivers/net/ethernet/sfc/siena.c rc = siena_mtd_get_fw_subtypes(efx, parts, n_parts); parts 940 drivers/net/ethernet/sfc/siena.c rc = efx_mtd_add(efx, &parts[0].common, n_parts, sizeof(*parts)); parts 943 drivers/net/ethernet/sfc/siena.c kfree(parts); parts 138 drivers/pci/controller/pci-hyperv.c } parts; parts 45 drivers/regulator/qcom_rpm-regulator.c (((reg)->parts->fm.mask >> (reg)->parts->fm.shift) == 3) parts 53 drivers/regulator/qcom_rpm-regulator.c const struct rpm_reg_parts *parts; parts 203 drivers/regulator/qcom_rpm-regulator.c vreg->parts->request_len); parts 210 drivers/regulator/qcom_rpm-regulator.c const struct rpm_reg_parts *parts = vreg->parts; parts 211 drivers/regulator/qcom_rpm-regulator.c const struct request_member *req = &parts->mV; parts 237 drivers/regulator/qcom_rpm-regulator.c const struct rpm_reg_parts *parts = vreg->parts; parts 238 drivers/regulator/qcom_rpm-regulator.c const struct request_member *req = &parts->uV; parts 270 drivers/regulator/qcom_rpm-regulator.c const struct rpm_reg_parts *parts = vreg->parts; parts 271 drivers/regulator/qcom_rpm-regulator.c const struct request_member *req = &parts->mV; parts 289 drivers/regulator/qcom_rpm-regulator.c const struct rpm_reg_parts *parts = vreg->parts; parts 290 drivers/regulator/qcom_rpm-regulator.c const struct request_member *req = &parts->uV; parts 308 drivers/regulator/qcom_rpm-regulator.c const struct rpm_reg_parts *parts = vreg->parts; parts 309 drivers/regulator/qcom_rpm-regulator.c const struct request_member *req = &parts->enable_state; parts 327 drivers/regulator/qcom_rpm-regulator.c const struct rpm_reg_parts *parts = vreg->parts; parts 328 drivers/regulator/qcom_rpm-regulator.c const struct request_member *req = &parts->mV; parts 346 drivers/regulator/qcom_rpm-regulator.c const struct rpm_reg_parts *parts = vreg->parts; parts 347 drivers/regulator/qcom_rpm-regulator.c const struct request_member *req = &parts->uV; parts 365 drivers/regulator/qcom_rpm-regulator.c const struct rpm_reg_parts *parts = vreg->parts; parts 366 drivers/regulator/qcom_rpm-regulator.c const struct request_member *req = &parts->enable_state; parts 391 drivers/regulator/qcom_rpm-regulator.c const struct rpm_reg_parts *parts = vreg->parts; parts 392 drivers/regulator/qcom_rpm-regulator.c const struct request_member *req = &parts->ia; parts 450 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_ldo_parts, parts 460 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_ldo_parts, parts 470 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_smps_parts, parts 477 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_switch_parts, parts 488 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8660_ldo_parts, parts 498 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8660_ldo_parts, parts 508 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8660_smps_parts, parts 518 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8660_ncp_parts, parts 523 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8660_switch_parts, parts 534 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8660_ldo_parts, parts 544 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8660_ldo_parts, parts 554 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8660_smps_parts, parts 561 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8660_switch_parts, parts 572 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_ldo_parts, parts 582 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_ldo_parts, parts 592 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_ldo_parts, parts 602 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_smps_parts, parts 612 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_smps_parts, parts 622 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_ncp_parts, parts 627 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_switch_parts, parts 635 drivers/regulator/qcom_rpm-regulator.c .parts = &rpm8960_smps_parts, parts 677 drivers/regulator/qcom_rpm-regulator.c rpm_reg_set(vreg, &vreg->parts->freq, i + 1); parts 700 drivers/regulator/qcom_rpm-regulator.c ret = rpm_reg_set(vreg, &vreg->parts->pd, 1); parts 707 drivers/regulator/qcom_rpm-regulator.c if (vreg->parts->freq.mask) { parts 713 drivers/regulator/qcom_rpm-regulator.c if (vreg->parts->pm.mask) { parts 717 drivers/regulator/qcom_rpm-regulator.c ret = rpm_reg_set(vreg, &vreg->parts->pm, pwm); parts 724 drivers/regulator/qcom_rpm-regulator.c if (vreg->parts->fm.mask) { parts 771 drivers/regulator/qcom_rpm-regulator.c ret = rpm_reg_set(vreg, &vreg->parts->fm, force_mode); parts 169 drivers/spi/spi-butterfly.c .parts = partitions, parts 51 drivers/staging/kpc2000/kpc2000_spi.c .parts = p2kr0_spi0_parts, parts 56 drivers/staging/kpc2000/kpc2000_spi.c .parts = p2kr0_spi1_parts, parts 544 fs/f2fs/extent_cache.c int parts = 0; /* # of parts current extent split into */ parts 555 fs/f2fs/extent_cache.c parts = 1; parts 559 fs/f2fs/extent_cache.c if (parts) { parts 572 fs/f2fs/extent_cache.c parts++; parts 582 fs/f2fs/extent_cache.c if (parts) parts 592 fs/f2fs/extent_cache.c if (parts != 1) { parts 1295 fs/ntfs/layout.h } __attribute__ ((__packed__)) parts; parts 34 include/linux/cmdline-parser.h void cmdline_parts_free(struct cmdline_parts **parts); parts 36 include/linux/cmdline-parser.h int cmdline_parts_parse(struct cmdline_parts **parts, const char *cmdline); parts 38 include/linux/cmdline-parser.h struct cmdline_parts *cmdline_parts_find(struct cmdline_parts *parts, parts 41 include/linux/cmdline-parser.h int cmdline_parts_set(struct cmdline_parts *parts, sector_t disk_size, parts 24 include/linux/irqchip/irq-partition-percpu.h struct partition_affinity *parts, parts 38 include/linux/irqchip/irq-partition-percpu.h struct partition_affinity *parts, parts 26 include/linux/mtd/latch-addr-flash.h struct mtd_partition *parts; parts 564 include/linux/mtd/mtd.h #define mtd_device_register(master, parts, nr_parts) \ parts 565 include/linux/mtd/mtd.h mtd_device_parse_register(master, NULL, NULL, parts, nr_parts) parts 9 include/linux/mtd/nand-gpio.h struct mtd_partition *parts; parts 236 include/linux/mtd/onenand.h struct mtd_partition *parts; parts 88 include/linux/mtd/partitions.h const struct mtd_partition *parts; parts 27 include/linux/mtd/physmap.h struct mtd_partition *parts; parts 164 include/linux/mtd/sh_flctl.h struct mtd_partition *parts; parts 60 include/linux/platform_data/mtd-davinci.h struct mtd_partition *parts; parts 16 include/linux/platform_data/mtd-mxc_nand.h struct mtd_partition *parts; /* partition table */ parts 21 include/linux/platform_data/mtd-nand-pxa3xx.h const struct mtd_partition *parts; parts 14 include/linux/platform_data/mtd-orion_nand.h struct mtd_partition *parts; parts 24 include/linux/spi/flash.h struct mtd_partition *parts; parts 204 lib/stackdepot.c union handle_parts parts = { .handle = handle }; parts 205 lib/stackdepot.c void *slab = stack_slabs[parts.slabindex]; parts 206 lib/stackdepot.c size_t offset = parts.offset << STACK_ALLOC_ALIGN;