Lines Matching defs:BLK_SIZE
82 #define BLK_SIZE 512 /* size of logical block */
745 buf_ctrl->allocation + BLK_SIZE)) == NULL) {
754 buf_ctrl->allocation, '\0', BLK_SIZE);
757 buf_ctrl->allocation += BLK_SIZE;
779 if ((hdrbuf.text_buffer = (char *)malloc(BLK_SIZE)) == NULL) {
786 (void) memset(hdrbuf.text_buffer, '\0', BLK_SIZE);
790 hdrbuf.allocation = BLK_SIZE;
807 totsize += statbuf.st_size/BLK_SIZE + 1;
971 block_cnt += BLK_SIZE) {
972 write(ds_fd, (hdr->text_buffer + block_cnt), BLK_SIZE);
1116 CPIOPROC, (int)BLK_SIZE);
1119 CPIOPROC, (int)BLK_SIZE);
1129 CPIOPROC, (int)BLK_SIZE);
1132 CPIOPROC, (int)BLK_SIZE);
1563 CPIOPROC, (int)BLK_SIZE);
1794 CPIOPROC, (int)BLK_SIZE);
1873 block_cnt += BLK_SIZE) {
1874 BIO_write(bio, (hdr->text_buffer + block_cnt), BLK_SIZE);
1931 char buf[BLK_SIZE];
1942 while (fread(buf, BLK_SIZE, 1, fp) == 1) {
1943 if (BIO_write(bio, buf, BLK_SIZE) != BLK_SIZE) {