Searched refs:pb_buf (Results 1 – 5 of 5) sorted by relevance
53 if ((sb->sb_pb.pb_buf = malloc(sz)) == NULL) { in libpe_alloc_buffer()60 sb->sb_pb.pb_buf = NULL; in libpe_alloc_buffer()79 free(sb->sb_pb.pb_buf); in libpe_release_buffer()125 if (pb->pb_buf == NULL || pb->pb_size == 0) in libpe_resync_buffers()155 if (pb->pb_buf == NULL || pb->pb_size == 0) in libpe_write_buffers()174 if (write(pe->pe_fd, pb->pb_buf, pb->pb_size) != in libpe_write_buffers()
81 sb->sb_pb.pb_buf = symtab; in pe_update_symtab()
45 void *pb_buf; member
217 if (read(pe->pe_fd, sb->sb_pb.pb_buf, sh->sh_rawsize) != in libpe_load_section()244 if (read(pe->pe_fd, sb->sb_pb.pb_buf, sz) != in libpe_load_section()
215 if ((pb->pb_buf = calloc(1, pb->pb_size)) == NULL) { in create_pe()219 memcpy(pb->pb_buf, d->d_buf, sh.sh_size); in create_pe()