Searched refs:size (Results 76 - 100 of 4850) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/ofed/libmthca/src/
H A Dbuf.c48 static int ibv_dontfork_range(void *base, size_t size) argument
53 static int ibv_dofork_range(void *base, size_t size) argument
60 int mthca_alloc_buf(struct mthca_buf *buf, size_t size, int page_size) argument
64 ret = posix_memalign(&buf->buf, page_size, align(size, page_size));
68 ret = ibv_dontfork_range(buf->buf, size);
73 buf->length = size;
/freebsd-9.3-release/contrib/xz/src/liblzma/check/
H A Dcrc64_fast.c30 lzma_crc64(const uint8_t *buf, size_t size, uint64_t crc)
38 if (size > 4) {
41 --size;
44 const uint8_t *const limit = buf + (size & ~(size_t)(3));
45 size &= (size_t)(3);
64 while (size-- != 0)
/freebsd-9.3-release/libexec/rtld-elf/arm/
H A Drtld_machdep.h60 #define round(size, align) \
61 (((size) + (align) - 1) & ~((align) - 1))
62 #define calculate_first_tls_offset(size, align) \
64 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
66 #define calculate_tls_end(off, size) ((off) + (size))
/freebsd-9.3-release/libexec/rtld-elf/ia64/
H A Drtld_machdep.h59 #define round(size, align) \
60 (((size) + (align) - 1) & ~((align) - 1))
61 #define calculate_first_tls_offset(size, align) \
63 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
65 #define calculate_tls_end(off, size) ((off) + (size))
/freebsd-9.3-release/sys/arm/xscale/ixp425/
H A Dixp425_mem.c69 uint32_t size, sdr_config; local
74 size = sdram_64bit[MCU_SDR_CONFIG_MCONF(sdr_config)];
76 size = sdram_other[MCU_SDR_CONFIG_MCONF(sdr_config)];
78 if (size == 0) {
80 size = 32 * 1024 * 1024;
83 return (size);
96 * be programmed to be the same size. We just assume
97 * it's done right and calculate 2x for the memory size.
/freebsd-9.3-release/sys/dev/sound/midi/
H A Dmidiq.h40 #define MIDIQ_INIT(head, buf, size) do { \
42 (head).s=size; \
59 #define MIDIQ_ENQ(head, buf, size) do { \
64 MIN( (size), (head).s - (head).h) ), \
65 (size), (head).h, (head).t); \
66 MIDIQ_MOVE(&(head).b[(head).h], (buf), sizeof(*(head).b) * MIN((size), (head).s - (head).h)); \
67 if( (head).s - (head).h < (size) ) { \
69 printf("#2 %p %p bytes copied %jd\n", (head).b, (buf) + (head).s - (head).h, (intmax_t)sizeof(*(head).b) * ((size) - (head).s + (head).h) ); \
70 MIDIQ_MOVE((head).b, (buf) + (head).s - (head).h, sizeof(*(head).b) * ((size) - (head).s + (head).h) ); \
72 (head).h+=(size); \
[all...]
/freebsd-9.3-release/sys/ia64/include/
H A Dkdb.h51 kdb_cpu_sync_icache(unsigned char *addr, size_t size) argument
56 size += (uintptr_t)addr - cacheline;
57 size = (size + 31) & ~31;
58 while (size > 0) {
61 size -= 32;
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dmm.h47 * needed for size bytes.
50 get_order(unsigned long size) argument
54 size = (size - 1) >> PAGE_SHIFT;
56 while (size) {
58 size >>= 1;
75 unsigned long addr, unsigned long pfn, unsigned long size,
74 io_remap_pfn_range(struct vm_area_struct *vma, unsigned long addr, unsigned long pfn, unsigned long size, vm_memattr_t prot) argument
/freebsd-9.3-release/crypto/heimdal/lib/asn1/
H A Dder_get.c44 * returned and `size' where the number of used bytes is stored.
50 unsigned *ret, size_t *size)
63 if(size) *size = oldlen;
69 int *ret, size_t *size)
83 if(size) *size = oldlen;
89 size_t *val, size_t *size)
99 if(size) *size
49 der_get_unsigned(const unsigned char *p, size_t len, unsigned *ret, size_t *size) argument
68 der_get_integer(const unsigned char *p, size_t len, int *ret, size_t *size) argument
88 der_get_length(const unsigned char *p, size_t len, size_t *val, size_t *size) argument
122 der_get_boolean(const unsigned char *p, size_t len, int *data, size_t *size) argument
135 der_get_general_string(const unsigned char *p, size_t len, heim_general_string *str, size_t *size) argument
167 der_get_utf8string(const unsigned char *p, size_t len, heim_utf8_string *str, size_t *size) argument
174 der_get_printable_string(const unsigned char *p, size_t len, heim_printable_string *str, size_t *size) argument
181 der_get_ia5_string(const unsigned char *p, size_t len, heim_ia5_string *str, size_t *size) argument
188 der_get_bmp_string(const unsigned char *p, size_t len, heim_bmp_string *data, size_t *size) argument
212 der_get_universal_string(const unsigned char *p, size_t len, heim_universal_string *data, size_t *size) argument
235 der_get_visible_string(const unsigned char *p, size_t len, heim_visible_string *str, size_t *size) argument
242 der_get_octet_string(const unsigned char *p, size_t len, heim_octet_string *data, size_t *size) argument
255 der_get_heim_integer(const unsigned char *p, size_t len, heim_integer *data, size_t *size) argument
341 der_get_time(const unsigned char *p, size_t len, time_t *data, size_t *size) argument
362 der_get_generalized_time(const unsigned char *p, size_t len, time_t *data, size_t *size) argument
369 der_get_utctime(const unsigned char *p, size_t len, time_t *data, size_t *size) argument
376 der_get_oid(const unsigned char *p, size_t len, heim_oid *data, size_t *size) argument
424 der_get_tag(const unsigned char *p, size_t len, Der_class *class, Der_type *type, unsigned int *tag, size_t *size) argument
456 der_match_tag(const unsigned char *p, size_t len, Der_class class, Der_type type, unsigned int tag, size_t *size) argument
479 der_match_tag_and_length(const unsigned char *p, size_t len, Der_class class, Der_type type, unsigned int tag, size_t *length_ret, size_t *size) argument
525 der_get_bit_string(const unsigned char *p, size_t len, heim_bit_string *data, size_t *size) argument
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libnvpair/
H A Dnvpair_alloc_system.c34 nv_alloc_sys(nv_alloc_t *nva, size_t size) argument
36 return (malloc(size));
41 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) argument
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dbsearch.c33 @deftypefn Supplemental void* bsearch (const void *@var{key}, const void *@var{base}, size_t @var{nmemb}, size_t @var{size}, int (*@var{compar})(const void *, const void *))
37 The size of each member is specified by @var{size}. The array contents
71 size_t nmemb, register size_t size,
79 p = base + (lim >> 1) * size;
84 base = (const char *)p + size;
70 bsearch(register const void *key, const void *base0, size_t nmemb, register size_t size, register int (*compar)(const void *, const void *)) argument
/freebsd-9.3-release/contrib/gcc/config/i386/
H A Dgmm_malloc.h34 _mm_malloc (size_t size, size_t align) argument
46 if (size == 0)
56 malloc_ptr = malloc (size + align);
H A Dpmm_malloc.h41 _mm_malloc (size_t size, size_t alignment) argument
45 return malloc (size);
48 if (posix_memalign (&ptr, alignment, size) == 0)
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dbsearch.c33 @deftypefn Supplemental void* bsearch (const void *@var{key}, const void *@var{base}, size_t @var{nmemb}, size_t @var{size}, int (*@var{compar})(const void *, const void *))
37 The size of each member is specified by @var{size}. The array contents
71 size_t nmemb, register size_t size,
79 p = base + (lim >> 1) * size;
84 base = (const char *)p + size;
70 bsearch(register const void *key, const void *base0, size_t nmemb, register size_t size, register int (*compar)(const void *, const void *)) argument
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.h54 size_t size; /* Allocated characters */ member in struct:strbuf
60 size_t size; /* Allocated characters */ member in struct:Strbuf
75 size_t size; /* Allocated space for string pointers */ member in struct:blk_buf
/freebsd-9.3-release/lib/libc/gen/
H A Dgetdomainname.c47 size_t size; local
51 size = namelen;
52 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_debug.h23 # define DprintQ(cond, args, query, size) /*empty*/
28 # define DprintQ(cond, args, query, size) if (cond) {\
30 res_pquery(statp, query, size, stdout);\
/freebsd-9.3-release/lib/libc/stdio/
H A Dsetbuffer.c42 setbuffer(fp, buf, size)
45 int size;
48 (void)setvbuf(fp, buf, buf ? _IOFBF : _IONBF, (size_t)size);
/freebsd-9.3-release/lib/libelf/
H A Delf_rawfile.c38 size_t size; local
40 size = e ? e->e_rawsize : 0;
49 *sz = size;
/freebsd-9.3-release/sys/libkern/
H A Dscanc.c38 scanc(size, cp, table, mask0)
39 u_int size;
47 for (end = &cp[size]; cp < end; ++cp) {
H A Dskpc.c38 skpc(mask0, size, cp0)
40 int size;
47 for (end = &cp[size]; cp < end && *cp == mask; ++cp);
/freebsd-9.3-release/tools/regression/pjdfstest/tests/granular/
H A D01.t23 expect 0 lstat ${n0} size
24 expect 0 -u 65534 -g 65534 stat ${n0} size
26 expect 0 lstat ${n0} size
27 expect EACCES -u 65534 -g 65534 stat ${n0} size
29 expect 0 -u 65534 -g 65534 stat ${n0} size
30 expect 0 lstat ${n0} size
/freebsd-9.3-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-9.3-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-9.3-release/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_util.h34 void * safe_malloc(size_t size);

Completed in 135 milliseconds

1234567891011>>