Searched refs:size (Results 126 - 150 of 3651) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_solaris.c127 mark_rm_pages_to_dump(addr, size, dump)
129 int size, dump;
136 _nsc_mark_pages(caddr_t addr, size_t size, int dump) argument
138 if (mark_rm_pages_to_dump(addr, (int)size, dump) < 0)
139 cmn_err(CE_WARN, "_nsc_mark_pages: %s failed - 0x%p size %d",
140 (dump ? "mark" : "unmark"), addr, (int)size);
/opensolaris-onvv-gate/usr/src/uts/sun4v/sys/
H A Dmach_descrip.h51 void *(*buf_allocp)(size_t size, size_t align);
52 void (*buf_freep)(void *, size_t size);
53 void *(*meta_allocp)(size_t size);
54 void (*meta_freep)(void *, size_t size);
70 uint64_t size; /* size of MD */ member in struct:machine_descrip_s
/opensolaris-onvv-gate/usr/src/cmd/listen/
H A Dnlsaddr.c116 register unsigned size; local
133 if (size = externsz((unsigned)info.addr))
134 if (!(p = malloc(size)))
136 if (call->addr.maxlen = size)
139 if (size = externsz((unsigned)info.options))
140 if (!(p = malloc(size)))
142 if (call->opt.maxlen = size)
145 if (size = externsz((unsigned)info.connect))
146 if (!(p = malloc(size)))
148 if (call->udata.maxlen = size)
[all...]
/opensolaris-onvv-gate/usr/src/lib/libast/common/comp/
H A Dregexp.c39 unsigned int size; member in struct:__anon2842
43 block(void* handle, void* data, size_t size) argument
47 if (data || (size = roundof(size, ALIGN_BOUND2)) > (env->buf + env->size - env->cur))
50 env->cur += size;
55 _re_comp(regexp_t* re, const char* pattern, char* handle, unsigned int size) argument
60 if (size <= sizeof(Env_t))
63 env->size = size
[all...]
/opensolaris-onvv-gate/usr/src/lib/libproc/common/
H A DPutil.c78 * size must be passed explicitly, e.g. : prset_fill(&set, sizeof (set));
81 prset_fill(void *sp, size_t size) argument
83 size_t i = size / sizeof (uint32_t);
90 prset_empty(void *sp, size_t size) argument
92 size_t i = size / sizeof (uint32_t);
99 prset_add(void *sp, size_t size, uint_t flag) argument
101 if (flag - 1 < 32 * size / sizeof (uint32_t))
106 prset_del(void *sp, size_t size, uint_t flag) argument
108 if (flag - 1 < 32 * size / sizeof (uint32_t))
113 prset_ismember(void *sp, size_t size, uint_ argument
[all...]
/opensolaris-onvv-gate/usr/src/common/crypto/fips/
H A Dfips_checksum.c30 #define FIPS_ALLOC(size) kmem_alloc(size, KM_SLEEP)
31 #define FIPS_FREE(buf, size) kmem_free(buf, size)
38 int kobj_read_file(struct _buf *file, char *buf, uint_t size, uint_t off);
41 #define FIPS_ALLOC(size) malloc(size)
42 #define FIPS_FREE(buf, size) free(buf)
78 size_t size, offs; local
84 size
133 unsigned int size, numsec; local
177 fips_read_file(int fd, char *buf, int size, int offs) argument
275 unsigned int size, i; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/intel/io/drm/
H A Dradeon_mem.c51 split_block(struct mem_block *p, int start, int size, drm_file_t *filp) argument
60 newblock->size = p->size - (start - p->start);
66 p->size -= newblock->size;
71 if (size < p->size) {
76 newblock->start = start + size;
77 newblock->size = p->size
93 alloc_block(struct mem_block *heap, int size, int align2, drm_file_t *filp) argument
149 init_heap(struct mem_block **heap, int start, int size) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/lp/lib/msgs/
H A Dmread.c44 ** buffer size
45 ** Return: The size of the message in message buffer.
58 int mread ( MESG * md, char * msgbuf, int size )
60 int mread ( md, msgbuf, size )
63 int size;
82 if (size <= 0)
88 dat.maxlen = size;
112 if (size < CONTROL_LEN)
118 if (read3_2(md, msgbuf, size) < 0)
H A Dstreamio.c97 ** buffer size
104 int read3_2 ( MESG * md, char *msgbuf, int size )
113 switch (read_fifo(md->readfd, msgbuf, size))
143 ** Get the size from the 3.2 HPI message
144 ** minus the size of the control data
146 ** Reset the message size.
148 size = stoh(msgbuf + HEAD_SIZE) - EXCESS_3_2_LEN;
149 memmove(msgbuf, msgbuf + HEAD_SIZE, size);
150 (void) htos(msgbuf + MESG_SIZE, size);
154 int write3_2 ( MESG * md, char * msgbuf, int size )
[all...]
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dinit.c44 static void mdesc_free(void *bufp, size_t size);
52 size_t size; local
64 if (ioctl(fd, MDESCIOCGSZ, &size) < 0)
66 if ((md_bufp = (uint64_t *)malloc(size)) == NULL) {
74 if (read(fd, md_bufp, size) != size) {
97 mdesc_free(void *bufp, size_t size) argument
/opensolaris-onvv-gate/usr/src/cmd/ttymon/
H A Dtmparse.c37 getword(ptr, size, getall)
39 int *size; /* *size = number of characters scanned */
47 *size = 0;
51 (*size)++;
57 /* into the word, up to the size of the word. */
59 *ptr != '\0' && *ptr != ':'; ptr++,(*size)++) {
68 (*size) += qsize;
78 (*size)++;
88 /* character, and returns a single character plus the size o
[all...]
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/bn/
H A Dexp.c17 int j,i,size=SIZE,num=NUM,mod=MOD; local
31 while (size <= 1024*8)
33 BN_rand(&a,size,0,0);
34 BN_rand(&b,size,1,0);
35 BN_rand(&c,size,0,1);
54 printf("%5d bit:%6.2f %6d %6.4f %4d m_set(%5.4f)\n",size,
59 size*=2;
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dfwrite.c49 fwrite(ptr, size, count, iop)
51 int size, count;
59 if (size <= 0 || count <= 0 || _WRTCHK(iop))
63 nleft = count*size;
75 return n/size;
84 return (count - (nleft + size - 1)/size);
/opensolaris-onvv-gate/usr/src/cmd/adbgen/common/
H A Dadbsub.c83 * Emit the format command, return the size.
159 "Unknown format size \"%s\", assuming zero\n",
166 fprintf(stderr, "Unknown format size: %s\n", acp);
179 * Format struct member, checking size.
182 format(char *name, size_t size, char *fmt) argument
187 if (fs != size && warnings) {
189 "warning: \"%s\" size is %ld, \"%s\" width is %d\n",
190 name, size, fmt, fs);
200 indirect(off_t offset, size_t size, char *base, char *member) argument
202 if (size
[all...]
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/nsgmls.src/lib/
H A DSdText.cxx22 items_.resize(items_.size() + 1);
29 if (items_.size() == 0
32 + (chars_.size() - items_.back().index))) {
33 items_.resize(items_.size() + 1);
35 items_.back().index = chars_.size();
54 loc += chars_.size() - items_.back().index;
71 if (itemIndex_ >= items.size())
77 if (itemIndex_ + 1 < items.size())
80 length = chars.size() - charsIndex;
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/libstandctf/
H A Dctf_subr.c87 ctf_data_alloc(size_t size) argument
89 void *buf = mdb_alloc(size, UM_NOSLEEP);
98 ctf_data_free(void *buf, size_t size) argument
100 mdb_free(buf, size);
105 ctf_data_protect(void *buf, size_t size) argument
111 ctf_alloc(size_t size) argument
113 return (mdb_alloc(size, UM_NOSLEEP));
117 ctf_free(void *buf, size_t size) argument
119 mdb_free(buf, size);
/opensolaris-onvv-gate/usr/src/cmd/sendmail/libsm/
H A Drpool.c52 ** size -- size of block.
62 sm_rpool_allocblock_x(rpool, size)
64 size_t size;
68 p = sm_malloc_x(sizeof(SM_POOLHDR_T) + size);
79 ** size -- size of block.
86 sm_rpool_allocblock(rpool, size)
88 size_t size;
92 p = sm_malloc(sizeof(SM_POOLHDR_T) + size);
[all...]
H A Dheap.c64 ** The behaviour of malloc with size==0 is platform dependent (it
68 ** two choices: "size = 1" or "return NULL". We use the former in the
72 ** use size.
75 #define MALLOC_SIZE(size) ((size) == 0 ? 1 : (size))
81 ** size -- size of requested memory.
96 sm_malloc_x(size)
97 size_t size;
[all...]
H A Dsetvbuf.c33 ** If 'size' is == 0 then an "optimal" size will be selected.
34 ** If 'buf' is == NULL then space will be allocated at 'size'.
41 ** size -- size of 'buf'
49 sm_io_setvbuf(fp, timeout, buf, mode, size)
54 size_t size;
65 ** Verify arguments. The `int' limit on `size' is due to this
66 ** particular implementation. Note, buf and size are ignored
72 mode != SM_IO_NOW) || (int) size <
[all...]
/opensolaris-onvv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_utils.c77 if (sizeof(recno_t) > t->bt_rkey.size) {
84 t->bt_rkey.size = sizeof(recno_t);
87 key->size = sizeof(recno_t);
102 &data->size, &t->bt_rdata.data, &t->bt_rdata.size))
107 if (rl->dsize + 1 > t->bt_rdata.size) {
114 t->bt_rdata.size = rl->dsize + 1;
117 data->size = rl->dsize;
120 data->size = rl->dsize;
/opensolaris-onvv-gate/usr/src/lib/libc/port/stdio/
H A Dsetvbuf.c43 setvbuf(FILE *iop, char *abuf, int type, size_t size) argument
62 size = BUFSIZ;
67 size = _SMBFSZ - PUSHBACK;
71 size = _SMBFSZ - PUSHBACK;
84 if (size <= _SMBFSZ) {
85 size = BUFSIZ;
90 (size + _SMBFSZ))) != NULL)
98 size -= _SMBFSZ;
108 _setbufend(iop, temp + size);
/opensolaris-onvv-gate/usr/src/tools/codesign/
H A Dcodesign_server.pl102 # sign(size, cred, path)
107 my ($size, $cred, $path) = @_;
111 recvfile("$Tmpdir/in.zip", $size) || return;
157 # an OK SIGN response that includes the file size, followed by
162 my ($size, $bytes);
164 $size = -s $file;
169 read(F, $bytes, $size);
171 print "OK SIGN $size $path\n";
172 syswrite(STDOUT, $bytes, $size);
177 # recvfile(file, size)
[all...]
/opensolaris-onvv-gate/usr/src/uts/sparc/os/
H A Dbootops.c163 bop_read(int fd, caddr_t buf, size_t size) argument
167 return (prom_fread(prom_ihs[fd], fd, buf, size));
218 bop_temp_alloc(size_t size, int align) argument
228 if (size < PAGESIZE) {
232 size = roundup(size, MAX(align, 8));
233 if (size <= left) {
235 littlehand += size;
238 littlehand = bighand + size;
240 size
280 bop_alloc(caddr_t virthint, size_t size, int align) argument
296 bop_alloc_chunk(caddr_t virthint, size_t size, int align) argument
364 bop_alloc_virt(caddr_t virt, size_t size) argument
374 bop_free(caddr_t virt, size_t size) argument
554 cobp_free_mem(caddr_t base, size_t size) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_event.c243 if (entry->bp && entry->size) {
244 kmem_free(entry->bp, entry->size);
256 emlxs_event(emlxs_port_t *port, emlxs_event_t *evt, void *bp, uint32_t size) argument
283 entry->size = size;
324 "%s[%d]: bp=%p size=%d cnt=%d", entry->evt->label,
325 entry->id, bp, size, eventq->count);
339 if (entry->bp && entry->size) {
340 kmem_free(entry->bp, entry->size);
393 emlxs_log_rscn_event(emlxs_port_t *port, uint8_t *payload, uint32_t size) argument
434 emlxs_log_vportrscn_event(emlxs_port_t *port, uint8_t *payload, uint32_t size) argument
477 emlxs_log_ct_event(emlxs_port_t *port, uint8_t *payload, uint32_t size, uint32_t rxid) argument
550 uint32_t size; local
662 emlxs_log_dump_event(emlxs_port_t *port, uint8_t *buffer, uint32_t size) argument
704 uint32_t size; local
740 uint32_t size; local
774 uint32_t size; local
973 uint32_t size = 0; local
1116 uint32_t size; local
1153 uint32_t size; local
1191 uint32_t size; local
1231 uint32_t size; local
1274 uint32_t size; local
1315 uint32_t size; local
1355 uint32_t size; local
1403 uint32_t size = 0; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fm/schemes/legacy-hc/
H A Dscheme.c32 ssize_t size; local
41 size = snprintf(buf, buflen, "legacy-hc:///component=%s", c);
44 return (size);

Completed in 332 milliseconds

1234567891011>>