Home
last modified time | relevance | path

Searched refs:dsize (Results 1 – 6 of 6) sorted by relevance

/xen/tools/xenstore/
A Dxs_tdb_dump.c58 if (data.dsize < sizeof(*hdr)) in main()
60 (int)key.dsize, key.dptr); in main()
61 else if (data.dsize != total_size(hdr)) in main()
63 (int)key.dsize, key.dptr, (int)data.dsize, in main()
70 printf("%.*s: ", (int)key.dsize, key.dptr); in main()
A Dtdb.c302 for (value = 0x238F13AF * key->dsize, i=0; i < key->dsize; i++) in default_tdb_hash()
409 while (key.dsize) {
410 len = key.dsize;
418 key.dsize -= len;
1011 if (rec.rec_len < key.dsize + dbuf.dsize + sizeof(tdb_off)) {
1395 key.dsize);
1474 if (!(p = (char *)talloc_size(tdb, key.dsize + dbuf.dsize))) {
1480 if (dbuf.dsize)
1481 memcpy(p+key.dsize, dbuf.dptr, dbuf.dsize);
1484 if (!(rec_ptr = tdb_allocate(tdb, key.dsize + dbuf.dsize, &rec)))
[all …]
A Dtdb.h61 size_t dsize; member
A Dxenstored_core.c438 data.dsize = sizeof(*hdr) in write_node_raw()
443 data.dsize >= quota_max_entry_size) { in write_node_raw()
448 data.dptr = talloc_size(node, data.dsize); in write_node_raw()
989 key.dsize = strlen(node->name); in destroy_node()
1808 char * name = talloc_strndup(NULL, key.dptr, key.dsize); in clean_store_()
A Dxenstored_transaction.c174 key->dsize = strlen(name); in set_tdb_key()
/xen/xen/common/libfdt/
A Dfdt_rw.c98 unsigned int dsize = _fdt_data_size(fdt); in _fdt_splice() local
101 if (oldlen < 0 || soff + oldlen < soff || soff + oldlen > dsize) in _fdt_splice()
103 if (dsize - oldlen + newlen > fdt_totalsize(fdt)) in _fdt_splice()
105 memmove(p + newlen, p + oldlen, ((char *)fdt + dsize) - (p + oldlen)); in _fdt_splice()

Completed in 13 milliseconds