/linux/include/uapi/linux/ |
H A D | fsl_hypervisor.h | 1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */ 5 * Copyright (C) 2008-2011 Freescale Semiconductor, Inc. 47 * struct fsl_hv_ioctl_restart - restart a partition 49 * @partition: the ID of the partition to restart, or -1 for the 50 * calling partition 56 __u32 partition; member 60 * struct fsl_hv_ioctl_status - get a partition's status 62 * @partition: the ID of the partition to query, or -1 for the 63 * calling partition 64 * @status: The returned status of the partition [all …]
|
/linux/block/partitions/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # Partition configuration 5 menu "Partition Types" 8 bool "Advanced partition selection" 21 bool "Acorn partition support" if PARTITION_ADVANCED 27 bool "Cumana partition support" if PARTITION_ADVANCED 35 bool "EESOX partition support" if PARTITION_ADVANCED 40 bool "ICS partition support" if PARTITION_ADVANCED 48 bool "Native filecore partition support" if PARTITION_ADVANCED 53 RiscOS operating system which runs on Acorn's ARM-based Risc PC [all …]
|
H A D | msdos.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1991-1998 Linus Torvalds 9 * in the early extended-partition checks and added DM partitions 14 * /dev/hda *must* have a "DOS" type 0x51 partition in the first slot (hda1). 16 * More flexible handling of extended partitions - aeb, 950831 18 * Check partition table on IDE disks for common CHS translations 20 * Re-organised Feb 1998 Russell King 36 * the nr_sects and start_sect partition table entries are 43 return (sector_t)get_unaligned_le32(&p->nr_sects); in nr_sects() 48 return (sector_t)get_unaligned_le32(&p->start_sect); in start_sect() [all …]
|
/linux/arch/arm64/boot/dts/amd/ |
H A D | elba-flash-parts.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 * Copyright 2020-2023 Advanced Micro Devices, Inc. 8 compatible = "fixed-partitions"; 9 #address-cells = <1>; 10 #size-cells = <1>; 11 partition@0 { 14 read-only; 17 partition@10000 { 22 partition@f0000 { 27 partition@100000 { [all …]
|
/linux/Documentation/devicetree/bindings/mtd/partitions/ |
H A D | fixed-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/fixed-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 on-flash partition table such as RedBoot. 14 The partition table should be a node named "partitions". Partitions are then 18 - Rafał Miłecki <rafal@milecki.pl> 23 - const: fixed-partitions 24 - items: 25 - const: sercomm,sc-partitions [all …]
|
H A D | partition.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/partition.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Partition 10 This binding describes a single flash partition. Each partition must have its 11 relative offset and size specified. Depending on partition function extra 14 A partition may be dynamically allocated by a specific parser at runtime. 16 Everything after 'partition-' will be used as the partition name to compare 18 If the partition contains invalid char a label can be provided that will [all …]
|
/linux/drivers/net/wireless/ti/wl1251/ |
H A D | io.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 * a chip-specific register address, so look it up in the registers in wl1251_translate_reg_addr() 36 return -EINVAL; in wl1251_translate_reg_addr() 41 return addr - wl->physical_reg_addr + wl->virtual_reg_addr; in wl1251_translate_reg_addr() 46 return addr - wl->physical_mem_addr + wl->virtual_mem_addr; in wl1251_translate_mem_addr() 55 wl->if_ops->read(wl, physical, buf, len); in wl1251_mem_read() 64 wl->if_ops->write(wl, physical, buf, len); in wl1251_mem_write() 89 * There are two VIRTUAL partitions (the memory partition and the 90 * registers partition), which are mapped to two different areas of the 93 * memory partition comes before the register partition, but the opposite is [all …]
|
/linux/drivers/mtd/parsers/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 This provides partition parsing for BCM63xx devices with CFE 19 tristate "Broadcom's U-Boot partition parser" 22 Broadcom uses a custom way of storing U-Boot environment variables. 23 They are placed inside U-Boot partition itself at unspecified offset. 29 tristate "Command line partition table parsing" 32 Allow generic configuration of the MTD partition tables via the kernel 44 <mtddef> := <mtd-id>:<partdef>[,<partdef>] 46 <mtd-id> := unique id used in mapping driver/device 47 <size> := standard linux memsize OR "-" to denote all [all …]
|
H A D | qcomsmempart.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Qualcomm SMEM NAND flash partition parser 28 * struct smem_flash_pentry - SMEM Flash partition entry 29 * @name: Name of the partition 31 * @length: Length of the partition in blocks 32 * @attr: Flags for this partition 42 * struct smem_flash_ptable - SMEM Flash partition table 43 * @magic1: Partition table Magic 1 44 * @magic2: Partition table Magic 2 45 * @version: Partition table version [all …]
|
H A D | cmdlinepart.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Read flash partition table from command line 5 * Copyright © 2002 SYSGO Real-Time Solutions GmbH 6 * Copyright © 2002-2010 David Woodhouse <dwmw2@infradead.org> 11 * <mtddef> := <mtd-id>:<partdef>[,<partdef>] 13 * <mtd-id> := unique name used in mapping driver/device (mtd->name) 14 * <size> := standard linux memsize OR "-" to denote all remaining space 31 * 1 NOR Flash, with 1 single writable partition: 32 * edb7312-nor:- 35 * edb7312-nor:256k(ARMboot)ro,-(root);edb7312-nand:-(home) [all …]
|
/linux/include/linux/mtd/ |
H A D | partitions.h | 16 * Partition definition structure: 18 * An array of struct partition is passed along with a MTD object to 21 * For each partition, these fields are available: 22 * name: string that will be used to label the partition's MTD device. 25 * partition that contains at least kernel and rootfs. In such case an 29 * size: the partition size; if defined as MTDPART_SIZ_FULL, the partition 32 * defined as MTDPART_OFS_APPEND, the partition will start where the 35 * after the end of partition. 37 * master MTD flag set for the corresponding MTD partition. 38 * For example, to force a read-only partition, simply adding [all …]
|
/linux/drivers/md/dm-vdo/ |
H A D | encodings.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include "memory-alloc.h" 15 #include "status-codes.h" 130 .size = VDO_SUPER_BLOCK_FIXED_SIZE - VDO_ENCODED_HEADER_SIZE, 134 * validate_version() - Check whether a version matches an expected version. 162 * vdo_validate_header() - Check whether a header matches expectations. 181 if (expected_header->id != actual_header->id) { in vdo_validate_header() 184 name, expected_header->id, in vdo_validate_header() 185 actual_header->id); in vdo_validate_header() 188 result = validate_version(expected_header->version, actual_header->version, in vdo_validate_header() [all …]
|
/linux/fs/hfsplus/ |
H A D | part_tbl.c | 4 * Copyright (C) 1996-1997 Paul H. Hargrove 8 * Original code to handle the new style Mac partition table based on 12 * a structure means that the pointer is non-NULL and the structure it 22 #define HFS_PMAP_BLK 1 /* First block of partition map */ 23 #define HFS_MDB_BLK 2 /* Block (w/i partition) of MDB */ 27 #define HFS_OLD_PMAP_MAGIC 0x5453 /* "TS": old-type partition map */ 28 #define HFS_NEW_PMAP_MAGIC 0x504D /* "PM": new-type partition map */ 33 * The new style Mac partition map 35 * For each partition on the media there is a physical block (512-byte 42 __be32 pmMapBlkCnt; /* partition blocks count */ [all …]
|
/linux/Documentation/misc-devices/ |
H A D | ibmvmc.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 21 https://openpowerfoundation.org/wp-content/uploads/2016/05/LoPAPR_DRAFT_v11_24March2016_cmt1.pdf 24 interface between the hypervisor and a management partition. This interface 25 is like a message passing interface. This management partition is intended 27 Console (HMC) - based system management. 31 packaged as an external tower or rack-mounted personal computer. In a 33 processor-based systems. 36 ---------------------- 38 In the management partition, a management application exists which enables 43 The management application runs on a Linux logical partition on a [all …]
|
/linux/drivers/mtd/maps/ |
H A D | vmu-flash.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* vmu-flash.c 5 * Copyright (c) Adrian McMenamin 2002 - 2009 25 int partition; member 44 int partition; member 57 struct mtd_info *mtd, int partition) in ofs_to_block() argument 65 mpart = mtd->priv; in ofs_to_block() 66 mdev = mpart->mdev; in ofs_to_block() 69 if (src_ofs >= card->parts[partition].numblocks * card->blocklen) in ofs_to_block() 72 num = src_ofs / card->blocklen; in ofs_to_block() [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | fsl_hcalls.h | 4 * Copyright 2008-2010 Freescale Semiconductor, Inc. 74 * 32-bit integer on a 32-bit platform, and a 64-bit integer on a 64-bit 79 * input/output registers are represented with "+r". Output-only registers 86 * fh_send_nmi - send NMI to virtual cpu(s). 112 * fh_partition_get_dtprop - get a property from a guest device tree. 113 * @handle: handle of partition whose device tree is to be accessed 119 * Returns zero on success, non-zero on error. 167 * @handle: handle of partition whose device tree is to be accessed 173 * Returns zero on success, non-zero on error. 219 * fh_partition_restart - reboot the current partition [all …]
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | p1022ds.dtsi | 2 * P1022 DS Device Tree Source stub (no addresses or top-level ranges) 37 #address-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 41 bank-width = <2>; 42 device-width = <1>; 44 partition@0 { 46 label = "ramdisk-nor"; 47 read-only; 50 partition@3000000 { [all …]
|
H A D | mpc8536ds.dtsi | 2 * MPC8536DS Device Tree Source stub (no addresses or top-level ranges) 37 #address-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 41 bank-width = <2>; 42 device-width = <1>; 44 partition@0 { 46 label = "ramdisk-nor"; 49 partition@3000000 { 51 label = "diagnostic-nor"; [all …]
|
H A D | p1024rdb.dtsi | 2 * P1024 RDB Device Tree Source stub (no addresses or top-level ranges) 37 #address-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 41 bank-width = <2>; 42 device-width = <1>; 44 partition@0 { 48 label = "NOR Vitesse-7385 Firmware"; 49 read-only; 52 partition@40000 { [all …]
|
H A D | p1021rdb-pc.dtsi | 2 * P1021 RDB Device Tree Source stub (no addresses or top-level ranges) 37 #address-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 41 bank-width = <2>; 42 device-width = <1>; 44 partition@0 { 48 label = "NOR Vitesse-7385 Firmware"; 49 read-only; 52 partition@40000 { [all …]
|
H A D | p1020rdb.dtsi | 2 * P1020 RDB Device Tree Source stub (no addresses or top-level ranges) 4 * Copyright 2011-2012 Freescale Semiconductor Inc. 37 #address-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 41 bank-width = <2>; 42 device-width = <1>; 44 partition@0 { 48 label = "NOR (RO) Vitesse-7385 Firmware"; 49 read-only; [all …]
|
H A D | p1020rdb-pc.dtsi | 2 * P1020 RDB-PC Device Tree Source stub (no addresses or top-level ranges) 37 #address-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 41 bank-width = <2>; 42 device-width = <1>; 44 partition@0 { 48 label = "NOR Vitesse-7385 Firmware"; 49 read-only; 52 partition@40000 { [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | nvram_64.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 42 struct list_head partition; member 51 .name = "ibm,rtas-log", 54 .index = -1, 60 .name = "lnx,oops-log", 63 .index = -1, 69 "ibm,rtas-log", 71 "lnx,oops-log", 95 * +- oops_buf 96 * | +- oops_data [all …]
|
/linux/fs/hfs/ |
H A D | part_tbl.c | 4 * Copyright (C) 1996-1997 Paul H. Hargrove 8 * Original code to handle the new style Mac partition table based on 15 * The new style Mac partition map 17 * For each partition on the media there is a physical block (512-byte 24 __be32 pmMapBlkCnt; /* partition blocks count */ 25 __be32 pmPyPartStart; /* physical block start of partition */ 26 __be32 pmPartBlkCnt; /* physical block count of partition */ 29 partition */ 32 partition */ 37 * The old style Mac partition map [all …]
|
/linux/drivers/misc/sgi-xp/ |
H A D | xpc_partition.c | 7 * Copyright (c) 2004-2008 Silicon Graphics, Inc. All Rights Reserved. 11 * Cross Partition Communication (XPC) partition support. 28 /* this partition's reserved page pointers */ 63 * Given a nasid, get the physical address of the partition's reserved page 127 * Fill the partition reserved page with the information needed by 146 return -ESRCH; in xpc_setup_rsvd_page() 150 if (rp->SAL_version < 3) { in xpc_setup_rsvd_page() 152 rp->SAL_partid &= 0xff; in xpc_setup_rsvd_page() 154 BUG_ON(rp->SAL_partid != xp_partition_id); in xpc_setup_rsvd_page() 156 if (rp->SAL_partid < 0 || rp->SAL_partid >= xp_max_npartitions) { in xpc_setup_rsvd_page() [all …]
|