Home
last modified time | relevance | path

Searched refs:BSD_MAXPARTITIONS (Results 1 – 15 of 15) sorted by relevance

/dports/sysutils/linrename/util-linux-2.25.2/libblkid/src/partitions/
H A Dbsd.c37 int i, nparts = BSD_MAXPARTITIONS; in probe_bsd_pt()
87 if (le16_to_cpu(l->d_npartitions) < BSD_MAXPARTITIONS) in probe_bsd_pt()
90 else if (le16_to_cpu(l->d_npartitions) > BSD_MAXPARTITIONS) in probe_bsd_pt()
93 le16_to_cpu(l->d_npartitions) - BSD_MAXPARTITIONS)); in probe_bsd_pt()
/dports/devel/util-linux/util-linux-2.36/libblkid/src/partitions/
H A Dbsd.c37 int i, nparts = BSD_MAXPARTITIONS; in probe_bsd_pt()
89 if (le16_to_cpu(l->d_npartitions) < BSD_MAXPARTITIONS) in probe_bsd_pt()
92 else if (le16_to_cpu(l->d_npartitions) > BSD_MAXPARTITIONS) in probe_bsd_pt()
95 le16_to_cpu(l->d_npartitions) - BSD_MAXPARTITIONS)); in probe_bsd_pt()
/dports/sysutils/busybox/busybox-1.26.2/util-linux/
H A Dfdisk_osf.c40 #ifndef BSD_MAXPARTITIONS
41 #define BSD_MAXPARTITIONS 16 macro
128 } d_partitions[BSD_MAXPARTITIONS]; /* actually may be more */
802 if (xbsd_dlabel.d_npartitions == BSD_MAXPARTITIONS) { in xbsd_check_new_partition()
805 for (t = 0; t < BSD_MAXPARTITIONS; t++) in xbsd_check_new_partition()
809 if (t == BSD_MAXPARTITIONS) { in xbsd_check_new_partition()
815 *i = xbsd_get_part_index(BSD_MAXPARTITIONS); in xbsd_check_new_partition()
943 for (t = d->d_npartitions; t < BSD_MAXPARTITIONS; t++) { in xbsd_readlabel()
949 if (d->d_npartitions > BSD_MAXPARTITIONS) in xbsd_readlabel()
951 d->d_npartitions, BSD_MAXPARTITIONS); in xbsd_readlabel()
/dports/devel/util-linux/util-linux-2.36/include/
H A Dpt-bsd.h4 #define BSD_MAXPARTITIONS 16 macro
96 } __attribute__((packed)) d_partitions[BSD_MAXPARTITIONS]; /* actually may be more */
/dports/sysutils/linrename/util-linux-2.25.2/include/
H A Dpt-bsd.h4 #define BSD_MAXPARTITIONS 16 macro
96 } __attribute__((packed)) d_partitions[BSD_MAXPARTITIONS]; /* actually may be more */
/dports/sysutils/linrename/util-linux-2.25.2/libfdisk/src/
H A Dbsd.c209 if (i >= BSD_MAXPARTITIONS) in bsd_add_partition()
332 cxt->label->nparts_max = BSD_MAXPARTITIONS; in bsd_create_disklabel()
705 for (t = d->d_npartitions; t < BSD_MAXPARTITIONS; t++) { in bsd_readlabel()
711 if (d->d_npartitions > BSD_MAXPARTITIONS) in bsd_readlabel()
713 d->d_npartitions, BSD_MAXPARTITIONS); in bsd_readlabel()
721 cxt->label->nparts_max = BSD_MAXPARTITIONS; in bsd_readlabel()
813 if (i >= BSD_MAXPARTITIONS) in fdisk_bsd_link_partition()
860 if (partnum >= BSD_MAXPARTITIONS) in bsd_partition_is_used()
/dports/devel/util-linux/util-linux-2.36/libfdisk/src/
H A Dbsd.c234 if (i >= BSD_MAXPARTITIONS) in bsd_add_partition()
401 cxt->label->nparts_max = BSD_MAXPARTITIONS; in bsd_create_disklabel()
855 for (t = d->d_npartitions; t < BSD_MAXPARTITIONS; t++) { in bsd_readlabel()
861 if (d->d_npartitions > BSD_MAXPARTITIONS) in bsd_readlabel()
863 d->d_npartitions, BSD_MAXPARTITIONS); in bsd_readlabel()
874 cxt->label->nparts_max = BSD_MAXPARTITIONS; in bsd_readlabel()
974 if (i >= BSD_MAXPARTITIONS) in fdisk_bsd_link_partition()
1001 if (partnum >= BSD_MAXPARTITIONS) in bsd_partition_is_used()
/dports/sysutils/testdisk/testdisk-7.1/src/
H A Dbsd.c132 if(test_BSD(disk_car,bsd_header,partition,verbose,dump_ind,BSD_MAXPARTITIONS)==0) in recover_BSD()
135 for(i=0;i<BSD_MAXPARTITIONS;i++) in recover_BSD()
H A Dcommon.h449 #ifndef BSD_MAXPARTITIONS
450 #define BSD_MAXPARTITIONS 8 macro
H A Dpartnone.c374 ret=check_BSD(disk_car,partition,verbose,BSD_MAXPARTITIONS); in check_part_none()
H A Dparti386.c1565 ret=check_BSD(disk_car,partition,verbose,BSD_MAXPARTITIONS); in check_part_i386()
1592 ret=check_BSD(disk_car,partition,verbose,BSD_MAXPARTITIONS); in check_part_i386()
/dports/multimedia/v4l-utils/linux-5.13-rc2/block/partitions/
H A Dmsdos.c305 #define BSD_MAXPARTITIONS 16 macro
348 } d_partitions[BSD_MAXPARTITIONS]; /* actually may be more */
414 parse_bsd(state, offset, size, origin, "bsd", BSD_MAXPARTITIONS); in parse_freebsd()
422 parse_bsd(state, offset, size, origin, "netbsd", BSD_MAXPARTITIONS); in parse_netbsd()
/dports/multimedia/v4l_compat/linux-5.13-rc2/block/partitions/
H A Dmsdos.c305 #define BSD_MAXPARTITIONS 16 macro
348 } d_partitions[BSD_MAXPARTITIONS]; /* actually may be more */
414 parse_bsd(state, offset, size, origin, "bsd", BSD_MAXPARTITIONS); in parse_freebsd()
422 parse_bsd(state, offset, size, origin, "netbsd", BSD_MAXPARTITIONS); in parse_netbsd()
/dports/multimedia/libv4l/linux-5.13-rc2/block/partitions/
H A Dmsdos.c305 #define BSD_MAXPARTITIONS 16 macro
348 } d_partitions[BSD_MAXPARTITIONS]; /* actually may be more */
414 parse_bsd(state, offset, size, origin, "bsd", BSD_MAXPARTITIONS); in parse_freebsd()
422 parse_bsd(state, offset, size, origin, "netbsd", BSD_MAXPARTITIONS); in parse_netbsd()
/dports/sysutils/linrename/util-linux-2.25.2/disk-utils/
H A Dsfdisk.c1442 #define BSD_MAXPARTITIONS 16 macro
1464 } d_partitions[BSD_MAXPARTITIONS]; /* actually may be more */
1483 while (bp - bp0 < BSD_MAXPARTITIONS && bp - bp0 < l->d_npartitions) { in bsd_partition()