• Home
  • Raw
  • Download

Lines Matching refs:maps

56     This->maps = MALLOC(sizeof(struct NineTransfer));  in NineBuffer9_ctor()
57 if (!This->maps) in NineBuffer9_ctor()
188 if (This->maps) { in NineBuffer9_dtor()
193 FREE(This->maps); in NineBuffer9_dtor()
367 REALLOC(This->maps, sizeof(struct NineTransfer)*This->maxmaps, in NineBuffer9_Lock()
373 This->maps = newmaps; in NineBuffer9_Lock()
395 This->maps[This->nmaps-1].should_destroy_buf = true; in NineBuffer9_Lock()
403 This->maps[This->nmaps].transfer = NULL; in NineBuffer9_Lock()
404 This->maps[This->nmaps].is_pipe_secondary = false; in NineBuffer9_Lock()
405 This->maps[This->nmaps].buf = NULL; in NineBuffer9_Lock()
406 This->maps[This->nmaps].should_destroy_buf = false; in NineBuffer9_Lock()
412 This->maps[This->nmaps-1].should_destroy_buf = true; in NineBuffer9_Lock()
427 This->maps[This->nmaps].buf = This->buf; in NineBuffer9_Lock()
468 This->maps[This->nmaps].is_pipe_secondary = TRUE; in NineBuffer9_Lock()
471 This->maps[This->nmaps].is_pipe_secondary = TRUE; in NineBuffer9_Lock()
473 if (This->maps[This->nmaps].is_pipe_secondary) in NineBuffer9_Lock()
479 usage, &box, &This->maps[This->nmaps].transfer); in NineBuffer9_Lock()
516 if (!This->maps[i].buf) { in NineBuffer9_Unlock()
517 pipe = This->maps[i].is_pipe_secondary ? in NineBuffer9_Unlock()
520 pipe->buffer_unmap(pipe, This->maps[i].transfer); in NineBuffer9_Unlock()
522 if (This->maps[i].is_pipe_secondary) in NineBuffer9_Unlock()
526 } else if (This->maps[i].should_destroy_buf) in NineBuffer9_Unlock()
527 nine_upload_release_buffer(device->buffer_upload, This->maps[i].buf); in NineBuffer9_Unlock()