/freebsd-13-stable/tests/sys/cddl/zfs/tests/txg_integrity/ |
H A D | make_patterns.py | 16 partitions = [] 17 while len(partitions) != NUM_CHUNKS: 20 partitions = sorted( 27 return partitions
|
H A D | fsync_integrity.c | 96 //partitions describes the boundaries between chunks. Each element is a 98 //between chunk n and chunk n-1 is (FSIZE * partitions[n-1] / (1<<31) . 99 //partitions[-1] is understood to be 0 and partitions[NUM_CHUNKS] must be 1.0 100 //partitions is sorted, of course. 102 //multiple values of FSIZE, partitions values must be aligned to multiples of 104 uint32_t partitions[NUM_CHUNKS]; member in struct:__anon16188 121 *begin = (uint32_t)((uint64_t)FSIZE * (uint64_t)pat->partitions[chunk - 1] >> 31); 123 *end = (uint32_t)((uint64_t)FSIZE * (uint64_t)pat->partitions[chunk] >> 31);
|
H A D | txg_integrity.c | 88 //partitions describes the boundaries between chunks. Each element is a 90 //between chunk n and chunk n-1 is (FSIZE * partitions[n-1] / (1<<31) . 91 //partitions[-1] is understood to be 0 and partitions[NUM_CHUNKS] must be 1.0 92 //partitions is sorted, of course. 94 //multiple values of FSIZE, partitions values must be aligned to multiples of 96 uint32_t partitions[NUM_CHUNKS]; member in struct:__anon16190 111 *begin = (uint32_t)((uint64_t)FSIZE * (uint64_t)pat->partitions[chunk - 1] >> 31); 113 *end = (uint32_t)((uint64_t)FSIZE * (uint64_t)pat->partitions[chunk] >> 31);
|
/freebsd-13-stable/usr.sbin/bsdinstall/partedit/ |
H A D | diskeditor.c | 40 print_partedit_item(WINDOW *partitions, struct partedit_item *items, argument 47 wattrset(partitions, selected ? item_selected_attr : item_attr); 48 wmove(partitions, y, MARGIN + items[item].indentation*2); 49 dlg_print_text(partitions, items[item].name, 10, &attr); 50 wmove(partitions, y, 17); 51 wattrset(partitions, item_attr); 55 dlg_print_text(partitions, sizetext, 8, &attr); 56 wmove(partitions, y, 25); 57 dlg_print_text(partitions, items[item].type, 15, &attr); 58 wmove(partitions, 67 WINDOW *dialog, *partitions; local [all...] |
/freebsd-13-stable/contrib/dialog/samples/install/ |
H A D | setup.c | 29 /* max number of possible Linux/Swap/MsDos partitions */ 68 /* We support to install from DOS/Linux-partitions. */ 80 } partitions[MAX_PARTS]; variable in typeref:struct:partition 122 char *t = partitions[num_partition].name; 135 partitions[num_partition].blocks = atoi(t); 137 partitions[num_partition].type = Linux; 141 partitions[num_partition].type = Swap; 145 partitions[num_partition].type = MsDos; 167 if (partitions[i].type == Linux) { 168 items[num * 2] = partitions[ [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/ELF/ |
H A D | Writer.cpp | 182 for (unsigned part = 2; part != partitions.size() + 1; ++part) { 347 for (size_t i = 1; i <= partitions.size(); ++i) { 395 for (Partition &part : partitions) { 476 if (partitions.size() != 1) { 478 // so that it is sorted after all other partitions. It also has other 605 for (Partition &part : partitions) 613 for (Partition &part : partitions) 1105 for (Partition &part : partitions) { 1140 for (Partition &part : partitions) { 1687 for (Partition &part : partitions) [all...] |
H A D | MarkLive.cpp | 378 for (unsigned curPart = 1; curPart <= partitions.size(); ++curPart) 381 // If we have multiple partitions, some sections need to live in the main 384 if (partitions.size() != 1)
|
H A D | SyntheticSections.cpp | 2019 // themselves. All other partitions use a lookup table. 2071 // -emit-relocs and dynsyms in partitions other than the main one. 3693 // Loadable partitions are always ET_DYN. 3716 return 12 * (partitions.size() - 1); 3720 for (size_t i = 1; i != partitions.size(); ++i) 3721 partitions[i].nameStrTab = mainPart->dynStrTab->addString(partitions[i].name); 3726 for (size_t i = 1; i != partitions.size(); ++i) { 3727 write32(buf, mainPart->dynStrTab->getVA() + partitions[i].nameStrTab - va); 3728 write32(buf + 4, partitions[ [all...] |
H A D | Driver.cpp | 108 partitions = {Partition()}; 1131 error("--lto-partitions: number of threads must be > 0"); 1667 // https://lld.llvm.org/Partitions.html for more details on partitions. 1680 for (Partition &part : partitions) { 1687 // Forbid partitions from being used on incompatible targets, and forbid them 1692 ": partitions cannot be used with the SECTIONS command"); 1695 ": partitions cannot be used with the PHDRS command"); 1697 error(toString(s->file) + ": partitions cannot be used with " 1700 error(toString(s->file) + ": partitions cannot be used on this target"); 1702 // Impose a limit of no more than 254 partitions [all...] |
H A D | InputSection.h | 34 extern std::vector<Partition> partitions;
|
H A D | SyntheticSections.h | 1184 unsigned getNumber() const { return this - &partitions[0] + 1; } 1191 return partitions[partition - 1];
|
H A D | LinkerScript.cpp | 471 for (Partition &part : partitions) {
|
/freebsd-13-stable/usr.sbin/bsdinstall/scripts/ |
H A D | auto | 47 msg_auto_ufs_help="Menu options help choose which disk to setup using UFS and standard partitions" 53 msg_gpt_active_fix="Your hardware is known to have issues booting in CSM/Legacy/BIOS mode from GPT partitions that are not set active. Would you like the installer to apply this workaround for you?" 54 msg_lenovo_fix="Your model of Lenovo is known to have a BIOS bug that prevents it booting from GPT partitions without UEFI. Would you like the installer to apply a workaround for you?" 57 msg_manual_help="Create customized partitions from menu options" 62 msg_shell_help="Create customized partitions using command-line utilities" 333 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-13-stable/sys/geom/part/ |
H A D | g_part_ldm.c | 171 * partitions in the GEOM_PART meaning. But volume VBLK does not 180 * Also each component can contain several partitions (spanned or 189 LIST_HEAD(, ldm_partition) partitions; 1108 LIST_INSERT_HEAD(&comp->partitions, 1319 /* Check that we have LDM partitions in the MBR */ 1326 LDM_DEBUG(2, "%s: LDM data partitions found in MBR", 1415 part = LIST_FIRST(&comp->partitions); 1422 "%ju has %u partitions. Skipped",
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 103 STATISTIC(NumAllocaPartitions, "Number of alloca partitions formed"); 104 STATISTIC(MaxPartitionsPerAlloca, "Maximum number of partitions per alloca"); 147 /// or not when forming partitions of the alloca. 264 // partitions. 266 iterator_range<partition_iterator> partitions(); 406 /// partitions. 410 /// An iterator over partitions of the alloca's slices. 424 /// Most of the state for walking the partitions is held in a class 489 // subsequent partitions. 546 // partitions [all...] |