Searched refs:size (Results 26 - 50 of 8792) sorted by relevance

1234567891011>>

/freebsd-current/sys/ddb/
H A Ddb_access.h39 db_expr_t db_get_value(db_addr_t addr, int size, bool is_signed);
40 void db_put_value(db_addr_t addr, int size, db_expr_t value);
/freebsd-current/sys/contrib/ncsw/inc/etc/
H A Dmemcpy_ext.h75 @Param[in] size - The number of bytes that will be copied from pSrc to pDst.
80 to supply non-null parameters as source & destination and size
83 void * MemCpy32(void* pDst,void* pSrc, uint32_t size);
84 void * IO2IOCpy32(void* pDst,void* pSrc, uint32_t size);
85 void * IO2MemCpy32(void* pDst,void* pSrc, uint32_t size);
86 void * Mem2IOCpy32(void* pDst,void* pSrc, uint32_t size);
105 @Param[in] size - The number of bytes that will be copied from pSrc to pDst.
110 to supply non null parameters as source & destination and size
115 void * MemCpy64(void* pDst,void* pSrc, uint32_t size);
125 @Param[in] size
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_memintrinsics.cpp24 void *__hwasan_memset(void *block, int c, uptr size) { argument
26 reinterpret_cast<uptr>(block), size); local
27 return memset(block, c, size);
30 void *__hwasan_memcpy(void *to, const void *from, uptr size) { argument
32 reinterpret_cast<uptr>(to), size); local
34 reinterpret_cast<uptr>(from), size); local
35 return memcpy(to, from, size);
38 void *__hwasan_memmove(void *to, const void *from, uptr size) { argument
40 reinterpret_cast<uptr>(to), size); local
42 reinterpret_cast<uptr>(from), size); local
46 __hwasan_memset_match_all(void *block, int c, uptr size, u8 match_all_tag) argument
50 reinterpret_cast<uptr>(block), size); local
54 __hwasan_memcpy_match_all(void *to, const void *from, uptr size, u8 match_all_tag) argument
58 reinterpret_cast<uptr>(to), size); local
61 reinterpret_cast<uptr>(from), size); local
65 __hwasan_memmove_match_all(void *to, const void *from, uptr size, u8 match_all_tag) argument
69 reinterpret_cast<uptr>(to), size); local
72 reinterpret_cast<uptr>(from), size); local
[all...]
H A Dhwasan_allocation_functions.cpp26 static void OnAllocate(const void *ptr, uptr size) { argument
30 __lsan_register_root_region(ptr, size);
33 static void OnFree(const void *ptr, uptr size) { argument
35 __lsan_unregister_root_region(ptr, size);
43 int __sanitizer_posix_memalign(void **memptr, uptr alignment, uptr size) { argument
46 int res = hwasan_posix_memalign(memptr, alignment, size, &stack);
51 void *__sanitizer_memalign(uptr alignment, uptr size) { argument
53 return hwasan_memalign(alignment, size, &stack);
57 void *__sanitizer_aligned_alloc(uptr alignment, uptr size) { argument
59 return hwasan_aligned_alloc(alignment, size,
63 __sanitizer___libc_memalign(uptr alignment, uptr size) argument
72 __sanitizer_valloc(uptr size) argument
78 __sanitizer_pvalloc(uptr size) argument
124 __sanitizer_calloc(uptr nmemb, uptr size) argument
132 __sanitizer_realloc(void *ptr, uptr size) argument
140 __sanitizer_reallocarray(void *ptr, uptr nmemb, uptr size) argument
146 __sanitizer_malloc(uptr size) argument
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/db/
H A Dh_lfsr.c83 key.size = (len & 0xff) + 1;
85 memset(kb, c, key.size);
86 val.size = (next(&len) & 0xff) + 1;
90 key.size, val.size, c);
94 key.size, val.size, c);
97 key.size, val.size, c);
105 key.size
[all...]
/freebsd-current/contrib/processor-trace/libipt/src/
H A Dpt_packet_decoder.c215 static inline int pkt_to_user(struct pt_packet *upkt, size_t size, argument
225 if (sizeof(*pkt) < size) {
226 memset(upkt + sizeof(*pkt), 0, size - sizeof(*pkt));
228 size = sizeof(*pkt);
231 memcpy(upkt, pkt, size);
241 int errcode, size; local
258 size = dfun->packet(decoder, ppkt);
259 if (size < 0)
260 return size;
266 decoder->pos += size;
274 int size; local
303 int size; local
321 int size; local
340 int size; local
359 int size; local
378 int size; local
397 int size; local
416 int size; local
435 int size; local
468 int size; local
501 int size; local
520 int size; local
539 int size; local
558 int size; local
577 int size; local
610 int size; local
629 int size; local
648 int size; local
667 int size; local
686 int size; local
705 int size; local
724 int size; local
[all...]
H A Dpt_asid.c44 size_t size; local
46 size = user->size;
49 if (sizeof(*asid) < size)
50 size = sizeof(*asid);
53 memcpy(asid, user, size);
55 /* We copied user's size - fix it. */
56 asid->size = sizeof(*asid);
63 size_t size)
68 /* We need at least space for the size fiel
62 pt_asid_to_user(struct pt_asid *user, const struct pt_asid *asid, size_t size) argument
[all...]
/freebsd-current/crypto/heimdal/lib/roken/
H A Decalloc.c46 ecalloc (size_t number, size_t size) argument
48 void *tmp = calloc (number, size);
50 if (tmp == NULL && number * size != 0)
51 errx (1, "calloc %lu failed", (unsigned long)number * size);
/freebsd-current/sys/contrib/xz-embedded/freebsd/
H A Dxz_malloc.h30 extern void *xz_malloc(unsigned long size);
/freebsd-current/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dkmap_compat.h38 #define zfs_access_ok(type, addr, size) access_ok(type, addr, size)
40 #define zfs_access_ok(type, addr, size) access_ok(addr, size)
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dkmem.h38 #define kmem_alloc(size, flags) ((void) sizeof (flags), malloc(size))
39 #define kmem_free(ptr, size) ((void) sizeof (size), free(ptr))
/freebsd-current/sbin/rcorder/
H A Dealloc.h5 void *erealloc(void *ptr, size_t size);
6 void *ecalloc(size_t nmemb, size_t size);
/freebsd-current/tools/test/stress2/testcases/mkdir/
H A Dmkdir.c39 static unsigned long size; variable
52 size = in / op->incarnations;
57 size = size / 100 * pct + 1;
59 size = size % 200; /* arbitrary limit depth */
62 while (size > 0) {
63 reserve_in = 1 * size * op->incarnations;
64 reserve_bl = 4096 * size * op->incarnations;
67 size
[all...]
/freebsd-current/stand/i386/libi386/
H A Dbio.c42 bio_alloc(size_t size) argument
47 if (ptr + size > bio_buffer_end)
49 bio_buffer_ptr += size;
55 bio_free(void *ptr, size_t size) argument
61 bio_buffer_ptr -= size;
/freebsd-current/tools/test/stress2/misc/
H A Dswap.sh44 size=$((usermem/10*11))
46 size=$((usermem/10*8))
51 /tmp/swap $((size / 4096))
72 static unsigned long size, original;
79 size = size / INCARNATIONS;
80 original = size;
81 if (size == 0)
88 if (size > (unsigned long)rlp.rlim_cur)
89 size
[all...]
H A Dtmpfs19.sh39 size=`sysctl -n hw.usermem`
42 mount -o size=$size -t tmpfs tmpfs $mntpoint
44 size=$((size / 1024 / 1024))
45 size=$((size - 5))
46 echo "dd if=/dev/zero of=$mntpoint/file bs=1m count=$size"
47 dd if=/dev/zero of=$mntpoint/file bs=1m count=$size status=none
/freebsd-current/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_subr.c34 ctf_data_alloc(size_t size) argument
36 return (mmap(NULL, size, PROT_READ | PROT_WRITE,
41 ctf_data_free(void *buf, size_t size) argument
43 (void) munmap(buf, size);
47 ctf_data_protect(void *buf, size_t size) argument
49 (void) mprotect(buf, size, PROT_READ);
53 ctf_alloc(size_t size) argument
55 return (malloc(size));
60 ctf_free(void *buf, __unused size_t size) argument
/freebsd-current/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_poisoning.h21 u32 GetOriginIfPoisoned(uptr addr, uptr size);
23 // Walk [addr, addr+size) app memory region, copying origin tags from the
24 // corresponding positions in [src_origin, src_origin+size) where the
25 // corresponding shadow in [src_shadow, src_shadow+size) is non-zero.
26 void SetOriginIfPoisoned(uptr addr, uptr src_shadow, uptr size, u32 src_origin);
31 void CopyOrigin(const void *dst, const void *src, uptr size, StackTrace *stack);
35 void MoveShadowAndOrigin(const void *dst, const void *src, uptr size,
40 void CopyShadowAndOrigin(const void *dst, const void *src, uptr size,
45 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack);
48 void SetShadow(const void *ptr, uptr size, u
[all...]
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/ctf/
H A Dctf_subr.c41 ctf_data_alloc(size_t size) argument
43 void *buf = kobj_alloc(size, KM_NOWAIT|KM_SCRATCH);
52 ctf_data_free(void *buf, size_t size) argument
54 kobj_free(buf, size);
59 ctf_data_protect(void *buf, size_t size) argument
65 ctf_alloc(size_t size) argument
67 return (kobj_alloc(size, KM_NOWAIT|KM_TMP));
72 ctf_free(void *buf, size_t size) argument
74 kobj_free(buf, size);
/freebsd-current/contrib/libcxxrt/
H A Dmemory.cc91 void *noexcept_new(size_t size) argument
96 return New(size);
104 return New(size);
111 void* operator new(size_t size) BADALLOC
113 if (0 == size)
115 size = 1;
117 void * mem = malloc(size);
133 mem = malloc(size);
141 void* operator new(size_t size, const std::nothrow_t &) NOEXCEPT
143 return noexcept_new<(::operator new)>(size);
[all...]
/freebsd-current/usr.sbin/fstyp/
H A Dfstyp.h48 void rtrim(char *label, size_t size);
50 int fstyp_apfs(FILE *fp, char *label, size_t size);
51 int fstyp_befs(FILE *fp, char *label, size_t size);
52 int fstyp_cd9660(FILE *fp, char *label, size_t size);
53 int fstyp_exfat(FILE *fp, char *label, size_t size);
54 int fstyp_ext2fs(FILE *fp, char *label, size_t size);
55 int fstyp_geli(FILE *fp, char *label, size_t size);
56 int fstyp_hammer(FILE *fp, char *label, size_t size);
57 int fstyp_hammer2(FILE *fp, char *label, size_t size);
58 int fstyp_hfsp(FILE *fp, char *label, size_t size);
[all...]
/freebsd-current/contrib/lib9p/
H A Dlib9p_impl.h36 l9p_malloc(size_t size) argument
38 void *r = malloc(size);
42 size);
50 l9p_calloc(size_t n, size_t size) argument
52 void *r = calloc(n, size);
56 n * size);
/freebsd-current/crypto/heimdal/appl/ftp/common/
H A Dsockbuf.c48 int size = 4194304; local
57 if(curr >= size) {
64 while(size >= 131072 &&
65 setsockopt(fd, SOL_SOCKET, optname, (void *)&size, sizeof(size)) < 0)
66 size /= 2;
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dstore-int.c37 _krb5_put_int(void *buffer, unsigned long value, size_t size) argument
41 for (i = size - 1; i >= 0; i--) {
45 return size;
49 _krb5_get_int(void *buffer, unsigned long *value, size_t size) argument
54 for (i = 0; i < size; i++)
57 return size;
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_racct.c30 zfs_racct_read(uint64_t size, uint64_t iops) argument
36 racct_add_force(curproc, RACCT_READBPS, size);
41 (void) size;
46 zfs_racct_write(uint64_t size, uint64_t iops) argument
52 racct_add_force(curproc, RACCT_WRITEBPS, size);
57 (void) size;

Completed in 272 milliseconds

1234567891011>>