/openbmc/linux/block/partitions/ |
H A D | cmdline.c | 105 static void free_subpart(struct cmdline_parts *parts) in free_subpart() argument 109 while (parts->subpart) { in free_subpart() 110 subpart = parts->subpart; in free_subpart() 111 parts->subpart = subpart->next_subpart; in free_subpart() 116 static int parse_parts(struct cmdline_parts **parts, char *bdevdef) in parse_parts() argument 123 *parts = NULL; in parse_parts() 155 *parts = newparts; in parse_parts() 164 static void cmdline_parts_free(struct cmdline_parts **parts) in cmdline_parts_free() argument 168 while (*parts) { in cmdline_parts_free() 169 next_parts = (*parts)->next_parts; in cmdline_parts_free() [all …]
|
/openbmc/rest-dbus/ |
H A D | rest-dbus | 222 def dispatch_bus(self, parts): 224 if not parts: 227 self.bus_name = parts.pop(0) 234 if not parts: 237 bus_name = parts.pop(0) 239 if not parts: 245 while parts: 246 if '.' in parts[0]: 248 object_path += '/' + parts.pop(0) 252 if not parts: [all …]
|
/openbmc/linux/arch/mips/alchemy/devboards/ |
H A D | platform.c | 157 struct mtd_partition *parts; in db1x_register_norflash() local 165 parts = kcalloc(5, sizeof(struct mtd_partition), GFP_KERNEL); in db1x_register_norflash() 166 if (!parts) in db1x_register_norflash() 192 parts[i].offset = 0; in db1x_register_norflash() 193 parts[i].name = "User FS"; in db1x_register_norflash() 194 parts[i].size = size / 2; in db1x_register_norflash() 198 parts[i].offset = MTDPART_OFS_APPEND; in db1x_register_norflash() 199 parts[i].name = "User FS 2"; in db1x_register_norflash() 200 parts[i].size = (size / 2) - (0x20000000 - 0x1fc00000); in db1x_register_norflash() 203 parts[i].offset = MTDPART_OFS_APPEND; in db1x_register_norflash() [all …]
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | cmdlinepart.c | 23 * <size> and <offset> can be specified such that the parts are out of order 26 * The parts are assigned MTD numbers in the order they are specified in the 63 struct mtd_partition *parts; member 89 struct mtd_partition *parts; in newpart() local 169 parts = newpart(s + 1, &s, num_parts, this_part + 1, in newpart() 171 if (IS_ERR(parts)) in newpart() 172 return parts; in newpart() 181 parts = kzalloc(alloc_size, GFP_KERNEL); in newpart() 182 if (!parts) in newpart() 184 extra_mem = (unsigned char *)(parts + *num_parts); in newpart() [all …]
|
H A D | ofpart_core.c | 23 int (*post_parse)(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts); 47 struct mtd_partition *parts; in parse_fixed_partitions() local 97 parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); in parse_fixed_partitions() 98 if (!parts) in parse_fixed_partitions() 151 parts[i].offset = of_read_number(reg, a_cells); in parse_fixed_partitions() 152 parts[i].size = of_read_number(reg + a_cells, s_cells); in parse_fixed_partitions() 153 parts[i].of_node = pp; in parse_fixed_partitions() 158 parts[i].name = partname; in parse_fixed_partitions() 161 parts[i].mask_flags |= MTD_WRITEABLE; in parse_fixed_partitions() 164 parts[i].mask_flags |= MTD_POWERUP_LOCK; in parse_fixed_partitions() [all …]
|
H A D | bcm63xxpart.c | 83 struct mtd_partition *parts; in bcm63xx_parse_cfe_nor_partitions() local 96 parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); in bcm63xx_parse_cfe_nor_partitions() 97 if (!parts) in bcm63xx_parse_cfe_nor_partitions() 101 parts[curpart].name = "CFE"; in bcm63xx_parse_cfe_nor_partitions() 102 parts[curpart].offset = 0; in bcm63xx_parse_cfe_nor_partitions() 103 parts[curpart].size = cfelen; in bcm63xx_parse_cfe_nor_partitions() 106 parts[curpart].name = "nvram"; in bcm63xx_parse_cfe_nor_partitions() 107 parts[curpart].offset = master->size - nvramlen; in bcm63xx_parse_cfe_nor_partitions() 108 parts[curpart].size = nvramlen; in bcm63xx_parse_cfe_nor_partitions() 112 parts[curpart].name = "linux"; in bcm63xx_parse_cfe_nor_partitions() [all …]
|
H A D | parser_trx.c | 55 struct mtd_partition *parts; in parser_trx_parse() local 68 parts = kcalloc(TRX_PARSER_MAX_PARTS, sizeof(struct mtd_partition), in parser_trx_parse() 70 if (!parts) in parser_trx_parse() 76 kfree(parts); in parser_trx_parse() 81 kfree(parts); in parser_trx_parse() 87 part = &parts[curr_part++]; in parser_trx_parse() 94 part = &parts[curr_part++]; in parser_trx_parse() 101 part = &parts[curr_part++]; in parser_trx_parse() 113 parts[i + 1].offset : mtd->size; in parser_trx_parse() 115 parts[i].size = next_part_offset - parts[i].offset; in parser_trx_parse() [all …]
|
H A D | parser_imagetag.c | 66 struct mtd_partition *parts; in bcm963xx_parse_imagetag_partitions() local 153 parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); in bcm963xx_parse_imagetag_partitions() 154 if (!parts) { in bcm963xx_parse_imagetag_partitions() 165 parts[kernelpart].name = "kernel"; in bcm963xx_parse_imagetag_partitions() 166 parts[kernelpart].offset = kerneladdr; in bcm963xx_parse_imagetag_partitions() 167 parts[kernelpart].size = kernellen; in bcm963xx_parse_imagetag_partitions() 176 parts[rootfspart].name = "rootfs"; in bcm963xx_parse_imagetag_partitions() 177 parts[rootfspart].offset = rootfsaddr; in bcm963xx_parse_imagetag_partitions() 178 parts[rootfspart].size = rootfslen; in bcm963xx_parse_imagetag_partitions() 180 parts[rootfspart].size += sparelen; in bcm963xx_parse_imagetag_partitions() [all …]
|
H A D | tplink_safeloader.c | 77 struct mtd_partition *parts; in mtd_parser_tplink_safeloader_parse() local 85 parts = kcalloc(TPLINK_SAFELOADER_MAX_PARTS, sizeof(*parts), GFP_KERNEL); in mtd_parser_tplink_safeloader_parse() 86 if (!parts) { in mtd_parser_tplink_safeloader_parse() 100 name, &parts[idx].offset, &parts[idx].size, &bytes) == 3; in mtd_parser_tplink_safeloader_parse() 102 parts[idx].name = kstrdup(name, GFP_KERNEL); in mtd_parser_tplink_safeloader_parse() 103 if (!parts[idx].name) { in mtd_parser_tplink_safeloader_parse() 114 *pparts = parts; in mtd_parser_tplink_safeloader_parse() 120 kfree(parts[idx].name); in mtd_parser_tplink_safeloader_parse() 122 kfree(parts); in mtd_parser_tplink_safeloader_parse()
|
H A D | bcm47xxpart.c | 90 struct mtd_partition *parts; in bcm47xxpart_parse() local 109 parts = kcalloc(BCM47XXPART_MAX_PARTS, sizeof(struct mtd_partition), in bcm47xxpart_parse() 111 if (!parts) in bcm47xxpart_parse() 116 kfree(parts); in bcm47xxpart_parse() 144 bcm47xxpart_add_part(&parts[curr_part++], "boot", in bcm47xxpart_parse() 154 bcm47xxpart_add_part(&parts[curr_part++], "board_data", in bcm47xxpart_parse() 161 bcm47xxpart_add_part(&parts[curr_part++], "factory", in bcm47xxpart_parse() 169 bcm47xxpart_add_part(&parts[curr_part++], "POT", offset, in bcm47xxpart_parse() 177 bcm47xxpart_add_part(&parts[curr_part++], "ML", offset, in bcm47xxpart_parse() 193 bcm47xxpart_add_part(&parts[curr_part++], "firmware", in bcm47xxpart_parse() [all …]
|
H A D | redboot.c | 78 struct mtd_partition *parts; in parse_redboot_partitions() local 242 parts = kzalloc(sizeof(*parts) * nrparts + nulllen + namelen, GFP_KERNEL); in parse_redboot_partitions() 244 if (!parts) { in parse_redboot_partitions() 249 nullname = (char *)&parts[nrparts]; in parse_redboot_partitions() 260 parts[0].name = nullname; in parse_redboot_partitions() 261 parts[0].size = fl->img->flash_base; in parse_redboot_partitions() 262 parts[0].offset = 0; in parse_redboot_partitions() 267 parts[i].size = fl->img->size; in parse_redboot_partitions() 268 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions() 269 parts[i].name = names; in parse_redboot_partitions() [all …]
|
H A D | brcm_u-boot.c | 34 struct mtd_partition *parts; in brcm_u_boot_parse() local 40 parts = kcalloc(BRCM_U_BOOT_MAX_PARTS, sizeof(*parts), GFP_KERNEL); in brcm_u_boot_parse() 41 if (!parts) in brcm_u_boot_parse() 56 parts[i].name = names[i]; in brcm_u_boot_parse() 57 parts[i].offset = offset; in brcm_u_boot_parse() 58 parts[i].size = sizeof(header) + le32_to_cpu(header.length); in brcm_u_boot_parse() 66 *pparts = parts; in brcm_u_boot_parse()
|
H A D | scpart.c | 148 struct mtd_partition *parts = NULL; in scpart_parse() local 174 parts = kcalloc(of_get_child_count(ofpart_node), sizeof(*parts), in scpart_parse() 176 if (!parts) { in scpart_parse() 196 parts[nr_parts].offset = scpart_map[n].part_offs; in scpart_parse() 197 parts[nr_parts].size = scpart_map[n].part_bytes; in scpart_parse() 198 parts[nr_parts].of_node = pp; in scpart_parse() 201 parts[nr_parts].name = partname; in scpart_parse() 203 parts[nr_parts].mask_flags |= MTD_WRITEABLE; in scpart_parse() 205 parts[nr_parts].mask_flags |= MTD_POWERUP_LOCK; in scpart_parse() 214 *pparts = parts; in scpart_parse() [all …]
|
H A D | qcomsmempart.c | 65 struct mtd_partition *parts; in parse_qcomsmem_part() local 126 parts = kcalloc(numparts, sizeof(*parts), GFP_KERNEL); in parse_qcomsmem_part() 127 if (!parts) in parse_qcomsmem_part() 145 parts[j].name = name; in parse_qcomsmem_part() 146 parts[j].offset = le32_to_cpu(pentry->offset) * mtd->erasesize; in parse_qcomsmem_part() 147 parts[j].mask_flags = pentry->attr; in parse_qcomsmem_part() 148 parts[j].size = le32_to_cpu(pentry->length) * mtd->erasesize; in parse_qcomsmem_part() 157 *pparts = parts; in parse_qcomsmem_part() 163 kfree(parts[j].name); in parse_qcomsmem_part() 164 kfree(parts); in parse_qcomsmem_part()
|
H A D | ofpart_bcm4908.c | 50 int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) in bcm4908_partitions_post_parse() argument 58 if (of_device_is_compatible(parts[i].of_node, "brcm,bcm4908-firmware")) { in bcm4908_partitions_post_parse() 59 if (fw_offset < 0 || parts[i].offset == fw_offset) in bcm4908_partitions_post_parse() 60 parts[i].name = "firmware"; in bcm4908_partitions_post_parse() 62 parts[i].name = "backup"; in bcm4908_partitions_post_parse()
|
/openbmc/linux/drivers/regulator/ |
H A D | qcom_rpm-regulator.c | 45 (((reg)->parts->fm.mask >> (reg)->parts->fm.shift) == 3) 53 const struct rpm_reg_parts *parts; member 203 vreg->parts->request_len); in rpm_reg_write() 210 const struct rpm_reg_parts *parts = vreg->parts; in rpm_reg_set_mV_sel() local 211 const struct request_member *req = &parts->mV; in rpm_reg_set_mV_sel() 237 const struct rpm_reg_parts *parts = vreg->parts; in rpm_reg_set_uV_sel() local 238 const struct request_member *req = &parts->uV; in rpm_reg_set_uV_sel() 270 const struct rpm_reg_parts *parts = vreg->parts; in rpm_reg_mV_enable() local 271 const struct request_member *req = &parts->mV; in rpm_reg_mV_enable() 289 const struct rpm_reg_parts *parts = vreg->parts; in rpm_reg_uV_enable() local [all …]
|
/openbmc/qemu/qom/ |
H A D | container.c | 30 char **parts; in container_get() local 33 parts = g_strsplit(path, "/", 0); in container_get() 34 assert(parts != NULL && parts[0] != NULL && !parts[0][0]); in container_get() 37 for (i = 1; parts[i] != NULL; i++, obj = child) { in container_get() 38 child = object_resolve_path_component(obj, parts[i]); in container_get() 41 object_property_add_child(obj, parts[i], child); in container_get() 46 g_strfreev(parts); in container_get()
|
/openbmc/openbmc/poky/meta/recipes-support/debianutils/ |
H A D | debianutils_5.20.bb | 30 for app in run-parts; do 39 PACKAGES =+ "${PN}-run-parts" 40 FILES:${PN}-run-parts = "${base_bindir}/run-parts.debianutils" 42 RDEPENDS:${PN} += "${PN}-run-parts" 48 ALTERNATIVE_PRIORITY_${PN}-run-parts = "60" 49 ALTERNATIVE:${PN}-run-parts = "run-parts" 54 ALTERNATIVE_LINK_NAME[run-parts] = "${base_bindir}/run-parts"
|
/openbmc/openpower-pnor-code-mgmt/test/ |
H A D | test_item_updater_static.cpp | 94 auto parts = utils::getPartsToClear(info); in TEST() local 95 EXPECT_EQ(11, parts.size()); in TEST() 97 EXPECT_EQ("HBEL", parts[0].first); in TEST() 98 EXPECT_TRUE(parts[0].second); in TEST() 100 EXPECT_EQ("GUARD", parts[1].first); in TEST() 101 EXPECT_TRUE(parts[1].second); in TEST() 103 EXPECT_EQ("NVRAM", parts[2].first); in TEST() 104 EXPECT_FALSE(parts[2].second); in TEST() 106 EXPECT_EQ("HB_VOLATILE", parts[10].first); in TEST() 107 EXPECT_TRUE(parts[10].second); in TEST() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/files/ |
H A D | generate-srcuri.py | 26 parts = urllib.parse.urlparse(repo_url) 27 protocol = parts.scheme 28 parts = parts._replace(scheme="git") 29 url = urllib.parse.urlunparse(parts) 85 parts = urllib.parse.urlparse(repo.url) 86 protocol = parts.scheme 87 parts = parts._replace(scheme="git") 88 url = urllib.parse.urlunparse(parts)
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | intel-family.h | 24 * - regular client parts 25 * _L - regular mobile parts 26 * _G - parts with extra graphics on 27 * _X - regular server parts 28 * _D - micro server parts 29 * _N,_P - other mobile parts 30 * _H - premium mobile parts 31 * _S - other client parts 35 * _EP - 2 socket server parts 36 * _EX - 4+ socket server parts [all...] |
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum1_kvdl.c | 67 struct mlxsw_sp1_kvdl_part *parts[MLXSW_SP1_KVDL_PARTS_INFO_LEN]; member 78 part = kvdl->parts[i]; in mlxsw_sp1_kvdl_alloc_size_part() 95 part = kvdl->parts[i]; in mlxsw_sp1_kvdl_index_part() 253 kvdl->parts[i] = mlxsw_sp1_kvdl_part_init(mlxsw_sp, info, in mlxsw_sp1_kvdl_parts_init() 255 if (IS_ERR(kvdl->parts[i])) { in mlxsw_sp1_kvdl_parts_init() 256 err = PTR_ERR(kvdl->parts[i]); in mlxsw_sp1_kvdl_parts_init() 259 part_prev = kvdl->parts[i]; in mlxsw_sp1_kvdl_parts_init() 265 mlxsw_sp1_kvdl_part_fini(kvdl->parts[i]); in mlxsw_sp1_kvdl_parts_init() 274 mlxsw_sp1_kvdl_part_fini(kvdl->parts[i]); in mlxsw_sp1_kvdl_parts_fini() 300 occ += mlxsw_sp1_kvdl_part_occ(kvdl->parts[i]); in mlxsw_sp1_kvdl_occ_get() [all …]
|
/openbmc/openbmc/poky/scripts/tiny/ |
H A D | ksize.py | 56 r.parts.append(oreport) 62 r.parts.append(Report.create(f, path, str(path) + "/*/built-in.[o,a]")) 63 r.parts.sort(reverse=True) 65 for b in r.parts: 82 self.parts = [] 93 for p in self.parts: 146 for b in vmlinux.parts: 147 if b.totals["total"] > 0 and len(b.parts) > 1: 150 for d in b.parts: 151 if d.totals["total"] > 0 and len(d.parts) > 1:
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | stackdepot.py | 26 parts = handle.cast(handle_parts_t) 27 offset = parts['offset'] << DEPOT_STACK_ALIGN 30 if parts['pool_index'] > pool_index_cached: 31 …gdb.write("pool index %d out of bounds (%d) for stack id 0x%08x\n" % (parts['pool_index'], pool_in… 37 pool = stack_pools[parts['pool_index']]
|
/openbmc/openbmc/poky/meta/recipes-extended/cronie/cronie/ |
H A D | crontab | 11 # 1 * * * * root cd / && run-parts /etc/cron.hourly 12 # 30 7 * * * root cd / && run-parts /etc/cron.daily 13 # 42 7 * * 7 root cd / && run-parts /etc/cron.weekly 14 # 55 7 1 * * root cd / && run-parts /etc/cron.monthly
|