Searched refs:size (Results 101 - 125 of 5383) sorted by relevance

1234567891011>>

/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Bin/
H A Dbitesize.d3 * bitesize.d - analyse disk I/O size by process.
6 * This produces a report for the size of disk events caused by
19 * value size in bytes
25 * are being rounded up to the nearest sector size or UFS block size.
68 this->size = args[0]->b_bcount;
71 @Size[pid, curpsinfo->pr_psargs] = quantize(this->size);
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Disk/
H A Dbitesize.d3 * bitesize.d - analyse disk I/O size by process.
6 * This produces a report for the size of disk events caused by
19 * value size in bytes
25 * are being rounded up to the nearest sector size or UFS block size.
68 this->size = args[0]->b_bcount;
71 @Size[pid, curpsinfo->pr_psargs] = quantize(this->size);
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_util.h34 void * safe_malloc(size_t size);
/freebsd-10.0-release/contrib/jemalloc/include/jemalloc/internal/
H A Dbase.h12 void *base_alloc(size_t size);
13 void *base_calloc(size_t number, size_t size);
/freebsd-10.0-release/contrib/unbound/util/
H A Dregional.h69 /** total large size */
71 /** initial chunk size */
87 * @param size: length of first block.
90 struct regional* regional_create_custom(size_t size);
107 * Allocate size bytes of memory inside regional. The memory is
110 * @param size: number of bytes.
113 void *regional_alloc(struct regional *r, size_t size);
116 * Allocate size bytes of memory inside regional and copy INIT into it.
121 * @param size: number of bytes.
124 void *regional_alloc_init(struct regional* r, const void *init, size_t size);
[all...]
/freebsd-10.0-release/contrib/xz/src/liblzma/simple/
H A Dsimple_encoder.h19 extern lzma_ret lzma_simple_props_size(uint32_t *size, const void *options);
/freebsd-10.0-release/lib/libc/stdlib/
H A Dbsearch.c56 bsearch(key, base0, nmemb, size, compar)
60 size_t size;
69 p = base + (lim >> 1) * size;
74 base = (char *)p + size;
H A Dmerge.c98 mergesort(base, nmemb, size, cmp)
101 size_t size;
110 if (size < PSIZE / 2) { /* Pointers must fit into 2 * size. */
123 if (!(size % ISIZE) && !(((char *)base - (char *)0) % ISIZE))
126 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL)
130 setup(list1, list2, nmemb, size, cmp);
131 last = list2 + nmemb * size;
154 while ((b += size) < t && cmp(q, b) >sense)
160 EXPONENTIAL: for (i = size; ;
[all...]
/freebsd-10.0-release/libexec/rtld-elf/
H A Dxmalloc.c36 xcalloc(size_t number, size_t size) argument
40 p = calloc(number, size);
49 xmalloc(size_t size) argument
51 void *p = malloc(size);
/freebsd-10.0-release/sys/boot/i386/libi386/
H A Dpread.c54 pread(fd, dest, size)
57 int size;
61 rsize = size;
79 return (size - rsize);
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dnvpair_alloc_system.c32 nv_alloc_sys(nv_alloc_t *nva, size_t size) argument
34 return (kmem_alloc(size, (int)(uintptr_t)nva->nva_arg));
39 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) argument
41 kmem_free(buf, size);
/freebsd-10.0-release/sys/dev/qlxge/
H A Dqls_ioctl.h40 uint32_t size; member in struct:qls_mpi_dump
/freebsd-10.0-release/sys/libkern/
H A Dbsearch.c56 bsearch(key, base0, nmemb, size, compar)
60 register size_t size;
69 p = base + (lim >> 1) * size;
74 base = (const char *)p + size;
/freebsd-10.0-release/sys/mips/atheros/
H A Dar71xx_fixup.h34 u_int bus, u_int slot, u_int func, long int flash_addr, int size);
/freebsd-10.0-release/sys/ofed/drivers/infiniband/debug/
H A Dmtrack.h12 #define kzalloc(size, flags) ({ \
15 __memtrack_kz_addr = kmalloc(size, flags); \
17 memset( __memtrack_kz_addr, 0, size) ; \
23 #define kzalloc(size, flags) ({ \
26 __memtrack_addr = kzalloc(size, flags); \
27 if ( __memtrack_addr && (size)) { \
28 memtrack_alloc(MEMTRACK_KMALLOC, (unsigned long)(__memtrack_addr), size, __FILE__, __LINE__, flags); \
36 #define kcalloc(n, size, flags) kzalloc((n)*(size), flags)
38 #define kcalloc(n, size, flag
[all...]
/freebsd-10.0-release/sys/sys/
H A Dbusdma_bufalloc.h45 bus_size_t size; member in struct:busdma_bufzone
62 * buffer size, and thus by implication each buffer is contiguous within a page
63 * and does not cross a power of two boundary larger than the buffer size.
67 * minimum_alignment is also the minimum buffer allocation size. For platforms
69 * size (and MUST not be smaller than the cache line size).
72 * 'nnnnn' is the size of buffers in that zone.
94 * free a buffer of the given size. Returns NULL if the size is larger than the
98 bus_size_t size);
[all...]
/freebsd-10.0-release/sys/vm/
H A Dmemguard.h48 #define memguard_fudge(size, xxx) (size)
50 #define memguard_alloc(size, flags) NULL
53 #define memguard_cmp_mtp(mtp, size) 0
/freebsd-10.0-release/usr.bin/sort/
H A Dmem.c42 sort_malloc(size_t size) argument
46 if ((ptr = malloc(size)) == NULL)
66 sort_realloc(void *ptr, size_t size) argument
69 if ((ptr = realloc(ptr, size)) == NULL)
/freebsd-10.0-release/sys/boot/uboot/lib/
H A Dcopy.c45 static size_t size = 0; local
48 if (size == 0) {
52 /* Find start/size of largest DRAM block. */
55 && si->mr[i].size > size) {
57 size = si->mr[i].size;
61 if (size <= 0)
65 start, start + size, size / 102
[all...]
/freebsd-10.0-release/usr.sbin/pw/
H A Dbitmap.c38 bm_alloc(int size) argument
41 int szmap = (size / 8) + !!(size % 8);
43 bm.size = size;
93 int szmap = (bm->size / 8) + !!(bm->size % 8);
114 int szmap = (bm->size / 8) + !!(bm->size % 8);
/freebsd-10.0-release/contrib/libarchive/libarchive/test/
H A Dtest_read_filter_uudecode.c81 size_t size; local
100 size = extra * 1024;
101 /* Add extra text size of which is from 1K bytes to
103 while (size) {
104 if (size > sizeof(extradata)-1) {
107 size -= sizeof(extradata)-1;
109 memcpy(p, extradata_ptr, size-1);
110 p += size-1;
117 size = extra * 1024 + uusize;
125 read_open_memory(a, buff, size,
[all...]
/freebsd-10.0-release/sys/dev/drm2/
H A Ddrm_buffer.c29 * Multipart buffer for coping data which is larger than the page size.
44 * size: The number of bytes to allocate.
46 int drm_buffer_alloc(struct drm_buffer **buf, int size) argument
48 int nr_pages = size / PAGE_SIZE + 1;
59 size, nr_pages);
63 (*buf)->size = size;
68 malloc(min(PAGE_SIZE, size - idx * PAGE_SIZE),
75 idx + 1, size, nr_pages);
101 * size
103 drm_buffer_copy_from_user(struct drm_buffer *buf, void __user *user_data, int size) argument
[all...]
/freebsd-10.0-release/contrib/sendmail/include/sm/
H A Dheap.h32 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup)
44 # define sm_malloc_tagged(size, file, line, grp) sm_malloc(size)
45 # define sm_malloc_tagged_x(size, file, line, grp) sm_malloc_x(size)
47 # define sm_heap_register(ptr, size, file, line, grp) (true)
87 # define sm_pmalloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, 0)
88 # define sm_pmalloc_x(size) sm_malloc_tagged_
[all...]
/freebsd-10.0-release/lib/libc/stdio/
H A Dsetvbuf.c51 setvbuf(FILE * __restrict fp, char * __restrict buf, int mode, size_t size) argument
58 * Verify arguments. The `int' limit on `size' is due to this
59 * particular implementation. Note, buf and size are ignored
63 if ((mode != _IOFBF && mode != _IOLBF) || (int)size < 0)
88 * Find optimal I/O size for seek optimization. This also returns
93 if (size == 0) {
95 size = iosize;
100 if ((buf = malloc(size)) == NULL) {
103 * failure, but try again with file system size.
106 if (size !
[all...]
/freebsd-10.0-release/sys/contrib/ia64/libuwx/src/
H A Duwx_str.c59 pool->size = STRPOOLSIZE;
88 int size; local
97 if (pool->size - pool->used >= len)
101 size = STRPOOLSIZE;
102 if (len > size)
103 size = len;
104 size += sizeof(struct uwx_str_pool) - STRPOOLSIZE;
106 pool = (struct uwx_str_pool *) malloc(size);
108 pool = (struct uwx_str_pool *) (*env->allocate_cb)(size);
112 pool->size
[all...]

Completed in 125 milliseconds

1234567891011>>