HomeSort by relevance Sort by last modified time
    Searched defs:nblocks (Results 1 - 20 of 20) sorted by null

  /netvirt/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
dk_encrypt.c 292 int nblocks = (d2.length + blocksize - 1) / blocksize; local
293 cn = (uchar_t *) d2.data + blocksize * (nblocks - 2);
  /netvirt/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
aes_provider.c 41 int nblocks, partialamount; local
77 nblocks = (input->length + BLOCK_SIZE - 1) / BLOCK_SIZE;
78 KRB5_LOG(KRB5_INFO, "nblocks = %d", nblocks);
83 if (nblocks == 1 || (partialamount == 0)) {
112 if (nblocks > 1) {
119 ((nblocks - 2) * BLOCK_SIZE));
121 ((nblocks - 1) * BLOCK_SIZE));
153 pt.cd_length = nblocks * BLOCK_SIZE;
186 ct.cd_length = nblocks * BLOCK_SIZE
274 int nblocks, partialamount; local
489 int nblocks, partialamount; local
722 int nblocks, partialamount; local
    [all...]
  /netvirt/usr/src/lib/libefi/common/
rdwr_efi.c 131 #define NBLOCKS(p, l) (1 + ((((p) * (int)sizeof (efi_gpe_t)) + \
142 uint_t nblocks; local
154 nblocks = NBLOCKS(nparts, lbsize);
155 if ((nblocks * lbsize) < EFI_MIN_ARRAY_SIZE + lbsize) {
157 nblocks = EFI_MIN_ARRAY_SIZE / lbsize + 1;
185 vptr->efi_first_u_lba = nblocks + 1;
187 vptr->efi_last_u_lba = vptr->efi_last_lba - nblocks;
355 if (NBLOCKS(vtoc->efi_nparts, disk_info.dki_lbsize) < 34) {
702 int nblocks; local
    [all...]
  /netvirt/usr/src/uts/common/os/
driver.c 476 uint_t nblocks; local
479 if ((nblocks = e_ddi_getprop(dev, VBLK, "nblocks",
490 return (nblocks * (blksize / DEV_BSIZE));
492 return (nblocks / (DEV_BSIZE / blksize));
496 * Same for 64-bit Nblocks property
501 uint64_t nblocks; local
504 if ((nblocks = e_ddi_getprop_int64(dev, VBLK, "Nblocks",
515 return (nblocks * (blksize / DEV_BSIZE))
    [all...]
  /netvirt/usr/src/lib/fm/topo/modules/common/disk/
disk.c 139 uint64_t nblocks; local
161 "device-nblocks", &nblocksp) > 0) {
162 nblocks = (uint64_t)*nblocksp;
174 "%" PRIu64, nblocks * dblksize);
  /netvirt/usr/src/uts/common/fs/zfs/
dmu_tx.c 517 uint64_t nblocks; local
593 for (nblocks = dn->dn_maxblkid >> epbs; nblocks != 0; nblocks >>= epbs)
  /netvirt/usr/src/cmd/rmformat/
rmf_slice.c 1639 int32_t nblocks = size; local
    [all...]
  /netvirt/usr/src/uts/common/crypto/io/
swrand.c 78 uint32_t nblocks; /* number of memory blocks */ member in struct:physmem_entsrc_s
578 /* Initialize entsrc->nblocks */
581 if (entsrc->nblocks == 0) {
587 entsrc->parity = kmem_alloc(howmany(entsrc->nblocks, 8),
593 i = howmany(entsrc->nblocks, 8);
624 kmem_free(entsrc->parity, howmany(entsrc->nblocks, 8));
662 ASSERT(entsrc->nblocks > 0);
665 block = oblock = srndpool[i] % entsrc->nblocks;
807 entsrc.nblocks = 0;
809 entsrc.nblocks += pmem->size / MEMBLOCKSIZE
    [all...]
  /netvirt/usr/src/uts/common/fs/ufs/
ufs_inode.c 1057 int blocksreleased = 0, nblocks; local
1071 nblocks = btodb(fs->fs_bsize);
1133 blocksreleased += nblocks;
1170 long nblocks, blocksreleased = 0; local
    [all...]
  /netvirt/usr/src/cmd/format/
auto_sense.c 889 long nblocks = 0; local
964 nblocks = (long)(capacity->sc_capacity + 1);
1040 if (nblocks <= 0x1000) {
1043 nsect = nblocks / (nhead * pcyl);
1045 for (i = 0; CHS_values[i].max_cap < nblocks &&
1051 pcyl = nblocks / (nhead * nsect);
1096 (pcyl * nhead * nsect) < (nblocks - nblocks/32) ||
1097 (pcyl * nhead * nsect) > (nblocks + nblocks/4))
    [all...]
  /netvirt/usr/src/lib/libmtmalloc/common/
mtmalloc.c 854 long nblocks; local
864 nblocks = cp->mt_span / cp->mt_size;
865 nblocks >>= 3;
866 if (nblocks == 0) { /* less than 8 free blocks in this pool */
876 nblocks = numblocks;
885 nblocks, 32);
886 /* recompute nblocks */
887 nblocks = (uintptr_t)((caddr_t)cp->mt_freelist +
889 cp->mt_nfree = ((nblocks >> 3) << 3);
891 (void) memset(cp->mt_freelist, 0xff, nblocks >> 3)
    [all...]
  /netvirt/usr/src/uts/common/io/nxge/
nxge_txdma.c 137 dest_p->nblocks = entries;
2242 uint32_t nblocks, nmsgs; local
    [all...]
nxge_rxdma.c 3477 uint32_t size, bsize, nblocks, nmsgs; local
    [all...]
  /netvirt/usr/src/uts/common/sys/fs/
hsfs_node.h 188 u_offset_t nblocks; /* # disk blocks */ member in struct:hio
  /netvirt/usr/src/uts/sun4v/sys/
vdsk_common.h 250 uint64_t nblocks; /* number of blocks in partition */ member in struct:vd_partition
396 (vtoc)->v_part[i].p_size = (vd_vtoc)->partition[i].nblocks; \
437 (vd_vtoc)->partition[i].nblocks = (vtoc)->v_part[i].p_size; \
  /netvirt/usr/src/uts/common/io/
cryptmod.c 1252 int nblocks = 0, blockno; local
1267 nblocks = (length + DEFAULT_AES_BLOCKLEN - 1) / DEFAULT_AES_BLOCKLEN;
1272 if (nblocks == 1) {
1307 for (blockno = 0; blockno < nblocks - 2; blockno++) {
1332 xorblock(tmp, plain + (nblocks - 2) * DEFAULT_AES_BLOCKLEN);
1349 nleft = length - (nblocks - 1) * DEFAULT_AES_BLOCKLEN;
1353 bcopy(plain + (nblocks - 1) * DEFAULT_AES_BLOCKLEN, tmp3,
1357 bcopy(tmp2, plain + (nblocks - 1) * DEFAULT_AES_BLOCKLEN,
1414 int nblocks = 0, blockno; local
1591 int nblocks = (enclen + DEFAULT_AES_BLOCKLEN - 1) \/ local
1719 int nblocks = (inlen + 2 * DEFAULT_AES_BLOCKLEN - 1) \/ local
    [all...]
  /netvirt/usr/src/uts/common/sys/nxge/
nxge_impl.h 451 uint32_t nblocks; member in struct:_nxge_dma_common_t
  /netvirt/usr/src/cmd/tar/
tar.c 6659 blkcnt_t nblocks; local
    [all...]
  /netvirt/usr/src/uts/common/pcmcia/sys/
cis_handlers.h 235 uint32_t nblocks; /* nblocks data for disk-like device */ member in struct:cistpl_format_t::__anon4903::disk
    [all...]
  /netvirt/usr/src/uts/common/io/scsi/targets/
sd.c 10773 diskaddr_t nblocks; \/* #blocks in the given partition *\/ local
25103 int nblocks; local
25216 int nblocks; local
    [all...]

Completed in 1179 milliseconds