Searched refs:partition (Results 1 - 25 of 77) sorted by relevance

1234

/freebsd-current/lib/libc/posix1e/
H A Dmac.conf15 default_labels process ?biba,?lomac,?mls,?partition,?sebsd
/freebsd-current/stand/common/
H A Ddisk.c96 * As the GPT backup partition is located at the end of the disk,
234 int rc, slice, partition; local
262 partition = dev->d_partition;
264 DPRINTF("%s unit %d, slice %d, partition %d => %p", disk_fmtdev(dev),
271 DPRINTF("Can't read partition table");
283 partition >= 0) {
285 rc = ptable_getpart(od->table, &part, partition);
294 /* Try to get information about partition */
305 partition = D_PARTISGPT;
307 } else if (partition
415 int unit, slice, partition; local
[all...]
/freebsd-current/contrib/llvm-project/lld/ELF/
H A DMarkLive.cpp47 MarkLive(unsigned partition) : partition(partition) {} argument
63 // The index of the partition that we are currently processing.
64 unsigned partition; member in class:__anon1189::MarkLive
193 if (sec->partition == 1 || sec->partition == partition)
195 sec->partition = sec->partition
[all...]
H A DInputSection.h65 uint8_t partition = 1; member in class:lld::elf::SectionBase
69 // The 1-indexed partition that this section is assigned to by the garbage
71 // partition, so this will either be 0 or 1.
92 bool isLive() const { return partition != 0; }
93 void markLive() { partition = 1; }
94 void markDead() { partition = 0; }
/freebsd-current/sbin/newfs/
H A Dnewfs.h111 * partition on the underlying media (file or disk). The value is used as
118 * partition offset itself when calling the underlying function, pwrite().
123 extern ufs2_daddr_t part_ofs; /* partition offset in blocks */
125 void mkfs (struct partition *, char *);
/freebsd-current/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_res_part.c36 dev, "Failed to enable SYM partition.\n");
62 adf_enable_sym_threads(struct adf_accel_dev *accel_dev, u32 ae, u32 partition) argument
68 u32 part_group = partition / ADF_C4XXX_PARTS_PER_GRP;
70 (BIT(partition % ADF_C4XXX_PARTS_PER_GRP));
80 adf_enable_asym_threads(struct adf_accel_dev *accel_dev, u32 ae, u32 partition) argument
86 u32 part_group = partition / ADF_C4XXX_PARTS_PER_GRP;
88 (BIT(partition % ADF_C4XXX_PARTS_PER_GRP));
100 adf_enable_dc_threads(struct adf_accel_dev *accel_dev, u32 ae, u32 partition) argument
106 u32 part_group = partition / ADF_C4XXX_PARTS_PER_GRP;
108 (BIT(partition
[all...]
/freebsd-current/sys/i386/include/
H A Dbootinfo.h74 * adaptor (uba, mba, etc), unit number and partition number.
100 #define MAKEBOOTDEV(type, slice, unit, partition) \
102 ((unit) << B_UNITSHIFT) | ((partition) << B_PARTITIONSHIFT) | \
/freebsd-current/sys/sys/
H A Ddisklabel.h157 void bsd_partition_le_dec(u_char *ptr, struct partition *d);
159 void bsd_partition_le_enc(u_char *ptr, struct partition *d);
/freebsd-current/stand/uboot/
H A Dmain.c174 * Parse a device string into type, unit, slice and partition numbers. A
180 * The returned values for slice and partition are interpreted by
186 * disk<unit>s<slice><partition> disk1s2a
187 * disk<unit>p<partition> disk0p4
198 * <type_name><unit>:<slice>.<partition> DEV_TYP_STOR
205 get_load_device(int *type, int *unit, int *slice, int *partition) argument
215 *partition = D_PARTWILD;
247 *partition = dev->d_partition;
286 /* No slice and partition specification. */
309 /* No partition specificatio
345 char partition[32]; local
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inuse/
H A Dinuse_004_pos.ksh37 # format will disallow modification of a mounted zfs disk partition or a spare
77 format -e -s -d $disk -f <(printf '%s\n' partition modify)
81 log_assert "format will disallow modification of a mounted zfs disk partition"\
/freebsd-current/stand/i386/mbr/
H A Dmbr.S16 # A 512 byte MBR boot manager that simply boots the active partition.
40 # we load in the bootstrap from the partition to boot.
52 # Scan the partition table looking for an active entry. Note that %ch is
54 # the active partition in %si and scan the entire table to ensure that only
55 # one partition is marked active.
57 main: xorw %si,%si # No active partition
72 # Ok, we've found a possible active partition. Check to see that the drive
83 # Ok, now that we have a valid drive and partition entry, load the CHS from
84 # the partition entry and read the sector from the disk.
128 err_pt: movw $msg_pt,%si # "Invalid partition
[all...]
/freebsd-current/sbin/fdisk/
H A Dfdisk.c118 static int a_flag = 0; /* set active partition */
120 static int i_flag = 0; /* replace partition data */
122 static int u_flag = 0; /* update partition data */
130 * A list of partition types, probably outdated.
142 [0x09] = "AIX boot partition or Coherent",
155 [0x1b] = "ASUS Recovery partition (NTFS)",
185 [0x81] = "Minix since 1.4b, early Linux partition or Mitac disk manager",
212 [0xE1] = "DOS access or SpeedStor with 12-bit FAT extended partition",
214 [0xE4] = "SpeedStor with 16-bit FAT extended partition < 1024 cyl.",
220 [0xF4] = "SpeedStor large partition",
265 int partition = -1; local
1126 int status = 0, partition; local
1265 int status = 0, partition, i; local
[all...]
/freebsd-current/usr.sbin/bsdinstall/partedit/
H A Dscripted.c67 char *partition, *ap, *size = NULL, *type = NULL, *mount = NULL; local
123 while ((partition = strsep(&config, ",")) != NULL) {
124 while ((ap = strsep(&partition, " \t\n")) != NULL) {
173 fprintf(stderr, "Malformed partition setup "
/freebsd-current/contrib/llvm-project/libcxx/include/__algorithm/
H A Dranges_partition.h14 #include <__algorithm/partition.h>
78 inline constexpr auto partition = __partition::__fn{}; member in namespace:ranges::__cpo
H A Dpartition.h80 partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { function
/freebsd-current/stand/i386/pmbr/
H A Dpmbr.S33 # A 512 byte PMBR boot manager that looks for a FreeBSD boot GPT partition
50 .set PART_ADDR,GPT_ADDR+SECSIZE # GPT partition array address
123 # Load a partition table sector from disk and look for a FreeBSD boot
124 # partition.
129 scan: movw %bx,%si # Compare partition UUID
133 jnz next_part # Didn't match, next partition
135 # We found a boot partition. Load it into RAM starting at 0x7c00.
137 movw %bx,%di # Save partition pointer in %di
164 # Move to the next partition. If we walk off the end of the sector, load
165 # the next sector. We assume that partition entrie
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dufssuspend.sh66 continue; /* skip to freeze RDONLY partition */
H A Dnamecache2.sh85 * disk partition, to demonstrate a FreeBSD namecache bug. I have never seen
86 * this bug happen with an NFS partition.
/freebsd-current/sys/sys/disk/
H A Dbsd.h44 /* partition containing whole disk */
47 /* partition normally containing swap */
115 /* filesystem and partition information: */
119 struct partition { /* the partition table */ struct in struct:disklabel
120 uint32_t p_size; /* number of sectors in partition */
151 * per-partition information.
166 #define FS_BOOT 13 /* partition contains bootstrap */
/freebsd-current/contrib/googletest/googletest/test/
H A Dgoogletest-filter-unittest.py269 """Asserts that list_of_sets is a valid partition of set_var."""
350 partition = []
355 partition.append(tests_run)
357 self.AssertPartitionIsValid(tests_to_run, partition)
/freebsd-current/usr.sbin/bsdinstall/scripts/
H A Dauto60 msg_shell_desc="Open a shell and partition by hand"
191 [ -f /usr/libexec/bsdinstall/local.pre-partition ] && f_dprintf "Running local.pre-partition" && sh /usr/libexec/bsdinstall/local.pre-partition "$BSDINSTALL_CHROOT"
308 --menu "How would you like to partition your disk?" \
323 echo "Use this shell to set up partitions for the new system. When finished, mount the system at $BSDINSTALL_CHROOT and place an fstab file for the new system at $PATH_FSTAB. Then type 'exit'. You can also enter the partition editor at any time by entering 'bsdinstall partedit'."
/freebsd-current/sbin/camcontrol/
H A Dattrib.c121 int partition = 0; local
226 partition = strtol(optarg, &endptr, 0);
228 warnx("%s: invalid partition number %s",
322 /*partition*/ partition,
/freebsd-current/contrib/ntp/sntp/unity/auto/
H A Dunity_test_summary.rb125 opts, args = ARGV.partition {|v| v =~ /^--\w+/}
/freebsd-current/sys/cam/scsi/
H A Dscsi_sa.h185 uint8_t partition; member in struct:scsi_allow_overwrite
362 uint8_t partition; member in struct:scsi_tape_position_data
379 uint8_t partition[4]; member in struct:scsi_tape_position_long_data
394 uint8_t partition; member in struct:scsi_tape_position_ext_data
413 uint8_t partition; member in struct:scsi_tape_locate
431 uint8_t partition; member in struct:scsi_locate_16
1043 int64_t partition, uint32_t block_address,
1049 uint8_t dest_type, int bam, int64_t partition,
1075 int partition, uint64_t logical_id,
/freebsd-current/sys/geom/
H A Dgeom_bsd_enc.c39 * Functions to encode and decode struct disklabel and struct partition into
56 bsd_partition_le_dec(u_char *ptr, struct partition *d)
135 bsd_partition_le_enc(u_char *ptr, struct partition *d)

Completed in 208 milliseconds

1234