Home
last modified time | relevance | path

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

/illumos-gate/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)."
/illumos-gate/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 …]
/illumos-gate/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 …]
/illumos-gate/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 …]
/illumos-gate/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 …]
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c518 size_t vsize; in read_elf32() local
551 vsize = (caddr_t)bv - (caddr_t)bootv; in read_elf32()
552 if ((elfbootvec = (Elf32_Boot *)kmem_alloc(vsize, 0)) == NULL) in read_elf32()
554 bcopy((char *)bootv, (char *)elfbootvec, vsize); in read_elf32()
559 kmem_free(elfbootvec, vsize); in read_elf32()
565 kmem_free(elfbootvec, vsize); in read_elf32()
577 if ((elfbootvecELF32_64 = (Elf32_Boot *)kmem_alloc(vsize, 0)) in read_elf32()
580 bcopy(bootv, elfbootvecELF32_64, vsize); in read_elf32()
586 kmem_free(elfbootvecELF32_64, vsize); in read_elf32()
902 size_t vsize; in read_elf64() local
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dmacro.c1098 int dolmax=0, vsize= -1, offset= -1, nulflg, replen=0, bysub=0; in varsub() local
1192 v = getdolarg(mp->shp,c,&vsize); in varsub()
1534 c = charlen(v,vsize); in varsub()
1653 v = getdolarg(mp->shp,dolg=type,&vsize); in varsub()
1692 vsize = charlen(v,vsize); in varsub()
1693 if(type<0 && (type += vsize)<0) in varsub()
1695 if(vsize < type) in varsub()
1708 vsize = v?strlen(v):0; in varsub()
1727 else if(type < vsize) in varsub()
1744 vsize = type; in varsub()
[all …]
H A Dinit.c175 int vsize; member
769 void sh_setmatch(Shell_t *shp,const char *v, int vsize, int nmatch, regoff_t match[],int index) in sh_setmatch() argument
834 for(n=mp->first+(mp->v-v),vsize=0,i=0; i < 2*nmatch; i++) in sh_setmatch()
836 if(match[i]>=0 && (match[i] - n) > vsize) in sh_setmatch()
837 vsize = match[i] -n; in sh_setmatch()
840 if((i+vsize) >= mp->vsize) in sh_setmatch()
842 if(mp->vsize) in sh_setmatch()
843 mp->match = (int*)realloc(mp->match,i+vsize+1); in sh_setmatch()
845 mp->match = (int*)malloc(i+vsize+1); in sh_setmatch()
846 mp->vsize = i+vsize+1; in sh_setmatch()
[all …]
/illumos-gate/usr/src/cmd/tbl/
H A Dt4.c34 vsize[i][icol][0]=0; in getspec()
202 temp = snp = vsize[nclin][icol-1]; in readspec()
H A Dt0.c41 char vsize[MAXHEAD][MAXCOL][4]; variable
H A Dt..c35 extern char vsize[MAXHEAD][MAXCOL][4];
H A Dtg.c39 vs = vsize[stynum[ilin]][icol]; in get_text()
/illumos-gate/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 …]
/illumos-gate/usr/src/boot/libsa/
H A Dbootp.c319 int vsize = n - offsetof(struct bootp, bp_vend); in bootprecv() local
320 if (vend_rfc1048(bp->bp_vend, vsize) != 0) in bootprecv()
/illumos-gate/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 …]