Searched refs:part_num (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c423 int part_num; local
436 part_num = atoi(p);
437 if (part_num > TOTAL_NUMPART ||
438 iparts[part_num - 1].systid == UNUSED) {
448 if (part_num > FD_NUMPART) {
453 } else if (fdisk_is_dos_extended(iparts[part_num - 1].systid)) {
476 (unsigned int)iparts[part_num - 1].bootid) != 0) {
481 (unsigned int)iparts[part_num - 1].systid) != 0) {
486 (unsigned int)iparts[part_num - 1].beghead) != 0) {
491 (unsigned int)((iparts[part_num
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fcio.h131 char part_num[32]; member in struct:emlxs_vpd_desc
144 char part_num[256]; member in struct:emlxs_vpd_desc_v2
H A Demlxs_fc.h244 char part_num[32]; member in struct:emlxs_vpd
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddisk_link.c520 int part_num; local
551 part_num = atoi(part + 1);
553 if ((mn[0] == 'p') && (part_num >= 5)) {
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c1458 find_x86_bootpar(struct mboot *mboot, int *part_num, uint32_t *start_sect) argument
1469 if (part_num)
1470 *part_num = i;
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c1150 (void) strncpy(vpd->part_num, buffer,
1151 (sizeof (vpd->part_num)-1));
1154 vpd->part_num);
H A Demlxs_sli3.c616 * for V2 and part_num hold the value for PN. These
638 if (!rval && (vpd->part_num[0] != 0) &&
639 (strcmp(&vpd->part_num[0], hba->model_info.model) != 0)) {
644 if (strcmp(&vpd->part_num[0],
1264 if (vpd->part_num[0] == 0) {
1265 (void) strncpy(vpd->part_num, hba->model_info.model,
1266 (sizeof (vpd->part_num)-1));
H A Demlxs_sli4.c625 * for V2 and part_num hold the value for PN. These
647 if (!rval && (vpd->part_num[0] != 0) &&
648 (strcmp(&vpd->part_num[0], hba->model_info.model) != 0)) {
653 if (strcmp(&vpd->part_num[0],
1310 if (vpd->part_num[0] == 0) {
1311 (void) strncpy(vpd->part_num, hba->model_info.model,
1312 (sizeof (vpd->part_num)-1));
H A Demlxs_solaris.c4787 (void) strncpy(vpd_out->part_num, vpd->part_num,
4788 (sizeof (vpd_out->part_num)-1));
4826 (void) strncpy(vpd_out->part_num, vpd->part_num,
4827 (sizeof (vpd_out->part_num)-1));
H A Demlxs_dfc.c3780 (void) strncpy(hbainfo->vpd_part_num, vpd->part_num,
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_devinfo.c1936 OFFSETOF(shmem_region_t, dev_info.shared_hw_config.part_num),&val);
1943 OFFSETOF(shmem_region_t, dev_info.shared_hw_config.part_num)+4,&val);
1950 OFFSETOF(shmem_region_t, dev_info.shared_hw_config.part_num)+8,&val);
1957 OFFSETOF(shmem_region_t, dev_info.shared_hw_config.part_num)+12,&val);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Ddev_info.h95 u8 part_num[16]; /* 0x104 */ member in struct:shared_hw_cfg

Completed in 177 milliseconds