/titanic_44/usr/src/uts/sun4v/io/ |
H A D | vdsk_common.c | 64 #define VD_EFI_GPE_LEN(vdisk, nparts) \ argument 65 ((((sizeof (efi_gpe_t) * (nparts) - 1) / (vdisk)->block_size) + 1) * \ 134 vd_efi_swap_gpe(efi_gpe_t *gpe, int nparts) in vd_efi_swap_gpe() argument 138 for (i = 0; i < nparts; i++) { in vd_efi_swap_gpe() 215 int nparts, status; in vd_efi_alloc_and_read() local 286 nparts = gpt->efi_gpt_NumberOfPartitionEntries; in vd_efi_alloc_and_read() 288 if (nparts > NDKMAP + 1) { in vd_efi_alloc_and_read() 289 VD_EFI_DEBUG("Too many EFI partitions (%u)", nparts); in vd_efi_alloc_and_read() 294 if (nparts == 0) { in vd_efi_alloc_and_read() 300 gpe_len = VD_EFI_GPE_LEN(dev, nparts); in vd_efi_alloc_and_read() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_part.c | 70 ibt_get_all_part_attr(ibt_part_attr_t **attr, int *nparts) in ibt_get_all_part_attr() argument 76 status = (*ibtl_get_all_part_attr_cb) (attr, nparts); in ibt_get_all_part_attr() 79 *nparts = 0; in ibt_get_all_part_attr() 88 ibt_free_part_attr(ibt_part_attr_t *attr, int nparts) in ibt_free_part_attr() argument 90 if (nparts > 0) in ibt_free_part_attr() 91 kmem_free(attr, sizeof (ibt_part_attr_t) * nparts); in ibt_free_part_attr()
|
/titanic_44/usr/src/lib/libc/port/fp/ |
H A D | fpparts.h | 58 } nparts; member 78 } nparts; member 101 } nparts; member 121 } nparts; member 133 #define QNANBIT(X) (((_dval *)&(X))->nparts.qnan_bit) 141 #define SETQNAN(X) ((((_dval *)&(X))->nparts.qnan_bit) = 0x1) 151 #define FQNANBIT(X) (((_fval *)&(X))->nparts.qnan_bit)
|
/titanic_44/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | pkgvolume.c | 47 pkgvolume(struct pkgdev *devp, char *pkg, int part, int nparts) in pkgvolume() argument 60 if (ckvolseq(instdir, 1, nparts)) { in pkgvolume() 69 if (ckvolseq(instdir, part, nparts)) { in pkgvolume() 83 if (n = pkgmount(devp, pkg, part, nparts, 1)) in pkgvolume() 86 if (ckvolseq(path, part, nparts) == 0) in pkgvolume()
|
H A D | sortmap.c | 64 int i, n, nparts; in sortmap() local 118 nparts = 0; in sortmap() 122 if (n > nparts) in sortmap() 123 nparts = n; in sortmap() 143 return (nparts); in sortmap()
|
H A D | instvol.c | 108 static int domerg(struct cfextra **extlist, int part, int nparts, 138 int nparts, PKGserver pkgserver, VFP_T **a_cfTmpVfp, in instvol() argument 171 pkgvolume(&pkgdev, srcinst, part, nparts); in instvol() 208 echo(MSG_INS_N_N, part, nparts); in instvol() 210 echo(MSG_INS_N_N_LZ, part, nparts, in instvol() 237 entryidx = domerg(extlist, (pass++ ? 0 : part), nparts, in instvol() 306 pkgvolume(&pkgdev, srcinst, part, nparts); in instvol() 769 echo(MSG_DBUPD_N_N, part, nparts); in instvol() 771 echo(MSG_DBUPD_N_N_LZ, part, nparts, a_zoneName); in instvol() 776 echo(MSG_INST_N_N, part, nparts); in instvol() [all …]
|
H A D | pkginstall.h | 60 int nparts)); 69 int nparts, PKGserver server, VFP_T **a_cfTmpVfp,
|
H A D | main.c | 260 int nparts; in main() local 1767 nparts = sortmap(&extlist, pkgmapVfp, pkgserver, cfTmpVfp, zoneName); in main() 1899 nparts = sortmap(&extlist, pkgmapVfp, pkgserver, in main() 2060 while (part <= nparts) { in main() 2065 instvol(extlist, srcinst, part, nparts, in main() 2068 if (part++ >= nparts) { in main()
|
/titanic_44/usr/src/lib/libpkg/common/ |
H A D | pkgtrans.c | 776 int i, n, nparts, maxpsize; in genheader() local 797 nparts = maxpsize = 0; in genheader() 836 n = rd_map_size(fp, &nparts, &maxpsize, &compressedsize); in genheader() 855 pkg[i], nparts, maxpsize) >= ENTRY_MAX) { in genheader() 870 totsize += nparts * maxpsize; in genheader() 875 totsize -= nparts * maxpsize; in genheader() 876 while (partcnt < nparts) { in genheader() 878 partcnt <= nparts) { in genheader() 1194 int i, n, part, nparts, maxpartsize, curpartcnt, iscomp; in pkgxfer() local 1360 nparts = ds_findpkg(srcdev.cdevice, srcinst); in pkgxfer() [all …]
|
H A D | dstream.c | 82 int nparts; member 88 #define ds_nparts ds_toc->nparts 230 while (sum < toc->nparts && sscanf(volnos, "%d %[ 0-9]", in ds_volsum() 240 ds_volpart += toc->nparts; in ds_volsum() 263 ds_skippart, ds_bufsize, ds_toc->nparts, ds_toc->maxsiz, in ds_putinfo() 273 &ds_volpart, &ds_skippart, &ds_bufsize, &ds_toc->nparts, in ds_getinfo() 276 return (ds_toc->nparts); in ds_getinfo() 452 &toc_pt->nparts, &toc_pt->maxsiz, toc_pt->volnos) < 3) { in ds_init() 544 nskip += ds_toc->nparts; in ds_findpkg() 680 int nparts, n, index; in ds_next() local [all …]
|
H A D | ckvolseq.c | 46 ckvolseq(char *dir, int part, int nparts) in ckvolseq() argument 89 if (nparts != 1) { in ckvolseq() 103 if (nparts) { in ckvolseq()
|
H A D | pkgmount.c | 52 pkgmount(struct pkgdev *devp, char *pkg, int part, int nparts, int getvolflg) in pkgmount() argument 63 if (part && nparts) { in pkgmount() 66 pkg_gt(LABEL0), part, nparts, pkg); in pkgmount() 69 pkg_gt(LABEL1), part, nparts); in pkgmount()
|
/titanic_44/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | main.c | 167 int nparts); 182 int part, nparts, npkgs, objects; in main() local 576 nparts = splpkgmap(eptlist, eptnum, (char **)order, bsize, frsize, in main() 579 if (nparts <= 0) { in main() 626 if (nparts > 1) { in main() 652 if (nparts > 1) in main() 653 (void) fprintf(stderr, gettext(MSG_PACKAGEM), nparts); in main() 657 for (part = 1; part <= nparts; part++) { in main() 663 if (n = pkgmount(&pkgdev, NULL, part, nparts, 1)) in main() 671 outvol(eptlist, eptnum, part, nparts); in main() [all …]
|
H A D | splpkgmap.c | 83 static int nparts = -1; /* total number of parts */ variable 190 if (ept->volno > nparts) in splpkgmap() 191 nparts = ept->volno; in splpkgmap() 217 for (i = 1; i <= nparts; i++) { in splpkgmap() 368 if (nparts > (volno - 1)) { in splpkgmap() 370 for (i = volno; i <= nparts; i++) { in splpkgmap() 380 nparts = new_vol - 1; in splpkgmap() 382 nparts = volno - 1; in splpkgmap() 399 return (errflg ? -1 : nparts); in splpkgmap()
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_arp.c | 224 int nparts; in ibcm_arp_get_ibd_insts() local 226 if ((ibt_get_all_part_attr(&attr_list, &nparts) != IBT_SUCCESS) || in ibcm_arp_get_ibd_insts() 227 (nparts == 0)) { in ibcm_arp_get_ibd_insts() 229 "IB Part List - %d", nparts); in ibcm_arp_get_ibd_insts() 236 nparts); in ibcm_arp_get_ibd_insts() 238 ibds->ibcm_arp_ibd_alloc = nparts; in ibcm_arp_get_ibd_insts() 241 nparts * sizeof (ibcm_arp_ip_t), KM_SLEEP); in ibcm_arp_get_ibd_insts() 244 while (nparts--) { in ibcm_arp_get_ibd_insts()
|
/titanic_44/usr/src/cmd/svr4pkg/libinst/ |
H A D | srcpath.c | 41 srcpath(char *dir, char *src, int part, int nparts) in srcpath() argument 60 if (nparts > 1) { in srcpath()
|
H A D | procmap.c | 57 static int nparts; variable 72 errflg = nparts = eptnum = 0; in procinit() 103 if (ept->volno > nparts) in procassign() 104 nparts++; in procassign()
|
H A D | pkgobjmap.c | 57 static int nparts; variable 76 errflg = nparts = eptnum = 0; in pkgobjinit() 107 if (ept->volno > nparts) in pkgobjassign() 108 nparts++; in pkgobjassign()
|
/titanic_44/usr/src/lib/libefi/common/ |
H A D | rdwr_efi.c | 144 efi_alloc_and_init(int fd, uint32_t nparts, struct dk_gpt **vtoc) in efi_alloc_and_init() argument 160 nblocks = NBLOCKS(nparts, lbsize); in efi_alloc_and_init() 166 if (nparts > MAX_PARTS) { in efi_alloc_and_init() 176 sizeof (struct dk_part) * (nparts - 1); in efi_alloc_and_init() 185 vptr->efi_nparts = nparts; in efi_alloc_and_init() 208 uint32_t nparts; in efi_alloc_and_read() local 212 nparts = EFI_MIN_ARRAY_SIZE / sizeof (efi_gpe_t); in efi_alloc_and_read() 214 (int) sizeof (struct dk_part) * (nparts - 1); in efi_alloc_and_read() 218 (*vtoc)->efi_nparts = nparts; in efi_alloc_and_read() 221 if ((rval == VT_EINVAL) && (*vtoc)->efi_nparts > nparts) { in efi_alloc_and_read() [all …]
|
H A D | llib-lefi | 37 int efi_alloc_and_init(int fd, uint32_t nparts, struct dk_gpt **vtoc);
|
/titanic_44/usr/src/cmd/format/ |
H A D | menu_command.c | 422 int nparts; in c_type() local 467 for (nparts = 0; nparts < cur_parts->etoc->efi_nparts; in c_type() 468 nparts++) { in c_type() 469 if (cur_parts->etoc->efi_parts[nparts].p_tag == in c_type() 471 if (cur_parts->etoc->efi_parts[nparts]. in c_type() 475 [nparts].p_name); in c_type() 491 for (nparts = 0; nparts < in c_type() 492 cur_parts->etoc->efi_nparts; nparts++) { in c_type() 493 if (cur_parts->etoc->efi_parts[nparts].p_tag == in c_type() 496 cur_parts->etoc->efi_parts[nparts].p_name, in c_type()
|
H A D | menu_partition.c | 168 uint_t nparts; in p_expand() local 179 nparts = efi_label->efi_nparts; in p_expand() 182 efi_label->efi_parts[nparts - 1].p_start += delta; in p_expand()
|
H A D | partition.c | 439 int nparts; in make_partition() local 442 nparts = cur_parts->etoc->efi_nparts; in make_partition() 443 size = sizeof (struct dk_part) * nparts + sizeof (struct dk_gpt); in make_partition()
|
H A D | label.c | 696 int i, nparts = 0; in vtoc64_to_label() local 702 nparts = vtoc->efi_nparts; in vtoc64_to_label() 704 nparts) + sizeof (struct dk_gpt)); in vtoc64_to_label() 727 for (i = 0; i < nparts; i++) { in vtoc64_to_label()
|
/titanic_44/usr/src/cmd/rmformat/ |
H A D | rmf_menu.c | 1121 int32_t ret, nparts; in process_b_flag() local 1138 for (nparts = 0; nparts < vtoc64->efi_nparts; in process_b_flag() 1139 nparts++) { in process_b_flag() 1140 if (vtoc64->efi_parts[nparts].p_tag == in process_b_flag() 1142 if (vtoc64->efi_parts[nparts].p_name) { in process_b_flag() 1144 vtoc64->efi_parts[nparts].p_name, label, in process_b_flag()
|