Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_utils.c94 if (bl->ksize > rkey->size) {
96 malloc(bl->ksize) : realloc(rkey->data, bl->ksize));
100 rkey->size = bl->ksize;
102 memmove(rkey->data, bl->bytes, bl->ksize);
103 key->size = bl->ksize;
106 key->size = bl->ksize;
115 if (__ovfl_get(t, bl->bytes + bl->ksize,
130 memmove(rdata->data, bl->bytes + bl->ksize, bl->dsize);
135 data->data = bl->bytes + bl->ksize;
184 k2.size = bl->ksize;
[all …]
H A Dbt_debug.c248 "size %03d pgno %03d", bi->ksize, bi->pgno);
251 else if (bi->ksize)
253 " {%.*s}", (int)bi->ksize, bi->bytes);
267 else if (bl->ksize)
272 *(db_pgno_t *)(bl->bytes + bl->ksize),
273 *(u_int32_t *)(bl->bytes + bl->ksize +
277 (int)bl->dsize, bl->bytes + bl->ksize);
H A Dbt_split.c187 nbytes = NBINTERNAL(bi->ksize);
191 nbytes = NBINTERNAL(bl->ksize);
195 a.size = tbl->ksize;
197 b.size = bl->ksize;
247 WR_BINTERNAL(dest, nksize ? nksize : bl->ksize,
249 memmove(dest, bl->bytes, nksize ? nksize : bl->ksize);
563 nbytes = NBINTERNAL(bl->ksize);
566 WR_BINTERNAL(dest, bl->ksize, r->pgno, 0);
567 memmove(dest, bl->bytes, bl->ksize);
579 nbytes = NBINTERNAL(bi->ksize);
[all …]
H A Dbtree.h136 u_int32_t ksize; /* key size */ member
188 u_int32_t ksize; /* size of key */ member
199 #define NBLEAF(p) NBLEAFDBT((p)->ksize, (p)->dsize)
202 #define NBLEAFDBT(ksize, dsize) \ argument
204 (ksize) + (dsize))
H A Dbt_delete.c435 nksize = NBINTERNAL(bi->ksize);
500 __ovfl_delete(t, bl->bytes + bl->ksize) == RET_ERROR)
/titanic_50/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_bigkey.c198 int32_t ksize; local
202 ksize = size;
231 while ((ksize > 0) && (BIGKEYLEN(pagep))) {
232 if (ksize < KEY_OFF(pagep, 0) ||
238 ksize -= BIGKEYLEN(pagep);
249 assert(ksize >= 0);
251 if (ksize != 0) {
/titanic_50/usr/src/uts/common/cpr/
H A Dcpr_misc.c600 u_longlong_t size, isize, ksize, raw_data; in cpr_statefile_ok() local
658 ksize = ndvram + mmu_ptob(npages); in cpr_statefile_ok()
664 size = ((ksize * COMPRESS_PERCENT) / INTEGRAL) + in cpr_statefile_ok()
666 CPR_DEBUG(CPR_DEBUG1, est_fmt, str, "", size, ksize); in cpr_statefile_ok()
668 size = ksize + raw_data + nback; in cpr_statefile_ok()
670 size, ksize); in cpr_statefile_ok()
/titanic_50/usr/src/uts/common/syscall/
H A Dexacctsys.c69 size_t ksize, size_t *actual) in getacct_callback() argument
71 size_t size = MIN(usize, ksize); in getacct_callback()
75 *actual = ksize; in getacct_callback()
/titanic_50/usr/src/cmd/fs.d/nfs/nfslog/
H A Ddbtab.c92 int ksize);
94 char *key, int ksize, char *data, int dsize);
386 debug_print_key(FILE *fp, char *str1, char *str2, char *key, int ksize) in debug_print_key() argument
388 (void) fprintf(fp, "%s: %s key (%d) ", str1, str2, ksize); in debug_print_key()
389 debug_opaque_print(fp, key, ksize); in debug_print_key()
391 if (ksize >= NFS_FHMAXDATA) { in debug_print_key()
396 if (ksize > NFS_FHMAXDATA) { in debug_print_key()
436 int ksize, char *data, int dsize) in debug_print_key_and_data() argument
438 debug_print_key(fp, str1, str2, key, ksize); in debug_print_key_and_data()
440 if (ksize > NFS_FHMAXDATA) { in debug_print_key_and_data()
[all …]
/titanic_50/usr/src/cmd/bnu/
H A Dpk.h46 char ksize; member
H A Dpk1.c237 k = h->ksize;
/titanic_50/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c2298 int ksize; in snf_direct_io() local
2301 ksize = 0; in snf_direct_io()
2331 ksize += iosize; in snf_direct_io()
2333 *count = ksize; in snf_direct_io()
2462 int ksize; in snf_segmap() local
2469 ksize = 0; in snf_segmap()
2652 *count = ksize + (chain_size - msgdsize(mp)); in snf_segmap()
2657 ksize += chain_size; in snf_segmap()
2675 *count = ksize; in snf_segmap()
2710 int ksize; in snf_cache() local
[all …]
/titanic_50/usr/src/cmd/find/
H A Dfind.c1686 long long ksize; local
1826 ksize = (long long) kbytes(ldbtob(stp->st_blocks)); /* kbytes */
1828 ksize = (long long) kbytes(stp->st_size); /* kbytes */
1830 (void) printf((ksize < 10000) ? "%4lld " : "%lld ", ksize);
/titanic_50/usr/src/uts/common/os/
H A Dpool.c832 size_t ksize; in pool_pack_conf() local
840 ksize = ea_pack_object(eo_system, NULL, 0); in pool_pack_conf()
842 *asize = ksize; in pool_pack_conf()
843 else if (ksize > kbufsz) in pool_pack_conf()
/titanic_50/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c99 uint32_t ksize = 2 * FOUR_MEG; /* kernel nucleus is 8Meg */ variable
1695 DBG(ksize); in build_page_tables()
1697 for (off = 0; off < ksize; off += psize) in build_page_tables()
2178 ktext_phys = (uintptr_t)do_mem_alloc(ksize, FOUR_MEG); in startup_kernel()
/titanic_50/usr/src/uts/common/dtrace/
H A Ddtrace.c1641 size_t bucket, ksize; in dtrace_dynvar() local
1905 for (ksize = 0, i = 0; i < nkeys; i++) in dtrace_dynvar()
1906 ksize += P2ROUNDUP(key[i].dttk_size, sizeof (uint64_t)); in dtrace_dynvar()
1919 ksize + dsize > chunksize) { in dtrace_dynvar()
2042 dvar->dtdv_data = (void *)(kdata + ksize); in dtrace_dynvar()
9726 size_t size, ksize; in dtrace_difo_chunksize() local
9821 for (ksize = 0, i = 0; i < nkeys; i++) in dtrace_difo_chunksize()
9822 ksize += P2ROUNDUP(key[i].dttk_size, sizeof (uint64_t)); in dtrace_difo_chunksize()
9826 size += ksize; in dtrace_difo_chunksize()
9861 if (size < ksize || size < sizeof (dtrace_dynvar_t)) in dtrace_difo_chunksize()