Home
last modified time | relevance | path

Searched full:size (Results 1 – 25 of 9303) sorted by relevance

12345678910>>...373

/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_packet_decoder.c215 static inline int pkt_to_user(struct pt_packet *upkt, size_t size, in pkt_to_user() argument
225 if (sizeof(*pkt) < size) { in pkt_to_user()
226 memset(upkt + sizeof(*pkt), 0, size - sizeof(*pkt)); in pkt_to_user()
228 size = sizeof(*pkt); in pkt_to_user()
231 memcpy(upkt, pkt, size); in pkt_to_user()
241 int errcode, size; in pt_pkt_next() local
258 size = dfun->packet(decoder, ppkt); in pt_pkt_next()
259 if (size < 0) in pt_pkt_next()
260 return size; in pt_pkt_next()
266 decoder->pos += size; in pt_pkt_next()
[all …]
/freebsd/sys/contrib/openzfs/man/man1/
H A Darcstat.137 ARC target size
144 .It Sy size
145 ARC size
148 .Sy size
178 L2ARC prefetch allocated size per second
180 L2ARC prefetch allocated size percentage
182 L2ARC MFU allocated size per second
184 L2ARC MFU allocated size percentage
186 L2ARC MRU allocated size per second
188 L2ARC MRU allocated size percentage
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/asan_abi/
H A Dasan_abi_shim.cpp45 void *__asan_memcpy(void *dst, const void *src, uptr size) { in __asan_memcpy() argument
46 return __asan_abi_memcpy(dst, src, size); in __asan_memcpy()
87 void __asan_report_load_n(uptr addr, uptr size) { in __asan_report_load_n() argument
88 __asan_abi_report_load_n((void *)addr, size, true); in __asan_report_load_n()
105 void __asan_report_store_n(uptr addr, uptr size) { in __asan_report_store_n() argument
106 __asan_abi_report_store_n((void *)addr, size, true); in __asan_report_store_n()
125 void __asan_report_exp_load_n(uptr addr, uptr size, u32 exp) { in __asan_report_exp_load_n() argument
126 __asan_abi_report_exp_load_n((void *)addr, size, exp, true); in __asan_report_exp_load_n()
143 void __asan_report_exp_store_n(uptr addr, uptr size, u32 exp) { in __asan_report_exp_store_n() argument
144 __asan_abi_report_exp_store_n((void *)addr, size, exp, true); in __asan_report_exp_store_n()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerMutate.cpp24 PrintASCII(W.data(), W.size(), PrintAfter); in PrintASCII()
70 size_t MutationDispatcher::Mutate_Custom(uint8_t *Data, size_t Size, in Mutate_Custom() argument
73 EF->__msan_unpoison(Data, Size); in Mutate_Custom()
76 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, in Mutate_Custom()
80 size_t MutationDispatcher::Mutate_CustomCrossOver(uint8_t *Data, size_t Size, in Mutate_CustomCrossOver() argument
82 if (Size == 0) in Mutate_CustomCrossOver()
92 EF->__msan_unpoison(Data, Size); in Mutate_CustomCrossOver()
93 EF->__msan_unpoison(Other.data(), Other.size()); in Mutate_CustomCrossOver()
94 EF->__msan_unpoison(U.data(), U.size()); in Mutate_CustomCrossOver()
99 Data, Size, Other.data(), Other.size(), U.data(), U.size(), in Mutate_CustomCrossOver()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-facebook-cmm.dts334 #size-cells = <0>;
341 #size-cells = <0>;
347 #size-cells = <0>;
353 #size-cells = <0>;
358 #size-cells = <0>;
363 #size-cells = <0>;
368 #size-cells = <0>;
373 #size-cells = <0>;
378 #size-cells = <0>;
383 #size
[all...]
H A Daspeed-bmc-facebook-fuji.dts219 data-size = <16>;
239 #size-cells = <0>;
245 #size-cells = <0>;
252 #size-cells = <0>;
259 #size-cells = <0>;
265 #size-cells = <0>;
271 #size-cells = <0>;
277 #size-cells = <0>;
283 #size-cells = <0>;
289 #size
[all...]
H A Daspeed-bmc-facebook-minipack.dts249 #size-cells = <1>;
299 #size-cells = <1>;
350 #size-cells = <0>;
356 #size-cells = <0>;
362 #size-cells = <0>;
368 #size-cells = <0>;
374 #size-cells = <0>;
380 #size-cells = <0>;
386 #size-cells = <0>;
392 #size
[all...]
/freebsd/sys/contrib/ncsw/etc/
H A Dmemcpy.c39 void * MemCpy8(void* pDst, void* pSrc, uint32_t size) in MemCpy8() argument
43 for(i = 0; i < size; ++i) in MemCpy8()
49 void * MemSet8(void* pDst, int c, uint32_t size) in MemSet8() argument
53 for(i = 0; i < size; ++i) in MemSet8()
59 void * MemCpy32(void* pDst,void* pSrc, uint32_t size) in MemCpy32() argument
76 while((PTR_TO_UINT(p_Src8) & 3) && size) /* (pSrc mod 4) > 0 and size > 0 */ in MemCpy32()
79 size--; in MemCpy32()
83 while((PTR_TO_UINT(p_Dst8) & 3) && size) /* (pDst mod 4) > 0 and size > 0 */ in MemCpy32()
86 size--; in MemCpy32()
99 while (size >> 2) /* size >= 4 */ in MemCpy32()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h48 #define kvzalloc(size, flags) kmalloc(size, (flags) | __GFP_ZERO) argument
49 #define kvcalloc(n, size, flags) kvmalloc_array(n, size, (flags) | __GFP_ZERO) argument
50 #define kzalloc(size, flags) kmalloc(size, (flags) | __GFP_ZERO) argument
51 #define kzalloc_node(size, flags, node) kmalloc_node(size, (flags) | __GFP_ZERO, node) argument
54 #define vzalloc(size) __vmalloc(size, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, 0) argument
57 #define vmalloc_node(size, node) __vmalloc_node(size, GFP_KERNEL, node) argument
58 #define vmalloc_user(size) __vmalloc(size, GFP_KERNEL | __GFP_ZERO, 0) argument
59 #define vmalloc(size) __vmalloc(size, GFP_KERNEL, 0) argument
95 size_t size, size_t align, unsigned flags, linux_kmem_ctor_t *ctor);
126 kmalloc(size_t size, gfp_t flags) in kmalloc() argument
[all …]
H A Dbitmap.h34 bitmap_zero(unsigned long *addr, const unsigned int size) in bitmap_zero() argument
36 memset(addr, 0, BITS_TO_LONGS(size) * sizeof(long)); in bitmap_zero()
40 bitmap_fill(unsigned long *addr, const unsigned int size) in bitmap_fill() argument
42 const unsigned int tail = size & (BITS_PER_LONG - 1); in bitmap_fill()
44 memset(addr, 0xff, BIT_WORD(size) * sizeof(long)); in bitmap_fill()
47 addr[BIT_WORD(size)] = BITMAP_LAST_WORD_MASK(tail); in bitmap_fill()
51 bitmap_full(unsigned long *addr, const unsigned int size) in bitmap_full() argument
53 const unsigned int end = BIT_WORD(size); in bitmap_full()
54 const unsigned int tail = size & (BITS_PER_LONG - 1); in bitmap_full()
72 bitmap_empty(unsigned long *addr, const unsigned int size) in bitmap_empty() argument
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/broadcom/
H A Dbcm2712.dtsi8 #size-cells = <2>;
45 #size-cells = <0>;
47 /* Source for L1 d/i cache-line-size, cache-sets, cache-size
49 * Source for L2 cache-line-size and cache-sets:
51 * and for cache-size:
59 d-cache-size = <0x10000>;
60 d-cache-line-size = <64>;
61 d-cache-sets = <256>; // 64KiB(size)/64(line-size)=1024ways/4-way set
62 i-cache-size = <0x10000>;
63 i-cache-line-size = <64>;
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/amazon/
H A Dalpine-v3.dtsi17 #size-cells = <2>;
21 #size-cells = <0>;
28 d-cache-size = <0x8000>;
29 d-cache-line-size = <64>;
31 i-cache-size = <0xc000>;
32 i-cache-line-size = <64>;
42 d-cache-size = <0x8000>;
43 d-cache-line-size = <64>;
45 i-cache-size = <0xc000>;
46 i-cache-line-size = <64>;
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dsc.h7 * Size class computations:
12 * Ignore the first few size classes for a moment. We can then split all the
13 * remaining size classes into groups. The size classes in a group are spaced
15 * power of two is called the base of the group, and the size classes in it
17 * SC_NGROUP size classes in each group, equally spaced in the range, so that
19 * We call that value (base / SC_NGROUP) the delta of the group. Each size class
20 * is delta larger than the one before it (including the initial size class in a
21 * group, which is delta larger than base, the largest size class in the
27 * The size classes in a group with a given lg_base and lg_delta (which, recall,
40 * Note that the last size class in the group is the next power of two (after
[all …]
H A Dsz.h10 * sz module: Size computations.
15 * s, sz: Size
16 * 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) { in sz_size2index_compute() argument
122 if (unlikely(size > SC_LARGE_MAXCLASS)) { in sz_size2index_compute()
126 if (size == 0) { in sz_size2index_compute()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_memintrinsics.inc44 #define COMMON_INTERCEPTOR_MEMSET_IMPL(ctx, dst, v, size) \
47 return internal_memset(dst, v, size); \
48 COMMON_INTERCEPTOR_ENTER(ctx, memset, dst, v, size); \
50 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dst, size); \
51 return REAL(memset)(dst, v, size); \
56 #define COMMON_INTERCEPTOR_MEMMOVE_IMPL(ctx, dst, src, size) \
59 return internal_memmove(dst, src, size); \
60 COMMON_INTERCEPTOR_ENTER(ctx, memmove, dst, src, size); \
62 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dst, size); \
63 COMMON_INTERCEPTOR_READ_RANGE(ctx, src, size); \
[all …]
/freebsd/sys/dev/ice/
H A Dice_bitops.h38 /* Define the size of the bitmap chunk */
118 * is less than the size of the bitmap.
131 * Clears the bit nr in bitmap. Assumes that nr is less than the size of the
144 * Sets the bit nr in bitmap. Assumes that nr is less than the size of the
157 * Check and clear the bit nr in bitmap. Assumes that nr is less than the size
172 * Check and set the bit nr in bitmap. Assumes that nr is less than the size of
184 * @size: Size of the bitmaps in bits
189 * size.
191 static inline void ice_zero_bitmap(ice_bitmap_t *bmp, u16 size) in ice_zero_bitmap() argument
212 ice_and_bitmap(ice_bitmap_t * dst,const ice_bitmap_t * bmp1,const ice_bitmap_t * bmp2,u16 size) ice_and_bitmap() argument
249 ice_or_bitmap(ice_bitmap_t * dst,const ice_bitmap_t * bmp1,const ice_bitmap_t * bmp2,u16 size) ice_or_bitmap() argument
280 ice_xor_bitmap(ice_bitmap_t * dst,const ice_bitmap_t * bmp1,const ice_bitmap_t * bmp2,u16 size) ice_xor_bitmap() argument
311 ice_andnot_bitmap(ice_bitmap_t * dst,const ice_bitmap_t * bmp1,const ice_bitmap_t * bmp2,u16 size) ice_andnot_bitmap() argument
339 ice_find_next_bit(const ice_bitmap_t * bitmap,u16 size,u16 offset) ice_find_next_bit() argument
381 ice_find_first_bit(const ice_bitmap_t * bitmap,u16 size) ice_find_first_bit() argument
399 ice_is_any_bit_set(ice_bitmap_t * bitmap,u16 size) ice_is_any_bit_set() argument
414 ice_cp_bitmap(ice_bitmap_t * dst,ice_bitmap_t * src,u16 size) ice_cp_bitmap() argument
449 ice_bitmap_hweight(ice_bitmap_t * bm,u16 size) ice_bitmap_hweight() argument
471 ice_cmp_bitmap(ice_bitmap_t * bmp1,ice_bitmap_t * bmp2,u16 size) ice_cmp_bitmap() argument
499 ice_bitmap_from_array32(ice_bitmap_t * dst,u32 * src,u16 size) ice_bitmap_from_array32() argument
[all...]
/freebsd/sys/kern/
H A Dkern_malloc.c38 * allocator. A set of fixed-size buckets are used for smaller allocations,
130 * When realloc() is called, if the new size is sufficiently smaller than
131 * the old size, realloc() will allocate a new, smaller block to avoid
136 #define REALLOC_FRACTION 1 /* new block if <= half the size */
196 "Size of kernel memory");
200 "Maximum allocation size that malloc(9) would use UMA as backend");
204 "Minimum size of kernel memory");
208 "Maximum size of kernel memory");
212 "Scale factor for kernel memory size");
217 sysctl_kmem_map_size, "LU", "Current kmem allocation size");
[all …]
/freebsd/crypto/krb5/src/tests/asn.1/
H A Dpkix.asn192 -- X520name ::= DirectoryString (SIZE (1..ub-name))
96 teletexString TeletexString (SIZE (1..ub-name)),
97 printableString PrintableString (SIZE (1..ub-name)),
98 universalString UniversalString (SIZE (1..ub-name)),
99 utf8String UTF8String (SIZE (1..ub-name)),
100 bmpString BMPString (SIZE (1..ub-name)) }
107 -- X520CommonName ::= DirectoryName (SIZE (1..ub-common-name))
111 teletexString TeletexString (SIZE (1..ub-common-name)),
112 printableString PrintableString (SIZE (1..ub-common-name)),
113 universalString UniversalString (SIZE (1..ub-common-name)),
[all …]
/freebsd/sys/contrib/device-tree/src/arm/broadcom/
H A Dbcm2836.dtsi40 #size-cells = <0>;
43 /* Source for d/i-cache-line-size and d/i-cache-sets
47 * Source for d/i-cache-size
56 d-cache-size = <0x8000>;
57 d-cache-line-size = <64>;
58 d-cache-sets = <128>; // 32KiB(size)/64(line-size)=512ways/4-way set
59 i-cache-size = <0x8000>;
60 i-cache-line-size = <32>;
61 i-cache-sets = <512>; // 32KiB(size)/32(line-size)=1024ways/2-way set
70 d-cache-size = <0x8000>;
[all …]
H A Dbcm2837.dtsi39 #size-cells = <0>;
42 /* Source for d/i-cache-line-size and d/i-cache-sets
46 * Source for d/i-cache-size
55 d-cache-size = <0x8000>;
56 d-cache-line-size = <64>;
57 d-cache-sets = <128>; // 32KiB(size)/64(line-size)=512ways/4-way set
58 i-cache-size = <0x8000>;
59 i-cache-line-size = <64>;
60 i-cache-sets = <256>; // 32KiB(size)/64(line-size)=512ways/2-way set
70 d-cache-size = <0x8000>;
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/amd/
H A Damd-seattle-cpus.dtsi6 #size-cells = <0x0>;
49 i-cache-size = <0xC000>;
50 i-cache-line-size = <64>;
52 d-cache-size = <0x8000>;
53 d-cache-line-size = <64>;
65 i-cache-size = <0xC000>;
66 i-cache-line-size = <64>;
68 d-cache-size = <0x8000>;
69 d-cache-line-size = <64>;
80 i-cache-size = <0xC000>;
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A Dh_lfsr.c83 key.size = (len & 0xff) + 1; in main()
85 memset(kb, c, key.size); in main()
86 val.size = (next(&len) & 0xff) + 1; in main()
90 key.size, val.size, c); in main()
94 key.size, val.size, c); in main()
97 key.size, val.size, c); in main()
105 key.size = (len & 0xff) + 1; in main()
107 memset(kb, c, key.size); in main()
112 key.size, val.size, c); in main()
116 key.size, val.size, c); in main()
[all …]
/freebsd/contrib/jemalloc/src/
H A Dpages.c23 /* Actual operating system page size, detected during bootstrap, <= PAGE. */
51 static void os_pages_unmap(void *addr, size_t size);
56 os_pages_map(void *addr, size_t size, size_t alignment, bool *commit) { in os_pages_map() argument
58 assert(ALIGNMENT_CEILING(size, os_page) == size); in os_pages_map()
59 assert(size != 0); in os_pages_map()
71 ret = VirtualAlloc(addr, size, MEM_RESERVE | (*commit ? MEM_COMMIT : 0), in os_pages_map()
81 ret = mmap(addr, size, prot, mmap_flags, -1, 0); in os_pages_map()
91 os_pages_unmap(ret, size); in os_pages_map()
101 os_pages_trim(void *addr, size_t alloc_size, size_t leadsize, size_t size, in os_pages_trim() argument
105 assert(alloc_size >= leadsize + size); in os_pages_trim()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp32 void OnMap(uptr p, uptr size) const { dfsan_set_label(0, (void *)p, size); } in OnMap()
33 void OnMapSecondary(uptr p, uptr size, uptr user_begin, in OnMapSecondary()
35 OnMap(p, size); in OnMapSecondary()
37 void OnUnmap(uptr p, uptr size) const { dfsan_set_label(0, (void *)p, size); } in OnUnmap()
91 static void *DFsanAllocate(uptr size, uptr alignment, bool zeroise) { in DFsanAllocate() argument
92 if (size > max_malloc_size) { in DFsanAllocate()
95 size); in DFsanAllocate()
99 ReportAllocationSizeTooBig(size, max_malloc_size, &stack); in DFsanAllocate()
111 allocated = allocator.Allocate(cache, size, alignment); in DFsanAllocate()
115 allocated = allocator.Allocate(cache, size, alignment); in DFsanAllocate()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocation_functions.cpp26 static void OnAllocate(const void *ptr, uptr size) { in OnAllocate()
30 __lsan_register_root_region(ptr, size); in OnAllocate()
33 static void OnFree(const void *ptr, uptr size) { in OnFree()
35 __lsan_unregister_root_region(ptr, size); in OnFree()
43 int __sanitizer_posix_memalign(void **memptr, uptr alignment, uptr size) { in __sanitizer_posix_memalign() argument
46 int res = hwasan_posix_memalign(memptr, alignment, size, &stack); in __sanitizer_posix_memalign()
51 void *__sanitizer_memalign(uptr alignment, uptr size) { in __sanitizer_memalign() argument
53 return hwasan_memalign(alignment, size, &stack); in __sanitizer_memalign()
57 void *__sanitizer_aligned_alloc(uptr alignment, uptr size) { in __sanitizer_aligned_alloc() argument
59 return hwasan_aligned_alloc(alignment, size, &stack); in __sanitizer_aligned_alloc()
[all …]

12345678910>>...373