Home
last modified time | relevance | path

Searched refs:totalsize (Results 1 – 16 of 16) sorted by last modified time

/freebsd/tests/sys/fs/fusefs/
H A Dwrite.cc528 ssize_t totalsize = size0 + size1; in TEST_F() local
533 expect_write(ino, 0, totalsize, size0, EXPECTED0); in TEST_F()
/freebsd/tests/sys/kern/
H A Dunix_seqpacket_test.c155 const size_t totalsize = (sndbufsize + rcvbufsize) * 2; in test_eagain() local
157 const int numpkts = totalsize / pktsize; in test_eagain()
/freebsd/usr.bin/truss/
H A Dsyscalls.c973 size_t offset, size, totalsize; in get_string() local
984 totalsize = size; in get_string()
985 buf = malloc(totalsize); in get_string()
1000 if (totalsize < MAXSIZE && max == 0) { in get_string()
1001 size = MAXSIZE - totalsize; in get_string()
1004 nbuf = realloc(buf, totalsize + size); in get_string()
1006 buf[totalsize - 1] = '\0'; in get_string()
1010 totalsize += size; in get_string()
1012 buf[totalsize - 1] = '\0'; in get_string()
/freebsd/usr.sbin/syslogd/
H A Dsyslogd.c1782 size_t totalsize; member
1790 il->totalsize = 0; in iovlist_init()
1805 il->totalsize += size; in iovlist_append()
1816 while (il->totalsize > size) { in iovlist_truncate()
1817 diff = il->totalsize - size; in iovlist_truncate()
1822 il->totalsize -= last->iov_len; in iovlist_truncate()
1826 il->totalsize -= diff; in iovlist_truncate()
1881 if (lsent == (ssize_t)il->totalsize) in fprintlog_write()
1884 if (lsent == (ssize_t)il->totalsize && !send_to_all) in fprintlog_write()
1887 dprintf("lsent/totalsize: %zd/%zu\n", lsent, il->totalsize); in fprintlog_write()
[all …]
/freebsd/libexec/getty/
H A Dsubr.c483 size_t subex, totalsize; in edithost() local
492 totalsize = match[subex].rm_eo - match[subex].rm_so + 1; in edithost()
493 strlcpy(editedhost, HN + match[subex].rm_so, totalsize > in edithost()
494 sizeof(editedhost) ? sizeof(editedhost) : totalsize); in edithost()
/freebsd/usr.bin/dtc/
H A Dfdt.cc1777 head.totalsize = sizeof(head) + strings_writer.size() + in write()
1779 while (head.totalsize < minimum_blob_size) in write()
1781 head.totalsize++; in write()
H A Ddtb.cc264 out.write_data(totalsize); in write()
297 return input.consume_binary(totalsize) && in read_dtb()
H A Ddtb.hh276 uint32_t totalsize; member
/freebsd/contrib/libfido2/src/
H A Dlargeblob.c585 size_t chunklen, maxchunklen, totalsize; in largeblob_set_array() local
615 totalsize = cbor.len + sizeof(dgst) - 16; /* the first 16 bytes only */ in largeblob_set_array()
627 chunklen, offset, totalsize, ms)) != FIDO_OK || in largeblob_set_array()
634 totalsize, ms)) != FIDO_OK || in largeblob_set_array()
/freebsd/libexec/bootpd/
H A Dreadfile.c1580 unsigned addrcount, totalsize; in get_addresses() local
1598 totalsize = sizeof(struct in_addr_list) in get_addresses()
1600 result = (struct in_addr_list *) smalloc(totalsize); in get_addresses()
H A Dhash.c73 unsigned totalsize; in hash_Init() local
76 totalsize = sizeof(hash_tbl) in hash_Init()
78 hashtblptr = (hash_tbl *) malloc(totalsize); in hash_Init()
80 bzero((char *) hashtblptr, totalsize); in hash_Init()
/freebsd/contrib/lua/src/
H A Dlstrlib.c1553 static KOption getdetails (Header *h, size_t totalsize, argument
1618 size_t totalsize = 0; /* accumulate total size of result */ local
1624 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign);
1625 totalsize += ntoalign + size;
1693 totalsize += len;
1702 totalsize += len + 1;
1719 size_t totalsize = 0; /* accumulate total size of result */ local
1723 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign);
1727 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1,
1729 totalsize += size;
[all …]
H A Dlstring.c146 size_t totalsize; /* total size of TString object */ in createstrobj() local
147 totalsize = sizelstring(l); in createstrobj()
148 o = luaC_newobj(L, tag, totalsize); in createstrobj()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstring.c100 size_t totalsize; /* total size of TString object */ in createstrobj() local
101 totalsize = sizeof(TString) + ((l + 1) * sizeof(char)); in createstrobj()
102 ts = &luaC_newobj(L, tag, totalsize, list, 0)->ts; in createstrobj()
/freebsd/sys/contrib/libfdt/
H A Dlibfdt.h218 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize))
235 fdt_set_hdr_(totalsize);
H A Dfdt.h59 fdt32_t totalsize; /* total size of DT block */ member