Home
last modified time | relevance | path

Searched refs:ksize (Results 1 – 17 of 17) sorted by relevance

/freebsd/lib/libc/db/btree/
H A Dbt_utils.c82 if (bl->ksize > rkey->size) { in __bt_ret()
83 p = realloc(rkey->data, bl->ksize); in __bt_ret()
87 rkey->size = bl->ksize; in __bt_ret()
89 memmove(rkey->data, bl->bytes, bl->ksize); in __bt_ret()
90 key->size = bl->ksize; in __bt_ret()
93 key->size = bl->ksize; in __bt_ret()
102 if (__ovfl_get(t, bl->bytes + bl->ksize, in __bt_ret()
115 memmove(rdata->data, bl->bytes + bl->ksize, bl->dsize); in __bt_ret()
120 data->data = bl->bytes + bl->ksize; in __bt_ret()
166 k2.size = bl->ksize; in __bt_cmp()
[all...]
H A Dbt_debug.c183 "size %03d pgno %03d", bi->ksize, bi->pgno); in __bt_dpage()
186 else if (bi->ksize) in __bt_dpage()
188 " {%.*s}", (int)bi->ksize, bi->bytes); in __bt_dpage()
202 else if (bl->ksize) in __bt_dpage()
204 bl->ksize, bl->bytes); in __bt_dpage()
208 *(pgno_t *)(bl->bytes + bl->ksize), in __bt_dpage()
209 *(u_int32_t *)(bl->bytes + bl->ksize + in __bt_dpage()
213 (int)bl->dsize, bl->bytes + bl->ksize); in __bt_dpage()
H A Dbt_split.c171 nbytes = NBINTERNAL(bi->ksize); in __bt_split()
175 nbytes = NBINTERNAL(bl->ksize); in __bt_split()
179 a.size = tbl->ksize; in __bt_split()
181 b.size = bl->ksize; in __bt_split()
231 WR_BINTERNAL(dest, nksize ? nksize : bl->ksize, in __bt_split()
233 memmove(dest, bl->bytes, nksize ? nksize : bl->ksize); in __bt_split()
535 nbytes = NBINTERNAL(bl->ksize); in bt_broot()
538 WR_BINTERNAL(dest, bl->ksize, r->pgno, 0); in bt_broot()
539 memmove(dest, bl->bytes, bl->ksize); in bt_broot()
554 nbytes = NBINTERNAL(bi->ksize); in bt_broot()
[all …]
H A Dbtree.h117 u_int32_t ksize; /* key size */ member
169 u_int32_t ksize; /* size of key */ member
180 #define NBLEAF(p) NBLEAFDBT((p)->ksize, (p)->dsize)
183 #define NBLEAFDBT(ksize, dsize) \ argument
185 (ksize) + (dsize))
H A Dbt_delete.c417 nksize = NBINTERNAL(bi->ksize); in __bt_pdelete()
478 __ovfl_delete(t, bl->bytes + bl->ksize) == RET_ERROR) in __bt_dleaf()
/freebsd/crypto/openssl/engines/
H A De_padlock.c210 int ksize:2; member
499 # define DECLARE_AES_EVP(ksize,lmode,umode) \ argument
500 static EVP_CIPHER *_hidden_aes_##ksize##_##lmode = NULL; \
501 static const EVP_CIPHER *padlock_aes_##ksize##_##lmode(void) \
503 if (_hidden_aes_##ksize##_##lmode == NULL \
504 && ((_hidden_aes_##ksize##_##lmode = \
505 EVP_CIPHER_meth_new(NID_aes_##ksize##_##lmode, \
507 AES_KEY_SIZE_##ksize)) == NULL \
508 || !EVP_CIPHER_meth_set_iv_length(_hidden_aes_##ksize##_##lmode, \
510 || !EVP_CIPHER_meth_set_flags(_hidden_aes_##ksize##_##lmode, \
[all …]
/freebsd/lib/libc/db/hash/
H A Dhash_bigkey.c273 int ksize; in __find_bigpair() local
279 ksize = size; in __find_bigpair()
288 ksize -= bytes; in __find_bigpair()
297 if (bytes != ksize || memcmp(p + bp[ndx], kkey, bytes)) { in __find_bigpair()
/freebsd/sys/i386/i386/
H A Dpmap_base.c206 unsigned long ksize; in kvm_size() local
208 ksize = VM_MAX_KERNEL_ADDRESS - KERNBASE; in kvm_size()
209 return (sysctl_handle_long(oidp, &ksize, 0, req)); in kvm_size()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h230 ksize(const void *ptr) in kvrealloc()
235 ksize(const void *ptr) ksize() function
/freebsd/crypto/openssl/crypto/evp/
H A De_aria.c153 # define IMPLEMENT_ARIA_CFBR(ksize,cbits) \ argument
154 IMPLEMENT_CFBR(aria,aria,EVP_ARIA_KEY,ks,ksize,cbits,16,0)
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c3602 memset(sd->kbuf, 0, sd->ksize); in ipfw_flush_sopt_data()
3605 if (sd->ktotal + sd->ksize < sd->valsize) in ipfw_flush_sopt_data()
3606 sd->kavail = sd->ksize; in ipfw_flush_sopt_data()
3728 sdata.ksize = sizeof(xbuf); in ipfw_ctl3()
3758 sdata.ksize = size; in ipfw_ctl3()
3772 if ((error = sooptcopyin(sopt, sdata.kbuf, sdata.ksize, in ipfw_ctl3()
H A Dip_fw_private.h362 size_t ksize; /* given buffer size */ member
/freebsd/sys/vm/
H A Duma_core.c3124 size_t ksize, zsize, size; in uma_startup1()
3135 ksize = sizeof(struct uma_keg) + in uma_startup1()
3137 ksize = roundup(ksize, UMA_SUPER_ALIGN); in uma_startup1()
3144 size = (zsize * 2) + ksize; in uma_startup1()
3160 args.size = ksize; in uma_startup1()
3121 size_t ksize, zsize, size; uma_startup1() local
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c1889 size_t bucket, ksize; in dtrace_dynvar() local
2153 for (ksize = 0, i = 0; i < nkeys; i++) in dtrace_dynvar()
2154 ksize += P2ROUNDUP(key[i].dttk_size, sizeof (uint64_t)); in dtrace_dynvar()
2167 ksize + dsize > chunksize) { in dtrace_dynvar()
2290 dvar->dtdv_data = (void *)(kdata + ksize); in dtrace_dynvar()
10486 size_t size, ksize; local
10581 for (ksize = 0, i = 0; i < nkeys; i++)
10582 ksize += P2ROUNDUP(key[i].dttk_size, sizeof (uint64_t));
10586 size += ksize;
10621 if (size < ksize || siz
[all...]
/freebsd/sys/riscv/riscv/
H A Dpmap.c1847 unsigned long ksize = VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS; in kvm_size() local
1849 return sysctl_handle_long(oidp, &ksize, 0, req); in kvm_size()
/freebsd/sys/arm64/arm64/
H A Dpmap.c2931 unsigned long ksize = VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS; in kvm_size() local
2933 return sysctl_handle_long(oidp, &ksize, 0, req); in kvm_size()
/freebsd/sys/amd64/amd64/
H A Dpmap.c4984 unsigned long ksize = VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS; in kvm_size() local
4986 return sysctl_handle_long(oidp, &ksize, 0, req); in kvm_size()