Searched refs:size (Results 201 - 225 of 3651) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmallint.h67 uint size; member in struct:freehdr
86 uint size; /* Size of the block */ member in struct:dblk
95 uint size; /* Size of the block */ member in struct:dblk
102 * weight(x) is the size of a block, in bytes; or 0 if and only if x
108 #define weight(x) ((x) == NIL? 0: (x->size))
110 #define nextblk(p, size) ((Dblk) ((char *) (p) + (size)))
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/
H A Dtsdalloc.c41 size_t size; member in struct:__anon3231
59 lfree(p, loc[i].size);
67 tsdalloc(__tsd_item_t n, size_t size, pfrv_t destructor) argument
100 loc[n].buf = p = lmalloc(size);
101 loc[n].size = size;
/opensolaris-onvv-gate/usr/src/lib/libc/port/stdio/
H A Dfgets.c44 /* read size-max line from stream, including '\n' */
46 fgets(char *buf, int size, FILE *iop) argument
73 size--; /* room for '\0' */
74 while (size > 0) {
86 n = (int)(size < iop->_cnt ? size : iop->_cnt);
97 size -= n;
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/
H A Ddebug.c97 int size = backtrace(stack, 20); local
98 strings = backtrace_symbols(stack, size);
101 printf(_("Backtrace has %d calls on stack:\n"), size);
102 for (string = strings; size > 0; size--, string++)
103 printf(" %d: %s\n", size, *string);
H A Dlibparted.c45 /* ped_malloc() debugging. Stick the address and size of memory blocks that
53 size_t size; member in struct:__anon4060
263 _check_dodgy_pointer (const void* ptr, size_t size, int is_malloc) argument
270 if (is_malloc && dodgy_malloc_list[i].size != size)
281 size, ptr, dodgy_memory_active[i]);
298 ped_malloc (size_t size) argument
302 mem = (void*) malloc (size);
310 memset (mem, 0xff, size);
311 _check_dodgy_pointer (mem, size,
318 ped_realloc(void** old, size_t size) argument
333 ped_calloc(size_t size) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_resync.c43 daddr_t size,
62 return (meta_raid_resync(sp, np, size, ep));
64 return (meta_mirror_resync(sp, np, size, ep, cmd));
77 daddr_t size,
103 if (meta_mirror_resync_all(sp, size, ep) != 0)
105 if (meta_raid_resync_all(sp, size, ep) != 0)
40 meta_resync_byname( mdsetname_t *sp, mdname_t *np, daddr_t size, md_error_t *ep, md_resync_cmd_t cmd ) argument
75 meta_resync_all( mdsetname_t *sp, daddr_t size, md_error_t *ep ) argument
/opensolaris-onvv-gate/usr/src/tools/cscope-fast/
H A Dlibrary.h45 void *mymalloc(size_t size);
46 void *mycalloc(size_t nelem, size_t size);
47 void *myrealloc(void *p, size_t size);
/opensolaris-onvv-gate/usr/src/ucblib/libucb/port/gen/
H A Dsetbuffer.c56 int size = asize - _SMBFSZ; local
68 size = BUFSIZ - _SMBFSZ;
73 size = _SMBFSZ - PUSHBACK;
77 size = _SMBFSZ - PUSHBACK;
79 } else /* regular buffered I/O, specified buffer size */ {
80 if (size <= 0)
87 _setbufend(iop, temp + size);
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dbp_map.c43 #define BP_FLUSH(addr, size) flush_instr_mem((void *)addr, size);
45 #define BP_FLUSH(addr, size)
54 offset_t offset, size_t size);
63 bp_vmem_alloc(vmem_t *vmp, size_t size, int vmflag) argument
65 return (vmem_xalloc(vmp, size, bp_align, 0, 0, NULL, NULL, vmflag));
93 size_t size; local
108 size = P2ROUNDUP(bp->b_bcount + off, PAGESIZE);
109 npages = btop(size);
132 P2ROUNDUP(color + size, bp_alig
207 size_t size; local
251 bp_copyout(void *driverbuf, struct buf *bp, offset_t offset, size_t size) argument
261 bp_copyin(struct buf *bp, void *driverbuf, offset_t offset, size_t size) argument
272 bp_copy_common(bp_copydir_t dir, struct buf *bp, void *driverbuf, offset_t offset, size_t size) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/intel/io/drm/
H A Di915_mem.c71 end = (p->start + p->size - 1) >> shift;
101 static struct mem_block *split_block(struct mem_block *p, int start, int size, drm_file_t *fpriv) argument
110 newblock->size = p->size - (start - p->start);
116 p->size -= newblock->size;
121 if (size < p->size) {
126 newblock->start = start + size;
127 newblock->size
142 alloc_block(struct mem_block *heap, int size, int align2, drm_file_t *fpriv) argument
205 init_heap(struct mem_block **heap, int start, int size) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A DCompare.pm22 my ($from,$to,$size) = @_;
23 my $text_mode = defined($size) && (ref($size) eq 'CODE' || $size < 0);
57 # If both are opened files we know they differ if their size differ
66 if (ref $size) {
67 # $size contains ref to comparison function
68 goto fail_inner if &$size($fline, $tline);
76 unless (defined($size) && $size >
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dinet_ntop.c57 static const char *inet_ntop4(const u_char *src, char *dst, size_t size);
58 static const char *inet_ntop6(const u_char *src, char *dst, size_t size);
61 * inet_ntop(af, src, dst, size)
69 inet_ntop(af, src, dst, size)
73 size_t size;
77 return (inet_ntop4(src, dst, size));
79 return (inet_ntop6(src, dst, size));
88 * inet_ntop4(src, dst, size)
99 inet_ntop4(src, dst, size)
102 size_t size;
[all...]
/opensolaris-onvv-gate/usr/src/common/lzma/
H A DTypes.h119 SRes (*Read)(void *p, void *buf, size_t *size);
120 /* if (input(*size) != 0 && output(*size) == 0) means end_of_stream.
121 (output(*size) < input(*size)) is allowed */
125 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size);
126 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType);
131 size_t (*Write)(void *p, const void *buf, size_t size);
133 (result < size) means error */
145 SRes (*Read)(void *p, void *buf, size_t *size); /* sam
177 size_t size; member in struct:__anon2163
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4v/os/
H A Dintrq.c65 size_t size; local
93 size = ncpu_guest_max * sizeof (uint16_t);
94 if (size < INTR_REPORT_SIZE)
95 size = INTR_REPORT_SIZE;
98 * contig_mem_alloc() requires size to be a power of 2.
99 * Increase size to a power of 2 if necessary.
101 if ((size & (size - 1)) != 0) {
102 size = 1 << highbit(size);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/Unicode/
H A DUnicode.xs22 enc_unpack(pTHX_ U8 **sp,U8 *e,STRLEN size,U8 endian)
26 if (s+size > e) {
55 enc_pack(pTHX_ SV *result,STRLEN size,U8 endian,UV value)
57 U8 *d = (U8 *)SvGROW(result,SvCUR(result)+size+1);
62 SvCUR_set(result,SvCUR(result)+size);
63 while (size--) {
70 SvCUR_set(result,SvCUR(result)+size);
72 while (size--) {
98 int size = SvIV(attr("size",
[all...]
/opensolaris-onvv-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dpol_xdr.c45 u_int size; local
49 size = 0;
51 size = strlen(*objp) + 1;
53 if (! xdr_u_int(xdrs, &size)) {
58 if (size == 0) {
62 *objp = (char *) mem_alloc(size);
68 return (xdr_opaque(xdrs, *objp, size));
71 if (size != 0)
72 return (xdr_opaque(xdrs, *objp, size));
77 mem_free(*objp, size);
[all...]
/opensolaris-onvv-gate/usr/src/lib/libast/common/cdt/
H A Ddtdisc.c32 static Void_t* dtmemory(Dt_t* dt,Void_t* addr,size_t size,Dtdisc_t* disc) argument
34 static Void_t* dtmemory(dt, addr, size, disc)
37 size_t size; /* size to obtain */
42 { if(size == 0)
46 else return realloc(addr,size);
48 else return size > 0 ? malloc(size) : NIL(Void_t*);
105 dt->data->size = 0;
119 k = _DTKEY((Void_t*)k,disc->key,disc->size);
[all...]
/opensolaris-onvv-gate/usr/src/lib/libast/common/sfio/
H A Dsfsetbuf.c43 ** If size < 0, it is assigned a suitable value depending on the
44 ** kind of stream. The actual buffer size allocated is dependent
93 Void_t* sfsetbuf(Sfio_t* f, Void_t* buf, size_t size) argument
95 Void_t* sfsetbuf(f,buf,size)
98 size_t size; /* buffer size, -1 for default size */
115 if(size == 0 && buf)
117 _Sfi = f->val = (f->bits&SF_MMAP) ? (f->endb-f->data) : f->size;
124 size
[all...]
/opensolaris-onvv-gate/usr/src/lib/libumem/common/
H A Dgetpcstack.c62 size_t size = 0; local
86 size = st.ss_size;
89 * If size == 0, then ss_sp is the *top* of the stack.
96 size = (uintptr_t)st.ss_sp;
110 size = umem_max_stack - umem_min_stack;
114 * shorten size so that fr_savfp and fr_savpc will be within the stack
117 if (size >= UMEM_FRAMESIZE - 1)
118 size -= (UMEM_FRAMESIZE - 1);
120 size = 0;
131 if (((uintptr_t)fp - base) >= size)
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/ath/
H A Dath_osdep.c48 size_t size; member in struct:ath_halfix
85 * within ath_hal.o. We must record the size of
87 * the size and then calls kmem_free().
90 ath_hal_malloc(size_t size) argument
103 p = kmem_zalloc(size, KM_SLEEP);
105 ath_halfix[i].size = size;
107 "%d: p=%p, size=%d\n", i, p, size));
123 kmem_free(p, ath_halfix[i].size);
[all...]
/opensolaris-onvv-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_printf.c125 uint8_t size; local
138 size = 0;
166 if (size == 0)
167 size = sizeof (long);
168 else if (size == sizeof (long))
169 size = sizeof (long long);
173 if (size == 0)
175 else if (size == sizeof (long))
193 if (size == 0)
195 else if (size
[all...]
/opensolaris-onvv-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drsrc_info.c138 size_t size = 0; local
164 if (ap_list_pack(hdl->aps, &buf, &size, encoding) != 0 ||
165 nvlist_add_byte_array(nvl, RI_HDL_APS, (uchar_t *)buf, size) != 0) {
170 if (client_list_pack(hdl->cpu_cap_clients, &buf, &size,
173 size) != 0) {
178 if (client_list_pack(hdl->mem_cap_clients, &buf, &size,
181 size) != 0) {
186 if (nvlist_pack(nvl, &buf, &size, encoding, 0) != 0) {
193 *sizep = size;
213 size_t size; local
267 size_t size = 0; local
322 size_t size = 0; local
373 size_t size = 0; local
438 size_t size = 0; local
484 size_t size = 0; local
532 size_t size = 0; local
553 ri_unpack(caddr_t buf, size_t size, ri_hdl_t **hdlp) argument
627 ap_list_unpack(char *buf, size_t size, ri_ap_t **aps) argument
687 dev_list_unpack(char *buf, size_t size, ri_dev_t **devs) argument
745 client_list_unpack(char *buf, size_t size, ri_client_t **clients) argument
805 client_unpack(char *buf, size_t size, ri_client_t *client) argument
846 dev_unpack(char *buf, size_t size, ri_dev_t *dev) argument
884 ap_unpack(char *buf, size_t size, ri_ap_t *ap) argument
953 size_t size = 0; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/nsgmls.src/include/
H A DISet.cxx34 for (size_t i = 0; i < r_.size(); i++)
47 for (i = r_.size(); i > 0 && min - 1 <= r_[i - 1].max; i--)
51 if (i < r_.size() && (r_[i].min == 0 || max >= r_[i].min - 1)) {
58 for (j = i + 1; j < r_.size() && r_[i].max >= r_[j].min - 1; j++)
62 for (size_t k = j; k < r_.size(); k++)
64 r_.resize(r_.size() - (j - i - 1));
71 r_.resize(r_.size() + 1);
72 for (size_t j = r_.size() - 1; j > i; j--)
82 for (size_t i = 0; i < r_.size(); i++)
86 while (++i < r_.size())
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4u/sys/
H A Dprom_plat.h77 * Page size of Prom mappings are typically 8k, "modify" cannot change
128 unsigned long long physaddr, uint_t size);
135 extern caddr_t prom_malloc(caddr_t virt, size_t size, uint_t align);
137 extern caddr_t prom_allocate_virt(uint_t align, size_t size);
138 extern caddr_t prom_claim_virt(size_t size, caddr_t virt);
139 extern void prom_free_virt(size_t size, caddr_t virt);
141 extern int prom_allocate_phys(size_t size, uint_t align,
143 extern int prom_claim_phys(size_t size,
145 extern void prom_free_phys(size_t size,
148 extern int prom_map_phys(int mode, size_t size, caddr_
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sendmail/db/lock/
H A Dlock_util.c48 return (dbt->size == lock_obj->lockobj.size &&
49 memcmp(dbt->data, obj_data, dbt->size) == 0);
76 * pair. If the size is right, then we do the fast hash.
110 if (dbt->size == sizeof(DB_LOCK_ILOCK))
113 return (__ham_func5(dbt->data, dbt->size));
134 if (lock_obj->lockobj.size == sizeof(DB_LOCK_ILOCK))
137 return (__ham_func5(obj_data, lock_obj->lockobj.size));

Completed in 215 milliseconds

1234567891011>>