Home
last modified time | relevance | path

Searched refs:part_type (Results 1 – 10 of 10) sorted by relevance

/freebsd/usr.sbin/bsdinstall/partedit/
H A Dpartedit_powerpc.c54 is_scheme_bootable(const char *part_type) { in is_scheme_bootable() argument
59 if (strcmp(platform, "powermac") == 0 && strcmp(part_type, "APM") == 0) in is_scheme_bootable()
61 if (strcmp(platform, "powernv") == 0 && strcmp(part_type, "GPT") == 0) in is_scheme_bootable()
64 (strcmp(part_type, "MBR") == 0 || strcmp(part_type, "BSD") == 0 || in is_scheme_bootable()
65 strcmp(part_type, "GPT") == 0)) in is_scheme_bootable()
67 if (strcmp(platform, "mpc85xx") == 0 && strcmp(part_type, "MBR") == 0) in is_scheme_bootable()
74 is_fs_bootable(const char *part_type, const char *fs) in is_fs_bootable() argument
83 bootpart_size(const char *part_type) in bootpart_size() argument
89 if (strcmp(part_type, "APM") == 0) in bootpart_size()
91 if (strcmp(part_type, "BSD") == 0) /* Nothing for nested */ in bootpart_size()
[all …]
H A Dpartedit_x86.c64 is_scheme_bootable(const char *part_type) in is_scheme_bootable() argument
67 if (strcmp(part_type, "GPT") == 0) in is_scheme_bootable()
70 if (strcmp(part_type, "BSD") == 0) in is_scheme_bootable()
72 if (strcmp(part_type, "MBR") == 0) in is_scheme_bootable()
80 is_fs_bootable(const char *part_type, const char *fs) in is_fs_bootable() argument
87 strcmp(part_type, "GPT") == 0 && in is_fs_bootable()
123 bootcode_path(const char *part_type) in bootcode_path() argument
129 if (strcmp(part_type, "GPT") == 0) in bootcode_path()
131 if (strcmp(part_type, "MBR") == 0) in bootcode_path()
133 if (strcmp(part_type, "BSD") == 0) in bootcode_path()
[all …]
H A Dpartedit_generic.c44 is_scheme_bootable(const char *part_type) { in is_scheme_bootable() argument
54 is_fs_bootable(const char *part_type, const char *fs) { in is_fs_bootable() argument
61 bootpart_size(const char *part_type) { in bootpart_size() argument
71 bootcode_path(const char *part_type) { in bootcode_path() argument
76 partcode_path(const char *part_type, const char *fs_type) { in partcode_path() argument
H A Dpartedit_efi.c51 is_scheme_bootable(const char *part_type) in is_scheme_bootable() argument
54 if (strcmp(part_type, "GPT") == 0) in is_scheme_bootable()
61 is_fs_bootable(const char *part_type, const char *fs) in is_fs_bootable() argument
91 bootcode_path(const char *part_type) in bootcode_path() argument
98 partcode_path(const char *part_type, const char *fs_type) in partcode_path() argument
/freebsd/sys/dev/cxgb/common/
H A Dcxgb_mc5.c364 switch (mc5->part_type) { in t3_mc5_init()
372 CH_ERR(adap, "Unsupported TCAM type %d\n", mc5->part_type); in t3_mc5_init()
397 if (mc5->part_type == IDT75P52100) in t3_read_mc5_range()
399 else if (mc5->part_type == IDT75N43102) in t3_read_mc5_range()
486 mc5->part_type = (unsigned char) G_TMTYPE(cfg); in t3_mc5_prep()
488 mc5->part_type |= 4; in t3_mc5_prep()
H A Dcxgb_common.h448 unsigned char part_type; member
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_partition_tbl.c369 long part_type; in get_mbr() local
392 part_type = strtol(conf->lg_val, NULL, 10); in get_mbr()
393 if (part_type == HR_FREEBSD_PART_TYPE) in get_mbr()
/freebsd/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c586 const char *part_name, const char *part_type) in cd9660_write_apm_partition_entry() argument
614 fwrite(part_type, strlen(part_type) + 1, 1, fd); in cd9660_write_apm_partition_entry()
615 fseek(fd, 32 - strlen(part_type) - 1, SEEK_CUR); in cd9660_write_apm_partition_entry()
/freebsd/sys/geom/part/
H A Dg_part_ldm.c194 uint8_t part_type; /* partition type */ member
957 blk->u.vol.part_type = p[offset + 4]; in ldm_vblk_handle()
1447 entry->type = vol->part_type; in g_part_ldm_read()
1455 vol->part_type); in g_part_ldm_read()
/freebsd/sys/cam/mmc/
H A Dmmc_da.c1144 *part_type(u_int type) in part_type() function
1515 part_type(type), in sdda_add_part()