Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libdiskmgt/common/
H A Dpartition.c423 int part_num; in get_attrs() local
436 part_num = atoi(p); in get_attrs()
437 if (part_num > TOTAL_NUMPART || in get_attrs()
438 iparts[part_num - 1].systid == UNUSED) { in get_attrs()
448 if (part_num > FD_NUMPART) { in get_attrs()
453 } else if (fdisk_is_dos_extended(iparts[part_num - 1].systid)) { in get_attrs()
476 (unsigned int)iparts[part_num - 1].bootid) != 0) { in get_attrs()
481 (unsigned int)iparts[part_num - 1].systid) != 0) { in get_attrs()
486 (unsigned int)iparts[part_num - 1].beghead) != 0) { in get_attrs()
491 (unsigned int)((iparts[part_num - 1].begsect) & 0x3f)) != 0) { in get_attrs()
[all …]
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fcio.h131 char part_num[32]; member
144 char part_num[256]; member
H A Demlxs_fc.h244 char part_num[32]; member
/titanic_50/usr/src/cmd/devfsadm/
H A Ddisk_link.c468 int part_num; in disk_common() local
499 part_num = atoi(part + 1); in disk_common()
501 if ((mn[0] == 'p') && (part_num >= 5)) { in disk_common()
/titanic_50/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c1450 find_x86_bootpar(struct mboot *mboot, int *part_num, uint32_t *start_sect) in find_x86_bootpar() argument
1461 if (part_num) in find_x86_bootpar()
1462 *part_num = i; in find_x86_bootpar()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Ddev_info.h95 u8 part_num[16]; /* 0x104 */ member
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c1150 (void) strncpy(vpd->part_num, buffer, in emlxs_parse_vpd()
1151 (sizeof (vpd->part_num)-1)); in emlxs_parse_vpd()
1154 vpd->part_num); in emlxs_parse_vpd()
H A Demlxs_sli3.c638 if (!rval && (vpd->part_num[0] != 0) && in emlxs_sli3_online()
639 (strcmp(&vpd->part_num[0], hba->model_info.model) != 0)) { in emlxs_sli3_online()
644 if (strcmp(&vpd->part_num[0], in emlxs_sli3_online()
1264 if (vpd->part_num[0] == 0) { in emlxs_sli3_online()
1265 (void) strncpy(vpd->part_num, hba->model_info.model, in emlxs_sli3_online()
1266 (sizeof (vpd->part_num)-1)); in emlxs_sli3_online()
H A Demlxs_solaris.c4787 (void) strncpy(vpd_out->part_num, vpd->part_num, in emlxs_fca_port_manage()
4788 (sizeof (vpd_out->part_num)-1)); in emlxs_fca_port_manage()
4826 (void) strncpy(vpd_out->part_num, vpd->part_num, in emlxs_fca_port_manage()
4827 (sizeof (vpd_out->part_num)-1)); in emlxs_fca_port_manage()
H A Demlxs_sli4.c647 if (!rval && (vpd->part_num[0] != 0) && in emlxs_sli4_online()
648 (strcmp(&vpd->part_num[0], hba->model_info.model) != 0)) { in emlxs_sli4_online()
653 if (strcmp(&vpd->part_num[0], in emlxs_sli4_online()
1310 if (vpd->part_num[0] == 0) { in emlxs_sli4_online()
1311 (void) strncpy(vpd->part_num, hba->model_info.model, in emlxs_sli4_online()
1312 (sizeof (vpd->part_num)-1)); in emlxs_sli4_online()
H A Demlxs_dfc.c3780 (void) strncpy(hbainfo->vpd_part_num, vpd->part_num, in emlxs_dfc_get_hbainfo()
/titanic_50/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); in lm_get_shmem_shared_hw_config()
1943 OFFSETOF(shmem_region_t, dev_info.shared_hw_config.part_num)+4,&val); in lm_get_shmem_shared_hw_config()
1950 OFFSETOF(shmem_region_t, dev_info.shared_hw_config.part_num)+8,&val); in lm_get_shmem_shared_hw_config()
1957 OFFSETOF(shmem_region_t, dev_info.shared_hw_config.part_num)+12,&val); in lm_get_shmem_shared_hw_config()