Lines Matching refs:len

196     sp_ext_node_t *extlist, int numexts, sp_ext_length_t len,
353 sp_ext_length_t len = 0;
363 if ((sscanf(s, "%llu%1[BbKkMmGgTt]", &len, len_type) != 2) ||
364 (len == 0LL) ||
365 (len > (1LL << (64 - DEV_BSHIFT))))
371 len = lbtodb(roundup(len * DEV_BSIZE, DEV_BSIZE));
375 len = lbtodb(roundup(len * 1024ULL, DEV_BSIZE));
379 len = lbtodb(roundup(len * 1024ULL*1024ULL, DEV_BSIZE));
383 len = lbtodb(roundup(len * 1024ULL*1024ULL*1024ULL, DEV_BSIZE));
387 len = lbtodb(roundup(len * 1024ULL*1024ULL*1024ULL*1024ULL,
392 len = lbtodb(roundup(
393 len * 1024ULL*1024ULL*1024ULL*1024ULL*1024ULL,
398 len = lbtodb(roundup(
399 len * 1024ULL*1024ULL*1024ULL*1024ULL*1024ULL*1024ULL,
407 *szp = len;
1289 * - len is used to represent requested data space; it
1291 * or partial allocation, len will be decremented by
1320 sp_ext_length_t len;
1324 len = *lp;
1331 if (len != 0) {
1343 if (freespace < len)
1394 MIN(len, free_ext->ext_length);
1396 if (align && (alloc_len < len)) {
1419 len -= alloc_len;
1425 if (len == 0LL)
1487 if (a_length >= len + MD_SP_WMSIZE) {
1490 len + MD_SP_WMSIZE, last_seq);
1492 len = 0LL;
1498 if (len == 0LL)
1508 for (free_ext = *head; (free_ext != NULL) && (len > 0);
1560 if ((a_length - MD_SP_WMSIZE) < len)
1566 alloc_len = MIN(len, a_length - MD_SP_WMSIZE);
1577 a_offset, MIN(len + MD_SP_WMSIZE, a_length),
1580 len -= alloc_len;
1590 if (len != 0) {
1626 len = alloc_len =
1673 len += alloc_len;
1688 *lp = len;
1694 if (len == 0) {
1814 extp->poff - MD_SP_WMSIZE, extp->len + MD_SP_WMSIZE,
2008 extp->len) == EOF)
2101 int len;
2174 len = strlen(msp->compnamep->cname);
2175 len = max(len, strlen(dgettext(TEXT_DOMAIN, "Device")));
2176 len += 2;
2179 len, len,
2225 len, msp->compnamep->cname,
2246 extn, extp->poff, extp->len) == EOF)
2574 extp->poff - MD_SP_WMSIZE, extp->len + MD_SP_WMSIZE,
3482 * len - the total size of the soft partition (sectors)
3496 sp_ext_length_t len,
3513 mp->c.un_total_blocks = len;
3514 mp->c.un_actual_tb = len;
3533 mp->un_length = len;
3706 extp->len = mde->un_len;
3751 sp_ext_length_t len = 0LL;
3844 * with these options is that the len needs to be
3899 len += length;
3929 * len being set by thye -o/-b cases above) AND
3932 if ((len > 0LL) && (alignment > 0LL))
3942 if (len == 0LL) {
3945 if (meta_sp_parsesize(argv[0], &len) == -1)
3951 msp->ext.ext_val->len = len;
4381 &msp->ext.ext_val->len, 0LL, (alignment > 0) ? alignment :
4394 extlist, numexts, msp->ext.ext_val->len, MD_SP_CREATEPEND, ep);
5554 extn, extp->voff, extp->poff, extp->len);
5567 if ((extp->poff + extp->len) == size) {
5572 extn, extp->poff, extp->len, size);
5577 curvoff += extp->len;
6727 int len;
6795 len = strlen(devname);
6798 pname = Zalloc((len - strlen(t)) + 1);
6799 (void) strncpy(pname, devname, (len - strlen(t)));