Searched refs:size (Results 151 - 175 of 8792) sorted by relevance

1234567891011>>

/freebsd-current/sys/dev/vmware/vmci/
H A Dvmci_queue.h53 size_t size, BUF_TYPE buf_type, bool can_block);
55 const struct vmci_queue *queue, uint64_t queue_offset, size_t size,
76 const void *src, size_t src_offset, size_t size, BUF_TYPE buf_type,
79 const struct vmci_queue *queue, uint64_t queue_offset, size_t size,
83 size_t size, BUF_TYPE buf_type, bool can_block);
85 const struct vmci_queue *queue, uint64_t queue_offset, size_t size,
89 const void *src, size_t src_offset, size_t size, BUF_TYPE buf_type,
92 const struct vmci_queue *queue, uint64_t queue_offset, size_t size,
97 const void *src, size_t src_offset, size_t size, int buf_type,
102 size, buf_typ
96 vmci_memcpy_to_queue_v_local(struct vmci_queue *queue, uint64_t queue_offset, const void *src, size_t src_offset, size_t size, int buf_type, bool can_block) argument
106 vmci_memcpy_from_queue_v_local(void *dest, size_t dest_offset, const struct vmci_queue *queue, uint64_t queue_offset, size_t size, int buf_type, bool can_block) argument
[all...]
/freebsd-current/sys/i386/include/
H A Dkdb.h35 int kdb_cpu_set_watchpoint(vm_offset_t addr, vm_size_t size, int access);
36 int kdb_cpu_clr_watchpoint(vm_offset_t addr, vm_size_t size);
51 kdb_cpu_sync_icache(unsigned char *addr, size_t size) argument
/freebsd-current/sys/riscv/include/
H A Dkdb.h43 kdb_cpu_sync_icache(unsigned char *addr, size_t size) argument
59 kdb_cpu_set_watchpoint(vm_offset_t addr, vm_size_t size, int access) argument
66 kdb_cpu_clr_watchpoint(vm_offset_t addr, vm_size_t size) argument
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dreadmmap.c54 size_t size = 4395; local
67 if ((buf = calloc(1, size)) == NULL) {
83 bytes = write(fd, buf, size);
84 if (bytes != size) {
85 (void) printf("short write: %d != %zd\n", bytes, size);
90 map = mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
99 idx = random() % size;
102 if (msync(map, size, MS_SYNC) != 0) {
108 if (munmap(map, size) != 0) {
114 bytes = pread(fd, buf, size,
[all...]
/freebsd-current/tests/sys/cddl/zfs/bin/
H A Dreadmmap.c54 size_t size = 4395; local
67 if ((buf = calloc(1, size)) == NULL) {
83 bytes = write(fd, buf, size);
84 if (bytes != size) {
85 (void) printf("short write: %d != %zu\n", bytes, size);
90 map = mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
99 idx = random() % size;
102 if (msync(map, size, MS_SYNC) != 0) {
108 if (munmap(map, size) != 0) {
114 bytes = pread(fd, buf, size,
[all...]
/freebsd-current/sys/libkern/
H A Dbsearch.c52 bsearch(const void *key, const void *base0, size_t nmemb, size_t size, argument
61 p = base + (lim >> 1) * size;
66 base = (const char *)p + size;
/freebsd-current/lib/libc/gen/
H A Dgetosreldate.c42 size_t size; local
53 size = sizeof value;
54 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
/freebsd-current/contrib/elftoolchain/size/
H A DMakefile5 PROG= size
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/
H A Dsz.h16 * u: Usable size
20 * interpret function names. E.g. sz_psz2ind converts page size to page size
21 * index; sz_sa2u converts a (size, alignment) allocation request to the usable
22 * size that would result from such an allocation.
37 * size classes. In order to reduce cache footprint, the table is compressed,
121 sz_size2index_compute(size_t size) { argument
122 if (unlikely(size > SC_LARGE_MAXCLASS)) {
126 if (size == 0) {
130 if (size <
155 sz_size2index_lookup(size_t size) argument
164 sz_size2index(size_t size) argument
239 sz_s2u_lookup(size_t size) argument
251 sz_s2u(size_t size) argument
263 sz_sa2u(size_t size, size_t alignment) argument
[all...]
/freebsd-current/contrib/unbound/compat/
H A Dgetentropy_freebsd.c33 getentropy_sysctl(u_char *buf, size_t size) argument
43 len = size;
48 size -= len;
49 } while (size > 0);
/freebsd-current/contrib/ofed/librdmacm/examples/
H A Dcommon.c76 void size_str(char *str, size_t ssize, long long size) argument
81 if (size >= (1 << 30)) {
84 } else if (size >= (1 << 20)) {
87 } else if (size >= (1 << 10)) {
95 if (size / base < 10)
96 fraction = (size % base) * 10 / base;
98 snprintf(str, ssize, "%lld.%lld%c", size / base, fraction, mag);
100 snprintf(str, ssize, "%lld%c", size / base, mag);
116 int size_to_count(int size) argument
118 if (size >
128 format_buf(void *buf, int size) argument
138 verify_buf(void *buf, int size) argument
[all...]
/freebsd-current/contrib/wpa/src/utils/
H A Dradiotap.c20 [IEEE80211_RADIOTAP_TSFT] = { .align = 8, .size = 8, },
21 [IEEE80211_RADIOTAP_FLAGS] = { .align = 1, .size = 1, },
22 [IEEE80211_RADIOTAP_RATE] = { .align = 1, .size = 1, },
23 [IEEE80211_RADIOTAP_CHANNEL] = { .align = 2, .size = 4, },
24 [IEEE80211_RADIOTAP_FHSS] = { .align = 2, .size = 2, },
25 [IEEE80211_RADIOTAP_DBM_ANTSIGNAL] = { .align = 1, .size = 1, },
26 [IEEE80211_RADIOTAP_DBM_ANTNOISE] = { .align = 1, .size = 1, },
27 [IEEE80211_RADIOTAP_LOCK_QUALITY] = { .align = 2, .size = 2, },
28 [IEEE80211_RADIOTAP_TX_ATTENUATION] = { .align = 2, .size = 2, },
29 [IEEE80211_RADIOTAP_DB_TX_ATTENUATION] = { .align = 2, .size
188 find_override(struct ieee80211_radiotap_iterator *iterator, int *align, int *size) argument
239 int pad, align, size, subns; local
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_new_delete.cpp31 void *res = dfsan_malloc(size); \
34 ReportOutOfMemory(size, &stack); \
38 void *res = dfsan_memalign((uptr)align, size); \
41 ReportOutOfMemory(size, &stack); \
46 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } argument
48 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } argument
50 void *operator new(size_t size, std::nothrow_t const &) { argument
54 void *operator new[](size_t size, std::nothrow_t const &) { argument
58 void *operator new(size_t size, std::align_val_t align) { argument
62 void *operator new[](size_t size, st argument
66 operator new(size_t size, std::align_val_t align, std::nothrow_t const &) argument
71 operator new[](size_t size, std::align_val_t align, std::nothrow_t const &) argument
[all...]
H A Ddfsan.h30 void dfsan_add_label(dfsan_label label, void *addr, uptr size);
31 void dfsan_set_label(dfsan_label label, void *addr, uptr size);
32 dfsan_label dfsan_read_label(const void *addr, uptr size);
34 // Zero out [offset, offset+size) from __dfsan_arg_tls.
35 void dfsan_clear_arg_tls(uptr offset, uptr size);
45 // Return the origin associated with the first taint byte in the size bytes
47 dfsan_origin dfsan_read_origin_of_first_taint(const void *addr, uptr size);
49 // Set the data within [addr, addr+size) with label and origin.
51 uptr size);
93 void dfsan_copy_memory(void *dst, const void *src, uptr size);
[all...]
/freebsd-current/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_util.h34 void *safe_malloc(size_t size);
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dvdev_os.h29 extern int vdev_label_write_pad2(vdev_t *vd, const char *buf, size_t size);
/freebsd-current/sys/contrib/openzfs/lib/libnvpair/
H A Dnvpair_alloc_system.c34 nv_alloc_sys(nv_alloc_t *nva, size_t size) argument
36 return (kmem_alloc(size, (int)(uintptr_t)nva->nva_arg));
40 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) argument
43 kmem_free(buf, size);
/freebsd-current/contrib/libcbor/src/cbor/internal/
H A Dstack.c11 return (struct _cbor_stack){.top = NULL, .size = 0};
18 stack->size--;
24 if (stack->size == CBOR_MAX_STACK_SIZE) return NULL;
31 stack->size++;
/freebsd-current/bin/setfacl/
H A Dutil.c34 zmalloc(size_t size) argument
38 ptr = calloc(1, size);
45 zrealloc(void *ptr, size_t size) argument
49 newptr = realloc(ptr, size);
/freebsd-current/sys/arm/include/
H A Dkdb.h40 int kdb_cpu_set_watchpoint(vm_offset_t addr, size_t size, int access);
41 int kdb_cpu_clr_watchpoint(vm_offset_t addr, size_t size);
44 kdb_cpu_sync_icache(unsigned char *addr, size_t size) argument
47 icache_sync((vm_offset_t)addr, size);
/freebsd-current/sys/dev/qlxge/
H A Dqls_ioctl.h40 uint32_t size; member in struct:qls_mpi_dump
/freebsd-current/sys/powerpc/include/
H A Dkdb.h42 kdb_cpu_sync_icache(unsigned char *addr, size_t size) argument
45 __syncicache(addr, size);
54 kdb_cpu_set_watchpoint(vm_offset_t addr, vm_size_t size, int access) argument
61 kdb_cpu_clr_watchpoint(vm_offset_t addr, vm_size_t size) argument
/freebsd-current/sys/sys/
H A Dbusdma_bufalloc.h46 bus_size_t size; member in struct:busdma_bufzone
63 * buffer size, and thus by implication each buffer is contiguous within a page
64 * and does not cross a power of two boundary larger than the buffer size.
68 * minimum_alignment is also the minimum buffer allocation size. For platforms
70 * size (and MUST not be smaller than the cache line size).
73 * 'nnnnn' is the size of buffers in that zone.
95 * free a buffer of the given size. Returns NULL if the size is larger than the
99 bus_size_t size);
[all...]
/freebsd-current/sys/vm/
H A Dmemguard.h49 #define memguard_fudge(size, xxx) (size)
51 #define memguard_alloc(size, flags) NULL
55 #define memguard_cmp_mtp(mtp, size) 0
/freebsd-current/sys/x86/x86/
H A Dbus_machdep.c45 bus_space_map(bus_space_tag_t tag, bus_addr_t addr, bus_size_t size, argument
50 ? (uintptr_t)pmap_mapdev(addr, size)
56 bus_space_unmap(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t size) argument
60 pmap_unmapdev((void *)bsh, size);

Completed in 199 milliseconds

1234567891011>>