Home
last modified time | relevance | path

Searched refs:vsize (Results 1 – 15 of 15) sorted by relevance

/titanic_44/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation_017_pos.sh73 typeset -i vsize=$(get_prop available $TESTPOOL)
80 ((blknum = vsize / volblocksize))
85 ((vsize = randomblknum * volblocksize))
86 log_must $ZFS set volsize=$vsize $regvol
87 log_must $ZFS set volsize=$vsize $sparsevol
88 vsize=$(volsize_to_reservation $regvol $vsize)
91 ((sparsereserv == vsize)) && \
93 "reservation (expected $vsize, got $sparsereserv)."
94 ((regreserv != vsize)) && \
96 "in reservation (expected $vsize, got $regreserv)."
/titanic_44/usr/src/uts/common/sys/fs/
H A Dufs_trans.h117 #define TRANS_BEGIN_SYNC(ufsvfsp, vid, vsize, error)\ argument
121 top_begin_sync(ufsvfsp, vid, vsize, &error); \
128 #define TRANS_BEGIN_ASYNC(ufsvfsp, vid, vsize)\ argument
131 (void) top_begin_async(ufsvfsp, vid, vsize, 0); \
137 #define TRANS_TRY_BEGIN_ASYNC(ufsvfsp, vid, vsize, err)\ argument
140 err = top_begin_async(ufsvfsp, vid, vsize, 1); \
151 #define TRANS_BEGIN_CSYNC(ufsvfsp, issync, vid, vsize)\ argument
156 ASSERT(vsize); \
157 top_begin_sync(ufsvfsp, vid, vsize, &error); \
161 (void) top_begin_async(ufsvfsp, vid, vsize, 0); \
[all …]
/titanic_44/usr/src/cmd/sendmail/libsm/
H A Dldap.c650 int vsize; local
885 vsize = strlen(vals[0]) + 1;
887 vsize += strlen(attr) + 1;
889 vsize);
891 sm_snprintf(*result, vsize,
898 vsize);
922 vsize = strlen(*result) +
925 vsize);
927 vsize, "%s%c%s",
955 vsize = 0;
[all …]
/titanic_44/usr/src/psm/stand/boot/common/
H A Dreadfile.c616 size_t vsize; in read_elf32() local
649 vsize = (caddr_t)bv - (caddr_t)bootv; in read_elf32()
650 if ((elfbootvec = (Elf32_Boot *)kmem_alloc(vsize, 0)) == NULL) in read_elf32()
652 bcopy((char *)bootv, (char *)elfbootvec, vsize); in read_elf32()
657 kmem_free(elfbootvec, vsize); in read_elf32()
663 kmem_free(elfbootvec, vsize); in read_elf32()
675 if ((elfbootvecELF32_64 = (Elf32_Boot *)kmem_alloc(vsize, 0)) in read_elf32()
678 bcopy(bootv, elfbootvecELF32_64, vsize); in read_elf32()
684 kmem_free(elfbootvecELF32_64, vsize); in read_elf32()
1006 size_t vsize; in read_elf64() local
[all …]
/titanic_44/usr/src/uts/common/syscall/
H A Dsem.c351 size_t vsize = 0; in semctl() local
381 vsize = sp->sem_nsems * sizeof (*vals); in semctl()
385 vals = kmem_alloc(vsize, KM_SLEEP); in semctl()
387 if (copyin((void *)arg, vals, vsize)) { in semctl()
388 kmem_free(vals, vsize); in semctl()
400 if (vsize != 0) in semctl()
401 kmem_free(vals, vsize); in semctl()
511 vsize = sp->sem_nsems * sizeof (*vals); in semctl()
512 vals = vp = kmem_alloc(vsize, KM_SLEEP); in semctl()
519 if (copyout((void *)vals, (void *)arg, vsize)) { in semctl()
[all …]
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dnvfile.c515 uint_t vsize; in nvf_node_data_get() local
529 rval = nvlist_lookup_byte_array(nvf_list, name, &value, &vsize); in nvf_node_data_get()
534 if (vsize <= dsize) { in nvf_node_data_get()
535 bcopy(value, data, vsize); in nvf_node_data_get()
656 uint_t vsize; in nvf_data_get() local
681 rval = nvlist_lookup_byte_array(list, name, &value, &vsize); in nvf_data_get()
686 if (vsize <= dsize) { in nvf_data_get()
687 bcopy(value, data, vsize); in nvf_data_get()
707 uint_t vsize; in nvf_data_next() local
743 rval = nvpair_value_byte_array(pair, &value, &vsize); in nvf_data_next()
[all …]
/titanic_44/usr/src/lib/libshell/common/sh/
H A Dmacro.c1034 int dolmax=0, vsize= -1, offset= -1, nulflg, replen=0, bysub=0; in varsub() local
1126 v = getdolarg(&sh,c,&vsize); in varsub()
1427 c = charlen(v,vsize); in varsub()
1543 v = getdolarg(&sh,dolg=type,&vsize); in varsub()
1580 vsize = charlen(v,vsize); in varsub()
1581 if(type<0 && (type += vsize)<0) in varsub()
1583 if(vsize < type) in varsub()
1600 vsize -= type; in varsub()
1616 else if(type < vsize) in varsub()
1633 vsize = type; in varsub()
[all …]
H A Dinit.c130 int vsize; member
710 void sh_setmatch(const char *v, int vsize, int nmatch, int match[]) in sh_setmatch() argument
722 for(vsize=0,i=0; i < 2*nmatch; i++) in sh_setmatch()
724 if((mp->match[i] -= n) > vsize) in sh_setmatch()
725 vsize = mp->match[i]; in sh_setmatch()
728 if(vsize >= mp->vsize) in sh_setmatch()
730 if(mp->vsize) in sh_setmatch()
731 mp->val = (char*)realloc(mp->val,vsize+1); in sh_setmatch()
733 mp->val = (char*)malloc(vsize+1); in sh_setmatch()
734 mp->vsize = vsize; in sh_setmatch()
[all …]
/titanic_44/usr/src/cmd/tbl/
H A Dt4.c36 vsize[i][icol][0]=0; in getspec()
200 temp = snp = vsize[nclin][icol-1]; in readspec()
H A Dt0.c43 char vsize[MAXHEAD][MAXCOL][4]; variable
H A Dt..c37 extern char vsize[MAXHEAD][MAXCOL][4];
H A Dtg.c41 vs = vsize[stynum[ilin]][icol]; in get_text()
/titanic_44/usr/src/uts/common/inet/nca/
H A Dnca.h1618 #define NCA_IO_WDATA(val, vsize, p, n_used, len, off) \ argument
1621 (p)->len = vsize; \
1624 (p)->len = (vsize); \
1628 ((char *)(p) + (p)->off), (vsize)); \
1640 #define NCA_IO_ADATA(val, vsize, p, n_used, len, off) \ argument
1647 (p)->off + (p)->len), (vsize)); \
1648 (p)->len += (vsize); \
1649 (n_used) += (vsize);
/titanic_44/usr/src/cmd/sendmail/src/
H A Dmap.c1212 size_t vsize; local
1377 vsize = strlen(vp);
1385 result = map_rewrite(map, vp, vsize, av);
2649 auto int vsize; local
2689 &vp, &vsize);
2735 auto int vsize; local
2757 &vp, &vsize);
2766 &vp, &vsize);
2782 result = map_rewrite(map, vp, vsize, av);
2802 auto int vsize; local
[all …]
/titanic_44/usr/src/grub/grub-0.97/docs/
H A Dtexinfo.tex336 % (We lessened \vsize for it in \oddfootingxxx.)
2206 \global\advance\vsize by -\baselineskip
3792 % Double the \vsize as well. (We don't need a separate register here,
3793 % since nobody clobbers \vsize.)
3794 \vsize = 2\vsize
3805 \dimen@ = \vsize
3845 % \pagegoal was set to the doubled \vsize above, since we restarted
3847 % typesetting, so reset \pagegoal to the normal \vsize (after the
3848 % \endgroup where \vsize got restored).
3849 \pagegoal = \vsize
[all …]