Searched refs:size (Results 176 - 200 of 3651) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Drefstr.c40 size_t size = sizeof (rsp->rs_size) + sizeof (rsp->rs_refcnt) + local
43 ASSERT(size <= UINT32_MAX);
44 rsp = kmem_alloc(size, KM_SLEEP);
45 rsp->rs_size = (uint32_t)size;
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dppmio.h82 size_t size; /* size of domlist buffer */ member in struct:ppm_bydev
91 size_t size; /* size of devlist buffer */ member in struct:ppm_bydom
114 size32_t size; /* size of domlist buffer */ member in struct:ppm_bydev32
120 size32_t size; /* size of devlist buffer */ member in struct:ppm_bydom32
H A Dvuid_queue.h52 int size; /* number of items allowed on queue */ member in struct:vuid_queue
56 #define vq_avail(vq) ((vq)->size - (vq)->num)
57 #define vq_size(vq) ((vq)->size)
59 #define vq_is_full(vq) ((vq)->num == (vq)->size)
97 /* collapse the queue to a size of 1/factor */
/opensolaris-onvv-gate/usr/src/uts/sun4u/sys/
H A Dmc.h90 int xfer_size; /* Data transfer size in CPU cache line */
94 uint64_t size; /* size of physical memory */ member in struct:mc_memory
103 uint64_t size; /* in bytes */ member in struct:mc_segment
113 uint64_t size; /* memory size per logical bank */ member in struct:mc_bank
130 uint64_t size; /* memory size per physical dimm group */ member in struct:mc_devgrp
/opensolaris-onvv-gate/usr/src/uts/sun4v/sys/
H A Dds_pri.h44 #define DSPRI_GETINFO (DSPRIIOC | 1) /* Get PRI size */
53 uint64_t size; member in struct:dspri_info
H A Dds_snmp.h44 #define DSSNMP_GETINFO (DSSNMPIOC | 1) /* Get SNMP size */
52 uint64_t size; member in struct:dssnmp_info
/opensolaris-onvv-gate/usr/src/cmd/lp/lib/msgs/
H A Dmwrite.c89 short size; local
105 size = stoh(msgbuf);
115 if (_mwrite(md, msgbuf, size) == 0)
128 || (p->dat->buf = (char *)Malloc(size)) == NULL)
133 (void) memcpy(p->dat->buf, msgbuf, size);
134 p->dat->len = size;
163 int _mwrite ( MESG * md, char * msgbuf , int size )
174 if (size <= 0 || size > MSGMAX)
183 dat.maxlen = dat.len = size;
[all...]
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/nsgmls.src/lib/
H A DOffsetOrderedList.cxx14 : blockUsed_(OffsetOrderedListBlock::size)
26 Offset curOffset = blocks_.size() > 0 ? blocks_.back()->offset : 0;
38 if (blockUsed_ >= OffsetOrderedListBlock::size) {
40 blocks_.resize(blocks_.size() + 1);
43 if (blocks_.size() == 1) {
48 OffsetOrderedListBlock &lastButOne = *blocks_[blocks_.size() - 2];
75 size_t lim = blocks_.size();
92 if (i == blocks_.size()) {
104 int j = (i == blocks_.size() - 1
106 : int(OffsetOrderedListBlock::size));
[all...]
H A DText.cxx24 if (items_.size() == 0
28 + (chars_.size() - items_.back().index))) {
29 items_.resize(items_.size() + 1);
32 items_.back().index = chars_.size();
39 if (items_.size() == 0
43 + (chars_.size() - items_.back().index))) {
44 items_.resize(items_.size() + 1);
47 items_.back().index = chars_.size();
56 chars_.append(entity->string().data(), entity->string().size());
63 chars_.append(entity->string().data(), entity->string().size());
[all...]
H A DStringVectorMessageArg.cxx29 for (size_t i = 0; i < v_.size(); i++) {
32 builder.appendChars(v_[i].data(), v_[i].size());
/opensolaris-onvv-gate/usr/src/lib/libast/common/misc/
H A Drecfmt.c25 * determine record format by sampling data in <buf,size>
26 * total is the total file size, <=0 if not available
43 recfmt(const void* buf, size_t size, off_t total) argument
65 t = s + size;
72 if (!k || size > 2 * k)
81 if ((t = (unsigned char*)memchr((void*)s, k = terminators[i], size / 2)) && (n = t - s + 1) > 1 && (total <= 0 || !(total % n)))
83 for (j = n - 1; j < size; j += n)
100 for (i = 0; i < size; i++)
121 for (j = i; j < size - i; j += i)
136 for (i = 0; i < size;
151 size_t size; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/lp/lib/lp/
H A DSys_malloc.c67 size_t size,
72 _Malloc (size, file, line)
73 size_t size;
78 alloc_type ret = malloc(size);
92 size_t size,
97 _Realloc (ptr, size, file, line)
99 size_t size;
104 alloc_type ret = realloc(ptr, size);
66 _Malloc( size_t size, const char * file, int line ) argument
90 _Realloc( void * ptr, size_t size, const char * file, int line ) argument
/opensolaris-onvv-gate/usr/src/cmd/lvm/util/
H A Dgrowfs.sh40 size=""
75 s) size=$OPTARG ;;
91 if [ ! "$size" ]; then
92 size=`devinfo -p $raw_special | awk '{ print $5 }'`
93 if [ $? -ne 0 -o ! "$size" ]; then
94 echo "$myname: cannot get partition size"
99 cmd="$UFS_MKFS $mkfs_opts $mkfs_subopts $raw_special $size"
108 while [ "$newsize" -lt "$size" ]; do
109 cmd="$UFS_MKFS $mkfs_opts $mkfs_subopts -P $raw_special $size"
115 echo "$myname: cannot probe the possible file system size"
[all...]
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/stage2/
H A Dzfs_fletcher.c30 fletcher_2_native(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
33 const uint64_t *ipend = ip + (size / sizeof (uint64_t));
47 fletcher_2_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
50 const uint64_t *ipend = ip + (size / sizeof (uint64_t));
64 fletcher_4_native(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
67 const uint32_t *ipend = ip + (size / sizeof (uint32_t));
81 fletcher_4_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
84 const uint32_t *ipend = ip + (size / sizeof (uint32_t));
/opensolaris-onvv-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.h46 uint64_t size; member in struct:dmgt_slice
53 uint64_t size; member in struct:dmgt_disk
/opensolaris-onvv-gate/usr/src/lib/sun_fc/common/
H A DLinkEventListener.h52 void *buf, uint32_t size);
57 uint32_t size; member in class:LinkEventListener
/opensolaris-onvv-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_ring_buffer_util.h55 DAT_COUNT size);
59 DAT_COUNT size);
/opensolaris-onvv-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_as.c50 av1394_as_alloc(av1394_as_t *as, size_t size) argument
55 as->as_end += size;
/opensolaris-onvv-gate/usr/src/uts/common/krtld/
H A Dkobj_stubs.c79 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off) argument
98 kobj_read(intptr_t descr, char *buf, unsigned size, unsigned offset) argument
117 kobj_get_filesize(struct _buf *file, uint64_t *size) argument
138 kobj_getelfsym(char *name, void *mp, int *size) argument
189 kobj_alloc(size_t size, int flag) argument
196 kobj_zalloc(size_t size, int flag) argument
203 kobj_free(void *address, size_t size) argument
218 kobj_sync_instruction_memory(caddr_t addr, size_t size) argument
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtrace.h48 int ift_size; /* size of packet */
81 #define TRACE_INPUT(ifp, src, size) { \
83 trace(&(ifp)->int_input, (src), packet, (size), \
88 packet, (size)); \
91 #define TRACE_OUTPUT(ifp, dst, size) { \
93 trace(&(ifp)->int_output, (dst), packet, (size), \
98 packet, (size)); \
/opensolaris-onvv-gate/usr/src/cmd/sendmail/libsm/
H A Dfread.c32 ** size -- size of each chunk of data
43 sm_io_read(fp, timeout, buf, size)
47 size_t size;
49 register size_t resid = size;
63 ** or a size of 0. Peculiarily, it imposes no such requirements
90 return size - resid;
95 return size - resid;
101 return size;
/opensolaris-onvv-gate/usr/src/cmd/sgs/libconv/common/
H A Dbld_vernote.ksh61 .word .endname - .startname /* note name size */
62 .word 0 /* note desc size */
73 .size link_ver_string, .-link_ver_string
91 .long .endname - .startname /* note name size */
92 .long 0 /* note desc size */
103 .size link_ver_string, .-link_ver_string
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/netboot/
H A Dbasemem.c39 void * allot_base_memory ( size_t size ) {
40 uint16_t size_kb = ( size + 1023 ) >> 10;
81 * Yes, it's annoying that you have to remember the size of the blocks
89 void forget_base_memory ( void *ptr, size_t size ) {
91 uint16_t size_kb = ( size + remainder + 1023 ) >> 10;
95 if ( ( ptr == NULL ) || ( size == 0 ) ) { return; }
99 size, virt_to_phys ( ptr ) );
117 * need for recording the size of the blocks. However, we
119 * probably adds around 8 bytes to the overall code size.
/opensolaris-onvv-gate/usr/src/lib/libast/common/sfio/
H A Dsfpeek.c35 extern ssize_t sfpeek(reg Sfio_t* f, Void_t** bp, reg size_t size) argument
37 extern ssize_t sfpeek(f,bp,size)
40 reg size_t size; /* size of peek */
46 if((sz = size) == 0 || !bp)
58 else if(n > 0) /* size == 0 */
70 *bp = sfreserve(f, sz <= 0 ? 0 : sz > f->size ? f->size : sz, 0);
/opensolaris-onvv-gate/usr/src/lib/libast/common/stdio/
H A Dstdio_c99.c61 fgets_unlocked(char* buf, int size, Sfio_t* sp) argument
63 return fgets(buf, size, sp);
85 fread_unlocked(void* buf, size_t size, size_t n, Sfio_t* sp) argument
87 return fread(buf, size, n, sp);
91 fwrite_unlocked(void* buf, size_t size, size_t n, Sfio_t* sp) argument
93 return fwrite(buf, size, n, sp);

Completed in 161 milliseconds

1234567891011>>