Searched refs:alloc_sz (Results 1 – 7 of 7) sorted by relevance
230 size_t alloc_sz = 0; in read_file() local236 gcc_assert (alloc_sz >= total_sz); in read_file()240 if (alloc_sz < (total_sz + 1)) in read_file()242 size_t new_alloc_sz = alloc_sz ? alloc_sz * 2: total_sz + 1; in read_file()244 alloc_sz = new_alloc_sz; in read_file()256 gcc_assert (total_sz < alloc_sz); in read_file()
244 size_t alloc_sz = 0; in read_file() local250 gcc_assert (alloc_sz >= total_sz); in read_file()254 if (alloc_sz < (total_sz + 1)) in read_file()256 size_t new_alloc_sz = alloc_sz ? alloc_sz * 2: total_sz + 1; in read_file()258 alloc_sz = new_alloc_sz; in read_file()270 gcc_assert (total_sz < alloc_sz); in read_file()
26 size_t alloc_sz; /* The size of the allocated buffer (in bytes) */ member45 out->alloc_sz = sz; in ossl_param_buf_alloc()135 buf[OSSL_PARAM_BUF_SECURE].alloc_sz); in OSSL_PARAM_dup()
1081 size_t sz, alloc_sz; in get_string_internal() local1091 alloc_sz = sz + (type == OSSL_PARAM_UTF8_STRING || sz == 0); in get_string_internal()1103 char *const q = OPENSSL_malloc(alloc_sz); in get_string_internal()1108 *max_len = alloc_sz; in get_string_internal()
548 size_t alloc_sz = 0; in do_sys_mount() local591 alloc_sz = data_len; in do_sys_mount()592 data_buf = kmem_alloc(alloc_sz, KM_SLEEP); in do_sys_mount()633 kmem_free(data_buf, alloc_sz); in do_sys_mount()
576 #define DTRACE_INSCRATCH(mstate, alloc_sz) \ argument578 (mstate)->dtms_scratch_ptr >= (alloc_sz))