Searched refs:shadow_buf (Results 1 – 1 of 1) sorted by relevance
31 void *shadow_buf; member69 rmtfds[i].shadow_buf = NULL; in storage_init()98 if ((rmtfds[i].fd != -1 || rmtfds[i].shadow_buf) && in storage_open()105 if (rmtfds[i].fd == -1 && !rmtfds[i].shadow_buf) { in storage_open()156 free(rmtfd->shadow_buf); in storage_close()157 rmtfd->shadow_buf = NULL; in storage_close()206 memcpy(buf, (char*)rmtfd->shadow_buf + offset, n); in storage_pread()232 new_buf = realloc(rmtfd->shadow_buf, new_len); in storage_pwrite()238 rmtfd->shadow_buf = new_buf; in storage_pwrite()242 memcpy((char*)rmtfd->shadow_buf + offset, buf, nbyte); in storage_pwrite()[all …]