Home
last modified time | relevance | path

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

/illumos-gate/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()
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()
496 ((iparts[part_num - 1].begcyl & 0xff) | in get_attrs()
502 (unsigned int)iparts[part_num - 1].endhead) != 0) { in get_attrs()
[all …]
/illumos-gate/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.h246 char part_num[32]; member
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddisk_link.c520 int part_num; in disk_common() local
551 part_num = atoi(part + 1); in disk_common()
553 if ((mn[0] == 'p') && (part_num >= 5)) { in disk_common()
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c1458 find_x86_bootpar(struct mboot *mboot, int *part_num, uint32_t *start_sect) in find_x86_bootpar() argument
1469 if (part_num) in find_x86_bootpar()
1470 *part_num = i; in find_x86_bootpar()
/illumos-gate/usr/src/uts/common/io/bnx/570x/common/include/
H A Dshmem.h167 u8_t part_num[16]; /* Up to 16 bytes of NULL-terminated string */ member
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Ddev_info.h95 u8 part_num[16]; /* 0x104 */ member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c1157 (void) strncpy(vpd->part_num, buffer, in emlxs_parse_vpd()
1158 (sizeof (vpd->part_num)-1)); in emlxs_parse_vpd()
1161 vpd->part_num); in emlxs_parse_vpd()
H A Demlxs_sli3.c640 if (!rval && (vpd->part_num[0] != 0) && in emlxs_sli3_online()
641 (strcmp(&vpd->part_num[0], hba->model_info.model) != 0)) { in emlxs_sli3_online()
646 if (strcmp(&vpd->part_num[0], in emlxs_sli3_online()
1267 if (vpd->part_num[0] == 0) { in emlxs_sli3_online()
1268 (void) strncpy(vpd->part_num, hba->model_info.model, in emlxs_sli3_online()
1269 (sizeof (vpd->part_num)-1)); in emlxs_sli3_online()
H A Demlxs_sli4.c703 if (!rval && (vpd->part_num[0] != 0) && in emlxs_sli4_online()
704 (strcmp(&vpd->part_num[0], hba->model_info.model) != 0)) { in emlxs_sli4_online()
709 if (strcmp(&vpd->part_num[0], in emlxs_sli4_online()
1367 if (vpd->part_num[0] == 0) { in emlxs_sli4_online()
1368 (void) strncpy(vpd->part_num, hba->model_info.model, in emlxs_sli4_online()
1369 (sizeof (vpd->part_num)-1)); in emlxs_sli4_online()
H A Demlxs_solaris.c4800 (void) strncpy(vpd_out->part_num, vpd->part_num, in emlxs_fca_port_manage()
4801 (sizeof (vpd_out->part_num)-1)); in emlxs_fca_port_manage()
4839 (void) strncpy(vpd_out->part_num, vpd->part_num, in emlxs_fca_port_manage()
4840 (sizeof (vpd_out->part_num)-1)); in emlxs_fca_port_manage()
H A Demlxs_dfc.c3831 (void) strncpy(hbainfo->vpd_part_num, vpd->part_num, in emlxs_dfc_get_hbainfo()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore.h466 u32 part_num[4]; member
/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); 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()