Lines Matching defs:ckp_buf
62 uchar_t *ckp_buf; /* data buffer base address */
133 fmd_free(ckp->ckp_buf, ckp->ckp_size);
160 ckp->ckp_buf = fmd_alloc(st.st_size, FMD_SLEEP);
161 ckp->ckp_hdr = (void *)ckp->ckp_buf;
162 ckp->ckp_size = read(ckp->ckp_fd, ckp->ckp_buf, st.st_size);
167 fmd_free(ckp->ckp_buf, st.st_size);
233 ckp->ckp_secp = (void *)(ckp->ckp_buf + ckp->ckp_hdr->fcfh_secoff);
237 fcf_sec_t *sp = (void *)(ckp->ckp_buf +
295 ckp->ckp_strs = (char *)ckp->ckp_buf + sp->fcfs_offset;
335 if (ckp->ckp_buf != NULL)
336 fmd_free(ckp->ckp_buf, ckp->ckp_size);
381 ckp->ckp_secp->fcfs_offset = (size_t)(ckp->ckp_ptr - ckp->ckp_buf);
424 ckp->ckp_buf = fmd_zalloc(ckp->ckp_size, FMD_NOSLEEP);
426 if (ckp->ckp_buf == NULL)
429 ckp->ckp_hdr = (void *)ckp->ckp_buf;
447 ckp->ckp_secp = (void *)(ckp->ckp_buf + sizeof (fcf_hdr_t));
448 ckp->ckp_strs = (char *)ckp->ckp_buf + ckp->ckp_size - ckp->ckp_strn;
459 fcf_sec_t *secbase = (void *)(ckp->ckp_buf + sizeof (fcf_hdr_t));
468 ASSERT((size_t)(ckp->ckp_ptr - ckp->ckp_buf) == stroff);
474 ASSERT(ckp->ckp_ptr == ckp->ckp_buf + ckp->ckp_hdr->fcfh_filesz);
476 if (write(ckp->ckp_fd, ckp->ckp_buf, ckp->ckp_size) != ckp->ckp_size ||
858 const fcf_sec_t *sp = (void *)(ckp->ckp_buf +
872 return (ckp->ckp_buf + sp->fcfs_offset);
882 return (ckp->ckp_buf + sp->fcfs_offset + sp->fcfs_size);
1024 ckp->ckp_buf + dsp->fcfs_offset, dsp->fcfs_size);
1130 sp = (void *)(ckp->ckp_buf +