Searched refs:BLOCK_SIZE (Results 1 – 5 of 5) sorted by relevance
| /xnu-12377.41.6/EXTERNAL_HEADERS/corecrypto/ |
| H A D | cchmac.h | 25 #define cchmac_ctx_size(STATE_SIZE, BLOCK_SIZE) (cc_pad_align(ccdigest_ctx_size(STATE_SIZE, BLOCK_S… argument 28 #define cchmac_ctx_n(STATE_SIZE, BLOCK_SIZE) ccn_nof_size(cchmac_ctx_size((STATE_SIZE), (BLOCK_SIZ… argument 30 …e cchmac_ctx_decl(STATE_SIZE, BLOCK_SIZE, _name_) cc_ctx_decl_vla(struct cchmac_ctx, cchmac_ctx_si… argument 31 #define cchmac_ctx_clear(STATE_SIZE, BLOCK_SIZE, _name_) cc_clear(cchmac_ctx_size(STATE_SIZE, BLOCK… argument
|
| /xnu-12377.41.6/tests/ |
| H A D | prng.c | 9 #define BLOCK_SIZE ((size_t)16) macro 20 size_t nblocks = buf_size / BLOCK_SIZE; in prng_sanitycheck() 21 qsort(buf, nblocks, BLOCK_SIZE, cmp); in prng_sanitycheck() 25 T_ASSERT_NE(memcmp(buf, buf + BLOCK_SIZE, BLOCK_SIZE), 0, "duplicate block"); in prng_sanitycheck() 26 buf += BLOCK_SIZE; in prng_sanitycheck()
|
| /xnu-12377.41.6/libkern/os/ |
| H A D | log_mem.c | 34 #define BLOCK_SIZE(level) (1 << (level)) macro 138 if (amount <= BLOCK_SIZE(l)) { in block_size_level() 161 const size_t end = base + BLOCK_SIZE(level); in block_reserve() 186 if (*amount == 0 || *amount > BLOCK_SIZE(lm->lm_max_order)) { in logmem_alloc_impl() 201 *amount = BLOCK_SIZE(lm->lm_cap_order - level); in logmem_alloc_impl() 255 return round_page(BLOCK_SIZE(size_order)) + round_page(MAP_SIZE(size_order, min_order)); in logmem_required_size() 261 return BLOCK_SIZE(lm->lm_max_order); in logmem_max_size() 267 return lm->lm_cnt_free == BLOCK_SIZE(lm->lm_cap_order); in logmem_empty() 288 lm->lm_mem_map = (uint8_t *)((uintptr_t)lm_mem + round_page(BLOCK_SIZE(size_order))); in logmem_init() 293 lm->lm_cnt_free = BLOCK_SIZE(size_order); in logmem_init()
|
| /xnu-12377.41.6/osfmk/vm/ |
| H A D | lz4.c | 413 const size_t BLOCK_SIZE = 0x7ffff000; in lz4raw_encode_buffer() local 434 const size_t src_to_encode = src_size > BLOCK_SIZE ? BLOCK_SIZE : src_size; in lz4raw_encode_buffer()
|
| /xnu-12377.41.6/tools/lldbmacros/ |
| H A D | log.py | 103 BLOCK_SIZE = 64 variable in LogBlocks 118 return self.BLOCK_SIZE * block_count
|