HomeSort by relevance Sort by last modified time
    Searched refs:size (Results 1 - 25 of 3203) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /netvirt/usr/src/cmd/ipf/lib/common/
bcopywrap.c 3 int bcopywrap(from, to, size)
5 size_t size;
7 bcopy((caddr_t)from, (caddr_t)to, size);
kmemcpywrap.c 4 int kmemcpywrap(from, to, size)
6 size_t size;
10 ret = kmemcpy((caddr_t)to, (u_long)from, size);
  /netvirt/usr/src/cmd/xntpd/libntp/
emalloc.c 17 emalloc(size)
18 u_int size;
22 if ((mem = (char *)malloc(size)) == 0) {
  /netvirt/usr/src/lib/libbc/libc/gen/common/
valloc.c 29 valloc(size)
30 unsigned size;
35 return memalign(pagesize, size);
  /netvirt/usr/src/lib/libldap4/include/
ch_malloc.h 8 char * ch_malloc( unsigned long size );
9 char * ch_realloc( char *block, unsigned long size );
10 char * ch_calloc( unsigned long nelem, unsigned long size );
  /netvirt/usr/src/cmd/dtrace/test/tst/common/safety/
tst.copyin2.d 30 * Test that there is no value of 'size' which can be passed to copyin
32 * that we test both size = 0 and size = 0xfff...fff
39 size_t size;
42 size_t size;
48 printf("size = 0x%lx\n", (ulong_t)size);
54 tracemem(copyin(curthread->t_procp->p_user.u_envp, size), 10);
58 /pid == $pid && size > (1 << MAX_BITS)/
66 size = (size << 1ULL) | 1ULL
    [all...]
  /netvirt/usr/src/cmd/lp/lib/msgs/
_putmessage.c 50 int size = 0; local
63 size = MESG_LEN;
73 (void) htos(buf + size, t_short);
75 size += 4;
81 (void) ltos(buf + size, t_long);
83 size += 8;
91 (void) htos(buf + size, t_short);
93 size += 4;
97 (void) memcpy(buf + size, t_string, t_short);
99 (buf + size)[0] = 0
    [all...]
write_fifo.c 49 int write_fifo ( int fifo, char * buf, unsigned int size )
51 int write_fifo (fifo, buf, size)
54 unsigned int size;
61 (void)memcpy (buf + TAIL_ENDSYNC(size), Endsync, TAIL_ENDSYNC_LEN);
63 CALC_CHKSUM (buf, size, chksum);
64 (void)htos (buf + TAIL_CHKSUM(size), chksum);
86 if ((wbytes = write(fifo, buf, size)) > 0)
87 if (wbytes != size)
  /netvirt/usr/src/lib/fm/topo/libtopo/common/
topo_alloc.c 35 topo_alloc(size_t size, int flags)
37 return (umem_alloc(size, flags));
42 topo_zalloc(size_t size, int flags)
44 void *data = topo_alloc(size, flags);
46 bzero(data, size);
52 topo_free(void *data, size_t size)
54 umem_free(data, size);
58 topo_hdl_alloc(topo_hdl_t *thp, size_t size)
62 return (ap->ta_alloc(size, ap->ta_flags));
66 topo_hdl_zalloc(topo_hdl_t *thp, size_t size)
    [all...]
  /netvirt/usr/src/cmd/fmli/sys/
varchkapnd.c 40 array_check_append(size, array, element)
41 unsigned size;
46 array = array_create(size, 8);
  /netvirt/usr/src/lib/libc/port/gen/
valloc.c 38 valloc(size_t size)
42 if (size == 0)
48 return (memalign(pagesize, size));
calloc.c 42 calloc(size_t num, size_t size)
47 if (num == 0 || size == 0)
50 total = num * size;
53 if (total / num != size) {
  /netvirt/usr/src/lib/libmalloc/common/
llib-lmalloc 34 void *valloc(size_t size);
35 void *memalign(size_t alignment, size_t size);
36 void cfree(void *p, size_t num, size_t size);
  /netvirt/usr/src/lib/libast/common/stdio/
_stdvbuf.c 29 _stdsetvbuf(Sfio_t* f, char* buf, int type, size_t size)
31 return setvbuf(f, buf, type, size);
  /netvirt/usr/src/psm/promif/ieee1275/sun4/
prom_map.c 40 prom_map(caddr_t virthint, unsigned long long physaddr, u_int size)
50 if ((virt = prom_allocate_virt((u_int)1, size)) == 0)
54 if (prom_claim_virt(size, virt) != virt)
58 if (prom_map_phys(-1, size, virt, physaddr) != 0) {
63 (void) prom_free_virt(size, virt);
70 prom_unmap(caddr_t virt, u_int size)
72 (void) prom_unmap_virt(size, virt);
73 prom_free_virt(size, virt);
  /netvirt/usr/src/cmd/fm/fmd/common/
fmd_nv.c 34 fmd_nv_alloc(nv_alloc_t *nva, size_t size)
36 return (fmd_alloc(size, FMD_SLEEP));
41 fmd_nv_free(nv_alloc_t *nva, void *buf, size_t size)
43 fmd_free(buf, size);
  /netvirt/usr/src/cmd/fs.d/cachefs/cfsd/
cfsd.h 33 void *cfsd_calloc(int size);
  /netvirt/usr/src/cmd/ssh/include/
xmmap.h 33 void *xmmap(size_t size);
  /netvirt/usr/src/lib/libast/common/sfio/
sfresize.c 29 int sfresize(Sfio_t* f, Sfoff_t size)
31 int sfresize(f, size)
33 Sfoff_t size;
38 if(size < 0 || f->extent < 0 ||
47 if(f->extent >= size)
48 { if((f->flags&SF_MALLOC) && (f->next - f->data) <= size)
49 { size_t s = (((size_t)size + 1023)/1024)*1024;
51 if(s < f->size && (d = realloc(f->data, s)) )
53 f->size = s;
57 memclear((char*)(f->data+size), (int)(f->extent-size))
    [all...]
  /netvirt/usr/src/cmd/audio/include/
Resample.h 60 void updateState(double *in, int size);
63 int decimate_noadjust(short *in, int size, short *out);
65 int decimate(short *in, int size, short *out);
68 int interpolate_noadjust(short *in, int size, short *out);
70 int interpolate(short *in, int size, short *out);
76 virtual int filter_noadjust(short *in, int size, short *out);
77 virtual int filter(short *in, int size, short *out);
  /netvirt/usr/src/cmd/sendmail/db/os/
os_alloc.c 53 size_t size; local
59 size = strlen(str) + 1;
60 if ((ret = __os_malloc(size, NULL, &p)) != 0)
63 memcpy(p, str, size);
76 __os_calloc(num, size, storep)
77 size_t num, size;
83 size *= num;
84 if ((ret = __os_malloc(size, NULL, &p)) != 0)
87 memset(p, 0, size);
100 __os_malloc(size, db_malloc, storep
    [all...]
  /netvirt/usr/src/stand/lib/sa/
malloc.c 36 malloc(size_t size)
40 iaddr = (size_t *)bkmem_alloc(size + sizeof (size_t));
46 iaddr[0] = size;
51 calloc(size_t number, size_t size)
55 addr = malloc(number * size);
59 return (memset(addr, 0, number * size));
63 realloc(void *oldaddr, size_t size)
68 addr = malloc(size);
72 bcopy(oldaddr, addr, (oldsize > size ? oldsize : size));
    [all...]
  /netvirt/usr/src/lib/libast/common/vmalloc/
vmgetmem.c 41 Void_t* vmgetmem(Vmalloc_t* vm, Void_t* data, size_t size)
43 Void_t* vmgetmem(vm, data, size)
46 size_t size;
51 if (data || size)
52 return vmresize(vm, data, size, VM_RSMOVE|VM_RSCOPY|VM_RSZERO);
  /netvirt/usr/src/uts/common/fs/smbsrv/
smb_alloc.c 40 mem_malloc(uint32_t size)
44 size += MEM_HDR_SIZE;
45 p = kmem_alloc(size, KM_SLEEP);
47 *(uint32_t *)p = size;
54 mem_zalloc(uint32_t size)
58 p = mem_malloc(size);
59 (void) memset(p, 0, size);
67 size_t size; local
69 size = strlen(ptr) + 1;
70 p = mem_malloc(size);
    [all...]
  /netvirt/usr/src/lib/libctf/common/
ctf_subr.c 35 ctf_data_alloc(size_t size)
37 return (mmap(NULL, size, PROT_READ | PROT_WRITE,
42 ctf_data_free(void *buf, size_t size)
44 (void) munmap(buf, size);
48 ctf_data_protect(void *buf, size_t size)
50 (void) mprotect(buf, size, PROT_READ);
54 ctf_alloc(size_t size)
56 return (malloc(size));
61 ctf_free(void *buf, size_t size)

Completed in 600 milliseconds

1 2 3 4 5 6 7 8 91011>>