Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 3175) sorted by relevance

12345678910>>...127

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A D577xx_int_offsets.h68 #define XSTORM_SPQ_PAGE_BASE_SIZE (IRO[30].size)
71 #define XSTORM_SPQ_PROD_SIZE (IRO[31].size)
74 #define XSTORM_SPQ_DATA_SIZE (IRO[32].size)
76 #define XSTORM_HIGIG_HDR_LENGTH_SIZE (IRO[33].size)
79 #define XSTORM_VF_SPQ_PAGE_BASE_SIZE (IRO[34].size)
82 #define XSTORM_VF_SPQ_PROD_SIZE (IRO[35].size)
85 #define XSTORM_VF_SPQ_DATA_SIZE (IRO[36].size)
87 #define XSTORM_JUMBO_SUPPORT_SIZE (IRO[37].size)
89 #define XSTORM_COMMON_IP_ID_MASK_SIZE (IRO[38].size)
92 #define XSTORM_COMMON_RTC_PARAMS_SIZE (IRO[39].size)
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c119 block->size += block2->size + HDR_BLOCK; in defrag()
137 if (block->size > size + sizeof (struct block)) { in split()
146 newblock->size = block->size - size - HDR_BLOCK; in split()
147 block->size = size; in split()
159 malloc(size_t size) in malloc() argument
164 size = S_DROUND(size); in malloc()
171 if ((block->status == FREE) && (block->size >= size)) in malloc()
198 split(block, size); in malloc()
242 size = S_DROUND(size); in realloc()
249 block->size += block->next->size + HDR_BLOCK; in realloc()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_iro.h41 #define YSTORM_FLOW_CONTROL_MODE_SIZE (IRO[0].size)
44 #define TSTORM_PORT_STAT_SIZE (IRO[1].size)
47 #define TSTORM_LL2_PORT_STAT_SIZE (IRO[2].size)
50 #define USTORM_VF_PF_CHANNEL_READY_SIZE (IRO[3].size)
53 #define USTORM_FLR_FINAL_ACK_SIZE (IRO[4].size)
56 #define USTORM_EQE_CONS_SIZE (IRO[5].size)
59 #define USTORM_ETH_QUEUE_ZONE_SIZE (IRO[6].size)
62 #define USTORM_COMMON_QUEUE_CONS_SIZE (IRO[7].size)
65 #define XSTORM_INTEG_TEST_DATA_SIZE (IRO[8].size)
68 #define YSTORM_INTEG_TEST_DATA_SIZE (IRO[9].size)
[all …]
/illumos-gate/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c115 size = align(size, MINSZ); in malloc_unlocked()
122 if (block->status == FREE && block->size >= size) in malloc_unlocked()
170 size = align(size, MINSZ); in realloc()
177 block->size += block->next->size + HDR_BLOCK; in realloc()
181 if (size <= block->size) { in realloc()
221 return (size + bound - 1 - (size + bound - 1) % bound); in align()
227 if (block->size > size + sizeof (struct block)) { in split()
234 newblock->size = block->size - size - HDR_BLOCK; in split()
235 block->size = size; in split()
255 block->size += block2->size + HDR_BLOCK; in defrag()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_alloc.c53 size_t size; local
77 size_t num, size; in __os_calloc()
83 size *= num;
101 size_t size; in __os_malloc()
109 if (size == 0)
110 ++size;
143 size_t size;
154 if (size == 0)
155 ++size;
188 size_t size;
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_alloc.c55 smb_mem_alloc(size_t size) in smb_mem_alloc() argument
64 smb_mem_zalloc(size_t size) in smb_mem_zalloc() argument
121 size_t size; in smb_mem_strdup() local
123 size = strlen(ptr) + 1; in smb_mem_strdup()
125 bcopy(ptr, p, size); in smb_mem_strdup()
204 size_t size; in smb_srm_strdup() local
206 size = strlen(s) + 1; in smb_srm_strdup()
208 bcopy(s, p, size); in smb_srm_strdup()
234 smh->smh_size = size; in smb_alloc()
297 if (size == 0) { in smb_realloc()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A Duni_common.c34 int size = 0; local
56 return size;
67 int size = 0; local
89 return size;
100 int size = 0; local
113 *(buf + size++) = (uchar_t)0;
114 *(buf + size++) = (uchar_t)0;
126 return size;
137 int size = 0; local
148 *(buf + size++) = (uchar_t)0;
[all …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dalloc.c101 size_t size; in initial_allocation() local
158 if (size-- <= MINSIZE) in getbucketnum()
165 if (size & 0xffff0000) in getbucketnum()
167 if (size & 0xff00) in getbucketnum()
169 if (size & 0xf0) in getbucketnum()
171 if (size & 0xc) in getbucketnum()
173 if (size & 0x2) in getbucketnum()
181 lmalloc(size_t size) in lmalloc() argument
237 n = bsize / size; in lmalloc()
350 size = (size_t)MINSIZE << getbucketnum(size + sizeof (*ptr)); in libc_malloc()
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DResample.cc129 int size) in updateState() argument
177 int size, in decimate_noadjust() argument
182 if (size <= 0) in decimate_noadjust()
197 int init_size = (size <= order)? size : order; in decimate_noadjust()
214 int size, in decimate() argument
253 if (size <= 0) in interpolate_noadjust()
309 int size, in interpolate() argument
312 if (size <= 0) in interpolate()
333 int size, in filter_noadjust() argument
338 if (size <= 0) in filter_noadjust()
[all …]
H A DFir.cc71 int size) in short2double() argument
73 while (size-- > 0) in short2double()
91 int size) in updateState() argument
99 memcpy(state + order - size, data, size * sizeof (double)); in updateState()
106 int size) in update_short() argument
169 int size, in filter_noadjust() argument
172 if (size <= 0) in filter_noadjust()
178 int init_size = (size <= order)? size : order; in filter_noadjust()
238 int size, in filter() argument
247 delay -= size; in filter()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A D_putmessage.c50 int size = 0; local
63 size = MESG_LEN;
75 size += 4;
83 size += 8;
93 size += 4;
101 size += t_short;
111 size += 4;
120 *(buf + size) = '\0';
122 size += t_short;
128 *(buf + size) = '\0';
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dbits.h13 static inline unsigned long long sign_bit(unsigned size) in sign_bit() argument
15 return 1ULL << (size - 1); in sign_bit()
20 unsigned long long sbit = sign_bit(size); in sign_mask()
26 unsigned long long sbit = sign_bit(size); in bits_mask()
33 return val & bits_mask(size); in zero_extend()
38 if (val & sign_bit(size)) in sign_extend()
39 val |= ~sign_mask(size); in sign_extend()
47 unsigned long long mask = bits_mask(size); in sign_extend_safe()
49 val = sign_extend(val, size); in sign_extend_safe()
55 val = zero_extend(val, size); in bits_extend()
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_alloc.c35 topo_alloc(size_t size, int flags) in topo_alloc() argument
37 return (umem_alloc(size, flags)); in topo_alloc()
42 topo_zalloc(size_t size, int flags) in topo_zalloc() argument
44 void *data = topo_alloc(size, flags); in topo_zalloc()
46 bzero(data, size); in topo_zalloc()
52 topo_free(void *data, size_t size) in topo_free() argument
54 umem_free(data, size); in topo_free()
58 topo_hdl_alloc(topo_hdl_t *thp, size_t size) in topo_hdl_alloc() argument
62 return (ap->ta_alloc(size, ap->ta_flags)); in topo_hdl_alloc()
78 ap->ta_free(data, size); in topo_hdl_free()
[all …]
/illumos-gate/usr/src/lib/libumem/common/
H A Dmalloc.c66 size_t size; in umem_malloc() local
74 high_size = (size >> 32); in umem_malloc()
77 if (size < size_arg) { in umem_malloc()
83 if (size <= UMEM_MAXBUF) in umem_malloc()
115 ret->malloc_size = size; in umem_malloc()
133 retval = malloc(size); in calloc()
151 size_t size; in memalign() local
187 if (size < size_arg) { in memalign()
229 valloc(size_t size) in valloc() argument
254 size_t size; in process_free() local
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/qsort/
H A Dmerge.c159 if (i == size) in mergesort()
165 i = (((t - b) / size) >> 1) * size; in mergesort()
180 i = size; in mergesort()
227 i = size; \
231 a -= size; \
236 i = size; \
257 size2 = size*2; in setup()
268 insertionsort(list1 + (n - i) * size, i, size, cmp); in setup()
313 swap(f1, f1 + size); in setup()
329 for (ai = a+size; --n >= 1; ai += size) in insertionsort()
[all …]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drsrc_info.c188 *sizep = size; in ri_pack()
207 size_t size; in ap_list_pack() local
241 *sizep = size; in ap_list_pack()
294 *sizep = size; in dev_list_pack()
348 *sizep = size; in client_list_pack()
567 size = 0; in ri_unpack()
579 size = 0; in ri_unpack()
591 size = 0; in ri_unpack()
637 size = 0; in ap_list_unpack()
753 size = 0; in client_list_unpack()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dvmalloc.c42 vp->size = sizeof(vp->current->data); in _vm_open()
73 vp->last = size; in _vm_resize()
74 if (o && size < z) in _vm_resize()
76 if ((o ? (size - z) : size) > vp->size) in _vm_resize()
78 n = (size > sizeof(vp->current->data)) ? (size - sizeof(vp->current->data)) : 0; in _vm_resize()
91 size -= z; in _vm_resize()
93 size = roundof(size, VM_ALIGN); in _vm_resize()
94 if (size >= vp->size) in _vm_resize()
95 vp->size = 0; in _vm_resize()
98 vp->size -= size; in _vm_resize()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Drpool.c64 size_t size;
88 size_t size;
130 size_t size;
137 size_t size;
146 if (size & SM_ALIGN_BITS)
147 size = (size & ~SM_ALIGN_BITS) + SM_ALIGN_SIZE;
153 rpool->sm_poolptr += size;
226 size_t size;
233 size_t size;
242 if (size & SM_ALIGN_BITS)
[all …]
H A Dheap.c75 #define MALLOC_SIZE(size) ((size) == 0 ? 1 : (size)) argument
97 size_t size; in sm_malloc_x()
122 sm_malloc(size) in sm_malloc() argument
123 size_t size; in sm_malloc()
147 size_t size;
174 size_t size;
362 size_t size; in sm_malloc_tagged()
416 size_t size; in sm_malloc_tagged_x()
474 size_t size;
527 size_t size;
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_event.c240 entry->size = size; in emlxs_event()
688 size = 0; in emlxs_log_dump_event()
780 size = 64; in emlxs_log_async_event()
976 size = dfc_event->size; in emlxs_get_dfc_event()
1066 if (entry->size < size) { in emlxs_get_dfc_event()
1067 size = entry->size; in emlxs_get_dfc_event()
1075 dfc_event->size = size; in emlxs_get_dfc_event()
1401 size = dfc_event->size; in emlxs_get_sd_event()
1489 if (entry->size < size) { in emlxs_get_sd_event()
1490 size = entry->size; in emlxs_get_sd_event()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dmemcluster.c65 size_t size; member
201 if (size == 0U) { in __memget_record()
218 e->size = size; in __memget_record()
324 e->size = size; in __memget_record()
342 stats[size].gets++; in __memget_record()
384 if (size == 0U) { in __memput_record()
393 INSIST(e->size == size); in __memput_record()
466 stats[size].gets--; in __memput_record()
476 (u_long)size, ptr); in __memget_debug()
483 (u_long)size); in __memput_debug()
[all …]
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_subr.c33 ctf_data_alloc(size_t size) in ctf_data_alloc() argument
42 (void) munmap(buf, size); in ctf_data_free()
52 ctf_alloc(size_t size) in ctf_alloc() argument
54 return (malloc(size)); in ctf_alloc()
58 mergeq_alloc(size_t size) in mergeq_alloc() argument
60 return (malloc(size)); in mergeq_alloc()
64 workq_alloc(size_t size) in workq_alloc() argument
66 return (malloc(size)); in workq_alloc()
71 ctf_free(void *buf, size_t size) in ctf_free() argument
78 mergeq_free(void *buf, size_t size) in mergeq_free() argument
[all …]
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditm_util.c317 refp->size = size; in obj_register()
450 if (ep->size < len_min) len_min = ep->size; in escseq_table()
1618 (source->size + source->size) + in map_table_dense_encoding()
2368 if ((name->size != p->name.size) || in name_lookup()
2503 if (d0->size < d1->size) { in data_compare()
2509 } else if (d0->size == d1->size) { in data_compare()
2535 if (d0->size == d1->size) { in data_pair_compare()
2537 } else if (d0->size < d1->size) { in data_pair_compare()
2538 s = d1->size - d0->size; in data_pair_compare()
2546 assert(d0->size > d1->size); in data_pair_compare()
[all …]
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kmem.c425 size = ptob(btopr(size)); in boot_alloc()
471 npages = btopr(size); in segkmem_fault()
872 pgcnt_t npages = btopr(size); in segkmem_xalloc()
882 vmem_free(vmp, addr, size); in segkmem_xalloc()
1005 gc->gc_size = size; in segkmem_xfree()
1211 vmem_free(vmp, addr, size); in segkmem_xalloc_lp()
1259 size_t size; in segkmem_alloc_lp() local
1265 size = *sizep; in segkmem_alloc_lp()
1279 ASSERT(asize >= size); in segkmem_alloc_lp()
1401 ASSERT(size != 0); in segkmem_alloc_lpi()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfresize.c29 int sfresize(Sfio_t* f, Sfoff_t size) in sfresize() argument
31 int sfresize(f, size) in sfresize()
33 Sfoff_t size;
40 if(size < 0 || f->extent < 0 ||
49 if(f->extent >= size)
53 if(s < f->size && (d = realloc(f->data, s)) )
55 f->size = s;
59 memclear((char*)(f->data+size), (int)(f->extent-size));
62 { if(SFSK(f, size, SEEK_SET, f->disc) != size)
71 if(ftruncate(f->file, (sfoff_t)size) < 0)
[all …]

12345678910>>...127