Home
last modified time | relevance | path

Searched refs:TAR_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/busybox-1.35.0/procps/
Dsmemcap.c26 char data[TAR_BLOCK_SIZE];
33 memset(&header, 0, TAR_BLOCK_SIZE); in writeheader()
63 r = full_read(fd, cur->data, TAR_BLOCK_SIZE); in archivefile()
66 } while (r == TAR_BLOCK_SIZE); in archivefile()
75 for (cur = start; (int)size > 0; size -= TAR_BLOCK_SIZE) { in archivefile()
76 xwrite(STDOUT_FILENO, cur->data, TAR_BLOCK_SIZE); in archivefile()
/busybox-1.35.0/include/
Dbb_archive.h141 #define TAR_BLOCK_SIZE 512 macro
168 char c[sizeof(tar_header_t) == TAR_BLOCK_SIZE ? 1 : -1];
/busybox-1.35.0/archival/
Dtar.c295 size = (-size) & (TAR_BLOCK_SIZE-1); in writeLongname()
563 readSize = (-(int)statbuf->st_size) & (TAR_BLOCK_SIZE-1); in writeFileToTarball()
684 memset(block_buf, 0, 2*TAR_BLOCK_SIZE); in writeTarFile()
685 xwrite(tbInfo->tarFd, block_buf, 2*TAR_BLOCK_SIZE); in writeTarFile()